summaryrefslogtreecommitdiffstats
path: root/tests/py/inet/udp.t.payload.inet
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2016-05-13 19:13:12 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2016-05-13 19:19:51 +0200
commit14b68bb14eb7360219e65120e41b0ee496b6b3da (patch)
treed9b3cc4d3478c2f7bb66b8cb0974ec9ad852bdc9 /tests/py/inet/udp.t.payload.inet
parent01a5eaee44355cff75f4b320b995b40588b3eede (diff)
tests/py: update for changed set name in payload
Original patch posted in the mailing list from Patrick, I have refreshed this so it applies on top of current HEAD. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/inet/udp.t.payload.inet')
-rw-r--r--tests/py/inet/udp.t.payload.inet48
1 files changed, 24 insertions, 24 deletions
diff --git a/tests/py/inet/udp.t.payload.inet b/tests/py/inet/udp.t.payload.inet
index 918aca69..4ca9904b 100644
--- a/tests/py/inet/udp.t.payload.inet
+++ b/tests/py/inet/udp.t.payload.inet
@@ -33,25 +33,25 @@ inet test-inet input
[ immediate reg 0 accept ]
# udp sport { 49, 50} drop
-set%d test-inet 3
-set%d test-inet 0
+__set%d test-inet 3
+__set%d test-inet 0
element 00003100 : 0 [end] element 00003200 : 0 [end]
inet test-inet input
[ meta load l4proto => reg 1 ]
[ cmp eq reg 1 0x00000011 ]
[ payload load 2b @ transport header + 0 => reg 1 ]
- [ lookup reg 1 set set%d ]
+ [ lookup reg 1 set __set%d ]
[ immediate reg 0 drop ]
# udp sport { 12-40}
-set%d test-inet 7
-set%d test-inet 0
+__set%d test-inet 7
+__set%d test-inet 0
element 00000000 : 1 [end] element 00000c00 : 0 [end] element 00002900 : 1 [end]
inet test-inet input
[ meta load l4proto => reg 1 ]
[ cmp eq reg 1 0x00000011 ]
[ payload load 2b @ transport header + 0 => reg 1 ]
- [ lookup reg 1 set set%d ]
+ [ lookup reg 1 set __set%d ]
# udp dport 80 accept
inet test-inet input
@@ -88,25 +88,25 @@ inet test-inet input
[ immediate reg 0 accept ]
# udp dport { 49, 50} drop
-set%d test-inet 3
-set%d test-inet 0
+__set%d test-inet 3
+__set%d test-inet 0
element 00003100 : 0 [end] element 00003200 : 0 [end]
inet test-inet input
[ meta load l4proto => reg 1 ]
[ cmp eq reg 1 0x00000011 ]
[ payload load 2b @ transport header + 2 => reg 1 ]
- [ lookup reg 1 set set%d ]
+ [ lookup reg 1 set __set%d ]
[ immediate reg 0 drop ]
# udp dport { 70-75} accept
-set%d test-inet 7
-set%d test-inet 0
+__set%d test-inet 7
+__set%d test-inet 0
element 00000000 : 1 [end] element 00004600 : 0 [end] element 00004c00 : 1 [end]
inet test-inet input
[ meta load l4proto => reg 1 ]
[ cmp eq reg 1 0x00000011 ]
[ payload load 2b @ transport header + 2 => reg 1 ]
- [ lookup reg 1 set set%d ]
+ [ lookup reg 1 set __set%d ]
[ immediate reg 0 accept ]
# udp length 6666
@@ -142,25 +142,25 @@ inet test-inet input
[ immediate reg 0 accept ]
# udp length { 50, 65} accept
-set%d test-inet 3
-set%d test-inet 0
+__set%d test-inet 3
+__set%d test-inet 0
element 00003200 : 0 [end] element 00004100 : 0 [end]
inet test-inet input
[ meta load l4proto => reg 1 ]
[ cmp eq reg 1 0x00000011 ]
[ payload load 2b @ transport header + 4 => reg 1 ]
- [ lookup reg 1 set set%d ]
+ [ lookup reg 1 set __set%d ]
[ immediate reg 0 accept ]
# udp length { 35-50}
-set%d test-inet 7
-set%d test-inet 0
+__set%d test-inet 7
+__set%d test-inet 0
element 00000000 : 1 [end] element 00002300 : 0 [end] element 00003300 : 1 [end]
inet test-inet input
[ meta load l4proto => reg 1 ]
[ cmp eq reg 1 0x00000011 ]
[ payload load 2b @ transport header + 4 => reg 1 ]
- [ lookup reg 1 set set%d ]
+ [ lookup reg 1 set __set%d ]
# udp checksum 6666 drop
inet test-inet input
@@ -201,22 +201,22 @@ inet test-inet input
[ cmp gt reg 1 0x00002d00 ]
# udp checksum { 33, 55, 67, 88}
-set%d test-inet 3
-set%d test-inet 0
+__set%d test-inet 3
+__set%d test-inet 0
element 00002100 : 0 [end] element 00003700 : 0 [end] element 00004300 : 0 [end] element 00005800 : 0 [end]
inet test-inet input
[ meta load l4proto => reg 1 ]
[ cmp eq reg 1 0x00000011 ]
[ payload load 2b @ transport header + 6 => reg 1 ]
- [ lookup reg 1 set set%d ]
+ [ lookup reg 1 set __set%d ]
# udp checksum { 33-55}
-set%d test-inet 7
-set%d test-inet 0
+__set%d test-inet 7
+__set%d test-inet 0
element 00000000 : 1 [end] element 00002100 : 0 [end] element 00003800 : 1 [end]
inet test-inet input
[ meta load l4proto => reg 1 ]
[ cmp eq reg 1 0x00000011 ]
[ payload load 2b @ transport header + 6 => reg 1 ]
- [ lookup reg 1 set set%d ]
+ [ lookup reg 1 set __set%d ]