Commit 2eec44c
committed
Auto merge of #3450 - larseggert:feat-ttl, r=JohnTitor
Add `IP_RECVTTL` and `IPV6_RECVHOPLIMIT` for Apple platforms
This adds `IP_RECVTTL` and `IPV6_RECVHOPLIMIT` for Apple platforms, which are currently missing.
(There are several other socket options present in `netinet/in.h` and `netinet6/in6.h`. I didn't add these since my code won't need them. Should I add them anyway?)2 files changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
640 | 640 | | |
641 | 641 | | |
642 | 642 | | |
| 643 | + | |
643 | 644 | | |
644 | 645 | | |
645 | 646 | | |
| |||
649 | 650 | | |
650 | 651 | | |
651 | 652 | | |
| 653 | + | |
652 | 654 | | |
653 | 655 | | |
654 | 656 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4075 | 4075 | | |
4076 | 4076 | | |
4077 | 4077 | | |
| 4078 | + | |
4078 | 4079 | | |
4079 | 4080 | | |
4080 | 4081 | | |
| |||
4084 | 4085 | | |
4085 | 4086 | | |
4086 | 4087 | | |
| 4088 | + | |
4087 | 4089 | | |
4088 | 4090 | | |
4089 | 4091 | | |
| |||
0 commit comments