Skip to content

Commit c255585

Browse files
authored
Merge pull request #1747 from wg/master
Define IPV6_CHECKSUM & IPV6_HOPLIMIT on more platforms
2 parents 2020fdd + 00327ab commit c255585

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

src/unix/bsd/apple/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2249,9 +2249,11 @@ pub const IP_PKTINFO: ::c_int = 26;
22492249
pub const IP_RECVTOS: ::c_int = 27;
22502250
pub const IPV6_JOIN_GROUP: ::c_int = 12;
22512251
pub const IPV6_LEAVE_GROUP: ::c_int = 13;
2252+
pub const IPV6_CHECKSUM: ::c_int = 26;
22522253
pub const IPV6_RECVTCLASS: ::c_int = 35;
22532254
pub const IPV6_TCLASS: ::c_int = 36;
22542255
pub const IPV6_PKTINFO: ::c_int = 46;
2256+
pub const IPV6_HOPLIMIT: ::c_int = 47;
22552257
pub const IPV6_RECVPKTINFO: ::c_int = 61;
22562258

22572259
pub const TCP_NOPUSH: ::c_int = 4;

src/unix/bsd/freebsdlike/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -757,8 +757,10 @@ pub const IP_DROP_MEMBERSHIP: ::c_int = 13;
757757
pub const IP_RECVIF: ::c_int = 20;
758758
pub const IPV6_JOIN_GROUP: ::c_int = 12;
759759
pub const IPV6_LEAVE_GROUP: ::c_int = 13;
760+
pub const IPV6_CHECKSUM: ::c_int = 26;
760761
pub const IPV6_RECVPKTINFO: ::c_int = 36;
761762
pub const IPV6_PKTINFO: ::c_int = 46;
763+
pub const IPV6_HOPLIMIT: ::c_int = 47;
762764
pub const IPV6_RECVTCLASS: ::c_int = 57;
763765
pub const IPV6_TCLASS: ::c_int = 61;
764766

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)