On 12.06.2012 16:02, Michael Tuexen wrote:
Author: tuexen
Date: Tue Jun 12 14:02:38 2012
New Revision: 236959
URL: http://svn.freebsd.org/changeset/base/236959

Log:
   Add a IP_RECVTOS socket option to receive for received UDP/IPv4
   packets a cmsg of type IP_RECVTOS which contains the TOS byte.
   Much like IP_RECVTTL does for TTL. This allows to implement a
   protocol on top of UDP and implementing ECN.

You may want to consider to alias IP_RECVTOS with IP_TOS as it is
done with IP_SENDSRCADDR+IP_RECVDSTADDR to allow for simpler replying
of received UDP packets.  That way IP_RECVTOS has the same ip socket
option number and it can be used for direct TOS reflection.

--
Andre
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to