mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-24 19:45:06 +08:00
02c7f38b7a
This test creates a raw IPv4 socket, fragments a largish UDP datagram and sends the fragments out of order. Then repeats in a loop with different message and fragment lengths. Then does the same with overlapping fragments (with overlapping fragments the expectation is that the recv times out). Tested: root@<host># time ./ip_defrag.sh ipv4 defrag PASS ipv4 defrag with overlaps PASS real 1m7.679s user 0m0.628s sys 0m2.242s A similar test for IPv6 is to follow. Signed-off-by: Peter Oskolkov <posk@google.com> Reviewed-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
18 lines
217 B
Plaintext
18 lines
217 B
Plaintext
msg_zerocopy
|
|
socket
|
|
psock_fanout
|
|
psock_snd
|
|
psock_tpacket
|
|
reuseport_bpf
|
|
reuseport_bpf_cpu
|
|
reuseport_bpf_numa
|
|
reuseport_dualstack
|
|
reuseaddr_conflict
|
|
tcp_mmap
|
|
udpgso
|
|
udpgso_bench_rx
|
|
udpgso_bench_tx
|
|
tcp_inq
|
|
tls
|
|
ip_defrag
|