Add IPV6 analogs
This commit is contained in:
parent
ae6a26284b
commit
076edb21b1
@ -1575,6 +1575,8 @@ pub const IP_DROP_MEMBERSHIP: ::c_int = 13;
|
||||
pub const IP_PKTINFO: ::c_int = 26;
|
||||
pub const IPV6_JOIN_GROUP: ::c_int = 12;
|
||||
pub const IPV6_LEAVE_GROUP: ::c_int = 13;
|
||||
pub const IPV6_RECVTCLASS: ::c_int = 35;
|
||||
pub const IPV6_TCLASS: ::c_int = 36;
|
||||
pub const IPV6_PKTINFO: ::c_int = 46;
|
||||
pub const IPV6_RECVPKTINFO: ::c_int = 61;
|
||||
|
||||
|
@ -668,6 +668,8 @@ pub const IPV6_JOIN_GROUP: ::c_int = 12;
|
||||
pub const IPV6_LEAVE_GROUP: ::c_int = 13;
|
||||
pub const IPV6_RECVPKTINFO: ::c_int = 36;
|
||||
pub const IPV6_PKTINFO: ::c_int = 46;
|
||||
pub const IPV6_RECVTCLASS: ::c_int = 57;
|
||||
pub const IPV6_TCLASS: ::c_int = 61;
|
||||
|
||||
pub const TCP_NOPUSH: ::c_int = 4;
|
||||
pub const TCP_NOOPT: ::c_int = 8;
|
||||
|
@ -430,6 +430,8 @@ pub const IP_ADD_MEMBERSHIP: ::c_int = 12;
|
||||
pub const IP_DROP_MEMBERSHIP: ::c_int = 13;
|
||||
pub const IPV6_RECVPKTINFO: ::c_int = 36;
|
||||
pub const IPV6_PKTINFO: ::c_int = 46;
|
||||
pub const IPV6_RECVTCLASS: ::c_int = 57;
|
||||
pub const IPV6_TCLASS: ::c_int = 61;
|
||||
|
||||
pub const SOL_SOCKET: ::c_int = 0xffff;
|
||||
pub const SO_DEBUG: ::c_int = 0x01;
|
||||
|
@ -640,6 +640,8 @@ pub const IPV6_DROP_MEMBERSHIP: ::c_int = 21;
|
||||
pub const IPV6_V6ONLY: ::c_int = 26;
|
||||
pub const IPV6_RECVPKTINFO: ::c_int = 49;
|
||||
pub const IPV6_PKTINFO: ::c_int = 50;
|
||||
pub const IPV6_RECVTCLASS: ::c_int = 66;
|
||||
pub const IPV6_TCLASS: ::c_int = 67;
|
||||
|
||||
pub const TCP_NODELAY: ::c_int = 1;
|
||||
pub const TCP_MAXSEG: ::c_int = 2;
|
||||
|
Loading…
Reference in New Issue
Block a user