gvisor/test/packetimpact/tests
Tony Gong 76c7bc51b7 Set IPv4 ID on all non-atomic datagrams
RFC 6864 imposes various restrictions on the uniqueness of the IPv4
Identification field for non-atomic datagrams, defined as an IP datagram that
either can be fragmented (DF=0) or is already a fragment (MF=1 or positive
fragment offset). In order to be compliant, the ID field is assigned for all
non-atomic datagrams.

Add a TCP unit test that induces retransmissions and checks that the IPv4
ID field is unique every time. Add basic handling of the IP_MTU_DISCOVER
socket option so that the option can be used to disable PMTU discovery,
effectively setting DF=0. Attempting to set the sockopt to anything other
than disabled will fail because PMTU discovery is currently not implemented,
and the default behavior matches that of disabled.

PiperOrigin-RevId: 320081842
2020-07-07 16:14:49 -07:00
..
BUILD Set IPv4 ID on all non-atomic datagrams 2020-07-07 16:14:49 -07:00
fin_wait2_timeout_test.go Handle TCP segment split cases as per MSS. 2020-06-05 11:28:24 -07:00
icmpv6_param_problem_test.go Refactor packetimpact Connection types 2020-06-11 13:48:30 -07:00
ipv4_id_uniqueness_test.go Make GenerateRandomPayload available to all tests 2020-06-12 15:07:17 -07:00
ipv6_unknown_options_action_test.go Packetimpact test for IPv6 unknown options action 2020-06-26 16:43:53 -07:00
tcp_close_wait_ack_test.go Handle TCP segment split cases as per MSS. 2020-06-05 11:28:24 -07:00
tcp_cork_mss_test.go Handle TCP segment split cases as per MSS. 2020-06-05 11:28:24 -07:00
tcp_handshake_window_size_test.go TCP to honor updated window size during handshake. 2020-06-15 16:19:53 -07:00
tcp_noaccept_close_rst_test.go Handle TCP segment split cases as per MSS. 2020-06-05 11:28:24 -07:00
tcp_outside_the_window_test.go Handle TCP segment split cases as per MSS. 2020-06-05 11:28:24 -07:00
tcp_paws_mechanism_test.go Handle TCP segment split cases as per MSS. 2020-06-05 11:28:24 -07:00
tcp_queue_receive_in_syn_sent_test.go TCP receive should block when in SYN-SENT state. 2020-07-01 15:47:50 -07:00
tcp_reordering_test.go Add test for reordering. 2020-06-11 18:04:43 -07:00
tcp_retransmits_test.go Replace use of %v in packetimpact tests 2020-06-11 19:46:49 -07:00
tcp_send_window_sizes_piggyback_test.go Handle TCP segment split cases as per MSS. 2020-06-05 11:28:24 -07:00
tcp_synrcvd_reset_test.go Handle TCP segment split cases as per MSS. 2020-06-05 11:28:24 -07:00
tcp_synsent_reset_test.go Move TCP to CLOSED from SYN-RCVD on RST. 2020-05-29 12:33:28 -07:00
tcp_user_timeout_test.go Handle TCP segment split cases as per MSS. 2020-06-05 11:28:24 -07:00
tcp_window_shrink_test.go Replace use of %v in packetimpact tests 2020-06-11 19:46:49 -07:00
tcp_zero_window_probe_retransmit_test.go Improve failure message 2020-07-03 23:20:13 -07:00
tcp_zero_window_probe_test.go Replace use of %v in packetimpact tests 2020-06-11 19:46:49 -07:00
tcp_zero_window_probe_usertimeout_test.go Replace use of %v in packetimpact tests 2020-06-11 19:46:49 -07:00
udp_icmp_error_propagation_test.go Refactor packetimpact Connection types 2020-06-11 13:48:30 -07:00
udp_recv_multicast_test.go Refactor packetimpact Connection types 2020-06-11 13:48:30 -07:00
udp_send_recv_dgram_test.go Make GenerateRandomPayload available to all tests 2020-06-12 15:07:17 -07:00