Hello!
> Thanks to some help from DaveM, I've been able to use the IP_PKTINFO
> socket option to obtain the destination IP address of incoming UDP
> datagrams. I was wondering if I could also obtain the TOS field from the
> IP header in the same manner or another. So far I think I can only get
> the interface and destination IP address.
TOS is received in full analogy with destination/iface,
only using not IP_PKTINFO, but setsockopt(IP_RECVTOS) and ancillary
data object IP_TOS.
Alexey
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]