We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a212c8 commit 7f2619fCopy full SHA for 7f2619f
src/unix/linux_like/linux/mod.rs
@@ -1267,10 +1267,12 @@ pub const SCHED_RESET_ON_FORK: ::c_int = 0x40000000;
1267
/// Multipath TCP
1268
pub const IPPROTO_MPTCP: ::c_int = 262;
1269
#[deprecated(
1270
- since = "0.2.79",
1271
- note = "IPPROTO_MAX depends on the kernel version on the target system"
+ since = "0.2.80",
+ note = "This value was increased in the newer kernel \
1272
+ and we'll change this following upstream in the future release. \
1273
+ See #1896 for more info."
1274
)]
-pub const IPPROTO_MAX: ::c_int = 263;
1275
+pub const IPPROTO_MAX: ::c_int = 256;
1276
1277
pub const AF_IB: ::c_int = 27;
1278
pub const AF_MPLS: ::c_int = 28;
0 commit comments