Commit ae17650
Erlend E. Aasland
bpo-35569: Expose RFC 3542 socket options on macOS
From macOS SDK netinet6/in6.h:
RFC 3542 define the following socket options in a manner incompatible
with RFC 2292:
IPV6_PKTINFO
IPV6_HOPLIMIT
IPV6_NEXTHOP
IPV6_HOPOPTS
IPV6_DSTOPTS
IPV6_RTHDR
To use the new IPv6 Sockets options introduced by RFC 3542
the constant __APPLE_USE_RFC_3542 must be defined before
including <netinet/in.h>
[...]
Note that eventually RFC 3542 is going to be the
default and RFC 2292 will be obsolete.1 parent 4044c84 commit ae17650
3 files changed
Lines changed: 7 additions & 0 deletions
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7421 | 7421 | | |
7422 | 7422 | | |
7423 | 7423 | | |
| 7424 | + | |
| 7425 | + | |
| 7426 | + | |
7424 | 7427 | | |
7425 | 7428 | | |
7426 | 7429 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1844 | 1844 | | |
1845 | 1845 | | |
1846 | 1846 | | |
| 1847 | + | |
| 1848 | + | |
| 1849 | + | |
1847 | 1850 | | |
1848 | 1851 | | |
1849 | 1852 | | |
| |||
0 commit comments