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

2023-01-13 Thread Bernhard Reutner-Fischer
On Fri, 13 Jan 2023 10:55:26 +0100 Clément Péron wrote: > Hi, > > > On Fri, 13 Jan 2023 at 10:48, Clément Péron wrote: > > > > 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

[PATCH] udhcp: use the define instead of value + comment

2023-01-13 Thread Clément Péron
All the DHCP value are already properly defines but instead of using them we recopy the value and add a comment. Let's directly add the define when we can. Signed-off-by: Clément Péron --- networking/udhcp/common.c | 90 +++ networking/udhcp/common.h | 73

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

2023-01-13 Thread Clément Péron
Hi, On Fri, 13 Jan 2023 at 10:48, Clément Péron wrote: > > 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. Please note, that I get this information from this blog post

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

2023-01-13 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 --- networking/udhcp/Config.src | 8 networking/udhcp/d6_dhcpc.c | 6 ++