Skip to content

Commit b4f6886

Browse files
devnexentgross35
authored andcommitted
generalising IPV6_DONTFRAG to all bsd.
close #3704 (apply <#3716> to `main`) (cherry picked from commit fe41e4a)
1 parent 4df3c79 commit b4f6886

File tree

5 files changed

+3
-2
lines changed

5 files changed

+3
-2
lines changed

libc-test/semver/netbsd.txt

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4147,7 +4147,6 @@ pub const IPV6_RECVHOPLIMIT: ::c_int = 37;
41474147
pub const IPV6_PKTINFO: ::c_int = 46;
41484148
pub const IPV6_HOPLIMIT: ::c_int = 47;
41494149
pub const IPV6_RECVPKTINFO: ::c_int = 61;
4150-
pub const IPV6_DONTFRAG: ::c_int = 62;
41514150
pub const IP_ADD_SOURCE_MEMBERSHIP: ::c_int = 70;
41524151
pub const IP_DROP_SOURCE_MEMBERSHIP: ::c_int = 71;
41534152
pub const IP_BLOCK_SOURCE: ::c_int = 72;

src/unix/bsd/freebsdlike/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,6 @@ pub const IPV6_PKTINFO: ::c_int = 46;
973973
pub const IPV6_HOPLIMIT: ::c_int = 47;
974974
pub const IPV6_RECVTCLASS: ::c_int = 57;
975975
pub const IPV6_TCLASS: ::c_int = 61;
976-
pub const IPV6_DONTFRAG: ::c_int = 62;
977976
pub const IP_ADD_SOURCE_MEMBERSHIP: ::c_int = 70;
978977
pub const IP_DROP_SOURCE_MEMBERSHIP: ::c_int = 71;
979978
pub const IP_BLOCK_SOURCE: ::c_int = 72;

src/unix/bsd/mod.rs

Lines changed: 1 addition & 0 deletions
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)