RHEL 6: Unable to get TOS field for TCP connections

Solution Unverified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content