diff options
author | bors <bors@rust-lang.org> | 2018-03-01 15:05:18 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2018-03-01 15:05:18 +0000 |
commit | 677b64535362b3f7a8adf378960942104a1bff4d (patch) | |
tree | d1e6d36faa296028dbe9faa382b4d5e854819e6a | |
parent | 2bfacc8633b440958c75d88752709152eaaec9f6 (diff) | |
parent | c299cc49d3de0bf66aeee8581f4856eb58bc1b5a (diff) | |
download | rust-libc-677b64535362b3f7a8adf378960942104a1bff4d.tar.gz |
Auto merge of #935 - bgermann:master, r=alexcrichton
Add Solaris constants needed by net2
The added constants are
IPV6_UNICAST_HOPS,
IPV6_MULTICAST_IF,
IPV6_MULTICAST_HOPS,
IP_MULTICAST_IF.
-rw-r--r-- | src/unix/solaris/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/unix/solaris/mod.rs b/src/unix/solaris/mod.rs index 7b1850bccb..7e09c4fe66 100644 --- a/src/unix/solaris/mod.rs +++ b/src/unix/solaris/mod.rs @@ -474,6 +474,9 @@ pub const SIG_BLOCK: ::c_int = 1; pub const SIG_UNBLOCK: ::c_int = 2; pub const SIG_SETMASK: ::c_int = 3; +pub const IPV6_UNICAST_HOPS: ::c_int = 0x5; +pub const IPV6_MULTICAST_IF: ::c_int = 0x6; +pub const IPV6_MULTICAST_HOPS: ::c_int = 0x7; pub const IPV6_MULTICAST_LOOP: ::c_int = 0x8; pub const IPV6_V6ONLY: ::c_int = 0x27; @@ -849,6 +852,7 @@ pub const SOCK_STREAM: ::c_int = 2; pub const SOCK_RAW: ::c_int = 4; pub const SOCK_RDM: ::c_int = 5; pub const SOCK_SEQPACKET: ::c_int = 6; +pub const IP_MULTICAST_IF: ::c_int = 16; pub const IP_MULTICAST_TTL: ::c_int = 17; pub const IP_MULTICAST_LOOP: ::c_int = 18; pub const IP_TTL: ::c_int = 4; |