Skip to content

Commit a875141

Browse files
committed
define IPV6_CHECKSUM for freebsd and macos
1 parent 3218423 commit a875141

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/unix/bsd/apple/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2249,6 +2249,7 @@ 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;

src/unix/bsd/freebsdlike/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -757,6 +757,7 @@ 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;
762763
pub const IPV6_RECVTCLASS: ::c_int = 57;

0 commit comments

Comments
 (0)