Skip to content

Commit 0a2ddae

Browse files
committed
linux_like: IPPROTO_MPTCP are supported in all linux_like platforms
1 parent fc51b8b commit 0a2ddae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/unix/linux_like/linux/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1933,8 +1933,6 @@ pub const CLONE_PIDFD: ::c_int = 0x1000;
19331933
// netinet/in.h
19341934
// NOTE: These are in addition to the constants defined in src/unix/mod.rs
19351935

1936-
/// Multipath TCP
1937-
pub const IPPROTO_MPTCP: ::c_int = 262;
19381936
#[deprecated(
19391937
since = "0.2.80",
19401938
note = "This value was increased in the newer kernel \

src/unix/linux_like/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -916,6 +916,8 @@ pub const IPPROTO_UDPLITE: ::c_int = 136;
916916
pub const IPPROTO_RAW: ::c_int = 255;
917917
pub const IPPROTO_BEETPH: ::c_int = 94;
918918
pub const IPPROTO_MPLS: ::c_int = 137;
919+
/// Multipath TCP
920+
pub const IPPROTO_MPTCP: ::c_int = 262;
919921

920922
pub const MCAST_EXCLUDE: ::c_int = 0;
921923
pub const MCAST_INCLUDE: ::c_int = 1;

0 commit comments

Comments
 (0)