]> Git Repo - linux.git/commit
selftests/net: Add SEQ number extension test
authorDmitry Safonov <[email protected]>
Fri, 15 Dec 2023 02:36:23 +0000 (02:36 +0000)
committerDavid S. Miller <[email protected]>
Sun, 17 Dec 2023 10:41:54 +0000 (10:41 +0000)
commit0d16eae57456bbbd7eee45caee53f8d6c4d7ea17
tree9589e4c926ce0c1530dadde0adc03036508862d8
parent3715d32dc97698e6d2f59b1579577178a1361686
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
tools/testing/selftests/net/tcp_ao/Makefile
tools/testing/selftests/net/tcp_ao/seq-ext.c [new file with mode: 0644]
This page took 0.05378 seconds and 4 git commands to generate.