File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -520,13 +520,20 @@ pub const IFF_MULTICAST: ::c_int = 0x8000; // supports multicast
520
520
pub const TCP_NODELAY : :: c_int = 8193 ;
521
521
pub const TCP_MAXSEG : :: c_int = 8194 ;
522
522
523
- pub const IP_TOS : :: c_int = 7 ;
523
+ pub const IP_TOS : :: c_int = 3 ;
524
524
pub const IP_TTL : :: c_int = 8 ;
525
- pub const IP_MULTICAST_LOOP : :: c_int = 9 ;
525
+ pub const IP_MULTICAST_IF : :: c_int = 9 ;
526
526
pub const IP_MULTICAST_TTL : :: c_int = 10 ;
527
+ pub const IP_MULTICAST_LOOP : :: c_int = 11 ;
527
528
pub const IP_ADD_MEMBERSHIP : :: c_int = 11 ;
528
529
pub const IP_DROP_MEMBERSHIP : :: c_int = 12 ;
529
530
531
+ pub const IPV6_UNICAST_HOPS : :: c_int = 4 ;
532
+ pub const IPV6_MULTICAST_IF : :: c_int = 9 ;
533
+ pub const IPV6_MULTICAST_HOPS : :: c_int = 10 ;
534
+ pub const IPV6_MULTICAST_LOOP : :: c_int = 11 ;
535
+ pub const IPV6_V6ONLY : :: c_int = 27 ;
536
+
530
537
pub const HOST_NOT_FOUND : :: c_int = 1 ;
531
538
pub const NO_DATA : :: c_int = 2 ;
532
539
pub const NO_ADDRESS : :: c_int = 2 ;
You can’t perform that action at this time.
0 commit comments