Skip to content

Commit fe41e4a

Browse files
devnexenJohnTitor
authored andcommitted
generalising IPV6_DONTFRAG to all bsd.
close #3704
1 parent 1333dcf commit fe41e4a

File tree

5 files changed

+3
-2
lines changed

5 files changed

+3
-2
lines changed

libc-test/semver/netbsd.txt

+1
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,7 @@ IPTOS_ECN_ECT0
468468
IPTOS_ECN_ECT1
469469
IPTOS_ECN_MASK
470470
IPTOS_ECN_NOTECT
471+
IPV6_DONTFRAG
471472
IPV6_JOIN_GROUP
472473
IPV6_LEAVE_GROUP
473474
IPV6_PKTINFO

libc-test/semver/openbsd.txt

+1
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ IPTOS_ECN_ECT0
311311
IPTOS_ECN_ECT1
312312
IPTOS_ECN_MASK
313313
IPTOS_ECN_NOTECT
314+
IPV6_DONTFRAG
314315
IPV6_JOIN_GROUP
315316
IPV6_LEAVE_GROUP
316317
IPV6_PKTINFO

src/unix/bsd/apple/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -4153,7 +4153,6 @@ pub const IPV6_RECVHOPLIMIT: ::c_int = 37;
41534153
pub const IPV6_PKTINFO: ::c_int = 46;
41544154
pub const IPV6_HOPLIMIT: ::c_int = 47;
41554155
pub const IPV6_RECVPKTINFO: ::c_int = 61;
4156-
pub const IPV6_DONTFRAG: ::c_int = 62;
41574156
pub const IP_ADD_SOURCE_MEMBERSHIP: ::c_int = 70;
41584157
pub const IP_DROP_SOURCE_MEMBERSHIP: ::c_int = 71;
41594158
pub const IP_BLOCK_SOURCE: ::c_int = 72;

src/unix/bsd/freebsdlike/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,6 @@ pub const IPV6_PKTINFO: ::c_int = 46;
980980
pub const IPV6_HOPLIMIT: ::c_int = 47;
981981
pub const IPV6_RECVTCLASS: ::c_int = 57;
982982
pub const IPV6_TCLASS: ::c_int = 61;
983-
pub const IPV6_DONTFRAG: ::c_int = 62;
984983
pub const IP_ADD_SOURCE_MEMBERSHIP: ::c_int = 70;
985984
pub const IP_DROP_SOURCE_MEMBERSHIP: ::c_int = 71;
986985
pub const IP_BLOCK_SOURCE: ::c_int = 72;

src/unix/bsd/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ pub const IPV6_MULTICAST_IF: ::c_int = 9;
311311
pub const IPV6_MULTICAST_HOPS: ::c_int = 10;
312312
pub const IPV6_MULTICAST_LOOP: ::c_int = 11;
313313
pub const IPV6_V6ONLY: ::c_int = 27;
314+
pub const IPV6_DONTFRAG: ::c_int = 62;
314315

315316
pub const IPTOS_ECN_NOTECT: u8 = 0x00;
316317
pub const IPTOS_ECN_MASK: u8 = 0x03;

0 commit comments

Comments
 (0)