summaryrefslogtreecommitdiffstats
path: root/tests/py/inet/rt.t.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/inet/rt.t.json')
-rw-r--r--tests/py/inet/rt.t.json56
1 files changed, 56 insertions, 0 deletions
diff --git a/tests/py/inet/rt.t.json b/tests/py/inet/rt.t.json
new file mode 100644
index 00000000..32e1d437
--- /dev/null
+++ b/tests/py/inet/rt.t.json
@@ -0,0 +1,56 @@
+# meta nfproto ipv4 rt nexthop 192.168.0.1
+[
+ {
+ "match": {
+ "left": {
+ "meta": "nfproto"
+ },
+ "right": "ipv4"
+ }
+ },
+ {
+ "match": {
+ "left": {
+ "rt": {
+ "key": "nexthop"
+ }
+ },
+ "right": "192.168.0.1"
+ }
+ }
+]
+
+# rt ip6 nexthop fd00::1
+[
+ {
+ "match": {
+ "left": {
+ "rt": {
+ "family": "ip6",
+ "key": "nexthop"
+ }
+ },
+ "right": "fd00::1"
+ }
+ }
+]
+
+# tcp option maxseg size set rt mtu
+[
+ {
+ "mangle": {
+ "left": {
+ "tcp option": {
+ "field": "size",
+ "name": "maxseg"
+ }
+ },
+ "right": {
+ "rt": {
+ "key": "mtu"
+ }
+ }
+ }
+ }
+]
+