Skip to content

Commit c3a25bb

Browse files
committed
feat: IP_RECVTTL/IPV6_RECVHOPLIMIT for DragonFlyBSD
1 parent 9c1a4c3 commit c3a25bb

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

libc-test/semver/dragonfly.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1587,3 +1587,5 @@ xucred
15871587
eaccess
15881588
dirname
15891589
basename
1590+
IP_RECVTTL
1591+
IPV6_RECVHOPLIMIT

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3740,8 +3740,6 @@ pub const IP_RSS_LISTEN_BUCKET: ::c_int = 26;
37403740
pub const IP_ORIGDSTADDR: ::c_int = 27;
37413741
pub const IP_RECVORIGDSTADDR: ::c_int = IP_ORIGDSTADDR;
37423742

3743-
pub const IP_RECVTTL: ::c_int = 65;
3744-
pub const IPV6_RECVHOPLIMIT: ::c_int = 37;
37453743
pub const IP_DONTFRAG: ::c_int = 67;
37463744
pub const IP_RECVTOS: ::c_int = 68;
37473745

src/unix/bsd/freebsdlike/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -962,6 +962,8 @@ pub const IP_SENDSRCADDR: ::c_int = IP_RECVDSTADDR;
962962
pub const IP_ADD_MEMBERSHIP: ::c_int = 12;
963963
pub const IP_DROP_MEMBERSHIP: ::c_int = 13;
964964
pub const IP_RECVIF: ::c_int = 20;
965+
pub const IP_RECVTTL: ::c_int = 65;
966+
pub const IPV6_RECVHOPLIMIT: ::c_int = 37;
965967
pub const IPV6_JOIN_GROUP: ::c_int = 12;
966968
pub const IPV6_LEAVE_GROUP: ::c_int = 13;
967969
pub const IPV6_CHECKSUM: ::c_int = 26;

0 commit comments

Comments
 (0)