summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/socket/netstack/device.go
diff options
context:
space:
mode:
authorDean Deng <deandeng@google.com>2019-12-03 08:32:03 -0800
committergVisor bot <gvisor-bot@google.com>2019-12-03 08:33:22 -0800
commit19b2d997ec702e559bdb5f5e60634a7c5d7d288e (patch)
treef6c30ec26fb7b4a4d2df221039456e64bccbf6f9 /pkg/sentry/socket/netstack/device.go
parentce32c0684311923fb80dd04221d5fd5120170cf9 (diff)
Support IP_TOS and IPV6_TCLASS socket options for hostinet sockets.
There are two potential ways of sending a TOS byte with outgoing packets: including a control message in sendmsg, or setting the IP_TOS/IPV6_TCLASS socket options (for IPV4 and IPV6 respectively). This change lets hostinet support the latter. Fixes #1188 PiperOrigin-RevId: 283550925
Diffstat (limited to 'pkg/sentry/socket/netstack/device.go')
0 files changed, 0 insertions, 0 deletions