rustix icon indicating copy to clipboard operation
rustix copied to clipboard

Support additional `recvmsg` ancillary messages

Open max-heller opened this issue 1 year ago • 2 comments

Similar to nix::sys::socket::ControlMessageOwned, it'd be great for rustix::net::RecvAncillaryMessage to be able to handle ancillary messages beyond SCM_RIGHTS and SCM_CREDS, in particular the timestamp variants e.g. SCM_TIMESTAMP

max-heller avatar Jul 23 '24 13:07 max-heller

I'd be interested in seeing support for IP_TOS which gives access to the Type-Of-Service byte (which includes the two-bit ECN field)

eminence avatar Dec 27 '24 03:12 eminence

or IP_PKTINFO + IP6_PKTINFO

ensc avatar Jun 03 '25 08:06 ensc