Date: Tue, 5 Jun 2012 14:37:31 -0700 From: Adrian Chadd <adrian@freebsd.org> To: Michael Tuexen <Michael.Tuexen@lurchi.franken.de> Cc: "freebsd-net@freebsd.org mailing list" <freebsd-net@freebsd.org> Subject: Re: IP_RECVTOS Message-ID: <CAJ-Vmona0kHnOKXdmQDYksqGifmd5Fjgg-YniTcrHFZvZBv--Q@mail.gmail.com> In-Reply-To: <1D03F00E-2777-4B0B-8E1C-860EA115B6AF@lurchi.franken.de> References: <1D03F00E-2777-4B0B-8E1C-860EA115B6AF@lurchi.franken.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, can you please wrap this up in a PR so it's not lost? thanks, Adrian On 5 June 2012 13:33, Michael Tuexen <Michael.Tuexen@lurchi.franken.de> wrote: > 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 > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmona0kHnOKXdmQDYksqGifmd5Fjgg-YniTcrHFZvZBv--Q>