Skip to content

Commit 2abcc1e

Browse files
committed
Add IP_RECVTTL and IPV6_RECVHOPLIMIT for Apple platforms
1 parent 4ac74f5 commit 2abcc1e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/unix/bsd/apple/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4075,6 +4075,7 @@ pub const IP_RECVDSTADDR: ::c_int = 7;
40754075
pub const IP_ADD_MEMBERSHIP: ::c_int = 12;
40764076
pub const IP_DROP_MEMBERSHIP: ::c_int = 13;
40774077
pub const IP_RECVIF: ::c_int = 20;
4078+
pub const IP_RECVTTL: ::c_int = 24;
40784079
pub const IP_BOUND_IF: ::c_int = 25;
40794080
pub const IP_PKTINFO: ::c_int = 26;
40804081
pub const IP_RECVTOS: ::c_int = 27;
@@ -4084,6 +4085,7 @@ pub const IPV6_LEAVE_GROUP: ::c_int = 13;
40844085
pub const IPV6_CHECKSUM: ::c_int = 26;
40854086
pub const IPV6_RECVTCLASS: ::c_int = 35;
40864087
pub const IPV6_TCLASS: ::c_int = 36;
4088+
pub const IPV6_RECVHOPLIMIT: ::c_int = 37;
40874089
pub const IPV6_PKTINFO: ::c_int = 46;
40884090
pub const IPV6_HOPLIMIT: ::c_int = 47;
40894091
pub const IPV6_RECVPKTINFO: ::c_int = 61;

0 commit comments

Comments
 (0)