File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -191,6 +191,10 @@ pub const IPV6_MULTICAST_LOOP: ::c_int = 11;
191
191
pub const IPV6_V6ONLY : :: c_int = 27 ;
192
192
193
193
pub const IPTOS_ECN_NOTECT : u8 = 0x00 ;
194
+ pub const IPTOS_ECN_MASK : u8 = 0x03 ;
195
+ pub const IPTOS_ECN_ECT1 : u8 = 0x01 ;
196
+ pub const IPTOS_ECN_ECT0 : u8 = 0x02 ;
197
+ pub const IPTOS_ECN_CE : u8 = 0x03 ;
194
198
195
199
pub const ST_RDONLY : :: c_ulong = 1 ;
196
200
Original file line number Diff line number Diff line change @@ -296,11 +296,6 @@ pub const IPPROTO_UDP: ::c_int = 17;
296
296
pub const IPPROTO_IP : :: c_int = 0 ;
297
297
pub const IPPROTO_IPV6 : :: c_int = 41 ;
298
298
299
- pub const IPTOS_ECN_MASK : u8 = 0x03 ;
300
- pub const IPTOS_ECN_ECT1 : u8 = 0x01 ;
301
- pub const IPTOS_ECN_ECT0 : u8 = 0x02 ;
302
- pub const IPTOS_ECN_CE : u8 = 0x03 ;
303
-
304
299
pub const INADDR_LOOPBACK : in_addr_t = 2130706433 ;
305
300
pub const INADDR_ANY : in_addr_t = 0 ;
306
301
pub const INADDR_BROADCAST : in_addr_t = 4294967295 ;
Original file line number Diff line number Diff line change @@ -878,6 +878,11 @@ pub const IPTOS_PREC_IMMEDIATE: u8 = 0x40;
878
878
pub const IPTOS_PREC_PRIORITY : u8 = 0x20 ;
879
879
pub const IPTOS_PREC_ROUTINE : u8 = 0x00 ;
880
880
881
+ pub const IPTOS_ECN_MASK : u8 = 0x03 ;
882
+ pub const IPTOS_ECN_ECT1 : u8 = 0x01 ;
883
+ pub const IPTOS_ECN_ECT0 : u8 = 0x02 ;
884
+ pub const IPTOS_ECN_CE : u8 = 0x03 ;
885
+
881
886
pub const IPOPT_COPY : u8 = 0x80 ;
882
887
pub const IPOPT_CLASS_MASK : u8 = 0x60 ;
883
888
pub const IPOPT_NUMBER_MASK : u8 = 0x1f ;
You can’t perform that action at this time.
0 commit comments