Skip to content

Commit

Permalink
feat: IP_RECVTTL/IPV6_RECVHOPLIMIT for DragonFlyBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveLauC committed Jun 15, 2024
1 parent 9c1a4c3 commit c3a25bb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions libc-test/semver/dragonfly.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1587,3 +1587,5 @@ xucred
eaccess
dirname
basename
IP_RECVTTL
IPV6_RECVHOPLIMIT
2 changes: 0 additions & 2 deletions src/unix/bsd/freebsdlike/freebsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3740,8 +3740,6 @@ pub const IP_RSS_LISTEN_BUCKET: ::c_int = 26;
pub const IP_ORIGDSTADDR: ::c_int = 27;
pub const IP_RECVORIGDSTADDR: ::c_int = IP_ORIGDSTADDR;

pub const IP_RECVTTL: ::c_int = 65;
pub const IPV6_RECVHOPLIMIT: ::c_int = 37;
pub const IP_DONTFRAG: ::c_int = 67;
pub const IP_RECVTOS: ::c_int = 68;

Expand Down
2 changes: 2 additions & 0 deletions src/unix/bsd/freebsdlike/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -962,6 +962,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

0 comments on commit c3a25bb

Please sign in to comment.