gvisor/pkg/tcpip/transport
gVisor bot 56fd9504aa Enable IPV6_RECVTCLASS socket option for datagram sockets
Added the ability to get/set the IP_RECVTCLASS socket option on UDP endpoints.
If enabled, traffic class from the incoming Network Header passed as ancillary
data in the ControlMessages.

Adding Get/SetSockOptBool to decrease the overhead of getting/setting simple
options. (This was absorbed in a CL that will be landing before this one).

Test:
* Added unit test to udp_test.go that tests getting/setting as well as
verifying that we receive expected TOS from incoming packet.
* Added a syscall test for verifying getting/setting
* Removed test skip for existing syscall test to enable end to end test.
PiperOrigin-RevId: 295840218
2020-02-18 15:45:36 -08:00
..
icmp Standardize on tools directory. 2020-01-27 12:21:00 -08:00
packet Standardize on tools directory. 2020-01-27 12:21:00 -08:00
raw Standardize on tools directory. 2020-01-27 12:21:00 -08:00
tcp Add notes to relevant tests. 2020-02-05 22:46:35 -08:00
tcpconntrack Standardize on tools directory. 2020-01-27 12:21:00 -08:00
udp Enable IPV6_RECVTCLASS socket option for datagram sockets 2020-02-18 15:45:36 -08:00