Skip to content

Commit 00327ab

Browse files
committed
define IPV6_HOPLIMIT for freebsd, linux, and macos
1 parent a875141 commit 00327ab

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/unix/bsd/apple/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2253,6 +2253,7 @@ pub const IPV6_CHECKSUM: ::c_int = 26;
22532253
pub const IPV6_RECVTCLASS: ::c_int = 35;
22542254
pub const IPV6_TCLASS: ::c_int = 36;
22552255
pub const IPV6_PKTINFO: ::c_int = 46;
2256+
pub const IPV6_HOPLIMIT: ::c_int = 47;
22562257
pub const IPV6_RECVPKTINFO: ::c_int = 61;
22572258

22582259
pub const TCP_NOPUSH: ::c_int = 4;

src/unix/bsd/freebsdlike/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -760,6 +760,7 @@ pub const IPV6_LEAVE_GROUP: ::c_int = 13;
760760
pub const IPV6_CHECKSUM: ::c_int = 26;
761761
pub const IPV6_RECVPKTINFO: ::c_int = 36;
762762
pub const IPV6_PKTINFO: ::c_int = 46;
763+
pub const IPV6_HOPLIMIT: ::c_int = 47;
763764
pub const IPV6_RECVTCLASS: ::c_int = 57;
764765
pub const IPV6_TCLASS: ::c_int = 61;
765766

src/unix/linux_like/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -805,6 +805,7 @@ pub const IPV6_JOIN_ANYCAST: ::c_int = 27;
805805
pub const IPV6_LEAVE_ANYCAST: ::c_int = 28;
806806
pub const IPV6_RECVPKTINFO: ::c_int = 49;
807807
pub const IPV6_PKTINFO: ::c_int = 50;
808+
pub const IPV6_HOPLIMIT: ::c_int = 52;
808809
pub const IPV6_RECVTCLASS: ::c_int = 66;
809810
pub const IPV6_TCLASS: ::c_int = 67;
810811

0 commit comments

Comments
 (0)