diff options
author | Florian Westphal <fw@strlen.de> | 2016-08-01 17:11:41 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2016-08-01 17:11:41 +0200 |
commit | ac94031b8f3ba79de5e4fd15a456c01bd5e1b8b4 (patch) | |
tree | 4d1b31a4ffafe814f6df4f38b6ac603896241604 /tests/py/ip6/ip6.t | |
parent | 50ca788ca4d0064db7cb5eaafb0e930ef7cb8b8c (diff) |
tests: ip6 dscp, flowlabel and ecn test cases
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/py/ip6/ip6.t')
-rw-r--r-- | tests/py/ip6/ip6.t | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/py/ip6/ip6.t b/tests/py/ip6/ip6.t index 0a58fa8d..7dea2f75 100644 --- a/tests/py/ip6/ip6.t +++ b/tests/py/ip6/ip6.t @@ -145,3 +145,15 @@ ip6 daddr != ::1234:1234:1234:1234:1234:1234:1234-1234:1234::1234:1234:1234:1234 # limit impact to lo iif lo ip6 daddr set ::1;ok iif lo ip6 hoplimit set 1;ok +iif lo ip6 dscp set af42;ok +iif lo ip6 dscp set 63;ok;iif lo ip6 dscp set 0x3f +iif lo ip6 ecn set ect0;ok +iif lo ip6 ecn set ce;ok + +iif lo ip6 flowlabel set 0;ok +iif lo ip6 flowlabel set 12345;ok +iif lo ip6 flowlabel set 0xfffff;ok;iif lo ip6 flowlabel set 1048575 + +iif lo ip6 ecn set 4;fail +iif lo ip6 dscp set 64;fail +iif lo ip6 flowlabel set 1048576;fail |