Skip to content

Commit b550c6b

Browse files
authored
Merge pull request #4287 from hawkw/eliza/IP_BOUND_IF-solarish
solarish: define `IP_BOUND_IF` and `IPV6_BOUND_IF`
2 parents 268e1b3 + 885148d commit b550c6b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

libc-test/semver/solarish.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
AIO_ALLDONE
22
AIO_CANCELED
33
AIO_NOTCANCELED
4+
IPV6_BOUND_IF
45
IPV6_DONTFRAG
56
IPV6_PKTINFO
67
IPV6_RECVTCLASS
78
IPV6_TCLASS
9+
IP_BOUND_IF
810
IP_DONTFRAG
911
IP_PKTINFO
1012
IP_TOS

src/unix/solarish/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1148,6 +1148,7 @@ pub const IPV6_DONTFRAG: c_int = 0x21;
11481148
pub const IPV6_SEC_OPT: c_int = 0x22;
11491149
pub const IPV6_TCLASS: c_int = 0x26;
11501150
pub const IPV6_V6ONLY: c_int = 0x27;
1151+
pub const IPV6_BOUND_IF: c_int = 0x41;
11511152

11521153
cfg_if! {
11531154
if #[cfg(target_pointer_width = "64")] {
@@ -1691,6 +1692,7 @@ pub const IP_ADD_SOURCE_MEMBERSHIP: c_int = 23;
16911692
pub const IP_DROP_SOURCE_MEMBERSHIP: c_int = 24;
16921693
pub const IP_BLOCK_SOURCE: c_int = 21;
16931694
pub const IP_UNBLOCK_SOURCE: c_int = 22;
1695+
pub const IP_BOUND_IF: c_int = 0x41;
16941696

16951697
// These TCP socket options are common between illumos and Solaris, while higher
16961698
// numbers have generally diverged:

0 commit comments

Comments
 (0)