File tree 2 files changed +19
-0
lines changed
2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -96,8 +96,19 @@ EUSERS
96
96
EXFULL
97
97
FIONREAD
98
98
IMAXBEL
99
+ IPPROTO_ICMP
100
+ IPPROTO_IDP
101
+ IPPROTO_IGMP
102
+ IPPROTO_IP
103
+ IPPROTO_IPV6
104
+ IPPROTO_MAX
105
+ IPPROTO_PUP
106
+ IPPROTO_TCP
107
+ IPPROTO_UDP
99
108
IPV6_ADD_MEMBERSHIP
100
109
IPV6_DROP_MEMBERSHIP
110
+ IP_RECVTOS
111
+ IP_TOS
101
112
IUCLC
102
113
IUTF8
103
114
MADV_DONTNEED
@@ -129,6 +140,7 @@ SIGPWR
129
140
SIGSTKFLT
130
141
SOCK_CLOEXEC
131
142
SOCK_NONBLOCK
143
+ SOCK_RAW
132
144
SO_BSDCOMPAT
133
145
SO_DOMAIN
134
146
SO_NO_CHECK
Original file line number Diff line number Diff line change @@ -585,7 +585,13 @@ pub const IP_MULTICAST_TTL: ::c_int = 33;
585
585
pub const IP_MULTICAST_LOOP : :: c_int = 34 ;
586
586
pub const IP_ADD_MEMBERSHIP : :: c_int = 35 ;
587
587
pub const IP_DROP_MEMBERSHIP : :: c_int = 36 ;
588
+ pub const IP_TOS : :: c_int = 1 ;
589
+ pub const IP_RECVTOS : :: c_int = 2 ;
590
+ pub const IPPROTO_IGMP : :: c_int = 2 ;
591
+ pub const IPPROTO_PUP : :: c_int = 12 ;
592
+ pub const IPPROTO_IDP : :: c_int = 22 ;
588
593
pub const IPPROTO_RAW : :: c_int = 255 ;
594
+ pub const IPPROTO_MAX : :: c_int = 255 ;
589
595
// }
590
596
591
597
// netinet/tcp.h
@@ -810,6 +816,7 @@ pub const SO_PROTOCOL: ::c_int = 38;
810
816
pub const SO_DOMAIN : :: c_int = 39 ;
811
817
pub const SOCK_STREAM : :: c_int = 1 ;
812
818
pub const SOCK_DGRAM : :: c_int = 2 ;
819
+ pub const SOCK_RAW : :: c_int = 3 ;
813
820
pub const SOCK_NONBLOCK : :: c_int = 0o4_000 ;
814
821
pub const SOCK_CLOEXEC : :: c_int = 0o2_000_000 ;
815
822
pub const SOCK_SEQPACKET : :: c_int = 5 ;
You can’t perform that action at this time.
0 commit comments