diff options
author | Dean Deng <deandeng@google.com> | 2019-12-02 08:38:45 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-12-02 08:40:16 -0800 |
commit | 9194aab2aaada137b377fdfcb812a7c015857d5d (patch) | |
tree | 36b7dd3d7efcae158e14b26eec0a19840e0bd371 /pkg/sentry/socket/control/BUILD | |
parent | 1518f7fd38cc2367ee966443a5895a3f25621d83 (diff) |
Support sending IP_TOS and IPV6_TCLASS control messages with 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 former.
PiperOrigin-RevId: 283346737
Diffstat (limited to 'pkg/sentry/socket/control/BUILD')
-rw-r--r-- | pkg/sentry/socket/control/BUILD | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/sentry/socket/control/BUILD b/pkg/sentry/socket/control/BUILD index 4a6e83a8b..357517ed4 100644 --- a/pkg/sentry/socket/control/BUILD +++ b/pkg/sentry/socket/control/BUILD @@ -17,6 +17,7 @@ go_library( "//pkg/sentry/fs", "//pkg/sentry/kernel", "//pkg/sentry/kernel/auth", + "//pkg/sentry/socket", "//pkg/sentry/socket/unix/transport", "//pkg/sentry/usermem", "//pkg/syserror", |