File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -1799,7 +1799,7 @@ fn test_android(target: &str) {
1799
1799
| "MADV_POPULATE_WRITE" => true ,
1800
1800
1801
1801
// kernel 5.6 minimum required
1802
- "IPPROTO_MPTCP" => true ,
1802
+ "IPPROTO_MPTCP" | "IPPROTO_ETHERNET" => true ,
1803
1803
1804
1804
_ => false ,
1805
1805
}
@@ -3578,6 +3578,7 @@ fn test_linux(target: &str) {
3578
3578
3579
3579
// IPPROTO_MAX was increased in 5.6 for IPPROTO_MPTCP:
3580
3580
| "IPPROTO_MAX"
3581
+ | "IPPROTO_ETHERNET"
3581
3582
| "IPPROTO_MPTCP" => true ,
3582
3583
3583
3584
// FIXME: Not currently available in headers
Original file line number Diff line number Diff line change @@ -1041,6 +1041,7 @@ IPPROTO_DSTOPTS
1041
1041
IPPROTO_EGP
1042
1042
IPPROTO_ENCAP
1043
1043
IPPROTO_ESP
1044
+ IPPROTO_ETHERNET
1044
1045
IPPROTO_FRAGMENT
1045
1046
IPPROTO_GRE
1046
1047
IPPROTO_HOPOPTS
Original file line number Diff line number Diff line change @@ -918,6 +918,8 @@ pub const IPPROTO_BEETPH: ::c_int = 94;
918
918
pub const IPPROTO_MPLS : :: c_int = 137 ;
919
919
/// Multipath TCP
920
920
pub const IPPROTO_MPTCP : :: c_int = 262 ;
921
+ /// Ethernet-within-IPv6 encapsulation.
922
+ pub const IPPROTO_ETHERNET : :: c_int = 143 ;
921
923
922
924
pub const MCAST_EXCLUDE : :: c_int = 0 ;
923
925
pub const MCAST_INCLUDE : :: c_int = 1 ;
You can’t perform that action at this time.
0 commit comments