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) {
17991799 | "MADV_POPULATE_WRITE" => true ,
18001800
18011801 // kernel 5.6 minimum required
1802- "IPPROTO_MPTCP" => true ,
1802+ "IPPROTO_MPTCP" | "IPPROTO_ETHERNET" => true ,
18031803
18041804 _ => false ,
18051805 }
@@ -3578,6 +3578,7 @@ fn test_linux(target: &str) {
35783578
35793579 // IPPROTO_MAX was increased in 5.6 for IPPROTO_MPTCP:
35803580 | "IPPROTO_MAX"
3581+ | "IPPROTO_ETHERNET"
35813582 | "IPPROTO_MPTCP" => true ,
35823583
35833584 // FIXME: Not currently available in headers
Original file line number Diff line number Diff line change @@ -1041,6 +1041,7 @@ IPPROTO_DSTOPTS
10411041IPPROTO_EGP
10421042IPPROTO_ENCAP
10431043IPPROTO_ESP
1044+ IPPROTO_ETHERNET
10441045IPPROTO_FRAGMENT
10451046IPPROTO_GRE
10461047IPPROTO_HOPOPTS
Original file line number Diff line number Diff line change @@ -918,6 +918,8 @@ pub const IPPROTO_BEETPH: ::c_int = 94;
918918pub const IPPROTO_MPLS : :: c_int = 137 ;
919919/// Multipath TCP
920920pub const IPPROTO_MPTCP : :: c_int = 262 ;
921+ /// Ethernet-within-IPv6 encapsulation.
922+ pub const IPPROTO_ETHERNET : :: c_int = 143 ;
921923
922924pub const MCAST_EXCLUDE : :: c_int = 0 ;
923925pub const MCAST_INCLUDE : :: c_int = 1 ;
You can’t perform that action at this time.
0 commit comments