Skip to content

Commit 0e421c9

Browse files
committed
add IPV6_UNICAST_HOPS
1 parent 7ed5599 commit 0e421c9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/unix/bsd/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ pub const IP_MULTICAST_IF: ::c_int = 9;
183183
pub const IP_MULTICAST_TTL: ::c_int = 10;
184184
pub const IP_MULTICAST_LOOP: ::c_int = 11;
185185

186+
pub const IPV6_UNICAST_HOPS: ::c_int = 4;
186187
pub const IPV6_MULTICAST_IF: ::c_int = 9;
187188
pub const IPV6_MULTICAST_HOPS: ::c_int = 10;
188189
pub const IPV6_MULTICAST_LOOP: ::c_int = 11;

src/unix/notbsd/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,7 @@ pub const IP_HDRINCL: ::c_int = 3;
576576
pub const IP_ADD_MEMBERSHIP: ::c_int = 35;
577577
pub const IP_DROP_MEMBERSHIP: ::c_int = 36;
578578
pub const IP_TRANSPARENT: ::c_int = 19;
579+
pub const IPV6_UNICAST_HOPS: ::c_int = 16;
579580
pub const IPV6_MULTICAST_IF: ::c_int = 17;
580581
pub const IPV6_MULTICAST_HOPS: ::c_int = 18;
581582
pub const IPV6_MULTICAST_LOOP: ::c_int = 19;

0 commit comments

Comments
 (0)