mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 12:17:45 +00:00
LibC: Add AF_INET6, PF_INET6 and IPPROTO_IPV6 macros
This commit is contained in:
parent
67f89fdc87
commit
5bd8a416ea
1 changed files with 4 additions and 1 deletions
|
@ -38,10 +38,12 @@ __BEGIN_DECLS
|
||||||
#define AF_LOCAL 1
|
#define AF_LOCAL 1
|
||||||
#define AF_UNIX AF_LOCAL
|
#define AF_UNIX AF_LOCAL
|
||||||
#define AF_INET 2
|
#define AF_INET 2
|
||||||
#define AF_MAX 3
|
#define AF_INET6 3
|
||||||
|
#define AF_MAX 4
|
||||||
#define PF_LOCAL AF_LOCAL
|
#define PF_LOCAL AF_LOCAL
|
||||||
#define PF_UNIX PF_LOCAL
|
#define PF_UNIX PF_LOCAL
|
||||||
#define PF_INET AF_INET
|
#define PF_INET AF_INET
|
||||||
|
#define PF_INET6 AF_INET6
|
||||||
#define PF_UNSPEC AF_UNSPEC
|
#define PF_UNSPEC AF_UNSPEC
|
||||||
#define PF_MAX AF_MAX
|
#define PF_MAX AF_MAX
|
||||||
|
|
||||||
|
@ -60,6 +62,7 @@ __BEGIN_DECLS
|
||||||
#define IPPROTO_ICMP 1
|
#define IPPROTO_ICMP 1
|
||||||
#define IPPROTO_TCP 6
|
#define IPPROTO_TCP 6
|
||||||
#define IPPROTO_UDP 17
|
#define IPPROTO_UDP 17
|
||||||
|
#define IPPROTO_IPV6 41
|
||||||
|
|
||||||
#define MSG_TRUNC 0x1
|
#define MSG_TRUNC 0x1
|
||||||
#define MSG_CTRUNC 0x2
|
#define MSG_CTRUNC 0x2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue