lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Changing the TOS value for UDP packets


From: Simon Goldschmidt
Subject: Re: [lwip-users] Changing the TOS value for UDP packets
Date: Fri, 24 Aug 2012 07:13:33 +0200

"Marco Jakobs" <address@hidden> wrote:
> just a short question: Is there any way to alter the TOS field (for QoS
> taaging) of an UDP packet before it's finally sent out with
> 'netconn_sendto'? For example writing into the netconn structure etc.?

No. Changing TOS is implemented on pcb-level (pcb->tos) but there's no API to 
change this on netconns (although you could always access the members of struct 
netconn, but that's not a clean solution). This *is* implemented for sockets 
using setsockopt(), though.

Simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]