Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Oct 2016 17:48:25 +0200
From:      Franco Fichtner <franco@lastsummer.de>
To:        Kristof Provost <kp@freebsd.org>
Cc:        Mark Martinec <Mark.Martinec+freebsd@ijs.si>, freebsd-pf@freebsd.org
Subject:   Re: dscp set/get
Message-ID:  <8AF1911D-86B2-40F3-99F2-C10E29AF404C@lastsummer.de>
In-Reply-To: <E227CD94-66E0-4DFE-91F4-67F2DDEDE9BD@FreeBSD.org>
References:  <57F5D9D2.1060103@norma.perm.ru> <311888F1-3BD6-4C4E-818D-C4A9C00B55ED@FreeBSD.org> <C1F20DD6-5B32-4856-A2F7-7DAFB38E4D3A@lastsummer.de> <C539471F-8C0C-4BCD-815C-D449EF1427DB@FreeBSD.org> <bbfc73f2096ac204a752a800c2863e97@mailbox.ijs.si> <E227CD94-66E0-4DFE-91F4-67F2DDEDE9BD@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help


> On 06 Oct 2016, at 3:32 PM, Kristof Provost <kp@freebsd.org> wrote:
> 
> OpenBSD seem to just always preserve the ECN bits (so there’s no dscp keyword).
> Perhaps we should do the same.

The following will import the OpenBSD code regarding the subject.
I retained the old manual style that is in FreeBSD to make the
additions fit in better.  Completely backwards-compatible, except
for the change in behaviour regarding to ignore ECN on set/match.

The ECN change is from 2012, so it's safe to assume it works.  ;)

https://reviews.freebsd.org/D8165


Cheers,
Franco


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8AF1911D-86B2-40F3-99F2-C10E29AF404C>