Linux: Can Recvmsg be used to receive the IP_TOS of every incoming packet
Posted
by Mayutan
on Stack Overflow
See other posts from Stack Overflow
or by Mayutan
Published on 2010-05-21T10:17:40Z
Indexed on
2010/05/21
10:20 UTC
Read the original article
Hit count: 139
c
|linux-kernel
Can one use recvmsg() to obtain the IP_TOS field of every incoming packet or does it just show the IP_TOS value that is set for the particular socket. If not, does anyone know of a solution to obtain the IP_TOS values of every incoming packets. I am using a UDP application and therefore do not get to view the IP_TOS field at the application layer as is the case with TCP. Thanks.
© Stack Overflow or respective owner