gvisor/pkg/tcpip/transport/tcp
Amanda Tait ea070b9d5f Implement Broadcast support
This change adds support for the SO_BROADCAST socket option in gVisor Netstack.
This support includes getsockopt()/setsockopt() functionality for both UDP and
TCP endpoints (the latter being a NOOP), dispatching broadcast messages up and
down the stack, and route finding/creation for broadcast packets. Finally, a
suite of tests have been implemented, exercising this functionality through the
Linux syscall API.

PiperOrigin-RevId: 234850781
Change-Id: If3e666666917d39f55083741c78314a06defb26c
2019-02-20 12:54:13 -08:00
..
testing/context Remove license comments 2019-01-31 11:12:53 -08:00
BUILD Remove license comments 2019-01-31 11:12:53 -08:00
accept.go Implement SO_REUSEPORT for TCP and UDP sockets 2018-12-28 11:27:14 -08:00
connect.go Do not drop packets w/ missing TCP timestamps. 2019-02-11 10:23:43 -08:00
cubic.go Use correct company name in copyright header 2018-10-19 16:35:11 -07:00
dual_stack_test.go Use correct company name in copyright header 2018-10-19 16:35:11 -07:00
endpoint.go Implement Broadcast support 2019-02-20 12:54:13 -08:00
endpoint_state.go Implement Broadcast support 2019-02-20 12:54:13 -08:00
forwarder.go Use correct company name in copyright header 2018-10-19 16:35:11 -07:00
protocol.go Use correct company name in copyright header 2018-10-19 16:35:11 -07:00
rcv.go Use correct company name in copyright header 2018-10-19 16:35:11 -07:00
reno.go Use correct company name in copyright header 2018-10-19 16:35:11 -07:00
sack.go Use correct company name in copyright header 2018-10-19 16:35:11 -07:00
sack_scoreboard.go Fix IsLost check to match the description in RFC6675. 2019-01-29 18:13:48 -08:00
sack_scoreboard_test.go Fix IsLost check to match the description in RFC6675. 2019-01-29 18:13:48 -08:00
segment.go sentry: save copy of tcp segment's delivered views to avoid in-struct pointers. 2018-12-04 13:14:24 -08:00
segment_heap.go Use correct company name in copyright header 2018-10-19 16:35:11 -07:00
segment_queue.go Use correct company name in copyright header 2018-10-19 16:35:11 -07:00
segment_state.go sentry: save copy of tcp segment's delivered views to avoid in-struct pointers. 2018-12-04 13:14:24 -08:00
snd.go Do not drop packets w/ missing TCP timestamps. 2019-02-11 10:23:43 -08:00
snd_state.go Use correct company name in copyright header 2018-10-19 16:35:11 -07:00
tcp_sack_test.go Use correct company name in copyright header 2018-10-19 16:35:11 -07:00
tcp_test.go Test that full segments will be sent when delay/cork is enabled 2018-11-29 15:46:38 -08:00
tcp_timestamp_test.go Do not drop packets w/ missing TCP timestamps. 2019-02-11 10:23:43 -08:00
timer.go Use correct company name in copyright header 2018-10-19 16:35:11 -07:00