Skip to content

Commit 2910a53

Browse files
committed
Auto merge of #2613 - djc:macos-dontfrag, r=Amanieu
apple IP{,V6}_DONTFRAG constants These are new in macOS Big Sur, but I'm not sure if we're supposed to have any `cfg` incantations that can restrict to that version (I reviewed `cfg` instances in both `apple` and `linux_like` but didn't see anything like that).
2 parents 7b415ab + 757b5dd commit 2910a53

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/unix/bsd/apple/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -3518,6 +3518,7 @@ pub const IP_RECVIF: ::c_int = 20;
35183518
pub const IP_BOUND_IF: ::c_int = 25;
35193519
pub const IP_PKTINFO: ::c_int = 26;
35203520
pub const IP_RECVTOS: ::c_int = 27;
3521+
pub const IP_DONTFRAG: ::c_int = 28;
35213522
pub const IPV6_JOIN_GROUP: ::c_int = 12;
35223523
pub const IPV6_LEAVE_GROUP: ::c_int = 13;
35233524
pub const IPV6_CHECKSUM: ::c_int = 26;
@@ -3526,6 +3527,7 @@ pub const IPV6_TCLASS: ::c_int = 36;
35263527
pub const IPV6_PKTINFO: ::c_int = 46;
35273528
pub const IPV6_HOPLIMIT: ::c_int = 47;
35283529
pub const IPV6_RECVPKTINFO: ::c_int = 61;
3530+
pub const IPV6_DONTFRAG: ::c_int = 62;
35293531

35303532
pub const TCP_NOPUSH: ::c_int = 4;
35313533
pub const TCP_NOOPT: ::c_int = 8;

0 commit comments

Comments
 (0)