Skip to content

Commit 0227569

Browse files
committed
Auto merge of #2740 - junhochoi:ip_dontfrag_freebsdlike, r=Amanieu
Add IP_DONTFRAG and IPV6_DONTFRAG for FreeBSD-like FreeBSD: add IP_DONTFRAG FreeBSD, DragonFlyBSD: add IPV6_DONTFRAG
2 parents 53f78cd + 9d17b31 commit 0227569

File tree

4 files changed

+5
-0
lines changed

4 files changed

+5
-0
lines changed

libc-test/semver/dragonfly.txt

+1
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,7 @@ IPV6_PKTINFO
489489
IPV6_RECVPKTINFO
490490
IPV6_RECVTCLASS
491491
IPV6_TCLASS
492+
IPV6_DONTFRAG
492493
IP_HDRINCL
493494
IP_RECVDSTADDR
494495
IP_RECVIF

libc-test/semver/freebsd.txt

+2
Original file line numberDiff line numberDiff line change
@@ -539,13 +539,15 @@ IPV6_RECVORIGDSTADDR
539539
IPV6_RECVPKTINFO
540540
IPV6_RECVTCLASS
541541
IPV6_TCLASS
542+
IPV6_DONTFRAG
542543
IP_BINDANY
543544
IP_BINDMULTI
544545
IP_HDRINCL
545546
IP_ORIGDSTADDR
546547
IP_RECVDSTADDR
547548
IP_RECVIF
548549
IP_RECVORIGDSTADDR
550+
IP_DONTFRAG
549551
IP_RECVTOS
550552
IP_RSS_LISTEN_BUCKET
551553
IP_SENDSRCADDR

src/unix/bsd/freebsdlike/freebsd/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2886,6 +2886,7 @@ pub const IP_RSS_LISTEN_BUCKET: ::c_int = 26;
28862886
pub const IP_ORIGDSTADDR: ::c_int = 27;
28872887
pub const IP_RECVORIGDSTADDR: ::c_int = IP_ORIGDSTADDR;
28882888

2889+
pub const IP_DONTFRAG: ::c_int = 67;
28892890
pub const IP_RECVTOS: ::c_int = 68;
28902891

28912892
pub const IPV6_BINDANY: ::c_int = 64;

src/unix/bsd/freebsdlike/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -963,6 +963,7 @@ pub const IPV6_PKTINFO: ::c_int = 46;
963963
pub const IPV6_HOPLIMIT: ::c_int = 47;
964964
pub const IPV6_RECVTCLASS: ::c_int = 57;
965965
pub const IPV6_TCLASS: ::c_int = 61;
966+
pub const IPV6_DONTFRAG: ::c_int = 62;
966967

967968
pub const TCP_NOPUSH: ::c_int = 4;
968969
pub const TCP_NOOPT: ::c_int = 8;

0 commit comments

Comments
 (0)