bytecodealliance / rustix

Safe Rust bindings to POSIX-ish APIs
Other
1.46k stars 152 forks source link

IPV6_PKTINFO SendAncillaryMessage #1039

Open procdump opened 6 months ago

procdump commented 6 months ago

Add sendmsg ancillary IPV6_PKTINFO option which allows user to specify outgoing source IP address and interface index. This complements the sendmsg_v6 where the destination IP address can also be set.