RHEL 6: Unable to get TOS field for TCP connections
Issue
- Trying to retrieve TOS field from TCP streams via
getsockopt(fd, IPPROTO_IP, IP_PKTOPTIONS, ...);
does not work.
- Not able to receive IP_TOS value from a TCP socket stream
Environment
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.