Skip to content

Commit fca4475

Browse files
committed
2075: Add ControlMessage::Ipv6HopLimit
When sending IPv6 packets with `sendmsg`, Linux does not use the hop limit set on the socket. Instead, the hop limit has to be specified for each individual message with ancillary data in a cmsg. This commit adds the enum variant `ControlMessage::Ipv6HopLimit` to specify the limit. The variant is available on the `net` feature flag for Linux, MacOs, FreeBSD, DragonflyBSD, Android, iOS and Haiku.
1 parent 2d18d63 commit fca4475

File tree

2 files changed

+223
-69
lines changed

2 files changed

+223
-69
lines changed

0 commit comments

Comments
 (0)