Dear all, there is currently no way to receive the TOS byte of a received UDP/IPv4 packet. The attached patch adds a socket option (IP_RECVTOS) which you can use to get a cmsg of type (IP_RECVTOS) which contains the TOS byte. Much like IP_RECVTTL does for TTL. Any comments/objections? If there are none, I would like to commit this to head soon.
Best regards Michael
recvtos.patch
Description: Binary data
_______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"