diff options
author | Phil Sutter <phil@nwl.cc> | 2018-08-29 16:23:27 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-08-30 12:19:36 +0200 |
commit | 90d4ee087171e75d5313359ad6b6f1341e51ddc5 (patch) | |
tree | 59572c39aa334813b9b090fa46a57fedf9ff5aac /tests/py/ip6 | |
parent | 8f6e1c37e3e74e1fd490a0de5360ff1467c521cd (diff) |
JSON: Make match op mandatory, introduce 'in' operator
This special operator is required for cases where missing operator does
not lead to same results as equal operator, i.e. with bitmasks on RHS.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/ip6')
34 files changed, 361 insertions, 0 deletions
diff --git a/tests/py/ip6/dnat.t.json b/tests/py/ip6/dnat.t.json index 4139d645..a5c01fd2 100644 --- a/tests/py/ip6/dnat.t.json +++ b/tests/py/ip6/dnat.t.json @@ -8,6 +8,7 @@ "protocol": "tcp" } }, + "op": "==", "right": { "range": [ 80, 90 ] } @@ -35,6 +36,7 @@ "protocol": "tcp" } }, + "op": "==", "right": { "range": [ 80, 90 ] } @@ -60,6 +62,7 @@ "protocol": "tcp" } }, + "op": "==", "right": { "range": [ 80, 90 ] } diff --git a/tests/py/ip6/dst.t.json b/tests/py/ip6/dst.t.json index aba15b23..1373e177 100644 --- a/tests/py/ip6/dst.t.json +++ b/tests/py/ip6/dst.t.json @@ -8,6 +8,7 @@ "name": "dst" } }, + "op": "==", "right": 22 } } @@ -39,6 +40,7 @@ "name": "dst" } }, + "op": "==", "right": { "range": [ 33, 45 ] } @@ -74,6 +76,7 @@ "name": "dst" } }, + "op": "==", "right": { "set": [ 33, @@ -119,6 +122,7 @@ "name": "dst" } }, + "op": "==", "right": { "set": [ { "range": [ 33, 55 ] } @@ -158,6 +162,7 @@ "name": "dst" } }, + "op": "==", "right": { "set": [ "udplite", @@ -213,6 +218,7 @@ "name": "dst" } }, + "op": "==", "right": "icmp" } } @@ -244,6 +250,7 @@ "name": "dst" } }, + "op": "==", "right": 22 } } @@ -275,6 +282,7 @@ "name": "dst" } }, + "op": "==", "right": { "range": [ 33, 45 ] } @@ -310,6 +318,7 @@ "name": "dst" } }, + "op": "==", "right": { "set": [ 33, @@ -355,6 +364,7 @@ "name": "dst" } }, + "op": "==", "right": { "set": [ { "range": [ 33, 55 ] } diff --git a/tests/py/ip6/dst.t.json.output b/tests/py/ip6/dst.t.json.output index c856ec9a..69d8f685 100644 --- a/tests/py/ip6/dst.t.json.output +++ b/tests/py/ip6/dst.t.json.output @@ -8,6 +8,7 @@ "name": "dst" } }, + "op": "==", "right": { "set": [ 6, @@ -63,6 +64,7 @@ "name": "dst" } }, + "op": "==", "right": 1 } } diff --git a/tests/py/ip6/ether.t.json b/tests/py/ip6/ether.t.json index 1a349215..5e4b43bc 100644 --- a/tests/py/ip6/ether.t.json +++ b/tests/py/ip6/ether.t.json @@ -8,6 +8,7 @@ "protocol": "tcp" } }, + "op": "==", "right": 22 } }, @@ -16,6 +17,7 @@ "left": { "meta": { "key": "iiftype" } }, + "op": "==", "right": "ether" } }, @@ -27,6 +29,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1::2" } }, @@ -38,6 +41,7 @@ "protocol": "ether" } }, + "op": "==", "right": "00:0f:54:0c:11:04" } }, @@ -56,6 +60,7 @@ "protocol": "tcp" } }, + "op": "==", "right": 22 } }, @@ -67,6 +72,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1::2" } }, @@ -78,6 +84,7 @@ "protocol": "ether" } }, + "op": "==", "right": "00:0f:54:0c:11:04" } } @@ -93,6 +100,7 @@ "protocol": "tcp" } }, + "op": "==", "right": 22 } }, @@ -104,6 +112,7 @@ "protocol": "ether" } }, + "op": "==", "right": "00:0f:54:0c:11:04" } }, @@ -115,6 +124,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1::2" } } @@ -130,6 +140,7 @@ "protocol": "ether" } }, + "op": "==", "right": "00:0f:54:0c:11:04" } }, @@ -141,6 +152,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1::2" } }, diff --git a/tests/py/ip6/ether.t.json.output b/tests/py/ip6/ether.t.json.output index 556ce919..7ace6273 100644 --- a/tests/py/ip6/ether.t.json.output +++ b/tests/py/ip6/ether.t.json.output @@ -8,6 +8,7 @@ "protocol": "tcp" } }, + "op": "==", "right": 22 } }, @@ -19,6 +20,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1::2" } }, @@ -30,6 +32,7 @@ "protocol": "ether" } }, + "op": "==", "right": "00:0f:54:0c:11:04" } }, diff --git a/tests/py/ip6/exthdr.t.json b/tests/py/ip6/exthdr.t.json index 8289a39e..4ca77d6c 100644 --- a/tests/py/ip6/exthdr.t.json +++ b/tests/py/ip6/exthdr.t.json @@ -7,6 +7,7 @@ "name": "hbh" } }, + "op": "==", "right": true } } @@ -21,6 +22,7 @@ "name": "rt" } }, + "op": "==", "right": true } } @@ -35,6 +37,7 @@ "name": "frag" } }, + "op": "==", "right": true } } @@ -49,6 +52,7 @@ "name": "dst" } }, + "op": "==", "right": true } } @@ -63,6 +67,7 @@ "name": "mh" } }, + "op": "==", "right": true } } @@ -77,6 +82,7 @@ "name": "hbh" } }, + "op": "==", "right": false } } @@ -151,6 +157,7 @@ "name": "hbh" } }, + "op": "==", "right": 1 } } @@ -165,6 +172,7 @@ "name": "hbh" } }, + "op": "==", "right": 0 } } diff --git a/tests/py/ip6/exthdr.t.json.output b/tests/py/ip6/exthdr.t.json.output index 6bdbae2f..c9f5b49b 100644 --- a/tests/py/ip6/exthdr.t.json.output +++ b/tests/py/ip6/exthdr.t.json.output @@ -7,6 +7,7 @@ "name": "hbh" } }, + "op": "==", "right": true } } @@ -21,6 +22,7 @@ "name": "hbh" } }, + "op": "==", "right": false } } @@ -35,6 +37,7 @@ "name": "hbh" } }, + "op": "==", "right": true } } @@ -49,6 +52,7 @@ "name": "hbh" } }, + "op": "==", "right": false } } diff --git a/tests/py/ip6/frag.t.json b/tests/py/ip6/frag.t.json index abea39dd..b8c06dfb 100644 --- a/tests/py/ip6/frag.t.json +++ b/tests/py/ip6/frag.t.json @@ -8,6 +8,7 @@ "name": "frag" } }, + "op": "==", "right": "tcp" } } @@ -39,6 +40,7 @@ "name": "frag" } }, + "op": "==", "right": { "set": [ "esp", @@ -92,6 +94,7 @@ "name": "frag" } }, + "op": "==", "right": "esp" } } @@ -107,6 +110,7 @@ "name": "frag" } }, + "op": "==", "right": "ah" } } @@ -122,6 +126,7 @@ "name": "frag" } }, + "op": "==", "right": 22 } } @@ -153,6 +158,7 @@ "name": "frag" } }, + "op": "==", "right": { "range": [ 33, 45 ] } @@ -188,6 +194,7 @@ "name": "frag" } }, + "op": "==", "right": { "set": [ 33, @@ -233,6 +240,7 @@ "name": "frag" } }, + "op": "==", "right": { "set": [ { "range": [ 33, 55 ] } @@ -272,6 +280,7 @@ "name": "frag" } }, + "op": "==", "right": 22 } } @@ -303,6 +312,7 @@ "name": "frag" } }, + "op": "==", "right": { "range": [ 33, 45 ] } @@ -338,6 +348,7 @@ "name": "frag" } }, + "op": "==", "right": { "set": [ 33, @@ -383,6 +394,7 @@ "name": "frag" } }, + "op": "==", "right": { "set": [ { "range": [ 33, 55 ] } @@ -422,6 +434,7 @@ "name": "frag" } }, + "op": "==", "right": 1 } } @@ -437,6 +450,7 @@ "name": "frag" } }, + "op": "==", "right": 0 } } @@ -452,6 +466,7 @@ "name": "frag" } }, + "op": "==", "right": 1 } } @@ -467,6 +482,7 @@ "name": "frag" } }, + "op": "==", "right": 1 } } @@ -482,6 +498,7 @@ "name": "frag" } }, + "op": "==", "right": 22 } } @@ -513,6 +530,7 @@ "name": "frag" } }, + "op": "==", "right": { "range": [ 33, 45 ] } @@ -548,6 +566,7 @@ "name": "frag" } }, + "op": "==", "right": { "set": [ 33, @@ -593,6 +612,7 @@ "name": "frag" } }, + "op": "==", "right": { "set": [ { "range": [ 33, 55 ] } diff --git a/tests/py/ip6/frag.t.json.output b/tests/py/ip6/frag.t.json.output index 12579de5..68d382b3 100644 --- a/tests/py/ip6/frag.t.json.output +++ b/tests/py/ip6/frag.t.json.output @@ -8,6 +8,7 @@ "name": "frag" } }, + "op": "==", "right": 6 } } @@ -39,6 +40,7 @@ "name": "frag" } }, + "op": "==", "right": { "set": [ 6, @@ -92,6 +94,7 @@ "name": "frag" } }, + "op": "==", "right": 50 } } @@ -107,6 +110,7 @@ "name": "frag" } }, + "op": "==", "right": 51 } } diff --git a/tests/py/ip6/hbh.t.json b/tests/py/ip6/hbh.t.json index e8116061..441d3bfe 100644 --- a/tests/py/ip6/hbh.t.json +++ b/tests/py/ip6/hbh.t.json @@ -8,6 +8,7 @@ "name": "hbh" } }, + "op": "==", "right": 22 } } @@ -39,6 +40,7 @@ "name": "hbh" } }, + "op": "==", "right": { "range": [ 33, 45 ] } @@ -74,6 +76,7 @@ "name": "hbh" } }, + "op": "==", "right": { "set": [ 33, @@ -119,6 +122,7 @@ "name": "hbh" } }, + "op": "==", "right": { "set": [ { "range": [ 33, 55 ] } @@ -158,6 +162,7 @@ "name": "hbh" } }, + "op": "==", "right": { "set": [ "esp", @@ -213,6 +218,7 @@ "name": "hbh" } }, + "op": "==", "right": 22 } } @@ -244,6 +250,7 @@ "name": "hbh" } }, + "op": "==", "right": { "range": [ 33, 45 ] } @@ -279,6 +286,7 @@ "name": "hbh" } }, + "op": "==", "right": { "set": [ 33, @@ -324,6 +332,7 @@ "name": "hbh" } }, + "op": "==", "right": { "set": [ { "range": [ 33, 55 ] } @@ -363,6 +372,7 @@ "name": "hbh" } }, + "op": "==", "right": "ip" } } diff --git a/tests/py/ip6/hbh.t.json.output b/tests/py/ip6/hbh.t.json.output index 933efbd6..190f0fc6 100644 --- a/tests/py/ip6/hbh.t.json.output +++ b/tests/py/ip6/hbh.t.json.output @@ -8,6 +8,7 @@ "name": "hbh" } }, + "op": "==", "right": { "set": [ 6, 17, 33, 50, 51, 58, 108, 132, 136 ] } @@ -43,6 +44,7 @@ "name": "hbh" } }, + "op": "==", "right": 0 } } diff --git a/tests/py/ip6/icmpv6.t.json b/tests/py/ip6/icmpv6.t.json index c953ee25..73b9277a 100644 --- a/tests/py/ip6/icmpv6.t.json +++ b/tests/py/ip6/icmpv6.t.json @@ -8,6 +8,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": "destination-unreachable" } }, @@ -26,6 +27,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": "packet-too-big" } }, @@ -44,6 +46,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": "time-exceeded" } }, @@ -62,6 +65,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": "echo-request" } }, @@ -80,6 +84,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": "echo-reply" } }, @@ -98,6 +103,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": "mld-listener-query" } }, @@ -116,6 +122,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": "mld-listener-report" } }, @@ -134,6 +141,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": "mld-listener-done" } }, @@ -152,6 +160,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": "mld-listener-reduction" } }, @@ -170,6 +179,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": "nd-router-solicit" } }, @@ -188,6 +198,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": "nd-router-advert" } }, @@ -206,6 +217,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": "nd-neighbor-solicit" } }, @@ -224,6 +236,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": "nd-neighbor-advert" } }, @@ -242,6 +255,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": "nd-redirect" } }, @@ -260,6 +274,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": "parameter-problem" } }, @@ -278,6 +293,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": "router-renumbering" } }, @@ -296,6 +312,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": "ind-neighbor-solicit" } }, @@ -314,6 +331,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": "ind-neighbor-advert" } }, @@ -332,6 +350,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": "mld2-listener-report" } }, @@ -350,6 +369,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": { "set": [ "destination-unreachable", @@ -374,6 +394,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": { "set": [ "router-renumbering", @@ -399,6 +420,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": { "set": [ "mld-listener-query", @@ -448,6 +470,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": 4 } } @@ -463,6 +486,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": { "range": [ 3, 66 ] } @@ -480,6 +504,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": { "set": [ 5, @@ -529,6 +554,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": { "set": [ { "range": [ 3, 66 ] } @@ -568,6 +594,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": 2222 } }, @@ -605,6 +632,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": { "range": [ 222, 226 ] } @@ -641,6 +669,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": { "set": [ 222, @@ -682,6 +711,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": { "set": [ { "range": [ 222, 226 ] } @@ -721,6 +751,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": 22 } } @@ -752,6 +783,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": { "range": [ 33, 45 ] } @@ -787,6 +819,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": { "set": [ 33, @@ -832,6 +865,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": { "set": [ { "range": [ 33, 55 ] } @@ -871,6 +905,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": { "range": [ 33, 45 ] } @@ -906,6 +941,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": { "set": [ 33, @@ -951,6 +987,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": { "set": [ { "range": [ 33, 55 ] } @@ -990,6 +1027,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": 2 } } @@ -1005,6 +1043,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": { "set": [ 3, @@ -1031,6 +1070,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": { "set": [ 2, @@ -1072,6 +1112,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": { "range": [ 2, 4 ] } @@ -1107,6 +1148,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": { "set": [ { "range": [ 2, 4 ] } @@ -1146,6 +1188,7 @@ "name": "icmpv6" } }, + "op": "==", "right": { "range": [ 33, 45 ] } @@ -1181,6 +1224,7 @@ "name": "icmpv6" } }, + "op": "==", "right": { "set": [ 33, @@ -1226,6 +1270,7 @@ "name": "icmpv6" } }, + "op": "==", "right": { "set": [ { "range": [ 33, 55 ] } diff --git a/tests/py/ip6/icmpv6.t.json.output b/tests/py/ip6/icmpv6.t.json.output index 36f1b04a..472b2ce7 100644 --- a/tests/py/ip6/icmpv6.t.json.output +++ b/tests/py/ip6/icmpv6.t.json.output @@ -8,6 +8,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": "mld-listener-done" } }, @@ -26,6 +27,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": { "set": [ "time-exceeded", @@ -51,6 +53,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": { "set": [ "time-exceeded", diff --git a/tests/py/ip6/ip6.t.json b/tests/py/ip6/ip6.t.json index d6acaa3b..f898240f 100644 --- a/tests/py/ip6/ip6.t.json +++ b/tests/py/ip6/ip6.t.json @@ -8,6 +8,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "cs1" } } @@ -39,6 +40,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "0x38" } } @@ -70,6 +72,7 @@ "protocol": "ip6" } }, + "op": "==", "right": { "set": [ "cs0", @@ -142,6 +145,7 @@ "protocol": "ip6" } }, + "op": "==", "right": 22 } } @@ -173,6 +177,7 @@ "protocol": "ip6" } }, + "op": "==", "right": { "set": [ 33, @@ -218,6 +223,7 @@ "protocol": "ip6" } }, + "op": "==", "right": { "set": [ { "range": [ 33, 55 ] } @@ -287,6 +293,7 @@ "protocol": "ip6" } }, + "op": "==", "right": 22 } } @@ -318,6 +325,7 @@ "protocol": "ip6" } }, + "op": "==", "right": { "range": [ 33, 45 ] } @@ -353,6 +361,7 @@ "protocol": "ip6" } }, + "op": "==", "right": { "set": [ 33, @@ -398,6 +407,7 @@ "protocol": "ip6" } }, + "op": "==", "right": { "set": [ { @@ -439,6 +449,7 @@ "protocol": "ip6" } }, + "op": "==", "right": { "set": [ "udp", @@ -464,6 +475,7 @@ "protocol": "ip6" } }, + "op": "==", "right": { "set": [ "esp", @@ -519,6 +531,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "esp" } } @@ -550,6 +563,7 @@ "protocol": "ip6" } }, + "op": "==", "right": { "set": [ { "range": [ 33, 44 ] } @@ -589,6 +603,7 @@ "protocol": "ip6" } }, + "op": "==", "right": { "range": [ 33, 44 ] } @@ -624,6 +639,7 @@ "protocol": "ip6" } }, + "op": "==", "right": 1 } } @@ -655,6 +671,7 @@ "protocol": "ip6" } }, + "op": "==", "right": { "range": [ 33, 45 ] } @@ -690,6 +707,7 @@ "protocol": "ip6" } }, + "op": "==", "right": { "set": [ 33, @@ -735,6 +753,7 @@ "protocol": "ip6" } }, + "op": "==", "right": { "set": [ { "range": [ 33, 55 ] } @@ -774,6 +793,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1234:1234:1234:1234:1234:1234:1234:1234" } } @@ -789,6 +809,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "::1234:1234:1234:1234:1234:1234:1234" } } @@ -804,6 +825,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1234::1234:1234:1234:1234:1234:1234" } } @@ -819,6 +841,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1234:1234::1234:1234:1234:1234:1234" } } @@ -834,6 +857,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1234:1234:0:1234:1234:1234:1234:1234" } } @@ -849,6 +873,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1234:1234:1234::1234:1234:1234:1234" } } @@ -864,6 +889,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1234:1234:1234:1234:0:1234:1234:1234" } } @@ -879,6 +905,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1234:1234:1234:1234:1234::1234:1234" } } @@ -894,6 +921,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1234:1234:1234:1234:1234:1234:0:1234" } } @@ -909,6 +937,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1234:1234:1234:1234:1234:1234:1234::" } } @@ -924,6 +953,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "::1234:1234:1234:1234:1234:1234" } } @@ -939,6 +969,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1234::1234:1234:1234:1234:1234" } } @@ -954,6 +985,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1234:1234::1234:1234:1234:1234" } } @@ -969,6 +1001,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1234:1234:1234::1234:1234:1234" } } @@ -984,6 +1017,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1234:1234:1234:1234::1234:1234" } } @@ -999,6 +1033,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1234:1234:1234:1234:1234::1234" } } @@ -1014,6 +1049,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1234:1234:1234:1234:1234:1234::" } } @@ -1029,6 +1065,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "::1234:1234:1234:1234:1234" } } @@ -1044,6 +1081,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1234::1234:1234:1234:1234" } } @@ -1059,6 +1097,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1234:1234::1234:1234:1234" } } @@ -1074,6 +1113,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1234:1234:1234::1234:1234" } } @@ -1089,6 +1129,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1234:1234:1234:1234::1234" } } @@ -1104,6 +1145,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1234:1234:1234:1234:1234::" } } @@ -1119,6 +1161,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "::1234:1234:1234:1234" } } @@ -1134,6 +1177,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1234::1234:1234:1234" } } @@ -1149,6 +1193,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1234:1234::1234:1234" } } @@ -1164,6 +1209,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1234:1234:1234::1234" } } @@ -1179,6 +1225,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1234:1234:1234:1234::" } } @@ -1194,6 +1241,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "::1234:1234:1234" } } @@ -1209,6 +1257,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1234::1234:1234" } } @@ -1224,6 +1273,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1234:1234::1234" } } @@ -1239,6 +1289,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1234:1234:1234::" } } @@ -1254,6 +1305,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "::1234:1234" } } @@ -1269,6 +1321,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1234::1234" } } @@ -1284,6 +1337,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1234:1234::" } } @@ -1299,6 +1353,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "::1234" } } @@ -1314,6 +1369,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1234::" } } @@ -1329,6 +1385,7 @@ "protocol": "ip6" } }, + "op": "==", "right": { "prefix": { "addr": "::", @@ -1349,6 +1406,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "::1" } }, @@ -1360,6 +1418,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "::2" } } @@ -1411,6 +1470,7 @@ "left": { "meta": { "key": "iif" } }, + "op": "==", "right": "lo" } }, @@ -1434,6 +1494,7 @@ "left": { "meta": { "key": "iif" } }, + "op": "==", "right": "lo" } }, @@ -1457,6 +1518,7 @@ "left": { "meta": { "key": "iif" } }, + "op": "==", "right": "lo" } }, @@ -1480,6 +1542,7 @@ "left": { "meta": { "key": "iif" } }, + "op": "==", "right": "lo" } }, @@ -1503,6 +1566,7 @@ "left": { "meta": { "key": "iif" } }, + "op": "==", "right": "lo" } }, @@ -1526,6 +1590,7 @@ "left": { "meta": { "key": "iif" } }, + "op": "==", "right": "lo" } }, @@ -1549,6 +1614,7 @@ "left": { "meta": { "key": "iif" } }, + "op": "==", "right": "lo" } }, @@ -1572,6 +1638,7 @@ "left": { "meta": { "key": "iif" } }, + "op": "==", "right": "lo" } }, @@ -1595,6 +1662,7 @@ "left": { "meta": { "key": "iif" } }, + "op": "==", "right": "lo" } }, diff --git a/tests/py/ip6/ip6.t.json.output b/tests/py/ip6/ip6.t.json.output index 48f28b3d..6c20939f 100644 --- a/tests/py/ip6/ip6.t.json.output +++ b/tests/py/ip6/ip6.t.json.output @@ -8,6 +8,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "cs7" } } @@ -39,6 +40,7 @@ "protocol": "ip6" } }, + "op": "==", "right": { "set": [ "cs0", @@ -111,6 +113,7 @@ "protocol": "ip6" } }, + "op": "==", "right": { "set": [ 6, @@ -136,6 +139,7 @@ "protocol": "ip6" } }, + "op": "==", "right": { "set": [ 6, 17, 33, 50, 51, 58, 108, 132, 136 ] } @@ -171,6 +175,7 @@ "protocol": "ip6" } }, + "op": "==", "right": 50 } } @@ -202,6 +207,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "0:1234:1234:1234:1234:1234:1234:1234" } } @@ -217,6 +223,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1234:0:1234:1234:1234:1234:1234:1234" } } @@ -232,6 +239,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1234:1234:0:1234:1234:1234:1234:1234" } } @@ -247,6 +255,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1234:1234:1234:0:1234:1234:1234:1234" } } @@ -262,6 +271,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1234:1234:1234:1234:1234:0:1234:1234" } } @@ -277,6 +287,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "1234:1234:1234:1234:1234:1234:1234:0" } } @@ -292,6 +303,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "::18.52.18.52" } } @@ -343,6 +355,7 @@ "left": { "meta": { "key": "iif" } }, + "op": "==", "right": "lo" } }, diff --git a/tests/py/ip6/masquerade.t.json b/tests/py/ip6/masquerade.t.json index ae006510..824b44f8 100644 --- a/tests/py/ip6/masquerade.t.json +++ b/tests/py/ip6/masquerade.t.json @@ -8,6 +8,7 @@ "protocol": "udp" } }, + "op": "==", "right": 53 } }, @@ -26,6 +27,7 @@ "protocol": "udp" } }, + "op": "==", "right": 53 } }, @@ -46,6 +48,7 @@ "protocol": "udp" } }, + "op": "==", "right": 53 } }, @@ -69,6 +72,7 @@ "protocol": "udp" } }, + "op": "==", "right": 53 } }, @@ -93,6 +97,7 @@ "protocol": "udp" } }, + "op": "==", "right": 53 } }, @@ -116,6 +121,7 @@ "protocol": "udp" } }, + "op": "==", "right": 53 } }, @@ -140,6 +146,7 @@ "protocol": "udp" } }, + "op": "==", "right": 53 } }, @@ -160,6 +167,7 @@ "protocol": "udp" } }, + "op": "==", "right": 53 } }, @@ -183,6 +191,7 @@ "protocol": "udp" } }, + "op": "==", "right": 53 } }, @@ -207,6 +216,7 @@ "protocol": "udp" } }, + "op": "==", "right": 53 } }, @@ -230,6 +240,7 @@ "protocol": "udp" } }, + "op": "==", "right": 53 } }, @@ -251,6 +262,7 @@ "left": { "meta": { "key": "l4proto" } }, + "op": "==", "right": 6 } }, @@ -268,6 +280,7 @@ "left": { "meta": { "key": "l4proto" } }, + "op": "==", "right": 6 } }, @@ -290,6 +303,7 @@ "protocol": "tcp" } }, + "op": "==", "right": { "set": [ 1, @@ -325,6 +339,7 @@ "protocol": "ip6" } }, + "op": "==", "right": { "range": [ "fe00::1", "fe00::200" ] } @@ -338,6 +353,7 @@ "protocol": "udp" } }, + "op": "==", "right": 53 } }, @@ -356,6 +372,7 @@ "left": { "meta": { "key": "iifname" } }, + "op": "==", "right": "eth0" } }, @@ -366,6 +383,7 @@ "key": "state" } }, + "op": "in", "right": [ "established", "new" diff --git a/tests/py/ip6/masquerade.t.json.output b/tests/py/ip6/masquerade.t.json.output index 78a75dac..31d0cd9a 100644 --- a/tests/py/ip6/masquerade.t.json.output +++ b/tests/py/ip6/masquerade.t.json.output @@ -8,6 +8,7 @@ "protocol": "udp" } }, + "op": "==", "right": 53 } }, @@ -31,6 +32,7 @@ "protocol": "udp" } }, + "op": "==", "right": 53 } }, @@ -55,6 +57,7 @@ "protocol": "udp" } }, + "op": "==", "right": 53 } }, @@ -78,6 +81,7 @@ "protocol": "udp" } }, + "op": "==", "right": 53 } }, diff --git a/tests/py/ip6/meta.t.json b/tests/py/ip6/meta.t.json index e3c22353..29cf9fd2 100644 --- a/tests/py/ip6/meta.t.json +++ b/tests/py/ip6/meta.t.json @@ -8,6 +8,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": "nd-router-advert" } } @@ -20,6 +21,7 @@ "left": { "meta": { "key": "l4proto" } }, + "op": "==", "right": "ipv6-icmp" } }, @@ -31,6 +33,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": "nd-router-advert" } } @@ -43,6 +46,7 @@ "left": { "meta": { "key": "l4proto" } }, + "op": "==", "right": "icmp" } }, @@ -54,6 +58,7 @@ "protocol": "icmp" } }, + "op": "==", "right": "echo-request" } } @@ -66,6 +71,7 @@ "left": { "meta": { "key": "l4proto" } }, + "op": "==", "right": 1 } }, @@ -77,6 +83,7 @@ "protocol": "icmp" } }, + "op": "==", "right": "echo-request" } } @@ -92,6 +99,7 @@ "protocol": "icmp" } }, + "op": "==", "right": "echo-request" } } diff --git a/tests/py/ip6/meta.t.json.output b/tests/py/ip6/meta.t.json.output index 3ecc4f28..dede9b16 100644 --- a/tests/py/ip6/meta.t.json.output +++ b/tests/py/ip6/meta.t.json.output @@ -8,6 +8,7 @@ "protocol": "icmpv6" } }, + "op": "==", "right": "nd-router-advert" } } @@ -23,6 +24,7 @@ "protocol": "icmp" } }, + "op": "==", "right": "echo-request" } } @@ -38,6 +40,7 @@ "protocol": "icmp" } }, + "op": "==", "right": "echo-request" } } diff --git a/tests/py/ip6/mh.t.json b/tests/py/ip6/mh.t.json index 8d60e149..211477d3 100644 --- a/tests/py/ip6/mh.t.json +++ b/tests/py/ip6/mh.t.json @@ -8,6 +8,7 @@ "name": "mh" } }, + "op": "==", "right": 1 } } @@ -39,6 +40,7 @@ "name": "mh" } }, + "op": "==", "right": { "set": [ "udplite", @@ -94,6 +96,7 @@ "name": "mh" } }, + "op": "==", "right": "icmp" } } @@ -125,6 +128,7 @@ "name": "mh" } }, + "op": "==", "right": 22 } } @@ -156,6 +160,7 @@ "name": "mh" } }, + "op": "==", "right": { "range": [ 33, 45 ] } @@ -191,6 +196,7 @@ "name": "mh" } }, + "op": "==", "right": { "set": [ 33, @@ -236,6 +242,7 @@ "name": "mh" } }, + "op": "==", "right": { "set": [ { @@ -277,6 +284,7 @@ "name": "mh" } }, + "op": "==", "right": 22 } } @@ -308,6 +316,7 @@ "name": "mh" } }, + "op": "==", "right": { "range": [ 33, 45 ] } @@ -343,6 +352,7 @@ "name": "mh" } }, + "op": "==", "right": { "set": [ 33, @@ -388,6 +398,7 @@ "name": "mh" } }, + "op": "==", "right": { "set": [ { "range": [ 33, 55 ] } @@ -427,6 +438,7 @@ "name": "mh" } }, + "op": "==", "right": { "set": [ "binding-refresh-request", @@ -458,6 +470,7 @@ "name": "mh" } }, + "op": "==", "right": "home-agent-switch-message" } } @@ -489,6 +502,7 @@ "name": "mh" } }, + "op": "==", "right": 22 } } @@ -520,6 +534,7 @@ "name": "mh" } }, + "op": "==", "right": { "range": [ 33, 45 ] } @@ -555,6 +570,7 @@ "name": "mh" } }, + "op": "==", "right": { "set": [ 33, @@ -600,6 +616,7 @@ "name": "mh" } }, + "op": "==", "right": { "set": [ { "range": [ 33, 55 ] } @@ -639,6 +656,7 @@ "name": "mh" } }, + "op": "==", "right": 22 } } @@ -670,6 +688,7 @@ "name": "mh" } }, + "op": "==", "right": { "range": [ 33, 45 ] } @@ -705,6 +724,7 @@ "name": "mh" } }, + "op": "==", "right": { "set": [ 33, @@ -750,6 +770,7 @@ "name": "mh" } }, + "op": "==", "right": { "set": [ { "range": [ 33, 55 ] } diff --git a/tests/py/ip6/mh.t.json.output b/tests/py/ip6/mh.t.json.output index e2edf168..a8518047 100644 --- a/tests/py/ip6/mh.t.json.output +++ b/tests/py/ip6/mh.t.json.output @@ -8,6 +8,7 @@ "name": "mh" } }, + "op": "==", "right": { "set": [ 6, @@ -63,6 +64,7 @@ "name": "mh" } }, + "op": "==", "right": 1 } } diff --git a/tests/py/ip6/redirect.t.json b/tests/py/ip6/redirect.t.json index bd3df47f..0059c7ac 100644 --- a/tests/py/ip6/redirect.t.json +++ b/tests/py/ip6/redirect.t.json @@ -15,6 +15,7 @@ "protocol": "udp" } }, + "op": "==", "right": 954 } }, @@ -33,6 +34,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "fe00::cafe" } }, @@ -54,6 +56,7 @@ "protocol": "udp" } }, + "op": "==", "right": 53 } }, @@ -74,6 +77,7 @@ "protocol": "udp" } }, + "op": "==", "right": 53 } }, @@ -97,6 +101,7 @@ "protocol": "udp" } }, + "op": "==", "right": 53 } }, @@ -121,6 +126,7 @@ "protocol": "udp" } }, + "op": "==", "right": 53 } }, @@ -144,6 +150,7 @@ "protocol": "udp" } }, + "op": "==", "right": 53 } }, @@ -168,6 +175,7 @@ "protocol": "udp" } }, + "op": "==", "right": 53 } }, @@ -188,6 +196,7 @@ "protocol": "udp" } }, + "op": "==", "right": 53 } }, @@ -211,6 +220,7 @@ "protocol": "udp" } }, + "op": "==", "right": 53 } }, @@ -235,6 +245,7 @@ "protocol": "udp" } }, + "op": "==", "right": 53 } }, @@ -258,6 +269,7 @@ "protocol": "udp" } }, + "op": "==", "right": 53 } }, @@ -282,6 +294,7 @@ "protocol": "udp" } }, + "op": "==", "right": 1234 } }, @@ -302,6 +315,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "fe00::cafe" } }, @@ -313,6 +327,7 @@ "protocol": "udp" } }, + "op": "==", "right": 9998 } }, @@ -333,6 +348,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "tcp" } }, @@ -355,6 +371,7 @@ "protocol": "tcp" } }, + "op": "==", "right": 39128 } }, @@ -375,6 +392,7 @@ "protocol": "tcp" } }, + "op": "==", "right": 9128 } }, @@ -396,6 +414,7 @@ "protocol": "tcp" } }, + "op": "==", "right": 9128 } }, @@ -420,6 +439,7 @@ "protocol": "tcp" } }, + "op": "==", "right": { "set": [ 1, @@ -455,6 +475,7 @@ "protocol": "ip6" } }, + "op": "==", "right": { "range": [ "fe00::1", "fe00::200" ] } @@ -468,6 +489,7 @@ "protocol": "udp" } }, + "op": "==", "right": 53 } }, @@ -486,6 +508,7 @@ "left": { "meta": { "key": "iifname" } }, + "op": "==", "right": "eth0" } }, @@ -496,6 +519,7 @@ "key": "state" } }, + "op": "in", "right": [ "established", "new" @@ -543,6 +567,7 @@ "protocol": "ip6" } }, + "op": "==", "right": 6 } }, diff --git a/tests/py/ip6/redirect.t.json.output b/tests/py/ip6/redirect.t.json.output index 6f919ac8..0174cc7d 100644 --- a/tests/py/ip6/redirect.t.json.output +++ b/tests/py/ip6/redirect.t.json.output @@ -8,6 +8,7 @@ "protocol": "udp" } }, + "op": "==", "right": 53 } }, @@ -32,6 +33,7 @@ "protocol": "udp" } }, + "op": "==", "right": 53 } }, @@ -55,6 +57,7 @@ "protocol": "udp" } }, + "op": "==", "right": 53 } }, @@ -79,6 +82,7 @@ "protocol": "udp" } }, + "op": "==", "right": 53 } }, @@ -102,6 +106,7 @@ "protocol": "udp" } }, + "op": "==", "right": 53 } }, @@ -126,6 +131,7 @@ "protocol": "ip6" } }, + "op": "==", "right": 6 } }, diff --git a/tests/py/ip6/reject.t.json b/tests/py/ip6/reject.t.json index 491b996c..ae57c333 100644 --- a/tests/py/ip6/reject.t.json +++ b/tests/py/ip6/reject.t.json @@ -72,6 +72,7 @@ "left": { "meta": { "key": "mark" } }, + "op": "==", "right": "0x80000000" } }, diff --git a/tests/py/ip6/reject.t.json.output b/tests/py/ip6/reject.t.json.output index 4f799229..4e2058fe 100644 --- a/tests/py/ip6/reject.t.json.output +++ b/tests/py/ip6/reject.t.json.output @@ -12,6 +12,7 @@ "left": { "meta": { "key": "mark" } }, + "op": "==", "right": 2147483648 } }, diff --git a/tests/py/ip6/rt.t.json b/tests/py/ip6/rt.t.json index ebcdb842..86a46402 100644 --- a/tests/py/ip6/rt.t.json +++ b/tests/py/ip6/rt.t.json @@ -8,6 +8,7 @@ "name": "rt" } }, + "op": "==", "right": 1 } } @@ -39,6 +40,7 @@ "name": "rt" } }, + "op": "==", "right": { "set": [ "udplite", @@ -94,6 +96,7 @@ "name": "rt" } }, + "op": "==", "right": "icmp" } } @@ -125,6 +128,7 @@ "name": "rt" } }, + "op": "==", "right": 22 } } @@ -156,6 +160,7 @@ "name": "rt" } }, + "op": "==", "right": { "range": [ 33, 45 ] } @@ -191,6 +196,7 @@ "name": "rt" } }, + "op": "==", "right": { "set": [ 33, @@ -236,6 +242,7 @@ "name": "rt" } }, + "op": "==", "right": { "set": [ { "range": [ 33, 55 ] } @@ -275,6 +282,7 @@ "name": "rt" } }, + "op": "==", "right": 22 } } @@ -306,6 +314,7 @@ "name": "rt" } }, + "op": "==", "right": { "range": [ 33, 45 ] } @@ -341,6 +350,7 @@ "name": "rt" } }, + "op": "==", "right": { "set": [ 33, @@ -386,6 +396,7 @@ "name": "rt" } }, + "op": "==", "right": { "set": [ { "range": [ 33, 55 ] } @@ -425,6 +436,7 @@ "name": "rt" } }, + "op": "==", "right": 22 } } @@ -456,6 +468,7 @@ "name": "rt" } }, + "op": "==", "right": { "range": [ 33, 45 ] } @@ -491,6 +504,7 @@ "name": "rt" } }, + "op": "==", "right": { "set": [ 33, @@ -536,6 +550,7 @@ "name": "rt" } }, + "op": "==", "right": { "set": [ { "range": [ 33, 55 ] } @@ -575,6 +590,7 @@ "name": "rt" } }, + "op": "==", "right": 22 } } @@ -606,6 +622,7 @@ "name": "rt" } }, + "op": "==", "right": { "range": [ 33, 45 ] } @@ -641,6 +658,7 @@ "name": "rt" } }, + "op": "==", "right": { "set": [ 33, @@ -686,6 +704,7 @@ "name": "rt" } }, + "op": "==", "right": { "set": [ { "range": [ 33, 55 ] } diff --git a/tests/py/ip6/rt.t.json.output b/tests/py/ip6/rt.t.json.output index b432a7eb..be5db0e0 100644 --- a/tests/py/ip6/rt.t.json.output +++ b/tests/py/ip6/rt.t.json.output @@ -8,6 +8,7 @@ "name": "rt" } }, + "op": "==", "right": { "set": [ 6, @@ -63,6 +64,7 @@ "name": "rt" } }, + "op": "==", "right": 1 } } diff --git a/tests/py/ip6/rt0.t.json b/tests/py/ip6/rt0.t.json index 33cdebc6..75ff9231 100644 --- a/tests/py/ip6/rt0.t.json +++ b/tests/py/ip6/rt0.t.json @@ -8,6 +8,7 @@ "key": "nexthop" } }, + "op": "==", "right": "fd00::1" } } diff --git a/tests/py/ip6/sets.t.json b/tests/py/ip6/sets.t.json index 4f0d99bf..9a75dd6f 100644 --- a/tests/py/ip6/sets.t.json +++ b/tests/py/ip6/sets.t.json @@ -8,6 +8,7 @@ "protocol": "ip6" } }, + "op": "==", "right": "@set2" } }, @@ -55,6 +56,7 @@ } ] }, + "op": "==", "right": "@set5" } }, diff --git a/tests/py/ip6/snat.t.json b/tests/py/ip6/snat.t.json index b8fed518..58b0980a 100644 --- a/tests/py/ip6/snat.t.json +++ b/tests/py/ip6/snat.t.json @@ -8,6 +8,7 @@ "protocol": "tcp" } }, + "op": "==", "right": { "range": [ 80, 90 ] } @@ -35,6 +36,7 @@ "protocol": "tcp" } }, + "op": "==", "right": { "range": [ 80, 90 ] } diff --git a/tests/py/ip6/srh.t.json b/tests/py/ip6/srh.t.json index 920ce974..2d16f1cc 100644 --- a/tests/py/ip6/srh.t.json +++ b/tests/py/ip6/srh.t.json @@ -8,6 +8,7 @@ "name": "srh" } }, + "op": "==", "right": 0 } } @@ -23,6 +24,7 @@ "name": "srh" } }, + "op": "==", "right": 127 } } @@ -38,6 +40,7 @@ "name": "srh" } }, + "op": "==", "right": { "set": [ 0, @@ -59,6 +62,7 @@ "name": "srh" } }, + "op": "==", "right": 0 } } @@ -74,6 +78,7 @@ "name": "srh" } }, + "op": "==", "right": 127 } } @@ -89,6 +94,7 @@ "name": "srh" } }, + "op": "==", "right": { "set": [ 0, @@ -110,6 +116,7 @@ "name": "srh" } }, + "op": "==", "right": 0 } } @@ -125,6 +132,7 @@ "name": "srh" } }, + "op": "==", "right": 127 } } @@ -140,6 +148,7 @@ "name": "srh" } }, + "op": "==", "right": { "set": [ 0, @@ -161,6 +170,7 @@ "name": "srh" } }, + "op": "==", "right": "dead::beef" } } @@ -176,6 +186,7 @@ "name": "srh" } }, + "op": "==", "right": "dead::beef" } } diff --git a/tests/py/ip6/srh.t.json.output b/tests/py/ip6/srh.t.json.output index e8646888..f801b81f 100644 --- a/tests/py/ip6/srh.t.json.output +++ b/tests/py/ip6/srh.t.json.output @@ -8,6 +8,7 @@ "name": "srh" } }, + "op": "==", "right": { "set": [ 0, diff --git a/tests/py/ip6/tcpopt.t.json b/tests/py/ip6/tcpopt.t.json index 8bb79917..d573dd1c 100644 --- a/tests/py/ip6/tcpopt.t.json +++ b/tests/py/ip6/tcpopt.t.json @@ -8,6 +8,7 @@ "name": "eol" } }, + "op": "==", "right": 1 } } @@ -23,6 +24,7 @@ "name": "noop" } }, + "op": "==", "right": 1 } } @@ -38,6 +40,7 @@ "name": "maxseg" } }, + "op": "==", "right": 1 } } @@ -53,6 +56,7 @@ "name": "maxseg" } }, + "op": "==", "right": 1 } } @@ -68,6 +72,7 @@ "name": "maxseg" } }, + "op": "==", "right": 1 } } @@ -83,6 +88,7 @@ "name": "window" } }, + "op": "==", "right": 1 } } @@ -98,6 +104,7 @@ "name": "window" } }, + "op": "==", "right": 1 } } @@ -113,6 +120,7 @@ "name": "window" } }, + "op": "==", "right": 1 } } @@ -128,6 +136,7 @@ "name": "sack-permitted" } }, + "op": "==", "right": 1 } } @@ -143,6 +152,7 @@ "name": "sack-permitted" } }, + "op": "==", "right": 1 } } @@ -158,6 +168,7 @@ "name": "sack" } }, + "op": "==", "right": 1 } } @@ -173,6 +184,7 @@ "name": "sack" } }, + "op": "==", "right": 1 } } @@ -188,6 +200,7 @@ "name": "sack" } }, + "op": "==", "right": 1 } } @@ -203,6 +216,7 @@ "name": "sack" } }, + "op": "==", "right": 1 } } @@ -218,6 +232,7 @@ "name": "sack1" } }, + "op": "==", "right": 1 } } @@ -233,6 +248,7 @@ "name": "sack2" } }, + "op": "==", "right": 1 } } @@ -248,6 +264,7 @@ "name": "sack3" } }, + "op": "==", "right": 1 } } @@ -263,6 +280,7 @@ "name": "sack" } }, + "op": "==", "right": 1 } } @@ -278,6 +296,7 @@ "name": "sack0" } }, + "op": "==", "right": 1 } } @@ -293,6 +312,7 @@ "name": "sack1" } }, + "op": "==", "right": 1 } } @@ -308,6 +328,7 @@ "name": "sack2" } }, + "op": "==", "right": 1 } } @@ -323,6 +344,7 @@ "name": "sack3" } }, + "op": "==", "right": 1 } } @@ -338,6 +360,7 @@ "name": "timestamp" } }, + "op": "==", "right": 1 } } @@ -353,6 +376,7 @@ "name": "timestamp" } }, + "op": "==", "right": 1 } } @@ -368,6 +392,7 @@ "name": "timestamp" } }, + "op": "==", "right": 1 } } @@ -383,6 +408,7 @@ "name": "timestamp" } }, + "op": "==", "right": 1 } } diff --git a/tests/py/ip6/tcpopt.t.json.output b/tests/py/ip6/tcpopt.t.json.output index ca6714b7..81dd8ad8 100644 --- a/tests/py/ip6/tcpopt.t.json.output +++ b/tests/py/ip6/tcpopt.t.json.output @@ -8,6 +8,7 @@ "name": "sack" } }, + "op": "==", "right": 1 } } |