File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1795,6 +1795,8 @@ fn test_android(target: &str) {
1795
1795
| "MADV_POPULATE_READ"
1796
1796
| "MADV_POPULATE_WRITE" => true ,
1797
1797
1798
+ // kernel 5.6 minimum required
1799
+ "IPPROTO_MPTCP" => true ,
1798
1800
1799
1801
_ => false ,
1800
1802
}
Original file line number Diff line number Diff line change @@ -1933,8 +1933,6 @@ pub const CLONE_PIDFD: ::c_int = 0x1000;
1933
1933
// netinet/in.h
1934
1934
// NOTE: These are in addition to the constants defined in src/unix/mod.rs
1935
1935
1936
- /// Multipath TCP
1937
- pub const IPPROTO_MPTCP : :: c_int = 262 ;
1938
1936
#[ deprecated(
1939
1937
since = "0.2.80" ,
1940
1938
note = "This value was increased in the newer kernel \
Original file line number Diff line number Diff line change @@ -916,6 +916,8 @@ pub const IPPROTO_UDPLITE: ::c_int = 136;
916
916
pub const IPPROTO_RAW : :: c_int = 255 ;
917
917
pub const IPPROTO_BEETPH : :: c_int = 94 ;
918
918
pub const IPPROTO_MPLS : :: c_int = 137 ;
919
+ /// Multipath TCP
920
+ pub const IPPROTO_MPTCP : :: c_int = 262 ;
919
921
920
922
pub const MCAST_EXCLUDE : :: c_int = 0 ;
921
923
pub const MCAST_INCLUDE : :: c_int = 1 ;
You can’t perform that action at this time.
0 commit comments