Skip to content

Commit 677b645

Browse files
committed
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.
2 parents 2bfacc8 + c299cc4 commit 677b645

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/unix/solaris/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,9 @@ pub const SIG_BLOCK: ::c_int = 1;
474474
pub const SIG_UNBLOCK: ::c_int = 2;
475475
pub const SIG_SETMASK: ::c_int = 3;
476476

477+
pub const IPV6_UNICAST_HOPS: ::c_int = 0x5;
478+
pub const IPV6_MULTICAST_IF: ::c_int = 0x6;
479+
pub const IPV6_MULTICAST_HOPS: ::c_int = 0x7;
477480
pub const IPV6_MULTICAST_LOOP: ::c_int = 0x8;
478481
pub const IPV6_V6ONLY: ::c_int = 0x27;
479482

@@ -849,6 +852,7 @@ pub const SOCK_STREAM: ::c_int = 2;
849852
pub const SOCK_RAW: ::c_int = 4;
850853
pub const SOCK_RDM: ::c_int = 5;
851854
pub const SOCK_SEQPACKET: ::c_int = 6;
855+
pub const IP_MULTICAST_IF: ::c_int = 16;
852856
pub const IP_MULTICAST_TTL: ::c_int = 17;
853857
pub const IP_MULTICAST_LOOP: ::c_int = 18;
854858
pub const IP_TTL: ::c_int = 4;

0 commit comments

Comments
 (0)