You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Description
These socket options are currently defined only on macOS and friends,
but they exist on illumos and Solaris as well.
This commit defines these socket options on solarish operating systems.
# Sources
On Solaris, see the man page [`ip(7P)`].
I'd like to provide a link to the illumos manual pages, but apparently
https://illumos.org/man seems to be impacted by today's AWS outage.
The constants are defined in `/usr/include/netinet/in.h`:
```console
eliza@atrium ~ $ uname -a
SunOS atrium 5.11 helios-2.0.22827 i86pc i386 i86pc
eliza@atrium ~ $ rg 'IP(V6)?_BOUND_IF' /usr/include
/usr/include/netinet/in.h
978:#define IP_BOUND_IF 0x41 /* bind socket to an ifindex */
1311:#define IPV6_BOUND_IF 0x41 /* bind to an ifindex */
```
[`ip(7P)`]: https://docs.oracle.com/cd/E86824_01/html/E54777/ip-7p.html
# Checklist
- [x] Relevant tests in `libc-test/semver` have been updated
- [x] No placeholder or unstable values like `*LAST` or `*MAX` are
included (see [#3131](#3131))
- [x] Tested locally (`cd libc-test && cargo test --target mytarget`);
especially relevant for platforms that may not be checked in CI
0 commit comments