Skip to content

Commit 076edb2

Browse files
committed
Add IPV6 analogs
1 parent ae6a262 commit 076edb2

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

src/unix/bsd/apple/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1575,6 +1575,8 @@ pub const IP_DROP_MEMBERSHIP: ::c_int = 13;
15751575
pub const IP_PKTINFO: ::c_int = 26;
15761576
pub const IPV6_JOIN_GROUP: ::c_int = 12;
15771577
pub const IPV6_LEAVE_GROUP: ::c_int = 13;
1578+
pub const IPV6_RECVTCLASS: ::c_int = 35;
1579+
pub const IPV6_TCLASS: ::c_int = 36;
15781580
pub const IPV6_PKTINFO: ::c_int = 46;
15791581
pub const IPV6_RECVPKTINFO: ::c_int = 61;
15801582

src/unix/bsd/freebsdlike/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -668,6 +668,8 @@ pub const IPV6_JOIN_GROUP: ::c_int = 12;
668668
pub const IPV6_LEAVE_GROUP: ::c_int = 13;
669669
pub const IPV6_RECVPKTINFO: ::c_int = 36;
670670
pub const IPV6_PKTINFO: ::c_int = 46;
671+
pub const IPV6_RECVTCLASS: ::c_int = 57;
672+
pub const IPV6_TCLASS: ::c_int = 61;
671673

672674
pub const TCP_NOPUSH: ::c_int = 4;
673675
pub const TCP_NOOPT: ::c_int = 8;

src/unix/bsd/netbsdlike/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,8 @@ pub const IP_ADD_MEMBERSHIP: ::c_int = 12;
430430
pub const IP_DROP_MEMBERSHIP: ::c_int = 13;
431431
pub const IPV6_RECVPKTINFO: ::c_int = 36;
432432
pub const IPV6_PKTINFO: ::c_int = 46;
433+
pub const IPV6_RECVTCLASS: ::c_int = 57;
434+
pub const IPV6_TCLASS: ::c_int = 61;
433435

434436
pub const SOL_SOCKET: ::c_int = 0xffff;
435437
pub const SO_DEBUG: ::c_int = 0x01;

src/unix/notbsd/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -640,6 +640,8 @@ pub const IPV6_DROP_MEMBERSHIP: ::c_int = 21;
640640
pub const IPV6_V6ONLY: ::c_int = 26;
641641
pub const IPV6_RECVPKTINFO: ::c_int = 49;
642642
pub const IPV6_PKTINFO: ::c_int = 50;
643+
pub const IPV6_RECVTCLASS: ::c_int = 66;
644+
pub const IPV6_TCLASS: ::c_int = 67;
643645

644646
pub const TCP_NODELAY: ::c_int = 1;
645647
pub const TCP_MAXSEG: ::c_int = 2;

0 commit comments

Comments
 (0)