getting TOS from UDP packets

Tuan Hoang (
Wed, 21 Apr 1999 15:56:40 -0400 (EDT)


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. Of course I could be wrong and
hope that I am wrong in this situation.


To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to