Add some IPv6 options

This commit is contained in:
Alex Crichton
2015-09-18 17:16:51 -07:00
parent a760061227
commit babf390fcf
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -72,6 +72,9 @@ pub const SA_SIGINFO: ::c_int = 0x0040;
pub const SIGBUS: ::c_int = 10;
pub const SIG_SETMASK: ::c_int = 3;
pub const IPV6_MULTICAST_LOOP: ::c_int = 11;
pub const IPV6_V6ONLY: ::c_int = 27;
extern {
pub fn mincore(addr: *const ::c_void, len: size_t,
vec: *mut c_char) -> ::c_int;
+3
View File
@@ -271,6 +271,9 @@ pub const TCP_INFO: ::c_int = 11;
pub const TCP_QUICKACK: ::c_int = 12;
pub const TCP_CONGESTION: ::c_int = 13;
pub const IPV6_MULTICAST_LOOP: ::c_int = 19;
pub const IPV6_V6ONLY: ::c_int = 26;
pub const SO_DEBUG: ::c_int = 1;
pub const SHUT_RD: ::c_int = 0;