Re: [PATCH v2] udhcp: add option to set CoS priority

2023-04-13 Thread Clément Péron
Hi Bernhard, On Wed, 12 Apr 2023 at 20:51, Bernhard Reutner-Fischer wrote: > > On Tue, 11 Apr 2023 22:58:00 +0200 > Clément Péron wrote: > > > Hi Pacien, > > > > On Tue, 11 Apr 2023 at 00:54, pacien wrote: > > > > > > I worked on my own version of this, before seeing that this one was > > > alr

Re: [PATCH v2] udhcp: add option to set CoS priority

2023-04-12 Thread Pacien TRAN-GIRARD
Quoting Bernhard Reutner-Fischer (2023-04-12 20:51:16) > bloat-o-meter stats. > See 'make baseline; apply the patch; make bloatcheck' > and include the output in the commit message so folks are aware of the > costs of that functionality, please. If it's not too excessive, we may > not need a config

Re: [PATCH v2] udhcp: add option to set CoS priority

2023-04-12 Thread Bernhard Reutner-Fischer
On Tue, 11 Apr 2023 22:58:00 +0200 Clément Péron wrote: > Hi Pacien, > > On Tue, 11 Apr 2023 at 00:54, pacien wrote: > > > > I worked on my own version of this, before seeing that this one was > > already posted to the list. Sorry for the collision. > > > > Message-Id: <20230410214157.1017054-1

Re: [PATCH v2] udhcp: add option to set CoS priority

2023-04-11 Thread Clément Péron
Hi Pacien, On Tue, 11 Apr 2023 at 00:54, pacien wrote: > > I worked on my own version of this, before seeing that this one was > already posted to the list. Sorry for the collision. > > Message-Id: <20230410214157.1017054-1-dzfkct.busybo...@pacien.net> > > It differs mainly in the terminology: it

Re: [PATCH v2] udhcp: add option to set CoS priority

2023-04-10 Thread pacien
I worked on my own version of this, before seeing that this one was already posted to the list. Sorry for the collision. Message-Id: <20230410214157.1017054-1-dzfkct.busybo...@pacien.net> It differs mainly in the terminology: it talks about the SKB priority instead of the CoS. Though it should pe

[PATCH v2] udhcp: add option to set CoS priority

2023-01-16 Thread Clément Péron
Some ISP, like the French ISP Orange uses DHCP messages with a CoS Priority of 6 otherwise they are not processed. Add an option to allow setting this property. Signed-off-by: Clément Péron --- Changes since v1: - Use setsockopt_SOL_SOCKET_int() - Introduce an helper udhcp_socket_prio() - Move