diff options
Diffstat (limited to 'tests/py/ip/reject.t.payload')
-rw-r--r-- | tests/py/ip/reject.t.payload | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/py/ip/reject.t.payload b/tests/py/ip/reject.t.payload index d5e87665..ec94b4c1 100644 --- a/tests/py/ip/reject.t.payload +++ b/tests/py/ip/reject.t.payload @@ -30,3 +30,11 @@ ip test-ip4 output ip test-ip4 output [ reject type 0 code 13 ] +# mark 0x80000000 reject with tcp reset +ip test-ip4 output + [ payload load 1b @ network header + 9 => reg 1 ] + [ cmp eq reg 1 0x00000006 ] + [ meta load mark => reg 1 ] + [ cmp eq reg 1 0x80000000 ] + [ reject type 1 code 0 ] + |