Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jun 2012 19:54:26 +0200
From:      Michael Tuexen <Michael.Tuexen@lurchi.franken.de>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        "freebsd-net@freebsd.org mailing list" <freebsd-net@freebsd.org>
Subject:   Re: IP_RECVTOS
Message-ID:  <8D7E9322-0973-4657-B3FE-8A480C0E0304@lurchi.franken.de>
In-Reply-To: <CAJ-Vmo=BDfQ5_yd=bzBwYr=P7xLeS=mRckncCuGBJPYxz4XRoA@mail.gmail.com>
References:  <1D03F00E-2777-4B0B-8E1C-860EA115B6AF@lurchi.franken.de> <CAJ-Vmona0kHnOKXdmQDYksqGifmd5Fjgg-YniTcrHFZvZBv--Q@mail.gmail.com> <7731AEE8-D1BF-4297-8F75-454149D3E303@lurchi.franken.de> <CAJ-VmomrqRLkyTCFsgfcAsXC1V4KubsZ3AeY2K%2B6X7u-yjBOoQ@mail.gmail.com> <5A4A73CF-95FB-4B33-9652-2E4FD517CF5F@lurchi.franken.de> <CAJ-Vmo=1o72QB%2B0tBcvO8A37xdzMCsS3JAFa5%2B6DM6%2BwqfQWPA@mail.gmail.com> <5399FCC6-BDC4-47DD-9948-ADD16264EE46@lurchi.franken.de> <CAJ-Vmo=BDfQ5_yd=bzBwYr=P7xLeS=mRckncCuGBJPYxz4XRoA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 6, 2012, at 7:17 PM, Adrian Chadd wrote:

> Hi,
>=20
> For TCP, I've seen the network layer change things (eg setting bits on
> incoming traffic to mark which interface it came in on), so you can't
> guarantee the outbound ToS =3D=3D inbound ToS.
I've not said that inbound =3D=3D outbound... I just wanted to make =
clear
that there is a socket option of setting the TOS byte for outgoing
traffic. The TCP stack might overwrite the ECN bits...

I need the IP_RECVTOS functionality for implementing a transport stack =
supporting
ECN in userland, actually running the SCTP kernel sources (with some =
glue code)
in userland on top of UDP...

Best regards
Michael
>=20
>=20
>=20
> Adrian
>=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8D7E9322-0973-4657-B3FE-8A480C0E0304>