File tree Expand file tree Collapse file tree 4 files changed +6
-1
lines changed Expand file tree Collapse file tree 4 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -190,6 +190,8 @@ pub const IPV6_MULTICAST_HOPS: ::c_int = 10;
190
190
pub const IPV6_MULTICAST_LOOP : :: c_int = 11 ;
191
191
pub const IPV6_V6ONLY : :: c_int = 27 ;
192
192
193
+ pub const IPTOS_ECN_NOTECT : u8 = 0x00 ;
194
+
193
195
pub const ST_RDONLY : :: c_ulong = 1 ;
194
196
195
197
pub const SCM_RIGHTS : :: c_int = 0x01 ;
Original file line number Diff line number Diff line change @@ -297,7 +297,6 @@ pub const IPPROTO_IP: ::c_int = 0;
297
297
pub const IPPROTO_IPV6 : :: c_int = 41 ;
298
298
299
299
pub const IPTOS_ECN_MASK : u8 = 0x03 ;
300
- pub const IPTOS_ECN_NOT_ECT : u8 = 0x00 ;
301
300
pub const IPTOS_ECN_ECT1 : u8 = 0x01 ;
302
301
pub const IPTOS_ECN_ECT0 : u8 = 0x02 ;
303
302
pub const IPTOS_ECN_CE : u8 = 0x03 ;
Original file line number Diff line number Diff line change @@ -666,6 +666,8 @@ pub const SO_RXQ_OVFL: ::c_int = 40;
666
666
pub const SO_PEEK_OFF : :: c_int = 42 ;
667
667
pub const SO_BUSY_POLL : :: c_int = 46 ;
668
668
669
+ pub const IPTOS_ECN_NOTECT : u8 = 0x00 ;
670
+
669
671
pub const O_ACCMODE : :: c_int = 3 ;
670
672
pub const O_APPEND : :: c_int = 1024 ;
671
673
pub const O_CREAT : :: c_int = 64 ;
Original file line number Diff line number Diff line change @@ -1612,6 +1612,8 @@ pub const SIOCSIFMAP: ::c_ulong = 0x00008971;
1612
1612
pub const IPTOS_TOS_MASK : u8 = 0x1E ;
1613
1613
pub const IPTOS_PREC_MASK : u8 = 0xE0 ;
1614
1614
1615
+ pub const IPTOS_ECN_NOT_ECT : u8 = 0x00 ;
1616
+
1615
1617
pub const RTF_UP : :: c_ushort = 0x0001 ;
1616
1618
pub const RTF_GATEWAY : :: c_ushort = 0x0002 ;
1617
1619
You can’t perform that action at this time.
0 commit comments