summaryrefslogtreecommitdiffhomepage
path: root/pkg/waiter/waiter_test.go
diff options
context:
space:
mode:
authorGhanan Gowripalan <ghanan@google.com>2021-09-13 11:13:08 -0700
committergVisor bot <gvisor-bot@google.com>2021-09-13 11:15:36 -0700
commit79834ce16c5a32b7694c2f00e6bdd0cbdb6b947a (patch)
tree5564f2bfc5129a3cb67f07cad32d4a58f22cbf73 /pkg/waiter/waiter_test.go
parent6bcacb2fd17fadefbc9fb2eed9059eb36ae2783b (diff)
Separate IPv4 ToS & IPv6 TClass in dgram endpoint
Setting the ToS for IPv4 packets (SOL_IP, IP_TOS) should not affect the Traffic Class of IPv6 packets (SOL_IPV6, IPV6_TCLASS). Also only return the ToS value XOR Traffic Class as a packet cannot be both an IPv4 and an IPv6 packet; It is invalid to return both the IPv4 ToS and IPv6 Traffic Class control messages when reading packets. Updates #6389. PiperOrigin-RevId: 396399096
Diffstat (limited to 'pkg/waiter/waiter_test.go')
0 files changed, 0 insertions, 0 deletions