summaryrefslogtreecommitdiffstats
path: root/tests/py/ip/ip.t
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2016-08-01 17:11:41 +0200
committerFlorian Westphal <fw@strlen.de>2016-08-01 17:11:41 +0200
commit5fa8528fa9631ff5b0d72d9e9bdc76220f992e8f (patch)
tree318aea013ef99e5594b11a0dd58cc2fdf12054b7 /tests/py/ip/ip.t
parentf9069cefdf991939da1c84b00edeea0ddd772b70 (diff)
tests: ip payload set support for ecn and dscp
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/py/ip/ip.t')
-rw-r--r--tests/py/ip/ip.t5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/py/ip/ip.t b/tests/py/ip/ip.t
index 90e117ae..8fa53be4 100644
--- a/tests/py/ip/ip.t
+++ b/tests/py/ip/ip.t
@@ -126,3 +126,8 @@ ip hdrlength 16;fail
iif lo ip daddr set 127.0.0.1;ok
iif lo ip checksum set 0;ok
iif lo ip id set 0;ok
+iif lo ip ecn set 1;ok;iif lo ip ecn set ect1
+iif lo ip ecn set ce;ok
+
+iif lo ip dscp set af23;ok
+iif lo ip dscp set cs0;ok