Skip to content

feat: IP_RECVTTL/IPV6_RECVHOPLIMIT for FreeBSD/DragonFlyBSD #3750

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions libc-test/semver/dragonfly.txt
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,7 @@ IPV6_DONTFRAG
IP_HDRINCL
IP_RECVDSTADDR
IP_RECVIF
IP_RECVTTL
IP_SENDSRCADDR
IP_TOS
ITIMER_PROF
Expand Down Expand Up @@ -1592,3 +1593,4 @@ xucred
eaccess
dirname
basename
IPV6_RECVHOPLIMIT
2 changes: 2 additions & 0 deletions libc-test/semver/freebsd.txt
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,7 @@ IP_RECVIF
IP_RECVORIGDSTADDR
IP_DONTFRAG
IP_RECVTOS
IP_RECVTTL
IP_RSS_LISTEN_BUCKET
IP_SENDSRCADDR
IP_TOS
Expand Down Expand Up @@ -2251,3 +2252,4 @@ closefrom
close_range
eventfd_read
eventfd_write
IPV6_RECVHOPLIMIT
2 changes: 2 additions & 0 deletions src/unix/bsd/freebsdlike/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -970,6 +970,8 @@ pub const IP_SENDSRCADDR: ::c_int = IP_RECVDSTADDR;
pub const IP_ADD_MEMBERSHIP: ::c_int = 12;
pub const IP_DROP_MEMBERSHIP: ::c_int = 13;
pub const IP_RECVIF: ::c_int = 20;
pub const IP_RECVTTL: ::c_int = 65;
pub const IPV6_RECVHOPLIMIT: ::c_int = 37;
pub const IPV6_JOIN_GROUP: ::c_int = 12;
pub const IPV6_LEAVE_GROUP: ::c_int = 13;
pub const IPV6_CHECKSUM: ::c_int = 26;
Expand Down
Loading