diff options
author | Dmitry Safonov <dima@arista.com> | 2023-12-15 02:36:23 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-12-17 10:41:54 +0000 |
commit | 0d16eae57456bbbd7eee45caee53f8d6c4d7ea17 (patch) | |
tree | 9589e4c926ce0c1530dadde0adc03036508862d8 /tools/testing/selftests/net/tcp_ao/lib/sock.c | |
parent | 3715d32dc97698e6d2f59b1579577178a1361686 (diff) |
selftests/net: Add SEQ number extension test
Check that on SEQ number wraparound there is no disruption or TCPAOBad
segments produced.
Sample of expected output:
> # ./seq-ext_ipv4
> 1..7
> # 1436[lib/setup.c:254] rand seed 1686611079
> TAP version 13
> ok 1 server alive
> ok 2 post-migrate connection alive
> ok 3 TCPAOGood counter increased 1002 => 3002
> ok 4 TCPAOGood counter increased 1003 => 3003
> ok 5 TCPAOBad counter didn't increase
> ok 6 TCPAOBad counter didn't increase
> ok 7 SEQ extension incremented: 1/1999, 1/998999
> # Totals: pass:7 fail:0 xfail:0 xpass:0 skip:0 error:0
Signed-off-by: Dmitry Safonov <dima@arista.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/net/tcp_ao/lib/sock.c')
0 files changed, 0 insertions, 0 deletions