From 47fab34bcca1da10311adb77745c6ddfdacff354 Mon Sep 17 00:00:00 2001 From: "randomizedcoder dave.seddon.ca@gmail.com" Date: Sun, 29 Nov 2026 19:45:01 -0800 Subject: [PATCH 1/7] gotc 21C: the tcematch capture space 257 rows (144 writes, 113 refusals) of basic and cgroup writes and flow's match: the ematch grammar, every cmp, nbyte, u32, meta and canid keyword, the leads W123-W155 that a capture can end on, F25, W95 and W97, and the refusals by name (police, ipset, ipt). Each rc was checked on the host tc first; two workbench batches on one boot agree. The workbench kernel (7.3.1) dumps a 4095-byte nbyte with its header alone: tcf_em_tree_dump ignored nla_put_nohdr's failure until 528de6832b21 (v7.4-rc1). TestWsTcFilterKinds accepts such a match, and W151's 16 KiB refusal is ParseNlMsgErr's new largest pick. Co-Authored-By: Claude Opus 5.5 --- docs/netlink/gotc-status.md | 8 + nix/microvms/workbench/tcematch.rows.jsonl | 260 +++++++++ .../7_3_1/ws/tcematch/ec-001/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-001/dump.out | 5 + .../testdata/7_3_1/ws/tcematch/ec-001/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-001/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-001/ip.pcap | Bin 0 -> 400 bytes .../testdata/7_3_1/ws/tcematch/ec-001/ip.rc | 1 + .../tcematch/ec-001/netlink_route_dump.pcap | Bin 0 -> 536 bytes .../7_3_1/ws/tcematch/ec-002/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-002/dump.out | 5 + .../testdata/7_3_1/ws/tcematch/ec-002/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-002/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-002/ip.pcap | Bin 0 -> 400 bytes .../testdata/7_3_1/ws/tcematch/ec-002/ip.rc | 1 + .../tcematch/ec-002/netlink_route_dump.pcap | Bin 0 -> 536 bytes .../7_3_1/ws/tcematch/ec-003/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-003/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-003/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-003/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-003/ip.pcap | Bin 0 -> 376 bytes .../testdata/7_3_1/ws/tcematch/ec-003/ip.rc | 1 + .../tcematch/ec-003/netlink_route_dump.pcap | Bin 0 -> 512 bytes .../7_3_1/ws/tcematch/ec-004/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-004/dump.out | 6 + .../testdata/7_3_1/ws/tcematch/ec-004/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-004/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-004/ip.pcap | Bin 0 -> 424 bytes .../testdata/7_3_1/ws/tcematch/ec-004/ip.rc | 1 + .../tcematch/ec-004/netlink_route_dump.pcap | Bin 0 -> 560 bytes .../7_3_1/ws/tcematch/ec-005/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-005/dump.out | 7 + .../testdata/7_3_1/ws/tcematch/ec-005/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-005/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-005/ip.pcap | Bin 0 -> 448 bytes .../testdata/7_3_1/ws/tcematch/ec-005/ip.rc | 1 + .../tcematch/ec-005/netlink_route_dump.pcap | Bin 0 -> 584 bytes .../7_3_1/ws/tcematch/ec-006/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-006/dump.out | 10 + .../testdata/7_3_1/ws/tcematch/ec-006/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-006/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-006/ip.pcap | Bin 0 -> 496 bytes .../testdata/7_3_1/ws/tcematch/ec-006/ip.rc | 1 + .../tcematch/ec-006/netlink_route_dump.pcap | Bin 0 -> 632 bytes .../7_3_1/ws/tcematch/ec-007/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-007/dump.out | 8 + .../testdata/7_3_1/ws/tcematch/ec-007/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-007/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-007/ip.pcap | Bin 0 -> 440 bytes .../testdata/7_3_1/ws/tcematch/ec-007/ip.rc | 1 + .../tcematch/ec-007/netlink_route_dump.pcap | Bin 0 -> 576 bytes .../7_3_1/ws/tcematch/ec-008/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-008/dump.out | 7 + .../testdata/7_3_1/ws/tcematch/ec-008/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-008/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-008/ip.pcap | Bin 0 -> 440 bytes .../testdata/7_3_1/ws/tcematch/ec-008/ip.rc | 1 + .../tcematch/ec-008/netlink_route_dump.pcap | Bin 0 -> 576 bytes .../7_3_1/ws/tcematch/ec-009/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-009/dump.out | 10 + .../testdata/7_3_1/ws/tcematch/ec-009/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-009/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-009/ip.pcap | Bin 0 -> 456 bytes .../testdata/7_3_1/ws/tcematch/ec-009/ip.rc | 1 + .../tcematch/ec-009/netlink_route_dump.pcap | Bin 0 -> 704 bytes .../7_3_1/ws/tcematch/ec-010/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-010/dump.out | 9 + .../testdata/7_3_1/ws/tcematch/ec-010/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-010/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-010/ip.pcap | Bin 0 -> 472 bytes .../testdata/7_3_1/ws/tcematch/ec-010/ip.rc | 1 + .../tcematch/ec-010/netlink_route_dump.pcap | Bin 0 -> 608 bytes .../7_3_1/ws/tcematch/ec-011/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-011/dump.out | 5 + .../testdata/7_3_1/ws/tcematch/ec-011/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-011/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-011/ip.pcap | Bin 0 -> 392 bytes .../testdata/7_3_1/ws/tcematch/ec-011/ip.rc | 1 + .../tcematch/ec-011/netlink_route_dump.pcap | Bin 0 -> 528 bytes .../7_3_1/ws/tcematch/ec-012/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-012/dump.out | 5 + .../testdata/7_3_1/ws/tcematch/ec-012/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-012/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-012/ip.pcap | Bin 0 -> 400 bytes .../testdata/7_3_1/ws/tcematch/ec-012/ip.rc | 1 + .../tcematch/ec-012/netlink_route_dump.pcap | Bin 0 -> 536 bytes .../7_3_1/ws/tcematch/ec-013/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-013/dump.out | 10 + .../testdata/7_3_1/ws/tcematch/ec-013/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-013/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-013/ip.pcap | Bin 0 -> 456 bytes .../testdata/7_3_1/ws/tcematch/ec-013/ip.rc | 1 + .../tcematch/ec-013/netlink_route_dump.pcap | Bin 0 -> 704 bytes .../7_3_1/ws/tcematch/ec-014/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-014/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-014/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-014/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-014/ip.pcap | Bin 0 -> 416 bytes .../testdata/7_3_1/ws/tcematch/ec-014/ip.rc | 1 + .../tcematch/ec-014/netlink_route_dump.pcap | Bin 0 -> 512 bytes .../7_3_1/ws/tcematch/ec-015/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-015/dump.out | 8 + .../testdata/7_3_1/ws/tcematch/ec-015/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-015/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-015/ip.pcap | Bin 0 -> 424 bytes .../testdata/7_3_1/ws/tcematch/ec-015/ip.rc | 1 + .../tcematch/ec-015/netlink_route_dump.pcap | Bin 0 -> 672 bytes .../7_3_1/ws/tcematch/ec-016/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-016/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-016/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-016/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-016/ip.pcap | Bin 0 -> 376 bytes .../testdata/7_3_1/ws/tcematch/ec-016/ip.rc | 1 + .../tcematch/ec-016/netlink_route_dump.pcap | Bin 0 -> 512 bytes .../7_3_1/ws/tcematch/ec-017/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-017/dump.out | 12 + .../testdata/7_3_1/ws/tcematch/ec-017/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-017/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-017/ip.pcap | Bin 0 -> 460 bytes .../testdata/7_3_1/ws/tcematch/ec-017/ip.rc | 1 + .../tcematch/ec-017/netlink_route_dump.pcap | Bin 0 -> 820 bytes .../7_3_1/ws/tcematch/ec-018/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-018/dump.out | 8 + .../testdata/7_3_1/ws/tcematch/ec-018/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-018/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-018/ip.pcap | Bin 0 -> 424 bytes .../testdata/7_3_1/ws/tcematch/ec-018/ip.rc | 1 + .../tcematch/ec-018/netlink_route_dump.pcap | Bin 0 -> 672 bytes .../7_3_1/ws/tcematch/ec-019/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-019/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-019/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-019/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-019/ip.pcap | Bin 0 -> 376 bytes .../testdata/7_3_1/ws/tcematch/ec-019/ip.rc | 1 + .../tcematch/ec-019/netlink_route_dump.pcap | Bin 0 -> 512 bytes .../7_3_1/ws/tcematch/ec-020/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-020/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-020/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-020/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-020/ip.pcap | Bin 0 -> 376 bytes .../testdata/7_3_1/ws/tcematch/ec-020/ip.rc | 1 + .../tcematch/ec-020/netlink_route_dump.pcap | Bin 0 -> 512 bytes .../7_3_1/ws/tcematch/ec-021/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-021/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-021/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-021/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-021/ip.pcap | Bin 0 -> 376 bytes .../testdata/7_3_1/ws/tcematch/ec-021/ip.rc | 1 + .../tcematch/ec-021/netlink_route_dump.pcap | Bin 0 -> 512 bytes .../7_3_1/ws/tcematch/ec-022/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-022/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-022/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-022/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-022/ip.pcap | Bin 0 -> 376 bytes .../testdata/7_3_1/ws/tcematch/ec-022/ip.rc | 1 + .../tcematch/ec-022/netlink_route_dump.pcap | Bin 0 -> 512 bytes .../7_3_1/ws/tcematch/ec-023/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-023/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-023/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-023/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-023/ip.pcap | Bin 0 -> 376 bytes .../testdata/7_3_1/ws/tcematch/ec-023/ip.rc | 1 + .../tcematch/ec-023/netlink_route_dump.pcap | Bin 0 -> 512 bytes .../7_3_1/ws/tcematch/ec-024/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-024/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-024/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-024/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-024/ip.pcap | Bin 0 -> 376 bytes .../testdata/7_3_1/ws/tcematch/ec-024/ip.rc | 1 + .../tcematch/ec-024/netlink_route_dump.pcap | Bin 0 -> 512 bytes .../7_3_1/ws/tcematch/ec-025/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-025/dump.out | 8 + .../testdata/7_3_1/ws/tcematch/ec-025/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-025/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-025/ip.pcap | Bin 0 -> 416 bytes .../testdata/7_3_1/ws/tcematch/ec-025/ip.rc | 1 + .../tcematch/ec-025/netlink_route_dump.pcap | Bin 0 -> 664 bytes .../7_3_1/ws/tcematch/ec-026/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-026/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-026/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-026/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-026/ip.pcap | Bin 0 -> 376 bytes .../testdata/7_3_1/ws/tcematch/ec-026/ip.rc | 1 + .../tcematch/ec-026/netlink_route_dump.pcap | Bin 0 -> 512 bytes .../7_3_1/ws/tcematch/ec-027/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-027/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-027/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-027/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-027/ip.pcap | Bin 0 -> 376 bytes .../testdata/7_3_1/ws/tcematch/ec-027/ip.rc | 1 + .../tcematch/ec-027/netlink_route_dump.pcap | Bin 0 -> 512 bytes .../7_3_1/ws/tcematch/ec-028/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-028/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-028/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-028/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-028/ip.pcap | Bin 0 -> 376 bytes .../testdata/7_3_1/ws/tcematch/ec-028/ip.rc | 1 + .../tcematch/ec-028/netlink_route_dump.pcap | Bin 0 -> 512 bytes .../7_3_1/ws/tcematch/ec-029/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-029/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-029/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-029/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-029/ip.pcap | Bin 0 -> 376 bytes .../testdata/7_3_1/ws/tcematch/ec-029/ip.rc | 1 + .../tcematch/ec-029/netlink_route_dump.pcap | Bin 0 -> 512 bytes .../7_3_1/ws/tcematch/ec-030/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-030/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-030/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-030/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-030/ip.pcap | Bin 0 -> 376 bytes .../testdata/7_3_1/ws/tcematch/ec-030/ip.rc | 1 + .../tcematch/ec-030/netlink_route_dump.pcap | Bin 0 -> 512 bytes .../7_3_1/ws/tcematch/ec-031/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-031/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-031/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-031/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-031/ip.pcap | Bin 0 -> 376 bytes .../testdata/7_3_1/ws/tcematch/ec-031/ip.rc | 1 + .../tcematch/ec-031/netlink_route_dump.pcap | Bin 0 -> 512 bytes .../7_3_1/ws/tcematch/ec-032/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-032/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-032/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-032/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-032/ip.pcap | Bin 0 -> 372 bytes .../testdata/7_3_1/ws/tcematch/ec-032/ip.rc | 1 + .../tcematch/ec-032/netlink_route_dump.pcap | Bin 0 -> 508 bytes .../7_3_1/ws/tcematch/ec-033/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-033/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-033/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-033/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-033/ip.pcap | Bin 0 -> 372 bytes .../testdata/7_3_1/ws/tcematch/ec-033/ip.rc | 1 + .../tcematch/ec-033/netlink_route_dump.pcap | Bin 0 -> 508 bytes .../7_3_1/ws/tcematch/ec-034/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-034/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-034/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-034/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-034/ip.pcap | Bin 0 -> 376 bytes .../testdata/7_3_1/ws/tcematch/ec-034/ip.rc | 1 + .../tcematch/ec-034/netlink_route_dump.pcap | Bin 0 -> 512 bytes .../7_3_1/ws/tcematch/ec-035/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-035/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-035/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-035/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-035/ip.pcap | Bin 0 -> 384 bytes .../testdata/7_3_1/ws/tcematch/ec-035/ip.rc | 1 + .../tcematch/ec-035/netlink_route_dump.pcap | Bin 0 -> 520 bytes .../7_3_1/ws/tcematch/ec-036/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-036/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-036/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-036/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-036/ip.pcap | Bin 0 -> 372 bytes .../testdata/7_3_1/ws/tcematch/ec-036/ip.rc | 1 + .../tcematch/ec-036/netlink_route_dump.pcap | Bin 0 -> 508 bytes .../7_3_1/ws/tcematch/ec-037/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-037/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-037/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-037/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-037/ip.pcap | Bin 0 -> 376 bytes .../testdata/7_3_1/ws/tcematch/ec-037/ip.rc | 1 + .../tcematch/ec-037/netlink_route_dump.pcap | Bin 0 -> 512 bytes .../7_3_1/ws/tcematch/ec-038/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-038/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-038/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-038/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-038/ip.pcap | Bin 0 -> 376 bytes .../testdata/7_3_1/ws/tcematch/ec-038/ip.rc | 1 + .../tcematch/ec-038/netlink_route_dump.pcap | Bin 0 -> 512 bytes .../7_3_1/ws/tcematch/ec-039/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-039/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-039/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-039/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-039/ip.pcap | Bin 0 -> 376 bytes .../testdata/7_3_1/ws/tcematch/ec-039/ip.rc | 1 + .../tcematch/ec-039/netlink_route_dump.pcap | Bin 0 -> 512 bytes .../7_3_1/ws/tcematch/ec-040/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-040/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-040/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-040/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-040/ip.pcap | Bin 0 -> 372 bytes .../testdata/7_3_1/ws/tcematch/ec-040/ip.rc | 1 + .../tcematch/ec-040/netlink_route_dump.pcap | Bin 0 -> 508 bytes .../7_3_1/ws/tcematch/ec-041/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-041/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-041/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-041/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-041/ip.pcap | Bin 0 -> 380 bytes .../testdata/7_3_1/ws/tcematch/ec-041/ip.rc | 1 + .../tcematch/ec-041/netlink_route_dump.pcap | Bin 0 -> 516 bytes .../7_3_1/ws/tcematch/ec-042/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-042/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-042/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-042/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-042/ip.pcap | Bin 0 -> 380 bytes .../testdata/7_3_1/ws/tcematch/ec-042/ip.rc | 1 + .../tcematch/ec-042/netlink_route_dump.pcap | Bin 0 -> 516 bytes .../7_3_1/ws/tcematch/ec-043/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-043/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-043/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-043/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-043/ip.pcap | Bin 0 -> 380 bytes .../testdata/7_3_1/ws/tcematch/ec-043/ip.rc | 1 + .../tcematch/ec-043/netlink_route_dump.pcap | Bin 0 -> 516 bytes .../7_3_1/ws/tcematch/ec-044/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-044/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-044/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-044/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-044/ip.pcap | Bin 0 -> 380 bytes .../testdata/7_3_1/ws/tcematch/ec-044/ip.rc | 1 + .../tcematch/ec-044/netlink_route_dump.pcap | Bin 0 -> 516 bytes .../7_3_1/ws/tcematch/ec-045/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-045/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-045/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-045/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-045/ip.pcap | Bin 0 -> 380 bytes .../testdata/7_3_1/ws/tcematch/ec-045/ip.rc | 1 + .../tcematch/ec-045/netlink_route_dump.pcap | Bin 0 -> 516 bytes .../7_3_1/ws/tcematch/ec-046/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-046/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-046/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-046/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-046/ip.pcap | Bin 0 -> 380 bytes .../testdata/7_3_1/ws/tcematch/ec-046/ip.rc | 1 + .../tcematch/ec-046/netlink_route_dump.pcap | Bin 0 -> 516 bytes .../7_3_1/ws/tcematch/ec-047/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-047/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-047/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-047/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-047/ip.pcap | Bin 0 -> 380 bytes .../testdata/7_3_1/ws/tcematch/ec-047/ip.rc | 1 + .../tcematch/ec-047/netlink_route_dump.pcap | Bin 0 -> 516 bytes .../7_3_1/ws/tcematch/ec-048/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-048/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-048/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-048/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-048/ip.pcap | Bin 0 -> 380 bytes .../testdata/7_3_1/ws/tcematch/ec-048/ip.rc | 1 + .../tcematch/ec-048/netlink_route_dump.pcap | Bin 0 -> 516 bytes .../7_3_1/ws/tcematch/ec-049/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-049/dump.out | 38 ++ .../testdata/7_3_1/ws/tcematch/ec-049/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-049/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-049/ip.pcap | Bin 0 -> 1752 bytes .../testdata/7_3_1/ws/tcematch/ec-049/ip.rc | 1 + .../tcematch/ec-049/netlink_route_dump.pcap | Bin 0 -> 1888 bytes .../7_3_1/ws/tcematch/ec-050/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-050/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-050/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-050/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-050/ip.pcap | Bin 0 -> 392 bytes .../testdata/7_3_1/ws/tcematch/ec-050/ip.rc | 1 + .../tcematch/ec-050/netlink_route_dump.pcap | Bin 0 -> 528 bytes .../7_3_1/ws/tcematch/ec-051/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-051/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-051/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-051/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-051/ip.pcap | Bin 0 -> 392 bytes .../testdata/7_3_1/ws/tcematch/ec-051/ip.rc | 1 + .../tcematch/ec-051/netlink_route_dump.pcap | Bin 0 -> 528 bytes .../7_3_1/ws/tcematch/ec-052/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-052/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-052/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-052/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-052/ip.pcap | Bin 0 -> 392 bytes .../testdata/7_3_1/ws/tcematch/ec-052/ip.rc | 1 + .../tcematch/ec-052/netlink_route_dump.pcap | Bin 0 -> 528 bytes .../7_3_1/ws/tcematch/ec-053/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-053/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-053/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-053/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-053/ip.pcap | Bin 0 -> 392 bytes .../testdata/7_3_1/ws/tcematch/ec-053/ip.rc | 1 + .../tcematch/ec-053/netlink_route_dump.pcap | Bin 0 -> 528 bytes .../7_3_1/ws/tcematch/ec-054/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-054/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-054/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-054/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-054/ip.pcap | Bin 0 -> 384 bytes .../testdata/7_3_1/ws/tcematch/ec-054/ip.rc | 1 + .../tcematch/ec-054/netlink_route_dump.pcap | Bin 0 -> 520 bytes .../7_3_1/ws/tcematch/ec-055/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-055/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-055/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-055/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-055/ip.pcap | Bin 0 -> 384 bytes .../testdata/7_3_1/ws/tcematch/ec-055/ip.rc | 1 + .../tcematch/ec-055/netlink_route_dump.pcap | Bin 0 -> 520 bytes .../7_3_1/ws/tcematch/ec-056/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-056/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-056/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-056/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-056/ip.pcap | Bin 0 -> 392 bytes .../testdata/7_3_1/ws/tcematch/ec-056/ip.rc | 1 + .../tcematch/ec-056/netlink_route_dump.pcap | Bin 0 -> 528 bytes .../7_3_1/ws/tcematch/ec-057/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-057/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-057/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-057/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-057/ip.pcap | Bin 0 -> 392 bytes .../testdata/7_3_1/ws/tcematch/ec-057/ip.rc | 1 + .../tcematch/ec-057/netlink_route_dump.pcap | Bin 0 -> 528 bytes .../7_3_1/ws/tcematch/ec-058/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-058/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-058/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-058/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-058/ip.pcap | Bin 0 -> 392 bytes .../testdata/7_3_1/ws/tcematch/ec-058/ip.rc | 1 + .../tcematch/ec-058/netlink_route_dump.pcap | Bin 0 -> 528 bytes .../7_3_1/ws/tcematch/ec-059/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-059/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-059/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-059/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-059/ip.pcap | Bin 0 -> 392 bytes .../testdata/7_3_1/ws/tcematch/ec-059/ip.rc | 1 + .../tcematch/ec-059/netlink_route_dump.pcap | Bin 0 -> 528 bytes .../7_3_1/ws/tcematch/ec-060/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-060/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-060/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-060/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-060/ip.pcap | Bin 0 -> 392 bytes .../testdata/7_3_1/ws/tcematch/ec-060/ip.rc | 1 + .../tcematch/ec-060/netlink_route_dump.pcap | Bin 0 -> 528 bytes .../7_3_1/ws/tcematch/ec-061/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-061/dump.out | 8 + .../testdata/7_3_1/ws/tcematch/ec-061/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-061/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-061/ip.pcap | Bin 0 -> 432 bytes .../testdata/7_3_1/ws/tcematch/ec-061/ip.rc | 1 + .../tcematch/ec-061/netlink_route_dump.pcap | Bin 0 -> 680 bytes .../7_3_1/ws/tcematch/ec-062/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-062/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-062/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-062/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-062/ip.pcap | Bin 0 -> 388 bytes .../testdata/7_3_1/ws/tcematch/ec-062/ip.rc | 1 + .../tcematch/ec-062/netlink_route_dump.pcap | Bin 0 -> 524 bytes .../7_3_1/ws/tcematch/ec-063/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-063/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-063/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-063/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-063/ip.pcap | Bin 0 -> 380 bytes .../testdata/7_3_1/ws/tcematch/ec-063/ip.rc | 1 + .../tcematch/ec-063/netlink_route_dump.pcap | Bin 0 -> 516 bytes .../7_3_1/ws/tcematch/ec-064/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-064/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-064/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-064/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-064/ip.pcap | Bin 0 -> 388 bytes .../testdata/7_3_1/ws/tcematch/ec-064/ip.rc | 1 + .../tcematch/ec-064/netlink_route_dump.pcap | Bin 0 -> 524 bytes .../7_3_1/ws/tcematch/ec-065/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-065/dump.out | 8 + .../testdata/7_3_1/ws/tcematch/ec-065/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-065/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-065/ip.pcap | Bin 0 -> 484 bytes .../testdata/7_3_1/ws/tcematch/ec-065/ip.rc | 1 + .../tcematch/ec-065/netlink_route_dump.pcap | Bin 0 -> 620 bytes .../7_3_1/ws/tcematch/ec-066/cmd.json | 90 ++++ .../7_3_1/ws/tcematch/ec-066/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-066/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-066/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-066/ip.pcap | Bin 0 -> 376 bytes .../testdata/7_3_1/ws/tcematch/ec-066/ip.rc | 1 + .../tcematch/ec-066/netlink_route_dump.pcap | Bin 0 -> 512 bytes .../7_3_1/ws/tcematch/ec-067/cmd.json | 90 ++++ .../7_3_1/ws/tcematch/ec-067/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-067/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-067/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-067/ip.pcap | Bin 0 -> 376 bytes .../testdata/7_3_1/ws/tcematch/ec-067/ip.rc | 1 + .../tcematch/ec-067/netlink_route_dump.pcap | Bin 0 -> 512 bytes .../7_3_1/ws/tcematch/ec-068/cmd.json | 90 ++++ .../7_3_1/ws/tcematch/ec-068/dump.out | 0 .../testdata/7_3_1/ws/tcematch/ec-068/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-068/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-068/ip.pcap | Bin 0 -> 324 bytes .../testdata/7_3_1/ws/tcematch/ec-068/ip.rc | 1 + .../tcematch/ec-068/netlink_route_dump.pcap | Bin 0 -> 296 bytes .../7_3_1/ws/tcematch/ec-069/cmd.json | 90 ++++ .../7_3_1/ws/tcematch/ec-069/dump.out | 0 .../testdata/7_3_1/ws/tcematch/ec-069/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-069/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-069/ip.pcap | Bin 0 -> 324 bytes .../testdata/7_3_1/ws/tcematch/ec-069/ip.rc | 1 + .../tcematch/ec-069/netlink_route_dump.pcap | Bin 0 -> 296 bytes .../7_3_1/ws/tcematch/ec-070/cmd.json | 90 ++++ .../7_3_1/ws/tcematch/ec-070/dump.out | 8 + .../testdata/7_3_1/ws/tcematch/ec-070/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-070/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-070/ip.pcap | Bin 0 -> 376 bytes .../testdata/7_3_1/ws/tcematch/ec-070/ip.rc | 1 + .../tcematch/ec-070/netlink_route_dump.pcap | Bin 0 -> 696 bytes .../7_3_1/ws/tcematch/ec-071/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-071/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-071/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-071/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-071/ip.pcap | Bin 0 -> 376 bytes .../testdata/7_3_1/ws/tcematch/ec-071/ip.rc | 1 + .../tcematch/ec-071/netlink_route_dump.pcap | Bin 0 -> 512 bytes .../7_3_1/ws/tcematch/ec-072/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-072/dump.out | 2 + .../testdata/7_3_1/ws/tcematch/ec-072/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-072/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-072/ip.pcap | Bin 0 -> 336 bytes .../testdata/7_3_1/ws/tcematch/ec-072/ip.rc | 1 + .../tcematch/ec-072/netlink_route_dump.pcap | Bin 0 -> 488 bytes .../7_3_1/ws/tcematch/ec-073/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-073/dump.out | 6 + .../testdata/7_3_1/ws/tcematch/ec-073/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-073/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-073/ip.pcap | Bin 0 -> 376 bytes .../testdata/7_3_1/ws/tcematch/ec-073/ip.rc | 1 + .../tcematch/ec-073/netlink_route_dump.pcap | Bin 0 -> 640 bytes .../7_3_1/ws/tcematch/ec-074/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-074/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-074/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-074/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-074/ip.pcap | Bin 0 -> 544 bytes .../testdata/7_3_1/ws/tcematch/ec-074/ip.rc | 1 + .../tcematch/ec-074/netlink_route_dump.pcap | Bin 0 -> 1768 bytes .../7_3_1/ws/tcematch/ec-075/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-075/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-075/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-075/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-075/ip.pcap | Bin 0 -> 380 bytes .../testdata/7_3_1/ws/tcematch/ec-075/ip.rc | 1 + .../tcematch/ec-075/netlink_route_dump.pcap | Bin 0 -> 516 bytes .../7_3_1/ws/tcematch/ec-076/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-076/dump.out | 8 + .../testdata/7_3_1/ws/tcematch/ec-076/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-076/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-076/ip.pcap | Bin 0 -> 432 bytes .../testdata/7_3_1/ws/tcematch/ec-076/ip.rc | 1 + .../tcematch/ec-076/netlink_route_dump.pcap | Bin 0 -> 680 bytes .../7_3_1/ws/tcematch/ec-077/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-077/dump.out | 8 + .../testdata/7_3_1/ws/tcematch/ec-077/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-077/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-077/ip.pcap | Bin 0 -> 424 bytes .../testdata/7_3_1/ws/tcematch/ec-077/ip.rc | 1 + .../tcematch/ec-077/netlink_route_dump.pcap | Bin 0 -> 672 bytes .../7_3_1/ws/tcematch/ec-078/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-078/dump.out | 2 + .../testdata/7_3_1/ws/tcematch/ec-078/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-078/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-078/ip.pcap | Bin 0 -> 336 bytes .../testdata/7_3_1/ws/tcematch/ec-078/ip.rc | 1 + .../tcematch/ec-078/netlink_route_dump.pcap | Bin 0 -> 488 bytes .../7_3_1/ws/tcematch/ec-079/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-079/dump.out | 6 + .../testdata/7_3_1/ws/tcematch/ec-079/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-079/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-079/ip.pcap | Bin 0 -> 376 bytes .../testdata/7_3_1/ws/tcematch/ec-079/ip.rc | 1 + .../tcematch/ec-079/netlink_route_dump.pcap | Bin 0 -> 620 bytes .../7_3_1/ws/tcematch/ec-080/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-080/dump.out | 8 + .../testdata/7_3_1/ws/tcematch/ec-080/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-080/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-080/ip.pcap | Bin 0 -> 416 bytes .../testdata/7_3_1/ws/tcematch/ec-080/ip.rc | 1 + .../tcematch/ec-080/netlink_route_dump.pcap | Bin 0 -> 644 bytes .../7_3_1/ws/tcematch/ec-081/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-081/dump.out | 8 + .../testdata/7_3_1/ws/tcematch/ec-081/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-081/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-081/ip.pcap | Bin 0 -> 420 bytes .../testdata/7_3_1/ws/tcematch/ec-081/ip.rc | 1 + .../tcematch/ec-081/netlink_route_dump.pcap | Bin 0 -> 648 bytes .../7_3_1/ws/tcematch/ec-082/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-082/dump.out | 8 + .../testdata/7_3_1/ws/tcematch/ec-082/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-082/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-082/ip.pcap | Bin 0 -> 412 bytes .../testdata/7_3_1/ws/tcematch/ec-082/ip.rc | 1 + .../tcematch/ec-082/netlink_route_dump.pcap | Bin 0 -> 640 bytes .../7_3_1/ws/tcematch/ec-083/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-083/dump.out | 9 + .../testdata/7_3_1/ws/tcematch/ec-083/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-083/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-083/ip.pcap | Bin 0 -> 472 bytes .../testdata/7_3_1/ws/tcematch/ec-083/ip.rc | 1 + .../tcematch/ec-083/netlink_route_dump.pcap | Bin 0 -> 700 bytes .../7_3_1/ws/tcematch/ec-084/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-084/dump.out | 8 + .../testdata/7_3_1/ws/tcematch/ec-084/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-084/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-084/ip.pcap | Bin 0 -> 420 bytes .../testdata/7_3_1/ws/tcematch/ec-084/ip.rc | 1 + .../tcematch/ec-084/netlink_route_dump.pcap | Bin 0 -> 648 bytes .../7_3_1/ws/tcematch/ec-085/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-085/dump.out | 10 + .../testdata/7_3_1/ws/tcematch/ec-085/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-085/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-085/ip.pcap | Bin 0 -> 460 bytes .../testdata/7_3_1/ws/tcematch/ec-085/ip.rc | 1 + .../tcematch/ec-085/netlink_route_dump.pcap | Bin 0 -> 688 bytes .../7_3_1/ws/tcematch/ec-086/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-086/dump.out | 2 + .../testdata/7_3_1/ws/tcematch/ec-086/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-086/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-086/ip.pcap | Bin 0 -> 328 bytes .../testdata/7_3_1/ws/tcematch/ec-086/ip.rc | 1 + .../tcematch/ec-086/netlink_route_dump.pcap | Bin 0 -> 460 bytes .../7_3_1/ws/tcematch/ec-087/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-087/dump.out | 12 + .../testdata/7_3_1/ws/tcematch/ec-087/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-087/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-087/ip.pcap | Bin 0 -> 460 bytes .../testdata/7_3_1/ws/tcematch/ec-087/ip.rc | 1 + .../tcematch/ec-087/netlink_route_dump.pcap | Bin 0 -> 800 bytes .../7_3_1/ws/tcematch/ec-088/cmd.json | 90 ++++ .../7_3_1/ws/tcematch/ec-088/dump.out | 8 + .../testdata/7_3_1/ws/tcematch/ec-088/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-088/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-088/ip.pcap | Bin 0 -> 416 bytes .../testdata/7_3_1/ws/tcematch/ec-088/ip.rc | 1 + .../tcematch/ec-088/netlink_route_dump.pcap | Bin 0 -> 644 bytes .../7_3_1/ws/tcematch/ec-089/cmd.json | 90 ++++ .../7_3_1/ws/tcematch/ec-089/dump.out | 0 .../testdata/7_3_1/ws/tcematch/ec-089/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-089/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-089/ip.pcap | Bin 0 -> 312 bytes .../testdata/7_3_1/ws/tcematch/ec-089/ip.rc | 1 + .../tcematch/ec-089/netlink_route_dump.pcap | Bin 0 -> 296 bytes .../7_3_1/ws/tcematch/ec-090/cmd.json | 90 ++++ .../7_3_1/ws/tcematch/ec-090/dump.out | 6 + .../testdata/7_3_1/ws/tcematch/ec-090/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-090/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-090/ip.pcap | Bin 0 -> 376 bytes .../testdata/7_3_1/ws/tcematch/ec-090/ip.rc | 1 + .../tcematch/ec-090/netlink_route_dump.pcap | Bin 0 -> 620 bytes .../7_3_1/ws/tcematch/ec-091/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-091/dump.out | 8 + .../testdata/7_3_1/ws/tcematch/ec-091/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-091/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-091/ip.pcap | Bin 0 -> 584 bytes .../testdata/7_3_1/ws/tcematch/ec-091/ip.rc | 1 + .../tcematch/ec-091/netlink_route_dump.pcap | Bin 0 -> 1900 bytes .../7_3_1/ws/tcematch/ec-092/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-092/dump.out | 9 + .../testdata/7_3_1/ws/tcematch/ec-092/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-092/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-092/ip.pcap | Bin 0 -> 440 bytes .../testdata/7_3_1/ws/tcematch/ec-092/ip.rc | 1 + .../tcematch/ec-092/netlink_route_dump.pcap | Bin 0 -> 676 bytes .../7_3_1/ws/tcematch/ec-093/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-093/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-093/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-093/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-093/ip.pcap | Bin 0 -> 416 bytes .../testdata/7_3_1/ws/tcematch/ec-093/ip.rc | 1 + .../tcematch/ec-093/netlink_route_dump.pcap | Bin 0 -> 532 bytes .../7_3_1/ws/tcematch/ec-094/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-094/dump.out | 5 + .../testdata/7_3_1/ws/tcematch/ec-094/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-094/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-094/ip.pcap | Bin 0 -> 424 bytes .../testdata/7_3_1/ws/tcematch/ec-094/ip.rc | 1 + .../tcematch/ec-094/netlink_route_dump.pcap | Bin 0 -> 548 bytes .../7_3_1/ws/tcematch/ec-095/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-095/dump.out | 9 + .../testdata/7_3_1/ws/tcematch/ec-095/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-095/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-095/ip.pcap | Bin 0 -> 444 bytes .../testdata/7_3_1/ws/tcematch/ec-095/ip.rc | 1 + .../tcematch/ec-095/netlink_route_dump.pcap | Bin 0 -> 672 bytes .../7_3_1/ws/tcematch/ec-096/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-096/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-096/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-096/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-096/ip.pcap | Bin 0 -> 400 bytes .../testdata/7_3_1/ws/tcematch/ec-096/ip.rc | 1 + .../tcematch/ec-096/netlink_route_dump.pcap | Bin 0 -> 516 bytes .../7_3_1/ws/tcematch/ec-097/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-097/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-097/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-097/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-097/ip.pcap | Bin 0 -> 408 bytes .../testdata/7_3_1/ws/tcematch/ec-097/ip.rc | 1 + .../tcematch/ec-097/netlink_route_dump.pcap | Bin 0 -> 532 bytes .../7_3_1/ws/tcematch/ec-098/cmd.json | 90 ++++ .../7_3_1/ws/tcematch/ec-098/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-098/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-098/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-098/ip.pcap | Bin 0 -> 400 bytes .../testdata/7_3_1/ws/tcematch/ec-098/ip.rc | 1 + .../tcematch/ec-098/netlink_route_dump.pcap | Bin 0 -> 516 bytes .../7_3_1/ws/tcematch/ec-099/cmd.json | 90 ++++ .../7_3_1/ws/tcematch/ec-099/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-099/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-099/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-099/ip.pcap | Bin 0 -> 400 bytes .../testdata/7_3_1/ws/tcematch/ec-099/ip.rc | 1 + .../tcematch/ec-099/netlink_route_dump.pcap | Bin 0 -> 516 bytes .../7_3_1/ws/tcematch/ec-100/cmd.json | 90 ++++ .../7_3_1/ws/tcematch/ec-100/dump.out | 2 + .../testdata/7_3_1/ws/tcematch/ec-100/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-100/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-100/ip.pcap | Bin 0 -> 360 bytes .../testdata/7_3_1/ws/tcematch/ec-100/ip.rc | 1 + .../tcematch/ec-100/netlink_route_dump.pcap | Bin 0 -> 476 bytes .../7_3_1/ws/tcematch/ec-101/cmd.json | 90 ++++ .../7_3_1/ws/tcematch/ec-101/dump.out | 0 .../testdata/7_3_1/ws/tcematch/ec-101/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-101/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-101/ip.pcap | Bin 0 -> 336 bytes .../testdata/7_3_1/ws/tcematch/ec-101/ip.rc | 1 + .../tcematch/ec-101/netlink_route_dump.pcap | Bin 0 -> 296 bytes .../7_3_1/ws/tcematch/ec-102/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-102/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-102/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-102/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-102/ip.pcap | Bin 0 -> 880 bytes .../testdata/7_3_1/ws/tcematch/ec-102/ip.rc | 1 + .../tcematch/ec-102/netlink_route_dump.pcap | Bin 0 -> 1016 bytes .../7_3_1/ws/tcematch/ec-103/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-103/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-103/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-103/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-103/ip.pcap | Bin 0 -> 880 bytes .../testdata/7_3_1/ws/tcematch/ec-103/ip.rc | 1 + .../tcematch/ec-103/netlink_route_dump.pcap | Bin 0 -> 1016 bytes .../7_3_1/ws/tcematch/ec-104/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-104/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-104/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-104/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-104/ip.pcap | Bin 0 -> 884 bytes .../testdata/7_3_1/ws/tcematch/ec-104/ip.rc | 1 + .../tcematch/ec-104/netlink_route_dump.pcap | Bin 0 -> 1020 bytes .../7_3_1/ws/tcematch/ec-105/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-105/dump.out | 5 + .../testdata/7_3_1/ws/tcematch/ec-105/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-105/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-105/ip.pcap | Bin 0 -> 392 bytes .../testdata/7_3_1/ws/tcematch/ec-105/ip.rc | 1 + .../tcematch/ec-105/netlink_route_dump.pcap | Bin 0 -> 528 bytes .../7_3_1/ws/tcematch/ec-106/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-106/dump.out | 5 + .../testdata/7_3_1/ws/tcematch/ec-106/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-106/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-106/ip.pcap | Bin 0 -> 408 bytes .../testdata/7_3_1/ws/tcematch/ec-106/ip.rc | 1 + .../tcematch/ec-106/netlink_route_dump.pcap | Bin 0 -> 544 bytes .../7_3_1/ws/tcematch/ec-107/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-107/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-107/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-107/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-107/ip.pcap | Bin 0 -> 380 bytes .../testdata/7_3_1/ws/tcematch/ec-107/ip.rc | 1 + .../tcematch/ec-107/netlink_route_dump.pcap | Bin 0 -> 516 bytes .../7_3_1/ws/tcematch/ec-108/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-108/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-108/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-108/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-108/ip.pcap | Bin 0 -> 380 bytes .../testdata/7_3_1/ws/tcematch/ec-108/ip.rc | 1 + .../tcematch/ec-108/netlink_route_dump.pcap | Bin 0 -> 516 bytes .../7_3_1/ws/tcematch/ec-109/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-109/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-109/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-109/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-109/ip.pcap | Bin 0 -> 380 bytes .../testdata/7_3_1/ws/tcematch/ec-109/ip.rc | 1 + .../tcematch/ec-109/netlink_route_dump.pcap | Bin 0 -> 516 bytes .../7_3_1/ws/tcematch/ec-110/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-110/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-110/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-110/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-110/ip.pcap | Bin 0 -> 380 bytes .../testdata/7_3_1/ws/tcematch/ec-110/ip.rc | 1 + .../tcematch/ec-110/netlink_route_dump.pcap | Bin 0 -> 516 bytes .../7_3_1/ws/tcematch/ec-111/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-111/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-111/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-111/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-111/ip.pcap | Bin 0 -> 380 bytes .../testdata/7_3_1/ws/tcematch/ec-111/ip.rc | 1 + .../tcematch/ec-111/netlink_route_dump.pcap | Bin 0 -> 516 bytes .../7_3_1/ws/tcematch/ec-112/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-112/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-112/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-112/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-112/ip.pcap | Bin 0 -> 380 bytes .../testdata/7_3_1/ws/tcematch/ec-112/ip.rc | 1 + .../tcematch/ec-112/netlink_route_dump.pcap | Bin 0 -> 516 bytes .../7_3_1/ws/tcematch/ec-113/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-113/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-113/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-113/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-113/ip.pcap | Bin 0 -> 380 bytes .../testdata/7_3_1/ws/tcematch/ec-113/ip.rc | 1 + .../tcematch/ec-113/netlink_route_dump.pcap | Bin 0 -> 516 bytes .../7_3_1/ws/tcematch/ec-114/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-114/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-114/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-114/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-114/ip.pcap | Bin 0 -> 380 bytes .../testdata/7_3_1/ws/tcematch/ec-114/ip.rc | 1 + .../tcematch/ec-114/netlink_route_dump.pcap | Bin 0 -> 516 bytes .../7_3_1/ws/tcematch/ec-115/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-115/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-115/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-115/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-115/ip.pcap | Bin 0 -> 376 bytes .../testdata/7_3_1/ws/tcematch/ec-115/ip.rc | 1 + .../tcematch/ec-115/netlink_route_dump.pcap | Bin 0 -> 512 bytes .../7_3_1/ws/tcematch/ec-116/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-116/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-116/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-116/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-116/ip.pcap | Bin 0 -> 376 bytes .../testdata/7_3_1/ws/tcematch/ec-116/ip.rc | 1 + .../tcematch/ec-116/netlink_route_dump.pcap | Bin 0 -> 512 bytes .../7_3_1/ws/tcematch/ec-117/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-117/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-117/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-117/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-117/ip.pcap | Bin 0 -> 376 bytes .../testdata/7_3_1/ws/tcematch/ec-117/ip.rc | 1 + .../tcematch/ec-117/netlink_route_dump.pcap | Bin 0 -> 512 bytes .../7_3_1/ws/tcematch/ec-118/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-118/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-118/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-118/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-118/ip.pcap | Bin 0 -> 392 bytes .../testdata/7_3_1/ws/tcematch/ec-118/ip.rc | 1 + .../tcematch/ec-118/netlink_route_dump.pcap | Bin 0 -> 528 bytes .../7_3_1/ws/tcematch/ec-119/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-119/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-119/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-119/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-119/ip.pcap | Bin 0 -> 392 bytes .../testdata/7_3_1/ws/tcematch/ec-119/ip.rc | 1 + .../tcematch/ec-119/netlink_route_dump.pcap | Bin 0 -> 528 bytes .../7_3_1/ws/tcematch/ec-120/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-120/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-120/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-120/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-120/ip.pcap | Bin 0 -> 372 bytes .../testdata/7_3_1/ws/tcematch/ec-120/ip.rc | 1 + .../tcematch/ec-120/netlink_route_dump.pcap | Bin 0 -> 508 bytes .../7_3_1/ws/tcematch/ec-121/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-121/dump.out | 3 + .../testdata/7_3_1/ws/tcematch/ec-121/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-121/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-121/ip.pcap | Bin 0 -> 4464 bytes .../testdata/7_3_1/ws/tcematch/ec-121/ip.rc | 1 + .../tcematch/ec-121/netlink_route_dump.pcap | Bin 0 -> 500 bytes .../7_3_1/ws/tcematch/ec-122/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-122/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-122/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-122/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-122/ip.pcap | Bin 0 -> 4464 bytes .../testdata/7_3_1/ws/tcematch/ec-122/ip.rc | 1 + .../tcematch/ec-122/netlink_route_dump.pcap | Bin 0 -> 504 bytes .../7_3_1/ws/tcematch/ec-123/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-123/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-123/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-123/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-123/ip.pcap | Bin 0 -> 4468 bytes .../testdata/7_3_1/ws/tcematch/ec-123/ip.rc | 1 + .../tcematch/ec-123/netlink_route_dump.pcap | Bin 0 -> 508 bytes .../7_3_1/ws/tcematch/ec-124/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-124/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-124/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-124/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-124/ip.pcap | Bin 0 -> 376 bytes .../testdata/7_3_1/ws/tcematch/ec-124/ip.rc | 1 + .../tcematch/ec-124/netlink_route_dump.pcap | Bin 0 -> 512 bytes .../7_3_1/ws/tcematch/ec-125/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-125/dump.out | 5 + .../testdata/7_3_1/ws/tcematch/ec-125/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-125/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-125/ip.pcap | Bin 0 -> 396 bytes .../testdata/7_3_1/ws/tcematch/ec-125/ip.rc | 1 + .../tcematch/ec-125/netlink_route_dump.pcap | Bin 0 -> 532 bytes .../7_3_1/ws/tcematch/ec-126/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-126/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-126/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-126/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-126/ip.pcap | Bin 0 -> 392 bytes .../testdata/7_3_1/ws/tcematch/ec-126/ip.rc | 1 + .../tcematch/ec-126/netlink_route_dump.pcap | Bin 0 -> 528 bytes .../7_3_1/ws/tcematch/ec-127/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-127/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-127/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-127/ip.out | 1 + .../testdata/7_3_1/ws/tcematch/ec-127/ip.pcap | Bin 0 -> 372 bytes .../testdata/7_3_1/ws/tcematch/ec-127/ip.rc | 1 + .../tcematch/ec-127/netlink_route_dump.pcap | Bin 0 -> 508 bytes .../7_3_1/ws/tcematch/ec-128/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-128/dump.out | 5 + .../testdata/7_3_1/ws/tcematch/ec-128/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-128/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-128/ip.pcap | Bin 0 -> 404 bytes .../testdata/7_3_1/ws/tcematch/ec-128/ip.rc | 1 + .../tcematch/ec-128/netlink_route_dump.pcap | Bin 0 -> 540 bytes .../7_3_1/ws/tcematch/ec-129/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-129/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-129/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-129/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-129/ip.pcap | Bin 0 -> 388 bytes .../testdata/7_3_1/ws/tcematch/ec-129/ip.rc | 1 + .../tcematch/ec-129/netlink_route_dump.pcap | Bin 0 -> 524 bytes .../7_3_1/ws/tcematch/ec-130/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-130/dump.out | 4 + .../testdata/7_3_1/ws/tcematch/ec-130/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-130/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-130/ip.pcap | Bin 0 -> 3564 bytes .../testdata/7_3_1/ws/tcematch/ec-130/ip.rc | 1 + .../tcematch/ec-130/netlink_route_dump.pcap | Bin 0 -> 3700 bytes .../7_3_1/ws/tcematch/ec-131/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-131/dump.out | 2 + .../testdata/7_3_1/ws/tcematch/ec-131/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-131/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-131/ip.pcap | Bin 0 -> 336 bytes .../testdata/7_3_1/ws/tcematch/ec-131/ip.rc | 1 + .../tcematch/ec-131/netlink_route_dump.pcap | Bin 0 -> 488 bytes .../7_3_1/ws/tcematch/ec-132/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-132/dump.out | 2 + .../testdata/7_3_1/ws/tcematch/ec-132/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-132/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-132/ip.pcap | Bin 0 -> 336 bytes .../testdata/7_3_1/ws/tcematch/ec-132/ip.rc | 1 + .../tcematch/ec-132/netlink_route_dump.pcap | Bin 0 -> 488 bytes .../7_3_1/ws/tcematch/ec-133/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-133/dump.out | 2 + .../testdata/7_3_1/ws/tcematch/ec-133/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-133/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-133/ip.pcap | Bin 0 -> 336 bytes .../testdata/7_3_1/ws/tcematch/ec-133/ip.rc | 1 + .../tcematch/ec-133/netlink_route_dump.pcap | Bin 0 -> 488 bytes .../7_3_1/ws/tcematch/ec-134/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-134/dump.out | 2 + .../testdata/7_3_1/ws/tcematch/ec-134/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-134/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-134/ip.pcap | Bin 0 -> 336 bytes .../testdata/7_3_1/ws/tcematch/ec-134/ip.rc | 1 + .../tcematch/ec-134/netlink_route_dump.pcap | Bin 0 -> 488 bytes .../7_3_1/ws/tcematch/ec-135/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-135/dump.out | 6 + .../testdata/7_3_1/ws/tcematch/ec-135/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-135/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-135/ip.pcap | Bin 0 -> 376 bytes .../testdata/7_3_1/ws/tcematch/ec-135/ip.rc | 1 + .../tcematch/ec-135/netlink_route_dump.pcap | Bin 0 -> 620 bytes .../7_3_1/ws/tcematch/ec-136/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-136/dump.out | 8 + .../testdata/7_3_1/ws/tcematch/ec-136/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-136/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-136/ip.pcap | Bin 0 -> 472 bytes .../testdata/7_3_1/ws/tcematch/ec-136/ip.rc | 1 + .../tcematch/ec-136/netlink_route_dump.pcap | Bin 0 -> 672 bytes .../7_3_1/ws/tcematch/ec-137/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-137/dump.out | 1 + .../testdata/7_3_1/ws/tcematch/ec-137/ip.err | 3 + .../testdata/7_3_1/ws/tcematch/ec-137/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-137/ip.pcap | Bin 0 -> 5176 bytes .../testdata/7_3_1/ws/tcematch/ec-137/ip.rc | 1 + .../tcematch/ec-137/netlink_route_dump.pcap | Bin 0 -> 384 bytes .../7_3_1/ws/tcematch/ec-138/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-138/dump.out | 7 + .../testdata/7_3_1/ws/tcematch/ec-138/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-138/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-138/ip.pcap | Bin 0 -> 1460 bytes .../testdata/7_3_1/ws/tcematch/ec-138/ip.rc | 1 + .../tcematch/ec-138/netlink_route_dump.pcap | Bin 0 -> 648 bytes .../7_3_1/ws/tcematch/ec-139/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-139/dump.out | 5 + .../testdata/7_3_1/ws/tcematch/ec-139/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-139/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-139/ip.pcap | Bin 0 -> 1468 bytes .../testdata/7_3_1/ws/tcematch/ec-139/ip.rc | 1 + .../tcematch/ec-139/netlink_route_dump.pcap | Bin 0 -> 624 bytes .../7_3_1/ws/tcematch/ec-140/cmd.json | 85 +++ .../7_3_1/ws/tcematch/ec-140/dump.out | 5 + .../testdata/7_3_1/ws/tcematch/ec-140/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-140/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-140/ip.pcap | Bin 0 -> 1420 bytes .../testdata/7_3_1/ws/tcematch/ec-140/ip.rc | 1 + .../tcematch/ec-140/netlink_route_dump.pcap | Bin 0 -> 604 bytes .../testdata/7_3_1/ws/tcematch/ec-141/b.txt | 2 + .../7_3_1/ws/tcematch/ec-141/cmd.json | 91 ++++ .../7_3_1/ws/tcematch/ec-141/dump.out | 9 + .../testdata/7_3_1/ws/tcematch/ec-141/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-141/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-141/ip.pcap | Bin 0 -> 768 bytes .../testdata/7_3_1/ws/tcematch/ec-141/ip.rc | 1 + .../tcematch/ec-141/netlink_route_dump.pcap | Bin 0 -> 720 bytes .../testdata/7_3_1/ws/tcematch/ec-142/b.txt | 3 + .../7_3_1/ws/tcematch/ec-142/cmd.json | 91 ++++ .../7_3_1/ws/tcematch/ec-142/dump.out | 16 + .../testdata/7_3_1/ws/tcematch/ec-142/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-142/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-142/ip.pcap | Bin 0 -> 1076 bytes .../testdata/7_3_1/ws/tcematch/ec-142/ip.rc | 1 + .../tcematch/ec-142/netlink_route_dump.pcap | Bin 0 -> 992 bytes .../testdata/7_3_1/ws/tcematch/ec-143/b.txt | 2 + .../7_3_1/ws/tcematch/ec-143/cmd.json | 91 ++++ .../7_3_1/ws/tcematch/ec-143/dump.out | 8 + .../testdata/7_3_1/ws/tcematch/ec-143/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-143/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-143/ip.pcap | Bin 0 -> 760 bytes .../testdata/7_3_1/ws/tcematch/ec-143/ip.rc | 1 + .../tcematch/ec-143/netlink_route_dump.pcap | Bin 0 -> 700 bytes .../testdata/7_3_1/ws/tcematch/ec-144/b.txt | 2 + .../7_3_1/ws/tcematch/ec-144/cmd.json | 91 ++++ .../7_3_1/ws/tcematch/ec-144/dump.out | 8 + .../testdata/7_3_1/ws/tcematch/ec-144/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ec-144/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ec-144/ip.pcap | Bin 0 -> 740 bytes .../testdata/7_3_1/ws/tcematch/ec-144/ip.rc | 1 + .../tcematch/ec-144/netlink_route_dump.pcap | Bin 0 -> 692 bytes .../7_3_1/ws/tcematch/ng-001/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-001/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-001/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-001/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-001/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-002/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-002/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-002/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-002/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-002/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-003/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-003/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-003/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-003/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-003/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-004/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-004/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-004/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-004/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-004/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-005/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-005/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-005/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-005/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-005/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-006/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-006/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-006/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-006/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-006/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-007/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-007/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-007/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-007/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-007/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-008/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-008/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-008/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-008/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-008/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-009/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-009/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-009/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-009/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-009/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-010/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-010/ip.err | 9 + .../testdata/7_3_1/ws/tcematch/ng-010/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-010/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-010/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-011/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-011/ip.err | 9 + .../testdata/7_3_1/ws/tcematch/ng-011/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-011/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-011/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-012/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-012/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-012/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-012/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-012/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-013/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-013/ip.err | 1 + .../testdata/7_3_1/ws/tcematch/ng-013/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-013/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-013/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-014/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-014/ip.err | 2 + .../testdata/7_3_1/ws/tcematch/ng-014/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-014/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-014/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-015/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-015/ip.err | 2 + .../testdata/7_3_1/ws/tcematch/ng-015/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-015/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-015/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-016/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-016/ip.err | 2 + .../testdata/7_3_1/ws/tcematch/ng-016/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-016/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-016/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-017/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-017/ip.err | 2 + .../testdata/7_3_1/ws/tcematch/ng-017/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-017/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-017/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-018/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-018/ip.err | 2 + .../testdata/7_3_1/ws/tcematch/ng-018/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-018/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-018/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-019/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-019/ip.err | 9 + .../testdata/7_3_1/ws/tcematch/ng-019/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-019/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-019/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-020/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-020/ip.err | 3 + .../testdata/7_3_1/ws/tcematch/ng-020/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-020/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-020/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-021/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-021/ip.err | 16 + .../testdata/7_3_1/ws/tcematch/ng-021/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-021/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-021/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-022/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-022/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-022/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-022/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-022/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-023/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-023/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-023/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-023/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-023/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-024/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-024/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-024/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-024/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-024/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-025/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-025/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-025/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-025/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-025/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-026/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-026/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-026/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-026/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-026/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-027/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-027/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-027/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-027/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-027/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-028/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-028/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-028/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-028/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-028/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-029/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-029/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-029/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-029/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-029/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-030/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-030/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-030/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-030/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-030/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-031/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-031/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-031/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-031/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-031/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-032/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-032/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-032/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-032/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-032/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-033/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-033/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-033/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-033/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-033/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-034/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-034/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-034/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-034/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-034/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-035/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-035/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-035/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-035/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-035/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-036/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-036/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-036/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-036/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-036/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-037/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-037/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-037/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-037/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-037/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-038/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-038/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-038/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-038/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-038/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-039/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-039/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-039/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-039/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-039/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-040/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-040/ip.err | 8 + .../testdata/7_3_1/ws/tcematch/ng-040/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-040/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-040/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-041/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-041/ip.err | 8 + .../testdata/7_3_1/ws/tcematch/ng-041/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-041/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-041/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-042/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-042/ip.err | 8 + .../testdata/7_3_1/ws/tcematch/ng-042/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-042/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-042/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-043/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-043/ip.err | 8 + .../testdata/7_3_1/ws/tcematch/ng-043/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-043/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-043/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-044/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-044/ip.err | 8 + .../testdata/7_3_1/ws/tcematch/ng-044/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-044/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-044/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-045/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-045/ip.err | 8 + .../testdata/7_3_1/ws/tcematch/ng-045/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-045/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-045/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-046/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-046/ip.err | 8 + .../testdata/7_3_1/ws/tcematch/ng-046/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-046/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-046/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-047/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-047/ip.err | 8 + .../testdata/7_3_1/ws/tcematch/ng-047/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-047/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-047/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-048/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-048/ip.err | 8 + .../testdata/7_3_1/ws/tcematch/ng-048/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-048/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-048/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-049/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-049/ip.err | 8 + .../testdata/7_3_1/ws/tcematch/ng-049/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-049/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-049/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-050/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-050/ip.err | 8 + .../testdata/7_3_1/ws/tcematch/ng-050/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-050/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-050/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-051/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-051/ip.err | 8 + .../testdata/7_3_1/ws/tcematch/ng-051/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-051/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-051/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-052/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-052/ip.err | 8 + .../testdata/7_3_1/ws/tcematch/ng-052/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-052/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-052/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-053/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-053/ip.err | 8 + .../testdata/7_3_1/ws/tcematch/ng-053/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-053/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-053/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-054/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-054/ip.err | 8 + .../testdata/7_3_1/ws/tcematch/ng-054/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-054/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-054/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-055/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-055/ip.err | 8 + .../testdata/7_3_1/ws/tcematch/ng-055/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-055/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-055/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-056/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-056/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-056/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-056/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-056/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-057/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-057/ip.err | 53 ++ .../testdata/7_3_1/ws/tcematch/ng-057/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-057/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-057/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-058/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-058/ip.err | 13 + .../testdata/7_3_1/ws/tcematch/ng-058/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-058/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-058/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-059/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-059/ip.err | 13 + .../testdata/7_3_1/ws/tcematch/ng-059/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-059/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-059/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-060/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-060/ip.err | 13 + .../testdata/7_3_1/ws/tcematch/ng-060/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-060/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-060/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-061/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-061/ip.err | 13 + .../testdata/7_3_1/ws/tcematch/ng-061/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-061/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-061/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-062/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-062/ip.err | 13 + .../testdata/7_3_1/ws/tcematch/ng-062/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-062/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-062/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-063/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-063/ip.err | 13 + .../testdata/7_3_1/ws/tcematch/ng-063/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-063/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-063/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-064/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-064/ip.err | 13 + .../testdata/7_3_1/ws/tcematch/ng-064/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-064/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-064/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-065/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-065/ip.err | 14 + .../testdata/7_3_1/ws/tcematch/ng-065/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-065/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-065/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-066/cmd.json | 80 +++ .../testdata/7_3_1/ws/tcematch/ng-066/ip.err | 2 + .../testdata/7_3_1/ws/tcematch/ng-066/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-066/ip.pcap | Bin 0 -> 492 bytes .../testdata/7_3_1/ws/tcematch/ng-066/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-067/cmd.json | 80 +++ .../testdata/7_3_1/ws/tcematch/ng-067/ip.err | 2 + .../testdata/7_3_1/ws/tcematch/ng-067/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-067/ip.pcap | Bin 0 -> 492 bytes .../testdata/7_3_1/ws/tcematch/ng-067/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-068/cmd.json | 80 +++ .../testdata/7_3_1/ws/tcematch/ng-068/ip.err | Bin 0 -> 5166 bytes .../testdata/7_3_1/ws/tcematch/ng-068/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-068/ip.pcap | Bin 0 -> 476 bytes .../testdata/7_3_1/ws/tcematch/ng-068/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-069/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-069/ip.err | 14 + .../testdata/7_3_1/ws/tcematch/ng-069/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-069/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-069/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-070/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-070/ip.err | 14 + .../testdata/7_3_1/ws/tcematch/ng-070/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-070/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-070/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-071/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-071/ip.err | 13 + .../testdata/7_3_1/ws/tcematch/ng-071/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-071/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-071/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-072/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-072/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-072/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-072/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-072/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-073/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-073/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-073/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-073/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-073/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-074/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-074/ip.err | 9 + .../testdata/7_3_1/ws/tcematch/ng-074/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-074/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-074/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-075/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-075/ip.err | 11 + .../testdata/7_3_1/ws/tcematch/ng-075/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-075/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-075/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-076/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-076/ip.err | 11 + .../testdata/7_3_1/ws/tcematch/ng-076/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-076/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-076/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-077/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-077/ip.err | 11 + .../testdata/7_3_1/ws/tcematch/ng-077/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-077/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-077/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-078/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-078/ip.err | 11 + .../testdata/7_3_1/ws/tcematch/ng-078/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-078/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-078/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-079/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-079/ip.err | 11 + .../testdata/7_3_1/ws/tcematch/ng-079/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-079/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-079/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-080/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-080/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-080/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-080/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-080/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-081/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-081/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-081/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-081/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-081/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-082/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-082/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-082/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-082/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-082/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-083/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-083/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-083/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-083/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-083/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-084/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-084/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-084/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-084/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-084/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-085/cmd.json | 80 +++ .../testdata/7_3_1/ws/tcematch/ng-085/ip.err | 2 + .../testdata/7_3_1/ws/tcematch/ng-085/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-085/ip.pcap | Bin 0 -> 356 bytes .../testdata/7_3_1/ws/tcematch/ng-085/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-086/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-086/ip.err | 1 + .../testdata/7_3_1/ws/tcematch/ng-086/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-086/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-086/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-087/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-087/ip.err | 1 + .../testdata/7_3_1/ws/tcematch/ng-087/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-087/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-087/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-088/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-088/ip.err | 1 + .../testdata/7_3_1/ws/tcematch/ng-088/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-088/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-088/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-089/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-089/ip.err | 1 + .../testdata/7_3_1/ws/tcematch/ng-089/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-089/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-089/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-090/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-090/ip.err | 8 + .../testdata/7_3_1/ws/tcematch/ng-090/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-090/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-090/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-091/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-091/ip.err | 9 + .../testdata/7_3_1/ws/tcematch/ng-091/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-091/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-091/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-092/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-092/ip.err | 2 + .../testdata/7_3_1/ws/tcematch/ng-092/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-092/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-092/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-093/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-093/ip.err | 1 + .../testdata/7_3_1/ws/tcematch/ng-093/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-093/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-093/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-094/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-094/ip.err | 3 + .../testdata/7_3_1/ws/tcematch/ng-094/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-094/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-094/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-095/cmd.json | 80 +++ .../testdata/7_3_1/ws/tcematch/ng-095/ip.err | 3 + .../testdata/7_3_1/ws/tcematch/ng-095/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-095/ip.pcap | Bin 0 -> 32556 bytes .../testdata/7_3_1/ws/tcematch/ng-095/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-096/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-096/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-096/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-096/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-096/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-097/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-097/ip.err | 9 + .../testdata/7_3_1/ws/tcematch/ng-097/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-097/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-097/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-098/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-098/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-098/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-098/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-098/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-099/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-099/ip.err | 2 + .../testdata/7_3_1/ws/tcematch/ng-099/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-099/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-099/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-100/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-100/ip.err | 1 + .../testdata/7_3_1/ws/tcematch/ng-100/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-100/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-100/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-101/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-101/ip.err | 0 .../testdata/7_3_1/ws/tcematch/ng-101/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-101/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-101/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-102/cmd.json | 85 +++ .../testdata/7_3_1/ws/tcematch/ng-102/ip.err | 2 + .../testdata/7_3_1/ws/tcematch/ng-102/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-102/ip.pcap | Bin 0 -> 452 bytes .../testdata/7_3_1/ws/tcematch/ng-102/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-103/cmd.json | 85 +++ .../testdata/7_3_1/ws/tcematch/ng-103/ip.err | 2 + .../testdata/7_3_1/ws/tcematch/ng-103/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-103/ip.pcap | Bin 0 -> 612 bytes .../testdata/7_3_1/ws/tcematch/ng-103/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-104/cmd.json | 85 +++ .../testdata/7_3_1/ws/tcematch/ng-104/ip.err | 2 + .../testdata/7_3_1/ws/tcematch/ng-104/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-104/ip.pcap | Bin 0 -> 404 bytes .../testdata/7_3_1/ws/tcematch/ng-104/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-105/cmd.json | 85 +++ .../testdata/7_3_1/ws/tcematch/ng-105/ip.err | 2 + .../testdata/7_3_1/ws/tcematch/ng-105/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-105/ip.pcap | Bin 0 -> 460 bytes .../testdata/7_3_1/ws/tcematch/ng-105/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-106/cmd.json | 80 +++ .../testdata/7_3_1/ws/tcematch/ng-106/ip.err | 2 + .../testdata/7_3_1/ws/tcematch/ng-106/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-106/ip.pcap | Bin 0 -> 460 bytes .../testdata/7_3_1/ws/tcematch/ng-106/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-107/cmd.json | 90 ++++ .../testdata/7_3_1/ws/tcematch/ng-107/ip.err | 2 + .../testdata/7_3_1/ws/tcematch/ng-107/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-107/ip.pcap | Bin 0 -> 356 bytes .../testdata/7_3_1/ws/tcematch/ng-107/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-108/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-108/ip.err | 1 + .../testdata/7_3_1/ws/tcematch/ng-108/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-108/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-108/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-109/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-109/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-109/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-109/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-109/ip.rc | 1 + .../7_3_1/ws/tcematch/ng-110/cmd.json | 79 +++ .../testdata/7_3_1/ws/tcematch/ng-110/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-110/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-110/ip.pcap | Bin 0 -> 176 bytes .../testdata/7_3_1/ws/tcematch/ng-110/ip.rc | 1 + .../testdata/7_3_1/ws/tcematch/ng-111/b.txt | 2 + .../7_3_1/ws/tcematch/ng-111/cmd.json | 85 +++ .../testdata/7_3_1/ws/tcematch/ng-111/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-111/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-111/ip.pcap | Bin 0 -> 544 bytes .../testdata/7_3_1/ws/tcematch/ng-111/ip.rc | 1 + .../testdata/7_3_1/ws/tcematch/ng-112/b.txt | 2 + .../7_3_1/ws/tcematch/ng-112/cmd.json | 85 +++ .../testdata/7_3_1/ws/tcematch/ng-112/ip.err | 20 + .../testdata/7_3_1/ws/tcematch/ng-112/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-112/ip.pcap | Bin 0 -> 344 bytes .../testdata/7_3_1/ws/tcematch/ng-112/ip.rc | 1 + .../testdata/7_3_1/ws/tcematch/ng-113/b.txt | 2 + .../7_3_1/ws/tcematch/ng-113/cmd.json | 85 +++ .../testdata/7_3_1/ws/tcematch/ng-113/ip.err | 10 + .../testdata/7_3_1/ws/tcematch/ng-113/ip.out | 0 .../testdata/7_3_1/ws/tcematch/ng-113/ip.pcap | Bin 0 -> 344 bytes .../testdata/7_3_1/ws/tcematch/ng-113/ip.rc | 1 + pkg/xtcpnl/xtcpnl_parse_bench_test.go | 2 +- pkg/xtcpnl/xtcpnl_tc_filter_test.go | 9 + tools/nlcapgen/main.go | 1 + tools/nlcapgen/matrix_tcematch.go | 503 ++++++++++++++++++ tools/nlcapgen/matrix_tcematch_test.go | 195 +++++++ 1587 files changed, 24265 insertions(+), 1 deletion(-) create mode 100644 nix/microvms/workbench/tcematch.rows.jsonl create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-001/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-001/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-001/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-001/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-001/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-001/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-001/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-002/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-002/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-002/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-002/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-002/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-002/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-002/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-003/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-003/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-003/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-003/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-003/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-003/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-003/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-004/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-004/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-004/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-004/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-004/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-004/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-004/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-005/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-005/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-005/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-005/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-005/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-005/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-005/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-006/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-006/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-006/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-006/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-006/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-006/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-006/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-007/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-007/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-007/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-007/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-007/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-007/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-007/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-008/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-008/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-008/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-008/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-008/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-008/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-008/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-009/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-009/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-009/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-009/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-009/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-009/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-009/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-010/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-010/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-010/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-010/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-010/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-010/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-010/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-011/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-011/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-011/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-011/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-011/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-011/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-011/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-012/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-012/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-012/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-012/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-012/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-012/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-012/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-013/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-013/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-013/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-013/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-013/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-013/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-013/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-014/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-014/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-014/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-014/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-014/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-014/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-014/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-015/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-015/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-015/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-015/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-015/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-015/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-015/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-016/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-016/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-016/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-016/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-016/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-016/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-016/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-017/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-017/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-017/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-017/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-017/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-017/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-017/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-018/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-018/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-018/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-018/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-018/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-018/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-018/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-019/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-019/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-019/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-019/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-019/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-019/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-019/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-020/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-020/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-020/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-020/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-020/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-020/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-020/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-021/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-021/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-021/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-021/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-021/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-021/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-021/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-022/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-022/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-022/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-022/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-022/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-022/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-022/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-023/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-023/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-023/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-023/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-023/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-023/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-023/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-024/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-024/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-024/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-024/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-024/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-024/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-024/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-025/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-025/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-025/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-025/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-025/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-025/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-025/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-026/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-026/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-026/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-026/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-026/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-026/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-026/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-027/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-027/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-027/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-027/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-027/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-027/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-027/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-028/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-028/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-028/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-028/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-028/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-028/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-028/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-029/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-029/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-029/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-029/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-029/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-029/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-029/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-030/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-030/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-030/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-030/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-030/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-030/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-030/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-031/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-031/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-031/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-031/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-031/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-031/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-031/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-032/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-032/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-032/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-032/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-032/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-032/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-032/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-033/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-033/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-033/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-033/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-033/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-033/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-033/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-034/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-034/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-034/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-034/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-034/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-034/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-034/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-035/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-035/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-035/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-035/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-035/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-035/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-035/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-036/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-036/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-036/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-036/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-036/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-036/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-036/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-037/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-037/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-037/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-037/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-037/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-037/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-037/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-038/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-038/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-038/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-038/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-038/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-038/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-038/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-039/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-039/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-039/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-039/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-039/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-039/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-039/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-040/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-040/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-040/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-040/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-040/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-040/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-040/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-041/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-041/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-041/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-041/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-041/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-041/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-041/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-042/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-042/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-042/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-042/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-042/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-042/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-042/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-043/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-043/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-043/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-043/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-043/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-043/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-043/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-044/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-044/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-044/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-044/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-044/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-044/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-044/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-045/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-045/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-045/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-045/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-045/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-045/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-045/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-046/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-046/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-046/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-046/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-046/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-046/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-046/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-047/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-047/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-047/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-047/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-047/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-047/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-047/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-048/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-048/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-048/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-048/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-048/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-048/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-048/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-049/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-049/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-049/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-049/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-049/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-049/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-049/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-050/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-050/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-050/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-050/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-050/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-050/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-050/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-051/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-051/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-051/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-051/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-051/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-051/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-051/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-052/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-052/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-052/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-052/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-052/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-052/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-052/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-053/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-053/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-053/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-053/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-053/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-053/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-053/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-054/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-054/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-054/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-054/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-054/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-054/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-054/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-055/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-055/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-055/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-055/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-055/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-055/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-055/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-056/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-056/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-056/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-056/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-056/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-056/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-056/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-057/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-057/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-057/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-057/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-057/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-057/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-057/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-058/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-058/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-058/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-058/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-058/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-058/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-058/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-059/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-059/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-059/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-059/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-059/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-059/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-059/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-060/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-060/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-060/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-060/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-060/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-060/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-060/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-061/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-061/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-061/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-061/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-061/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-061/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-061/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-062/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-062/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-062/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-062/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-062/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-062/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-062/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-063/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-063/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-063/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-063/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-063/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-063/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-063/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-064/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-064/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-064/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-064/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-064/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-064/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-064/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-065/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-065/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-065/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-065/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-065/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-065/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-065/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-066/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-066/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-066/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-066/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-066/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-066/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-066/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-067/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-067/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-067/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-067/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-067/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-067/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-067/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-068/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-068/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-068/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-068/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-068/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-068/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-068/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-069/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-069/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-069/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-069/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-069/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-069/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-069/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-070/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-070/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-070/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-070/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-070/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-070/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-070/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-071/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-071/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-071/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-071/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-071/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-071/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-071/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-072/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-072/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-072/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-072/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-072/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-072/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-072/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-073/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-073/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-073/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-073/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-073/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-073/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-073/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-074/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-074/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-074/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-074/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-074/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-074/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-074/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-075/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-075/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-075/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-075/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-075/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-075/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-075/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-076/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-076/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-076/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-076/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-076/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-076/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-076/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-077/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-077/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-077/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-077/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-077/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-077/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-077/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-078/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-078/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-078/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-078/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-078/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-078/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-078/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-079/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-079/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-079/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-079/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-079/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-079/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-079/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-080/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-080/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-080/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-080/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-080/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-080/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-080/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-081/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-081/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-081/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-081/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-081/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-081/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-081/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-082/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-082/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-082/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-082/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-082/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-082/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-082/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-083/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-083/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-083/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-083/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-083/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-083/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-083/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-084/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-084/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-084/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-084/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-084/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-084/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-084/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-085/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-085/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-085/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-085/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-085/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-085/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-085/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-086/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-086/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-086/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-086/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-086/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-086/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-086/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-087/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-087/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-087/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-087/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-087/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-087/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-087/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-088/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-088/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-088/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-088/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-088/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-088/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-088/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-089/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-089/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-089/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-089/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-089/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-089/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-089/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-090/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-090/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-090/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-090/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-090/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-090/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-090/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-091/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-091/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-091/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-091/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-091/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-091/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-091/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-092/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-092/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-092/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-092/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-092/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-092/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-092/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-093/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-093/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-093/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-093/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-093/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-093/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-093/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-094/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-094/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-094/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-094/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-094/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-094/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-094/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-095/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-095/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-095/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-095/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-095/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-095/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-095/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-096/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-096/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-096/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-096/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-096/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-096/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-096/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-097/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-097/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-097/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-097/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-097/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-097/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-097/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-098/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-098/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-098/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-098/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-098/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-098/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-098/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-099/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-099/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-099/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-099/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-099/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-099/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-099/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-100/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-100/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-100/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-100/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-100/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-100/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-100/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-101/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-101/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-101/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-101/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-101/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-101/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-101/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-102/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-102/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-102/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-102/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-102/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-102/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-102/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-103/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-103/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-103/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-103/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-103/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-103/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-103/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-104/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-104/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-104/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-104/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-104/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-104/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-104/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-105/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-105/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-105/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-105/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-105/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-105/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-105/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-106/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-106/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-106/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-106/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-106/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-106/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-106/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-107/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-107/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-107/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-107/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-107/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-107/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-107/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-108/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-108/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-108/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-108/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-108/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-108/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-108/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-109/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-109/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-109/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-109/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-109/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-109/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-109/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-110/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-110/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-110/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-110/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-110/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-110/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-110/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-111/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-111/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-111/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-111/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-111/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-111/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-111/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-112/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-112/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-112/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-112/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-112/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-112/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-112/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-113/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-113/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-113/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-113/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-113/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-113/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-113/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-114/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-114/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-114/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-114/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-114/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-114/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-114/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-115/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-115/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-115/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-115/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-115/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-115/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-115/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-116/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-116/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-116/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-116/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-116/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-116/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-116/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-117/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-117/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-117/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-117/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-117/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-117/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-117/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-118/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-118/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-118/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-118/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-118/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-118/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-118/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-119/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-119/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-119/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-119/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-119/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-119/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-119/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-120/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-120/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-120/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-120/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-120/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-120/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-120/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-121/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-121/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-121/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-121/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-121/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-121/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-121/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-122/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-122/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-122/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-122/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-122/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-122/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-122/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-123/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-123/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-123/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-123/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-123/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-123/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-123/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-124/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-124/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-124/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-124/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-124/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-124/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-124/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-125/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-125/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-125/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-125/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-125/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-125/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-125/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-126/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-126/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-126/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-126/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-126/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-126/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-126/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-127/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-127/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-127/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-127/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-127/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-127/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-127/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-128/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-128/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-128/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-128/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-128/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-128/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-128/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-129/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-129/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-129/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-129/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-129/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-129/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-129/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-130/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-130/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-130/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-130/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-130/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-130/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-130/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-131/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-131/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-131/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-131/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-131/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-131/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-131/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-132/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-132/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-132/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-132/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-132/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-132/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-132/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-133/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-133/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-133/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-133/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-133/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-133/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-133/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-134/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-134/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-134/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-134/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-134/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-134/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-134/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-135/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-135/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-135/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-135/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-135/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-135/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-135/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-136/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-136/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-136/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-136/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-136/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-136/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-136/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-137/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-137/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-137/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-137/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-137/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-137/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-137/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-138/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-138/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-138/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-138/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-138/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-138/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-138/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-139/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-139/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-139/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-139/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-139/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-139/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-139/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-140/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-140/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-140/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-140/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-140/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-140/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-140/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-141/b.txt create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-141/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-141/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-141/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-141/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-141/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-141/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-141/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-142/b.txt create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-142/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-142/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-142/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-142/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-142/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-142/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-142/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-143/b.txt create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-143/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-143/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-143/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-143/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-143/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-143/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-143/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-144/b.txt create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-144/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-144/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-144/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-144/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-144/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-144/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-144/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-001/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-001/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-001/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-001/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-001/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-002/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-002/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-002/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-002/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-002/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-003/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-003/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-003/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-003/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-003/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-004/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-004/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-004/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-004/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-004/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-005/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-005/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-005/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-005/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-005/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-006/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-006/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-006/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-006/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-006/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-007/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-007/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-007/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-007/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-007/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-008/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-008/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-008/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-008/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-008/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-009/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-009/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-009/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-009/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-009/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-010/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-010/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-010/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-010/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-010/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-011/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-011/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-011/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-011/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-011/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-012/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-012/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-012/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-012/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-012/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-013/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-013/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-013/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-013/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-013/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-014/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-014/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-014/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-014/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-014/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-015/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-015/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-015/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-015/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-015/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-016/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-016/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-016/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-016/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-016/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-017/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-017/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-017/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-017/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-017/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-018/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-018/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-018/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-018/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-018/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-019/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-019/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-019/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-019/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-019/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-020/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-020/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-020/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-020/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-020/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-021/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-021/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-021/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-021/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-021/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-022/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-022/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-022/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-022/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-022/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-023/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-023/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-023/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-023/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-023/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-024/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-024/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-024/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-024/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-024/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-025/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-025/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-025/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-025/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-025/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-026/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-026/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-026/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-026/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-026/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-027/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-027/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-027/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-027/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-027/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-028/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-028/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-028/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-028/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-028/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-029/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-029/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-029/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-029/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-029/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-030/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-030/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-030/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-030/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-030/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-031/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-031/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-031/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-031/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-031/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-032/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-032/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-032/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-032/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-032/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-033/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-033/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-033/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-033/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-033/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-034/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-034/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-034/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-034/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-034/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-035/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-035/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-035/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-035/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-035/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-036/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-036/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-036/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-036/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-036/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-037/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-037/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-037/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-037/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-037/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-038/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-038/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-038/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-038/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-038/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-039/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-039/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-039/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-039/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-039/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-040/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-040/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-040/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-040/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-040/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-041/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-041/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-041/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-041/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-041/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-042/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-042/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-042/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-042/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-042/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-043/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-043/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-043/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-043/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-043/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-044/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-044/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-044/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-044/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-044/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-045/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-045/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-045/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-045/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-045/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-046/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-046/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-046/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-046/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-046/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-047/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-047/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-047/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-047/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-047/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-048/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-048/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-048/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-048/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-048/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-049/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-049/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-049/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-049/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-049/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-050/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-050/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-050/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-050/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-050/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-051/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-051/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-051/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-051/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-051/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-052/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-052/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-052/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-052/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-052/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-053/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-053/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-053/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-053/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-053/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-054/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-054/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-054/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-054/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-054/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-055/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-055/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-055/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-055/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-055/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-056/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-056/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-056/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-056/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-056/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-057/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-057/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-057/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-057/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-057/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-058/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-058/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-058/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-058/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-058/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-059/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-059/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-059/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-059/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-059/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-060/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-060/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-060/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-060/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-060/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-061/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-061/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-061/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-061/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-061/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-062/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-062/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-062/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-062/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-062/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-063/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-063/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-063/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-063/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-063/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-064/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-064/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-064/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-064/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-064/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-065/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-065/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-065/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-065/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-065/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-066/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-066/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-066/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-066/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-066/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-067/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-067/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-067/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-067/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-067/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-068/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-068/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-068/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-068/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-068/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-069/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-069/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-069/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-069/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-069/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-070/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-070/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-070/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-070/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-070/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-071/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-071/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-071/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-071/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-071/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-072/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-072/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-072/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-072/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-072/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-073/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-073/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-073/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-073/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-073/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-074/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-074/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-074/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-074/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-074/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-075/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-075/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-075/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-075/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-075/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-076/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-076/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-076/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-076/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-076/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-077/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-077/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-077/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-077/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-077/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-078/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-078/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-078/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-078/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-078/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-079/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-079/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-079/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-079/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-079/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-080/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-080/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-080/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-080/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-080/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-081/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-081/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-081/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-081/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-081/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-082/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-082/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-082/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-082/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-082/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-083/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-083/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-083/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-083/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-083/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-084/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-084/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-084/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-084/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-084/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-085/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-085/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-085/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-085/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-085/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-086/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-086/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-086/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-086/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-086/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-087/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-087/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-087/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-087/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-087/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-088/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-088/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-088/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-088/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-088/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-089/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-089/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-089/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-089/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-089/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-090/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-090/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-090/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-090/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-090/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-091/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-091/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-091/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-091/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-091/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-092/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-092/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-092/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-092/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-092/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-093/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-093/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-093/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-093/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-093/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-094/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-094/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-094/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-094/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-094/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-095/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-095/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-095/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-095/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-095/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-096/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-096/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-096/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-096/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-096/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-097/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-097/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-097/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-097/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-097/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-098/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-098/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-098/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-098/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-098/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-099/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-099/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-099/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-099/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-099/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-100/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-100/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-100/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-100/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-100/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-101/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-101/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-101/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-101/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-101/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-102/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-102/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-102/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-102/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-102/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-103/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-103/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-103/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-103/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-103/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-104/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-104/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-104/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-104/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-104/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-105/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-105/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-105/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-105/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-105/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-106/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-106/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-106/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-106/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-106/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-107/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-107/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-107/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-107/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-107/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-108/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-108/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-108/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-108/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-108/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-109/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-109/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-109/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-109/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-109/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-110/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-110/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-110/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-110/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-110/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-111/b.txt create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-111/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-111/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-111/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-111/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-111/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-112/b.txt create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-112/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-112/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-112/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-112/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-112/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-113/b.txt create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-113/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-113/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-113/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-113/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-113/ip.rc create mode 100644 tools/nlcapgen/matrix_tcematch.go create mode 100644 tools/nlcapgen/matrix_tcematch_test.go diff --git a/docs/netlink/gotc-status.md b/docs/netlink/gotc-status.md index 6684eacb0..ab20fc437 100644 --- a/docs/netlink/gotc-status.md +++ b/docs/netlink/gotc-status.md @@ -276,6 +276,13 @@ increment 21; branch `gotc/fwrite`; plan leads W64+, K49+). Dry-run, as in 17. byte for byte (one named ifindex exception), and stdout, stderr and rc wherever tc stops before the kernel, apart from the nine refusals by name (V054). +**Increment 21: ematch writes** (`tc filter add|change|replace|delete` of basic and cgroup, and flow's `match`, with +tc's ematch grammar and the cmp, nbyte, u32, meta and canid modules; ipset, ipt and police stay refused by name; branch +`gotc/ematch`; plan leads W123+, K56+). Dry-run, as in 17. + +- **21C (captures): done.** `tcematch`: 257 rows (144 writes, 113 refusals), each write with a `filter show` readback. + Two batches on one boot agree on every row (V055). + ## Ledger | id | task | what was verified | @@ -343,6 +350,7 @@ increment 21; branch `gotc/fwrite`; plan leads W64+, K49+). Dry-run, as in 17. | V052 | 20P | **Write gate:** `IsAdmittedWriteType` admits RTM_NEWTFILTER, RTM_DELTFILTER, RTM_NEWCHAIN and RTM_DELCHAIN (tc_filter.c:752-803); `TestTcWriteAdmitted`'s "not yet" rows flipped, with RTM_GETTFILTER and RTM_GETCHAIN as the negatives. **Builder** (`xtcpnl_tc_write.go`, gotc_write): `TcWrite` gains `Chain`/`ChainSet`; `IsTcFilterWrite`; `putFilterFrame` writes TCA_CHAIN when set, TCA_KIND when not empty (W64), the Opts, then TCA_RATE; a filter's room is MAX_MSG (`TcFilterWriteBufCst`, 16384) less the nlmsghdr and tcmsg. **Encoders** (`xtcpnl_tc_fencode.go`, untagged, cited to pkt_cls.h and tc_act/tc_gact.h at v7.4-rc4): `Append` on `TcU32Key` (mask and val big-endian), `TcU32Sel` with its keys, `TcU32Mark`, `TcGact` and `TcGactP`. `TestTcFencodeRoundTrip` (8 rows, 128 keys at the boundary, each one byte short) and `TestTcGactAppend` (through `ParseTcGact`). **`TestBuildTcFilterWrite`** (gotc_write, 14 rows) against tcfwrite captures: u32's merged keys and TERMINAL (ec-002) and a hash table (ec-013), fw's MASK before an action (ec-024) and an estimator's RATE after the options (ec-027), route's argv order and computed handle (ec-031), flow's MODE last (ec-039), matchall's FLAGS after the action (ec-049), gact's COOKIE and HW_STATS (ec-067, ec-069), chain add (ec-073), a block filter's tcmsg (ec-075), TCA_CHAIN before TCA_KIND (ec-076), a delete with no kind (ec-052), and route's attributes reordered, which must differ. `TestBuildTcFilterWriteRefusals`: the GETs, the MAX_MSG room exactly and four bytes past it (W97's rule), an empty kind. **Allocations:** 2 per matchall-with-gact request (`TestBuildTcFilterWriteAllocs`); `BenchmarkBuildTcFilterWrite` 15.5 µs, 2 allocs. netlink-audit and kernel-citation-audit pass. | | V053 | 20W | **Writes** (`internal/gotc`, gotc_write): `fwrite.go` is tc_filter_modify (the verbs' flags: add EXCL\|CREATE, change 0, replace CREATE alone, delete DELTFILTER, chain add NEWCHAIN EXCL\|CREATE and delete DELCHAIN; ETH_P_ALL only for NEWTFILTER with CREATE; filter.go's shared words in tc_filter_get's form, then estimator and help; the device looked up before parse_fopt (W70), ll_init_map without one; a block over the parent (W67); `We have an error talking to the kernel` after a kernel error), with `fops` recording each parse_fopt's addattr calls in order, their maxlen checked when replayed (W97 refused). `fw_simple.go` (fw, route, matchall, and rtnl_rtrealm_a2n with its one-entry cache, W122), `fw_flow.go`, `fw_u32.go` (every selector, pack_key, offset, hashkey, sample, ht, link, order), `act_parse.go` (parse_action, action_a2n, parse_action_control, parse_gact with CONFIG_GACT_PROB), `inet.go` (get_prefix_1, get_addr_1, get_netmask). `fwrite_off.go` keeps the untagged build's refusal. Each follows its C at v7.2.0, leads included: W64–W96, W98–W109, W111–W122. Refused by name: `police` in any kind, every action but gact, the basic, cgroup, flower and bpf kinds, flow's `match`, and W110 (tc prints an uninitialised `tc_gact_p`). W81's `success` is sent as zero; ec-012's capture happened to hold zero there too. `getU32Handle` now narrows each field to 32 bits before its range test (W76), on the get path too. **Corpus:** `TestGotcCorpus` replays `tcfwrite` (183 rows; 9 refused by name, in `corpusRefused`); tcfilter ng-024 and tcflower ng-009 now answer as tc does (`Cannot find device`, rc 1); 1524 tc rows pass with gotc_write, 942 without. `corpusRow` splits a row's command with `shellWords`, which now takes double quotes too. **tdc:** new `TestGotcTdcFilterWrites` splits rows as sh would (the basic and cgroup ematches are quoted) and pins 134 exact matches and the refusals by name (basic 60, cgroup 55, bpf 4, flower 2, flow match 1, and 46 non-gact actions); `tdcWritesSent` stays 409. **Tests:** `TestGotcFilterWrite` (35 rows: each kind and verb, chain add, delete with no kind, the refusals, the ETH_P_ALL default, pref 0xffff and 0x10000, offset plus 70000, route order 200, W64, W67, W78, W81, W82, W91, W102, W103, W104, W110, W111, W112, W114, W116). **Lint:** the comprehensive config's goconst findings fixed with shared word constants (`util.go`) and route's loop split out (funlen); both configs report 0 issues on gotc, xtcpnl and nlcapgen with gotc_write. **Mutants:** 8 of 8 killed, each under `systemd-run --user --scope -q -p MemoryMax=6G` with `-timeout=180s`: pack_key16 shifting every offset, offset plus range-checked, the ht check testing ht, the addend test using key bits, the cookie reset per action, ETH_P_ALL on change, replace sending REPLACE, and route's order masked with 0xFF00. **Coverage:** `internal/gotc` 84.1% with gotc_write. | | V054 | 20L | **Live diff** on the workbench (kernel 7.3.1, tc 7.2.0 `/nix/store/x1pwsbz5cm23hk58b7fcpn3hhg9j7gwh-iproute2-7.2.0`). gotc was built with `-tags gotc_write` at 20W (`/nix/store/qk9dyfv0kl2l5fv68jcn1qlmiad7x9s6-gotc-write-20l`), with `GOTC_CONF_USR_DIR` and `TC_LIB_DIR` set to tc's. V049's method: each row of `tcfwrite.rows.jsonl` runs its pre steps in a fresh named namespace, then gotc with `GOTC_WRITE_OUT`, then tc; requests (RTM_NEW/DELTFILTER, RTM_NEW/DELCHAIN) are compared with tc's from the corpus pcaps, seq, pid and the tcmsg ifindex zeroed (gotc saw ifindexes 0, 1, 2, 3 and the block's ffffffff). **Result: 173/183 identical**, 22 of them rows where the request is identical and only tc hears the kernel's refusal. **Named exceptions:** the nine refusals by name (ec-111..118: police, mirred, basic, cgroup, flower, bpf, flow `match`; ng-033: W110), and ec-032, `route fromif d0`, whose request differs only in d0's ifindex inside TCA_ROUTE4_IIF and in the handle tc computes from it (3 in the capture's namespace, which holds nlmon0; 2 live). **tc against the corpus:** stdout, stderr and rc match `ws/tcfwrite` on all 183 rows. **VM:** pre-checked (`free -g`: 64G available; port 12061 free; no workbench process), booted from off with `up`; the baseline was 86 modules, no namespace, no core files. After the captures and the live run, `modprobe -r` of the 15 sch_/cls_/act_/em_ modules left lsmod at 91 (as after 19C), so the VM was powered off with `down`; port 12061 free, no workbench process. No namespace was left, there were no core files, and `/tmp/t20l` was removed by the script. | +| V055 | 21C | **Captures**: `tools/nlcapgen/matrix_tcematch.go` (`tcematch`, 257 rows: 144 writes and 113 refusals, on 20C's fixture: d0 with clsact, d1 with an htb root, two classes and ingress block 10), corpus `pkg/xtcpnl/testdata/7_3_1/ws/tcematch/`. Rows: basic's add, change, replace and delete (and in block 10, on htb, in chain 7); cgroup's add, replace and delete-by-prio, with its change, delete-by-handle, second handle and missing handle refused by the kernel (ENOENT, ENOENT, ENOENT, EINVAL: K2's one filter per prio); flow's `match` in hash and map modes, change and replace. The grammar: AND, OR and NOT in any case, nesting (the flatten order), a tree over several words, tokens with no spaces, a second `match`, empty words, quoted kinds, and 12 Parse error forms. Every cmp, nbyte, u32, meta and canid keyword and error message, one meta match per id, and every escape. Rows for W123–W155 except W143 (the map files; no capture) and W153/W154 (ipt's hook and optind: tc aborts first, W152), plus F25, W95 and W97. W127's hang (a first tree word of 8191 bytes) and W128's container case can't end in a capture, so gotc's tests pin them, and `TestTcEmatchSpace` keeps such a word out of every row. Three rows crash tc in the guest: W123's escape-then-run (SIGABRT, rc 134), W124's realloc (SIGSEGV, 139) and W152's ipt (SIGABRT). Every expected rc was first checked on the host tc 7.2.0 under `unshare -rn`, with `strace -e inject=sendmsg` for the rows whose em module the host hasn't loaded (nbyte, meta, canid, ipset). The workbench then disagreed on two rows: a cgroup change in a batch (ENOENT; made a replace) and `meta("a" eq "b")` (accepted; made a write). Four rows' `expect` (refused_by for the crashes, ENOTSUP for W125) were corrected in the rows file and copied into their `cmd.json`; the captures are unchanged. **Kernel:** 7.3.1's tcf_em_tree_dump ignores nla_put_nohdr's failure, so W136's 4095-byte needle is dumped with its header alone and tc prints `NByte header size mismatch` (K56; fixed by v7.4-rc1's 528de6832b21). `TestWsTcFilterKinds` accepts such a match. W151's refusal echoes its 16 KiB request with no extended ack, so it's now `ParseNlMsgErr`'s largest pick (0 allocations). **Batches:** two on one boot, 257/257 each, identical with pcaps excluded, and the pcaps' requests identical with seq and pid masked (only the readbacks' action timestamps differ). **Test:** `TestTcEmatchSpace` (row count 257, each grammar form, module keyword and lead, the verbs, no hanging word, determinism). **VM:** pre-checked (`free -g`: 60G available; port 12061 free; no workbench process), booted from off; no core files at boot; the nine tc cores from the three crashing rows were removed, then the VM was powered off with `down`. | | DOC009 | 16B | **Write-up:** `docs/netlink/upstream/iproute2-tc-aqm.md`: status header, reachability, contents, 24 summary rows, six sections, and K32–K43. Not submitted to netdev. **At HEAD** (GitHub mirror, `5d13122576d6`, 2026-11-26): none of the thirteen printers, `tc_red.c`, `tc_qevent.c` or `tc_qdisc.c` has a commit since v7.2.0, so all are present. **Confirmed in the corpus:** Q66 (ec-007), Q73 (ec-021, pw-021), Q79 (ec-038), Q80/Q81 (pw-035, ec-040, pw-040, pw-042), Q83 (pw-052), Q84 (pw-052, ec-055, pw-055), Q86 (ec-053), Q87 (ec-001, pw-005). **Latent, with unit rows:** Q67–Q72, Q74–Q78, Q82, Q85, Q88, Q89. **Dropped:** none. **New leads:** Q88 (gred_parse_vqs's plain parse_rtattr misses a VQ_ENTRY flagged NLA_F_NESTED), Q89 (an unknown dualpi2 ECN mask warns twice and prints an empty word). **Kernel notes:** K32–K42 confirmed at v7.4-rc4, refined: red's qevents only when bound; idle cake MIN_NETLEN 65535; cake_mq no dump_stats; plug no .dump; skbprio 64 classes; dualpi2 rejects both step_thresh forms (sch_dualpi2.c:812). **K43 (new):** codel times lose 1 µs (target 4ms dumps 3999, pw-024). **Unit rows:** TestGotcAqm adds Q88 (44 rows). **Bug classes:** none new; Q88 and Q89 fit C3/C15 and C10. | | DOC010 | 17B | **Write-up:** `docs/netlink/upstream/iproute2-tc-write.md`: status header, reachability, contents, 25 summary rows, eight sections, K44–K45. Not submitted to netdev. **At HEAD** (GitHub mirror, `35033e4713fe`, 2026-11-27): no tc file in scope has a commit since v7.2.0; `lib/utils.c`'s one (`552d9842b1f4`, resolve_address's cache) touches none of it, so all are present. **Confirmed in the corpus:** W1 (ec-088, ec-099), W2 (ec-079, ng-011), W3 (ec-089), W4 (ng-004, ng-005, ng-019), W9 (ng-013), W17 (ec-092), W22 (ec-062). **Latent, with unit rows:** W5, W6, W8, W10–W16, W18–W21, W23–W25. **Dropped:** W7. **Kernel notes:** K44 (each verb's errno and extack, ng-001–003, 007, 014, 020–025), K45 (extack errors and warnings printed in place of RTNETLINK answers). **Bug classes:** candidates for the user: a wrong option named in a copied error message (W15, W20) and a divide by a user-given zero (W21). | | V033 | 16C | **Captures** `tcaqm`: `tools/nlcapgen/matrix_tcaqm.go` (+ `TestTcAqmSpace`), rows in `nix/microvms/workbench/tcaqm.rows.jsonl`, corpus in `pkg/xtcpnl/testdata/7_3_1/ws/tcaqm/` (132 rows, 2.7M). Modules: sch_cake (with cake_mq), sch_choke, sch_codel, sch_dualpi2, sch_fq_pie, sch_gred, sch_hhf, sch_pie, sch_plug, sch_red, sch_sfb, sch_skbprio. **Fixtures (26):** red default and `ecn harddrop adaptive qevent early_drop block 10`; choke with ecn; gred `setup vqs 4 default 0 grio` with VQs 0 and 1 changed in, and gred with no VQ configured; sfb default and `rehash 5000000 db 5000000` (Q73); codel, pie, fq_pie and hhf defaults plus an option variant each; cake default, plus four variants covering every diffserv mode, the flow modes, nat/wash/ingress, both ack-filters, no-split-gso, rtt, atm overhead mpu, memlimit, fwmark 0xff, autorate-ingress and docsis; cake_mq on a four-queue dummy; dualpi2 default, step_thresh in packets with drop_enqueue/drop_on_overload/any_ect/no_split_gso, and step_thresh in time; plug; skbprio (with `class show`). Each gets `qdisc show` plus `-s`/`-d`/`-o` forms; batches: cake `-s` qdisc/class/qdisc and red `-d` twice. **Refusals:** ng-001 cake_mq under plug (ENOTSUP, "Parent qdisc is not classful"), ng-002 cake_mq autorate-ingress (ENOTSUP, K39), ng-003 gred change over plug (EINVAL), ng-004 `show dev nosuch` (rc 1). **Notes:** batch lines take no options, so the batches pass `-s`/`-d` on tc's own command line; hhf's `admit_bytes 64Kb` is not accepted, so the fixture uses 65536. Q66 is confirmed live (`Scell_log 15qevent early_drop block 10`), and Q73 (sfb prints `rehash 705s`), Q80, Q81, Q83 and Q84 show in the captures. misspell flags dualpi2's `any_ect`; a scoped exclusion in both golangci configs covers the tcaqm and dualpi2 files. **Gate:** two batches on one boot, 132/132 OK, stdout, stderr and rc identical; `TestTcAqmSpace` pins 132 rows, 26 fixtures and 21 cases; no row sends packets. | diff --git a/nix/microvms/workbench/tcematch.rows.jsonl b/nix/microvms/workbench/tcematch.rows.jsonl new file mode 100644 index 000000000..e08cf3424 --- /dev/null +++ b/nix/microvms/workbench/tcematch.rows.jsonl @@ -0,0 +1,260 @@ +# Generated by `nlcapgen matrix -family tcematch -seed 1 -random 0`. +# Do not edit; regenerate. tools/nlcapgen/matrix.go explains the strategies. +# 257 rows. +{"id":"tcematch/ec-001","desc":"positive: opt=plain cmd=g-and:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1)_and_cmp(u8_at_1_eq_2)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1) and cmp(u8 at 1 eq 2)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"g-and","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1) and cmp(u8 at 1 eq 2)' classid 1:1"}} +{"id":"tcematch/ec-002","desc":"positive: opt=plain cmd=g-or:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1)_or_cmp(u8_at_1_eq_2)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1) or cmp(u8 at 1 eq 2)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"g-or","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1) or cmp(u8 at 1 eq 2)' classid 1:1"}} +{"id":"tcematch/ec-003","desc":"positive: opt=plain cmd=g-not:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'not_cmp(u8_at_0_eq_1)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'not cmp(u8 at 0 eq 1)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"g-not","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'not cmp(u8 at 0 eq 1)' classid 1:1"}} +{"id":"tcematch/ec-004","desc":"positive: opt=plain cmd=g-case:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1)_AND_cmp(u8_at_1_eq_2)_oR_NoT_cmp(u8_at_2_eq_3)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1) AND cmp(u8 at 1 eq 2) oR NoT cmp(u8 at 2 eq 3)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"g-case","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1) AND cmp(u8 at 1 eq 2) oR NoT cmp(u8 at 2 eq 3)' classid 1:1"}} +{"id":"tcematch/ec-005","desc":"positive: opt=plain cmd=g-chain:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1)_and_cmp(u8_at_1_eq_2)_or_cmp(u8_at_2_eq_3)_and_not_cmp(u8_at_3_eq_4)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1) and cmp(u8 at 1 eq 2) or cmp(u8 at 2 eq 3) and not cmp(u8 at 3 eq 4)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"g-chain","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1) and cmp(u8 at 1 eq 2) or cmp(u8 at 2 eq 3) and not cmp(u8 at 3 eq 4)' classid 1:1"}} +{"id":"tcematch/ec-006","desc":"positive: opt=plain cmd=g-nest:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1)_and_(cmp(u8_at_1_eq_2)_or_not_(cmp(u8_at_2_eq_3)))_and_(cmp(u8_at_3_eq_4))'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1) and (cmp(u8 at 1 eq 2) or not (cmp(u8 at 2 eq 3))) and (cmp(u8 at 3 eq 4))' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"g-nest","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1) and (cmp(u8 at 1 eq 2) or not (cmp(u8 at 2 eq 3))) and (cmp(u8 at 3 eq 4))' classid 1:1"}} +{"id":"tcematch/ec-007","desc":"positive: opt=plain cmd=g-deep:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'((((cmp(u8_at_0_eq_1)))))'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match '((((cmp(u8 at 0 eq 1)))))' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"g-deep","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match '((((cmp(u8 at 0 eq 1)))))' classid 1:1"}} +{"id":"tcematch/ec-008","desc":"positive: opt=plain cmd=g-first:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'(cmp(u8_at_0_eq_1)_or_cmp(u8_at_1_eq_2))_and_cmp(u8_at_2_eq_3)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match '(cmp(u8 at 0 eq 1) or cmp(u8 at 1 eq 2)) and cmp(u8 at 2 eq 3)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"g-first","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match '(cmp(u8 at 0 eq 1) or cmp(u8 at 1 eq 2)) and cmp(u8 at 2 eq 3)' classid 1:1"}} +{"id":"tcematch/ec-009","desc":"positive: opt=plain cmd=g-notnest:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'not_(cmp(u8_at_0_eq_1)_and_cmp(u8_at_1_eq_2))'_action_pass","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'not (cmp(u8 at 0 eq 1) and cmp(u8 at 1 eq 2))' action pass","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"g-notnest","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'not (cmp(u8 at 0 eq 1) and cmp(u8 at 1 eq 2))' action pass"}} +{"id":"tcematch/ec-010","desc":"positive: opt=plain cmd=g-tight:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1)and(cmp(u8_at_1_eq_2))or(not(cmp(u8_at_2_eq_3)))'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)and(cmp(u8 at 1 eq 2))or(not(cmp(u8 at 2 eq 3)))' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"g-tight","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)and(cmp(u8 at 1 eq 2))or(not(cmp(u8 at 2 eq 3)))' classid 1:1"}} +{"id":"tcematch/ec-011","desc":"positive: opt=plain cmd=g-space:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'__(_cmp_(_u8_at_0_eq_1_)_)__'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match ' ( cmp ( u8 at 0 eq 1 ) ) ' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"g-space","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match ' ( cmp ( u8 at 0 eq 1 ) ) ' classid 1:1"}} +{"id":"tcematch/ec-012","desc":"positive: opt=plain cmd=g-words:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8'_at_0_eq_'1)'_and_not_'cmp(u8'_at_1_eq_'2)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8' at 0 eq '1)' and not 'cmp(u8' at 1 eq '2)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"g-words","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8' at 0 eq '1)' and not 'cmp(u8' at 1 eq '2)' classid 1:1"}} +{"id":"tcematch/ec-013","desc":"positive: opt=plain cmd=g-words2:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'('_'cmp(u8'_at_0_eq_'1)'_or_'cmp(u8'_at_1_eq_'2)'_')'_action_pass","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match '(' 'cmp(u8' at 0 eq '1)' or 'cmp(u8' at 1 eq '2)' ')' action pass","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"g-words2","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match '(' 'cmp(u8' at 0 eq '1)' or 'cmp(u8' at 1 eq '2)' ')' action pass"}} +{"id":"tcematch/ec-014","desc":"corner: opt=plain cmd=g-two:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1)'_match_'cmp(u8_at_1_eq_2)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' match 'cmp(u8 at 1 eq 2)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"g-two","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' match 'cmp(u8 at 1 eq 2)' classid 1:1"}} +{"id":"tcematch/ec-015","desc":"positive: opt=plain cmd=g-first-word:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_classid_1:1_match_'cmp(u8_at_0_eq_1)'_action_pass","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic classid 1:1 match 'cmp(u8 at 0 eq 1)' action pass","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"g-first-word","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic classid 1:1 match 'cmp(u8 at 0 eq 1)' action pass"}} +{"id":"tcematch/ec-016","desc":"positive: opt=plain cmd=g-flowid:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1)'_flowid_1:2","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' flowid 1:2","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"g-flowid","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' flowid 1:2"}} +{"id":"tcematch/ec-017","desc":"positive: opt=plain cmd=g-act:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1)'_action_drop_action_pass","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' action drop action pass","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"g-act","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' action drop action pass"}} +{"id":"tcematch/ec-018","desc":"positive: opt=plain cmd=g-actcls:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1)'_action_drop_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' action drop classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"g-actcls","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' action drop classid 1:1"}} +{"id":"tcematch/ec-019","desc":"corner: opt=plain cmd=g-prefix:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_m_'cmp(u8_at_0_eq_1)'_c_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic m 'cmp(u8 at 0 eq 1)' c 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"g-prefix","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic m 'cmp(u8 at 0 eq 1)' c 1:1"}} +{"id":"tcematch/ec-020","desc":"corner: opt=plain cmd=g-empty-word:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_\"\"_'cmp(u8_at_0_eq_1)'_\"\"_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match \"\" 'cmp(u8 at 0 eq 1)' \"\" classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"g-empty-word","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match \"\" 'cmp(u8 at 0 eq 1)' \"\" classid 1:1"}} +{"id":"tcematch/ec-021","desc":"corner: opt=plain cmd=g-quoted-kind:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'\"cmp\"(u8_at_0_eq_1)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match '\"cmp\"(u8 at 0 eq 1)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"g-quoted-kind","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match '\"cmp\"(u8 at 0 eq 1)' classid 1:1"}} +{"id":"tcematch/ec-022","desc":"corner: opt=plain cmd=g-mid-quote:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1\"2\")'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1\"2\")' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"g-mid-quote","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1\"2\")' classid 1:1"}} +{"id":"tcematch/ec-023","desc":"positive: opt=plain cmd=cmp-0:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_layer_1_eq_8)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 layer 1 eq 8)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"cmp-0","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 layer 1 eq 8)' classid 1:1"}} +{"id":"tcematch/ec-024","desc":"positive: opt=plain cmd=cmp-u16:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u16_at_2_layer_network_mask_0xff00_trans_gt_20)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u16 at 2 layer network mask 0xff00 trans gt 20)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"cmp-u16","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u16 at 2 layer network mask 0xff00 trans gt 20)' classid 1:1"}} +{"id":"tcematch/ec-025","desc":"positive: opt=plain cmd=cmp-u32:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u32_at_12_layer_transport_mask_0xffffffff_lt_0x10000)'_action_pass","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u32 at 12 layer transport mask 0xffffffff lt 0x10000)' action pass","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"cmp-u32","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u32 at 12 layer transport mask 0xffffffff lt 0x10000)' action pass"}} +{"id":"tcematch/ec-026","desc":"positive: opt=plain cmd=cmp-link:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_layer_link_eq_2)'_flowid_1:2","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 layer link eq 2)' flowid 1:2","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"cmp-link","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 layer link eq 2)' flowid 1:2"}} +{"id":"tcematch/ec-027","desc":"positive: opt=plain cmd=cmp-l0:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u16_at_12_layer_0_eq_0x0800)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u16 at 12 layer 0 eq 0x0800)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"cmp-l0","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u16 at 12 layer 0 eq 0x0800)' classid 1:1"}} +{"id":"tcematch/ec-028","desc":"positive: opt=plain cmd=cmp-l2:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_9_layer_2_trans_eq_6)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 9 layer 2 trans eq 6)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"cmp-l2","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 9 layer 2 trans eq 6)' classid 1:1"}} +{"id":"tcematch/ec-029","desc":"positive: opt=plain cmd=cmp-order:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_eq_1_at_3_trans_mask_0xf_layer_1)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 eq 1 at 3 trans mask 0xf layer 1)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"cmp-order","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 eq 1 at 3 trans mask 0xf layer 1)' classid 1:1"}} +{"id":"tcematch/ec-030","desc":"positive: opt=plain cmd=cmp-again:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_1_at_2_eq_3_eq_4)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 1 at 2 eq 3 eq 4)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"cmp-again","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 1 at 2 eq 3 eq 4)' classid 1:1"}} +{"id":"tcematch/ec-031","desc":"positive: opt=plain cmd=cmp-oct:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_010_eq_0x10)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 010 eq 0x10)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"cmp-oct","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 010 eq 0x10)' classid 1:1"}} +{"id":"tcematch/ec-032","desc":"positive: opt=plain cmd=nbyte-0:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(\"abc\"_at_0)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"abc\" at 0)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"nbyte-0","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"abc\" at 0)' classid 1:1"}} +{"id":"tcematch/ec-033","desc":"positive: opt=plain cmd=nbyte-bare:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(abc_at_4_layer_transport)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(abc at 4 layer transport)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"nbyte-bare","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(abc at 4 layer transport)' classid 1:1"}} +{"id":"tcematch/ec-034","desc":"positive: opt=plain cmd=nbyte-layer:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(\"ababa\"_at_12_layer_1)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"ababa\" at 12 layer 1)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"nbyte-layer","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"ababa\" at 12 layer 1)' classid 1:1"}} +{"id":"tcematch/ec-035","desc":"positive: opt=plain cmd=nbyte-esc:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(\"\\x41\\101\\n\\r\\t\\v\\b\\f\\a\\\\\\\"\\z\\x4\\7\"_at_0_layer_2)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"\\x41\\101\\n\\r\\t\\v\\b\\f\\a\\\\\\\"\\z\\x4\\7\" at 0 layer 2)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"nbyte-esc","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"\\x41\\101\\n\\r\\t\\v\\b\\f\\a\\\\\\\"\\z\\x4\\7\" at 0 layer 2)' classid 1:1"}} +{"id":"tcematch/ec-036","desc":"positive: opt=plain cmd=nbyte-oct:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(\"\\0\\00\\000\\377\"_at_0)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"\\0\\00\\000\\377\" at 0)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"nbyte-oct","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"\\0\\00\\000\\377\" at 0)' classid 1:1"}} +{"id":"tcematch/ec-037","desc":"positive: opt=plain cmd=nbyte-hex:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(\"\\xff\\x0\\xAb\\x7fz\"_at_0)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"\\xff\\x0\\xAb\\x7fz\" at 0)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"nbyte-hex","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"\\xff\\x0\\xAb\\x7fz\" at 0)' classid 1:1"}} +{"id":"tcematch/ec-038","desc":"positive: opt=plain cmd=nbyte-space:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(\"a_b__c\"_at_0)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"a b c\" at 0)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"nbyte-space","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"a b c\" at 0)' classid 1:1"}} +{"id":"tcematch/ec-039","desc":"positive: opt=plain cmd=nbyte-paren:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(\"(and)\"_at_0)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"(and)\" at 0)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"nbyte-paren","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"(and)\" at 0)' classid 1:1"}} +{"id":"tcematch/ec-040","desc":"positive: opt=plain cmd=nbyte-words:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(\"a'_'b\"'_at_'1)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"a' 'b\"' at '1)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"nbyte-words","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"a' 'b\"' at '1)' classid 1:1"}} +{"id":"tcematch/ec-041","desc":"positive: opt=plain cmd=u32-0:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u32_0x0a000001_0xffffffff_at_12)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u32 0x0a000001 0xffffffff at 12)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"u32-0","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u32 0x0a000001 0xffffffff at 12)' classid 1:1"}} +{"id":"tcematch/ec-042","desc":"positive: opt=plain cmd=u32-u16:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u16_0x1122_0xffff_at_2)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u16 0x1122 0xffff at 2)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"u32-u16","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u16 0x1122 0xffff at 2)' classid 1:1"}} +{"id":"tcematch/ec-043","desc":"positive: opt=plain cmd=u32-u16-0:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u16_0x1122_0xffff_at_4)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u16 0x1122 0xffff at 4)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"u32-u16-0","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u16 0x1122 0xffff at 4)' classid 1:1"}} +{"id":"tcematch/ec-044","desc":"positive: opt=plain cmd=u32-u8:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u8_0x11_0xff_at_3)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 0x11 0xff at 3)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"u32-u8","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 0x11 0xff at 3)' classid 1:1"}} +{"id":"tcematch/ec-045","desc":"positive: opt=plain cmd=u32-u8-0:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u8_0x11_0xf0_at_8)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 0x11 0xf0 at 8)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"u32-u8-0","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 0x11 0xf0 at 8)' classid 1:1"}} +{"id":"tcematch/ec-046","desc":"positive: opt=plain cmd=u32-nh:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u16_0x1122_0xffff_at_nexthdr+4)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u16 0x1122 0xffff at nexthdr+4)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"u32-nh","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u16 0x1122 0xffff at nexthdr+4)' classid 1:1"}} +{"id":"tcematch/ec-047","desc":"positive: opt=plain cmd=u32-nh8:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u8_6_0xff_at_nexthdr+9)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 6 0xff at nexthdr+9)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"u32-nh8","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 6 0xff at nexthdr+9)' classid 1:1"}} +{"id":"tcematch/ec-048","desc":"positive: opt=plain cmd=u32-mask:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u32_0xffffffff_0x0000ff00_at_0)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u32 0xffffffff 0x0000ff00 at 0)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"u32-mask","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u32 0xffffffff 0x0000ff00 at 0)' classid 1:1"}} +{"id":"tcematch/ec-049","desc":"positive: opt=plain cmd=meta-all:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(random_eq_0)_and_meta(loadavg_1_eq_1)_and_meta(loadavg_5_eq_2)_and_meta(loadavg_15_eq_3)_and_meta(priority_eq_4)_and_meta(protocol_eq_5)_and_meta(pkt_type_eq_6)_and_meta(pkt_len_eq_7)_and_meta(data_len_eq_8)_and_meta(mac_len_eq_9)_and_meta(nf_mark_eq_10)_and_meta(fwmark_eq_11)_and_meta(tc_index_eq_12)_and_meta(rt_classid_eq_13)_and_meta(rt_iif_eq_14)_and_meta(vlan_eq_15)_and_meta(sk_family_eq_16)_and_meta(sk_state_eq_17)_and_meta(sk_reuse_eq_18)_and_meta(sk_refcnt_eq_19)_and_meta(sk_shutdown_eq_20)_and_meta(sk_proto_eq_21)_and_meta(sk_type_eq_22)_and_meta(sk_rcvbuf_eq_23)_and_meta(sk_rmem_eq_24)_and_meta(sk_wmem_eq_25)_and_meta(sk_omem_eq_26)_and_meta(sk_wmem_queue_eq_27)_and_meta(sk_snd_queue_eq_28)_and_meta(sk_rcv_queue_eq_29)_and_meta(sk_err_queue_eq_30)_and_meta(sk_fwd_alloc_eq_31)_and_meta(sk_sndbuf_eq_32)_and_meta(dev_eq_33)_and_meta(sk_bind_if_eq_34)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(random eq 0) and meta(loadavg_1 eq 1) and meta(loadavg_5 eq 2) and meta(loadavg_15 eq 3) and meta(priority eq 4) and meta(protocol eq 5) and meta(pkt_type eq 6) and meta(pkt_len eq 7) and meta(data_len eq 8) and meta(mac_len eq 9) and meta(nf_mark eq 10) and meta(fwmark eq 11) and meta(tc_index eq 12) and meta(rt_classid eq 13) and meta(rt_iif eq 14) and meta(vlan eq 15) and meta(sk_family eq 16) and meta(sk_state eq 17) and meta(sk_reuse eq 18) and meta(sk_refcnt eq 19) and meta(sk_shutdown eq 20) and meta(sk_proto eq 21) and meta(sk_type eq 22) and meta(sk_rcvbuf eq 23) and meta(sk_rmem eq 24) and meta(sk_wmem eq 25) and meta(sk_omem eq 26) and meta(sk_wmem_queue eq 27) and meta(sk_snd_queue eq 28) and meta(sk_rcv_queue eq 29) and meta(sk_err_queue eq 30) and meta(sk_fwd_alloc eq 31) and meta(sk_sndbuf eq 32) and meta(dev eq 33) and meta(sk_bind_if eq 34)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"meta-all","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(random eq 0) and meta(loadavg_1 eq 1) and meta(loadavg_5 eq 2) and meta(loadavg_15 eq 3) and meta(priority eq 4) and meta(protocol eq 5) and meta(pkt_type eq 6) and meta(pkt_len eq 7) and meta(data_len eq 8) and meta(mac_len eq 9) and meta(nf_mark eq 10) and meta(fwmark eq 11) and meta(tc_index eq 12) and meta(rt_classid eq 13) and meta(rt_iif eq 14) and meta(vlan eq 15) and meta(sk_family eq 16) and meta(sk_state eq 17) and meta(sk_reuse eq 18) and meta(sk_refcnt eq 19) and meta(sk_shutdown eq 20) and meta(sk_proto eq 21) and meta(sk_type eq 22) and meta(sk_rcvbuf eq 23) and meta(sk_rmem eq 24) and meta(sk_wmem eq 25) and meta(sk_omem eq 26) and meta(sk_wmem_queue eq 27) and meta(sk_snd_queue eq 28) and meta(sk_rcv_queue eq 29) and meta(sk_err_queue eq 30) and meta(sk_fwd_alloc eq 31) and meta(sk_sndbuf eq 32) and meta(dev eq 33) and meta(sk_bind_if eq 34)' classid 1:1"}} +{"id":"tcematch/ec-050","desc":"positive: opt=plain cmd=meta-0:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(priority_eq_5)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority eq 5)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"meta-0","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority eq 5)' classid 1:1"}} +{"id":"tcematch/ec-051","desc":"positive: opt=plain cmd=meta-gt:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(nf_mark_gt_24)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(nf_mark gt 24)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"meta-gt","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(nf_mark gt 24)' classid 1:1"}} +{"id":"tcematch/ec-052","desc":"positive: opt=plain cmd=meta-mask:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(fwmark_mask_0xff_lt_3)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(fwmark mask 0xff lt 3)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"meta-mask","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(fwmark mask 0xff lt 3)' classid 1:1"}} +{"id":"tcematch/ec-053","desc":"positive: opt=plain cmd=meta-shift:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(priority_shift_1_mask_0xf0_eq_3)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority shift 1 mask 0xf0 eq 3)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"meta-shift","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority shift 1 mask 0xf0 eq 3)' classid 1:1"}} +{"id":"tcematch/ec-054","desc":"positive: opt=plain cmd=meta-var:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(\"d0\"_eq_dev)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(\"d0\" eq dev)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"meta-var","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(\"d0\" eq dev)' classid 1:1"}} +{"id":"tcematch/ec-055","desc":"positive: opt=plain cmd=meta-var-bind:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(\"d1\"_eq_sk_bind_if)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(\"d1\" eq sk_bind_if)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"meta-var-bind","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(\"d1\" eq sk_bind_if)' classid 1:1"}} +{"id":"tcematch/ec-056","desc":"positive: opt=plain cmd=meta-devint:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(dev_eq_2)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(dev eq 2)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"meta-devint","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(dev eq 2)' classid 1:1"}} +{"id":"tcematch/ec-057","desc":"positive: opt=plain cmd=meta-ids:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(priority_eq_nf_mark)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority eq nf_mark)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"meta-ids","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority eq nf_mark)' classid 1:1"}} +{"id":"tcematch/ec-058","desc":"positive: opt=plain cmd=meta-idmask:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(priority_mask_0xff_eq_tc_index_shift_2_mask_0xf)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority mask 0xff eq tc_index shift 2 mask 0xf)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"meta-idmask","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority mask 0xff eq tc_index shift 2 mask 0xf)' classid 1:1"}} +{"id":"tcematch/ec-059","desc":"positive: opt=plain cmd=meta-left:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(5_lt_priority)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(5 lt priority)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"meta-left","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(5 lt priority)' classid 1:1"}} +{"id":"tcematch/ec-060","desc":"positive: opt=plain cmd=meta-devs:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(dev_eq_sk_bind_if)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(dev eq sk_bind_if)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"meta-devs","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(dev eq sk_bind_if)' classid 1:1"}} +{"id":"tcematch/ec-061","desc":"positive: opt=plain cmd=meta-shift8:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(priority_shift_8_eq_1)'_action_pass","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority shift 8 eq 1)' action pass","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"meta-shift8","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority shift 8 eq 1)' action pass"}} +{"id":"tcematch/ec-062","desc":"positive: opt=plain cmd=canid-0:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'canid(sff_0x123_sff_0x124_sff_0x125:0xf)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'canid(sff 0x123 sff 0x124 sff 0x125:0xf)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"canid-0","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'canid(sff 0x123 sff 0x124 sff 0x125:0xf)' classid 1:1"}} +{"id":"tcematch/ec-063","desc":"positive: opt=plain cmd=canid-eff:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'canid(eff_0x1234567_eff_0x1:0x1fffffff)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'canid(eff 0x1234567 eff 0x1:0x1fffffff)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"canid-eff","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'canid(eff 0x1234567 eff 0x1:0x1fffffff)' classid 1:1"}} +{"id":"tcematch/ec-064","desc":"positive: opt=plain cmd=canid-mix:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'canid(sff_0x7ff:0x700_eff_0x12345678_sff_0)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'canid(sff 0x7ff:0x700 eff 0x12345678 sff 0)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"canid-mix","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'canid(sff 0x7ff:0x700 eff 0x12345678 sff 0)' classid 1:1"}} +{"id":"tcematch/ec-065","desc":"positive: opt=plain cmd=mixed:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1)_and_nbyte(\"ab\"_at_2)_or_u32(u8_1_0xff_at_3)_and_not_meta(priority_eq_1)_or_canid(sff_0x1)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1) and nbyte(\"ab\" at 2) or u32(u8 1 0xff at 3) and not meta(priority eq 1) or canid(sff 0x1)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"mixed","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1) and nbyte(\"ab\" at 2) or u32(u8 1 0xff at 3) and not meta(priority eq 1) or canid(sff 0x1)' classid 1:1"}} +{"id":"tcematch/ec-066","desc":"positive: opt=plain cmd=b-change:filter_change_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_2)'_classid_1:2","cmd":"tc filter change dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 2)' classid 1:2","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact","tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' classid 1:1"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"b-change","json":"0","words":"filter change dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 2)' classid 1:2"}} +{"id":"tcematch/ec-067","desc":"positive: opt=plain cmd=b-replace:filter_replace_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_2)'_classid_1:2","cmd":"tc filter replace dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 2)' classid 1:2","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact","tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' classid 1:1"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"b-replace","json":"0","words":"filter replace dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 2)' classid 1:2"}} +{"id":"tcematch/ec-068","desc":"positive: opt=plain cmd=b-del:filter_del_dev_d0_ingress_pref_1_protocol_all_handle_1_basic","cmd":"tc filter del dev d0 ingress pref 1 protocol all handle 1 basic","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact","tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' classid 1:1"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"b-del","json":"0","words":"filter del dev d0 ingress pref 1 protocol all handle 1 basic"}} +{"id":"tcematch/ec-069","desc":"positive: opt=plain cmd=b-delete:filter_delete_dev_d0_ingress_pref_1_protocol_all_handle_1_basic","cmd":"tc filter delete dev d0 ingress pref 1 protocol all handle 1 basic","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact","tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' classid 1:1"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"b-delete","json":"0","words":"filter delete dev d0 ingress pref 1 protocol all handle 1 basic"}} +{"id":"tcematch/ec-070","desc":"positive: opt=plain cmd=b-replace-new:filter_replace_dev_d0_ingress_pref_2_protocol_all_handle_2_basic_match_'cmp(u8_at_0_eq_2)'_classid_1:2","cmd":"tc filter replace dev d0 ingress pref 2 protocol all handle 2 basic match 'cmp(u8 at 0 eq 2)' classid 1:2","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact","tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' classid 1:1"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"b-replace-new","json":"0","words":"filter replace dev d0 ingress pref 2 protocol all handle 2 basic match 'cmp(u8 at 0 eq 2)' classid 1:2"}} +{"id":"tcematch/ec-071","desc":"positive: opt=plain cmd=b-nohandle:filter_add_dev_d0_ingress_pref_1_protocol_all_basic_match_'cmp(u8_at_0_eq_1)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all basic match 'cmp(u8 at 0 eq 1)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"b-nohandle","json":"0","words":"filter add dev d0 ingress pref 1 protocol all basic match 'cmp(u8 at 0 eq 1)' classid 1:1"}} +{"id":"tcematch/ec-072","desc":"positive: opt=plain cmd=b-cls:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"b-cls","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic classid 1:1"}} +{"id":"tcematch/ec-073","desc":"positive: opt=plain cmd=b-act:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_action_pass","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic action pass","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"b-act","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic action pass"}} +{"id":"tcematch/ec-074","desc":"positive: opt=plain cmd=b-block:filter_add_block_10_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1)'_classid_1:1","cmd":"tc filter add block 10 pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show block 10"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"b-block","json":"0","words":"filter add block 10 pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' classid 1:1"}} +{"id":"tcematch/ec-075","desc":"positive: opt=plain cmd=b-htb:filter_add_dev_d1_parent_1:_pref_2_protocol_ip_handle_2_basic_match_'u32(u8_6_0xff_at_9)'_classid_1:1","cmd":"tc filter add dev d1 parent 1: pref 2 protocol ip handle 2 basic match 'u32(u8 6 0xff at 9)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d1 parent 1:"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"b-htb","json":"0","words":"filter add dev d1 parent 1: pref 2 protocol ip handle 2 basic match 'u32(u8 6 0xff at 9)' classid 1:1"}} +{"id":"tcematch/ec-076","desc":"positive: opt=plain cmd=b-egress:filter_add_dev_d0_egress_pref_3_protocol_ip_handle_3_basic_match_'meta(priority_eq_1)'_action_drop","cmd":"tc filter add dev d0 egress pref 3 protocol ip handle 3 basic match 'meta(priority eq 1)' action drop","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 egress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"b-egress","json":"0","words":"filter add dev d0 egress pref 3 protocol ip handle 3 basic match 'meta(priority eq 1)' action drop"}} +{"id":"tcematch/ec-077","desc":"positive: opt=plain cmd=b-chain:filter_add_dev_d0_ingress_chain_7_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1)'_action_pass","cmd":"tc filter add dev d0 ingress chain 7 pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' action pass","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress chain 7"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"b-chain","json":"0","words":"filter add dev d0 ingress chain 7 pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' action pass"}} +{"id":"tcematch/ec-078","desc":"positive: opt=plain cmd=b-hex:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_0x10_basic_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 0x10 basic classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"b-hex","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 0x10 basic classid 1:1"}} +{"id":"tcematch/ec-079","desc":"positive: opt=plain cmd=c-0:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_cgroup_action_pass","cmd":"tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup action pass","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 egress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"c-0","json":"0","words":"filter add dev d0 egress pref 1 protocol all handle 1 cgroup action pass"}} +{"id":"tcematch/ec-080","desc":"positive: opt=plain cmd=c-cmp:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_cgroup_match_'cmp(u8_at_0_eq_1)'_action_drop","cmd":"tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 1)' action drop","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 egress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"c-cmp","json":"0","words":"filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 1)' action drop"}} +{"id":"tcematch/ec-081","desc":"positive: opt=plain cmd=c-u32:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_cgroup_match_'u32(u16_0x1122_0xffff_at_2)'_action_pass","cmd":"tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'u32(u16 0x1122 0xffff at 2)' action pass","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 egress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"c-u32","json":"0","words":"filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'u32(u16 0x1122 0xffff at 2)' action pass"}} +{"id":"tcematch/ec-082","desc":"positive: opt=plain cmd=c-nbyte:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_cgroup_match_'nbyte(\"abc\"_at_0_layer_2)'_action_pass","cmd":"tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'nbyte(\"abc\" at 0 layer 2)' action pass","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 egress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"c-nbyte","json":"0","words":"filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'nbyte(\"abc\" at 0 layer 2)' action pass"}} +{"id":"tcematch/ec-083","desc":"positive: opt=plain cmd=c-meta:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_cgroup_match_'meta(priority_eq_1)_or_meta(nf_mark_gt_2)'_action_pass","cmd":"tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'meta(priority eq 1) or meta(nf_mark gt 2)' action pass","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 egress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"c-meta","json":"0","words":"filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'meta(priority eq 1) or meta(nf_mark gt 2)' action pass"}} +{"id":"tcematch/ec-084","desc":"positive: opt=plain cmd=c-canid:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_cgroup_match_'canid(sff_0x123_eff_0x1234)'_action_pass","cmd":"tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'canid(sff 0x123 eff 0x1234)' action pass","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 egress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"c-canid","json":"0","words":"filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'canid(sff 0x123 eff 0x1234)' action pass"}} +{"id":"tcematch/ec-085","desc":"positive: opt=plain cmd=c-nest:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_cgroup_match_'not_(cmp(u8_at_0_eq_1)_or_u32(u8_1_0xff_at_1))'_action_pass","cmd":"tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'not (cmp(u8 at 0 eq 1) or u32(u8 1 0xff at 1))' action pass","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 egress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"c-nest","json":"0","words":"filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'not (cmp(u8 at 0 eq 1) or u32(u8 1 0xff at 1))' action pass"}} +{"id":"tcematch/ec-086","desc":"positive: opt=plain cmd=c-empty:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_cgroup_","cmd":"tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 egress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"c-empty","json":"0","words":"filter add dev d0 egress pref 1 protocol all handle 1 cgroup "}} +{"id":"tcematch/ec-087","desc":"positive: opt=plain cmd=c-match-only:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_cgroup_match_'cmp(u8_at_0_eq_1)'_action_pass_action_drop","cmd":"tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 1)' action pass action drop","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 egress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"c-match-only","json":"0","words":"filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 1)' action pass action drop"}} +{"id":"tcematch/ec-088","desc":"positive: opt=plain cmd=c-replace:filter_replace_dev_d0_egress_pref_1_protocol_all_handle_1_cgroup_match_'cmp(u8_at_0_eq_2)'_action_drop","cmd":"tc filter replace dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 2)' action drop","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact","tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 1)' action pass"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 egress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"c-replace","json":"0","words":"filter replace dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 2)' action drop"}} +{"id":"tcematch/ec-089","desc":"positive: opt=plain cmd=c-delpref:filter_del_dev_d0_egress_pref_1","cmd":"tc filter del dev d0 egress pref 1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact","tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 1)' action pass"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 egress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"c-delpref","json":"0","words":"filter del dev d0 egress pref 1"}} +{"id":"tcematch/ec-090","desc":"corner: opt=plain cmd=c-readd:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_cgroup_action_drop","cmd":"tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup action drop","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact","tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 1)' action pass"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 egress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"c-readd","json":"0","words":"filter add dev d0 egress pref 1 protocol all handle 1 cgroup action drop"}} +{"id":"tcematch/ec-091","desc":"positive: opt=plain cmd=c-block:filter_add_block_10_pref_1_protocol_all_handle_1_cgroup_match_'cmp(u8_at_0_eq_1)'_action_pass","cmd":"tc filter add block 10 pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 1)' action pass","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show block 10"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"c-block","json":"0","words":"filter add block 10 pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 1)' action pass"}} +{"id":"tcematch/ec-092","desc":"positive: opt=plain cmd=f-0:filter_add_dev_d1_parent_1:_pref_30_protocol_ip_handle_1_flow_hash_keys_dst_divisor_8_match_'cmp(u8_at_0_layer_1_eq_8)'_action_drop","cmd":"tc filter add dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys dst divisor 8 match 'cmp(u8 at 0 layer 1 eq 8)' action drop","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d1 parent 1:"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"f-0","json":"0","words":"filter add dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys dst divisor 8 match 'cmp(u8 at 0 layer 1 eq 8)' action drop"}} +{"id":"tcematch/ec-093","desc":"positive: opt=plain cmd=f-meta:filter_add_dev_d1_parent_1:_pref_30_protocol_ip_handle_1_flow_hash_keys_dst_divisor_8_match_'meta(priority_eq_1)'_baseclass_1:1","cmd":"tc filter add dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys dst divisor 8 match 'meta(priority eq 1)' baseclass 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d1 parent 1:"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"f-meta","json":"0","words":"filter add dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys dst divisor 8 match 'meta(priority eq 1)' baseclass 1:1"}} +{"id":"tcematch/ec-094","desc":"positive: opt=plain cmd=f-u32:filter_add_dev_d1_parent_1:_pref_30_protocol_ip_handle_1_flow_hash_keys_dst_divisor_8_match_'u32(u16_0x1122_0xffff_at_2)_and_not_canid(sff_1)'_perturb_10","cmd":"tc filter add dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys dst divisor 8 match 'u32(u16 0x1122 0xffff at 2) and not canid(sff 1)' perturb 10","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d1 parent 1:"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"f-u32","json":"0","words":"filter add dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys dst divisor 8 match 'u32(u16 0x1122 0xffff at 2) and not canid(sff 1)' perturb 10"}} +{"id":"tcematch/ec-095","desc":"positive: opt=plain cmd=f-first:filter_add_dev_d1_parent_1:_pref_30_protocol_ip_handle_1_flow_hash_keys_dst_divisor_8_baseclass_1:1_match_'nbyte(\"ab\"_at_0)'__action_pass","cmd":"tc filter add dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys dst divisor 8 baseclass 1:1 match 'nbyte(\"ab\" at 0)' action pass","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d1 parent 1:"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"f-first","json":"0","words":"filter add dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys dst divisor 8 baseclass 1:1 match 'nbyte(\"ab\" at 0)' action pass"}} +{"id":"tcematch/ec-096","desc":"positive: opt=plain cmd=f-map:filter_add_dev_d1_parent_1:_pref_31_protocol_ip_handle_2_flow_map_key_mark_divisor_16_match_'cmp(u8_at_0_eq_1)'_baseclass_1:1","cmd":"tc filter add dev d1 parent 1: pref 31 protocol ip handle 2 flow map key mark divisor 16 match 'cmp(u8 at 0 eq 1)' baseclass 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d1 parent 1:"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"f-map","json":"0","words":"filter add dev d1 parent 1: pref 31 protocol ip handle 2 flow map key mark divisor 16 match 'cmp(u8 at 0 eq 1)' baseclass 1:1"}} +{"id":"tcematch/ec-097","desc":"positive: opt=plain cmd=f-ops:filter_add_dev_d1_parent_1:_pref_31_protocol_ip_handle_2_flow_map_key_mark_and_0xff_match_'cmp(u8_at_0_eq_1)'_divisor_16","cmd":"tc filter add dev d1 parent 1: pref 31 protocol ip handle 2 flow map key mark and 0xff match 'cmp(u8 at 0 eq 1)' divisor 16","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d1 parent 1:"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"f-ops","json":"0","words":"filter add dev d1 parent 1: pref 31 protocol ip handle 2 flow map key mark and 0xff match 'cmp(u8 at 0 eq 1)' divisor 16"}} +{"id":"tcematch/ec-098","desc":"positive: opt=plain cmd=f-change:filter_change_dev_d1_parent_1:_pref_30_protocol_ip_handle_1_flow_hash_keys_src_divisor_8_match_'cmp(u8_at_0_eq_2)'_baseclass_1:2","cmd":"tc filter change dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys src divisor 8 match 'cmp(u8 at 0 eq 2)' baseclass 1:2","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact","tc filter add dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys dst divisor 8 match 'cmp(u8 at 0 eq 1)' baseclass 1:1"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d1 parent 1:"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"f-change","json":"0","words":"filter change dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys src divisor 8 match 'cmp(u8 at 0 eq 2)' baseclass 1:2"}} +{"id":"tcematch/ec-099","desc":"positive: opt=plain cmd=f-replace:filter_replace_dev_d1_parent_1:_pref_30_protocol_ip_handle_1_flow_hash_keys_src_divisor_8_match_'cmp(u8_at_0_eq_2)'_baseclass_1:2","cmd":"tc filter replace dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys src divisor 8 match 'cmp(u8 at 0 eq 2)' baseclass 1:2","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact","tc filter add dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys dst divisor 8 match 'cmp(u8 at 0 eq 1)' baseclass 1:1"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d1 parent 1:"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"f-replace","json":"0","words":"filter replace dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys src divisor 8 match 'cmp(u8 at 0 eq 2)' baseclass 1:2"}} +{"id":"tcematch/ec-100","desc":"corner: opt=plain cmd=f-change-nomatch:filter_change_dev_d1_parent_1:_pref_30_protocol_ip_handle_1_flow_hash_keys_src_divisor_8_baseclass_1:2","cmd":"tc filter change dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys src divisor 8 baseclass 1:2","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact","tc filter add dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys dst divisor 8 match 'cmp(u8 at 0 eq 1)' baseclass 1:1"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d1 parent 1:"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"f-change-nomatch","json":"0","words":"filter change dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys src divisor 8 baseclass 1:2"}} +{"id":"tcematch/ec-101","desc":"positive: opt=plain cmd=f-del:filter_del_dev_d1_parent_1:_pref_30_protocol_ip_handle_1_flow","cmd":"tc filter del dev d1 parent 1: pref 30 protocol ip handle 1 flow","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact","tc filter add dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys dst divisor 8 match 'cmp(u8 at 0 eq 1)' baseclass 1:1"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d1 parent 1:"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"f-del","json":"0","words":"filter del dev d1 parent 1: pref 30 protocol ip handle 1 flow"}} +{"id":"tcematch/ec-102","desc":"boundary: opt=plain cmd=w123-511:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"_at_0)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\" at 0)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w123-511","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\" at 0)' classid 1:1"}} +{"id":"tcematch/ec-103","desc":"boundary: opt=plain cmd=w123-512:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx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["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w123-512","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\" at 0)' classid 1:1"}} +{"id":"tcematch/ec-104","desc":"boundary: opt=plain cmd=w123-513:filter_add_dev_d0_ingress_pref_1_protocol_all_handle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xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\" at 0)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w123-513","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\" at 0)' classid 1:1"}} +{"id":"tcematch/ec-105","desc":"corner: opt=plain cmd=w124:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(\"abc\"_at_0)_or_nbyte(\"xy\"_at_0)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"abc\" at 0) or nbyte(\"xy\" at 0)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w124","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"abc\" at 0) or nbyte(\"xy\" at 0)' classid 1:1"}} +{"id":"tcematch/ec-106","desc":"corner: opt=plain cmd=w124-meta:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(\"d0abc\"_eq_dev)_or_nbyte(\"xy\"_at_0)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(\"d0abc\" eq dev) or nbyte(\"xy\" at 0)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w124-meta","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(\"d0abc\" eq dev) or nbyte(\"xy\" at 0)' classid 1:1"}} +{"id":"tcematch/ec-107","desc":"corner: opt=plain cmd=w131:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u8_6_0xff_at_nexthdr+_4)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 6 0xff at nexthdr+ 4)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w131","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 6 0xff at nexthdr+ 4)' classid 1:1"}} +{"id":"tcematch/ec-108","desc":"corner: opt=plain cmd=w132:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u8_6_0xff_at_nexthdr+abc)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 6 0xff at nexthdr+abc)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w132","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 6 0xff at nexthdr+abc)' classid 1:1"}} +{"id":"tcematch/ec-109","desc":"corner: opt=plain cmd=w132-q:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u8_6_0xff_at_\"nexthdr+4\")'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 6 0xff at \"nexthdr+4\")' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w132-q","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 6 0xff at \"nexthdr+4\")' classid 1:1"}} +{"id":"tcematch/ec-110","desc":"corner: opt=plain cmd=w133:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u16_0x1122_0xffff_at_1)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u16 0x1122 0xffff at 1)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w133","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u16 0x1122 0xffff at 1)' classid 1:1"}} +{"id":"tcematch/ec-111","desc":"corner: opt=plain cmd=w133-3:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u16_0x1122_0xffff_at_3)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u16 0x1122 0xffff at 3)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w133-3","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u16 0x1122 0xffff at 3)' classid 1:1"}} +{"id":"tcematch/ec-112","desc":"corner: opt=plain cmd=w133-u8:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u8_0x11_0xff_at_6)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 0x11 0xff at 6)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w133-u8","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 0x11 0xff at 6)' classid 1:1"}} +{"id":"tcematch/ec-113","desc":"boundary: opt=plain cmd=w134:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u32_0x100000001_0xffffffff_at_0)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u32 0x100000001 0xffffffff at 0)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w134","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u32 0x100000001 0xffffffff at 0)' classid 1:1"}} +{"id":"tcematch/ec-114","desc":"boundary: opt=plain cmd=w134-at:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u32_1_0xffffffff_at_0x100000000)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u32 1 0xffffffff at 0x100000000)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w134-at","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u32 1 0xffffffff at 0x100000000)' classid 1:1"}} +{"id":"tcematch/ec-115","desc":"boundary: opt=plain cmd=w135-cmp:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_65536_eq_300)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 65536 eq 300)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w135-cmp","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 65536 eq 300)' classid 1:1"}} +{"id":"tcematch/ec-116","desc":"boundary: opt=plain cmd=w135-mask:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u16_at_0_mask_0x100000000_eq_1)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u16 at 0 mask 0x100000000 eq 1)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w135-mask","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u16 at 0 mask 0x100000000 eq 1)' classid 1:1"}} +{"id":"tcematch/ec-117","desc":"boundary: opt=plain cmd=w135-neg:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_-2)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq -2)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w135-neg","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq -2)' classid 1:1"}} +{"id":"tcematch/ec-118","desc":"boundary: opt=plain cmd=w135-shift:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(priority_shift_256_eq_1)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority shift 256 eq 1)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w135-shift","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority shift 256 eq 1)' classid 1:1"}} +{"id":"tcematch/ec-119","desc":"boundary: opt=plain cmd=w135-mmask:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(priority_mask_0x100000000_eq_1)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority mask 0x100000000 eq 1)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w135-mmask","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority mask 0x100000000 eq 1)' classid 1:1"}} +{"id":"tcematch/ec-120","desc":"boundary: opt=plain cmd=w135-nbyte:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(ab_at_65537)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(ab at 65537)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w135-nbyte","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(ab at 65537)' classid 1:1"}} +{"id":"tcematch/ec-121","desc":"boundary: opt=plain cmd=w136-4095:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx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d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w136-4095","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx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xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx at 0)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w136-4096","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(xxxxxx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xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx at 0)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w136-4097","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx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xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx at 0)' classid 1:1"}} +{"id":"tcematch/ec-124","desc":"corner: opt=plain cmd=w137:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_layer_nonsense_eq_1)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 layer nonsense eq 1)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w137","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 layer nonsense eq 1)' classid 1:1"}} +{"id":"tcematch/ec-125","desc":"corner: opt=plain cmd=w137-tcp:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_layer_tcp_eq_1)_and_nbyte(a_at_0_layer_lnk)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 layer tcp eq 1) and nbyte(a at 0 layer lnk)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w137-tcp","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 layer tcp eq 1) and nbyte(a at 0 layer lnk)' classid 1:1"}} +{"id":"tcematch/ec-126","desc":"corner: opt=plain cmd=w130-vv:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(\"a\"_eq_\"b\")'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(\"a\" eq \"b\")' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w130-vv","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(\"a\" eq \"b\")' classid 1:1"}} +{"id":"tcematch/ec-127","desc":"corner: opt=plain cmd=w142:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(\"a\nb\"_at_0)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"a\nb\" at 0)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w142","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"a\nb\" at 0)' classid 1:1"}} +{"id":"tcematch/ec-128","desc":"corner: opt=plain cmd=w144:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_12abc_eq_1zz)_and_u32(u8_1_0xff_at_4x)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 12abc eq 1zz) and u32(u8 1 0xff at 4x)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w144","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 12abc eq 1zz) and u32(u8 1 0xff at 4x)' classid 1:1"}} +{"id":"tcematch/ec-129","desc":"corner: opt=plain cmd=w145:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'canid(sff_0x80000123_sff_0x12g_eff_-1)'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'canid(sff 0x80000123 sff 0x12g eff -1)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w145","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'canid(sff 0x80000123 sff 0x12g eff -1)' classid 1:1"}} +{"id":"tcematch/ec-130","desc":"boundary: opt=plain cmd=w140-400:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'canid('_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_')'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'canid(' sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 ')' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w140-400","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'canid(' sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 ')' classid 1:1"}} +{"id":"tcematch/ec-131","desc":"corner: opt=plain cmd=w147:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_08_basic_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 08 basic classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w147","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 08 basic classid 1:1"}} +{"id":"tcematch/ec-132","desc":"corner: opt=plain cmd=w147-colon:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1:2_basic_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1:2 basic classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w147-colon","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1:2 basic classid 1:1"}} +{"id":"tcematch/ec-133","desc":"corner: opt=plain cmd=w147-neg:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_-1_basic_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle -1 basic classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w147-neg","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle -1 basic classid 1:1"}} +{"id":"tcematch/ec-134","desc":"corner: opt=plain cmd=w147-foo:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_foo_basic_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle foo basic classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w147-foo","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle foo basic classid 1:1"}} +{"id":"tcematch/ec-135","desc":"corner: opt=plain cmd=w147-cg:filter_add_dev_d0_egress_pref_1_protocol_all_handle_0x1zz_cgroup_action_pass","cmd":"tc filter add dev d0 egress pref 1 protocol all handle 0x1zz cgroup action pass","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 egress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w147-cg","json":"0","words":"filter add dev d0 egress pref 1 protocol all handle 0x1zz cgroup action pass"}} +{"id":"tcematch/ec-136","desc":"corner: opt=plain cmd=w95:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_classid_1:1_classid_1:2_match_'cmp(u8_at_0_eq_1)'_match_'cmp(u8_at_0_eq_2)'_action_drop","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic classid 1:1 classid 1:2 match 'cmp(u8 at 0 eq 1)' match 'cmp(u8 at 0 eq 2)' action drop","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w95","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic classid 1:1 classid 1:2 match 'cmp(u8 at 0 eq 1)' match 'cmp(u8 at 0 eq 2)' action drop"}} +{"id":"tcematch/ec-137","desc":"corner: opt=plain cmd=w97:filter_add_dev_d1_parent_1:_pref_32_protocol_ip_handle_3_flow_hash_keys_dst_match_'canid('_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_')'_or_'canid('_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_')'_divisor_8_baseclass_1:1","cmd":"tc filter add dev d1 parent 1: pref 32 protocol ip handle 3 flow hash keys dst match 'canid(' sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 ')' or 'canid(' sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 ')' divisor 8 baseclass 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d1 parent 1:"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w97","json":"0","words":"filter add dev d1 parent 1: pref 32 protocol ip handle 3 flow hash keys dst match 'canid(' sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 ')' or 'canid(' sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 ')' divisor 8 baseclass 1:1"}} +{"id":"tcematch/ec-138","desc":"positive: opt=plain cmd=out-police:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1)'_police_rate_1mbit_burst_10k_drop","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' police rate 1mbit burst 10k drop","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"out-police","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' police rate 1mbit burst 10k drop"}} +{"id":"tcematch/ec-139","desc":"positive: opt=plain cmd=out-police-act:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_police_rate_1mbit_burst_10k_drop_action_pass","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic police rate 1mbit burst 10k drop action pass","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"out-police-act","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic police rate 1mbit burst 10k drop action pass"}} +{"id":"tcematch/ec-140","desc":"positive: opt=plain cmd=out-cg-police:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_cgroup_police_rate_1mbit_burst_10k_drop","cmd":"tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup police rate 1mbit burst 10k drop","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 egress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"out-cg-police","json":"0","words":"filter add dev d0 egress pref 1 protocol all handle 1 cgroup police rate 1mbit burst 10k drop"}} +{"id":"tcematch/ec-141","desc":"positive: opt=plain cmd=batch:batch:two","cmd":"tc -batch b.txt","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact","printf '%s\\n' 'filter add dev d0 ingress pref 1 protocol all handle 1 basic match \"cmp(u8 at 0 eq 1)\" classid 1:1' 'filter add dev d0 ingress pref 2 protocol all handle 2 basic match '\\''nbyte(\"ab\" at 0) and u32(u8 1 0xff at 0)'\\'' classid 1:2' > b.txt"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"batch":"two","fix":"batch","json":"0","words":"-batch b.txt"}} +{"id":"tcematch/ec-142","desc":"positive: opt=plain cmd=batch3:batch:three","cmd":"tc -batch b.txt","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact","printf '%s\\n' 'filter add dev d0 egress pref 1 protocol all handle 1 cgroup match \"cmp(u8 at 0 eq 1)\" action pass' 'filter replace dev d0 egress pref 1 protocol all handle 1 cgroup match '\\''meta(priority eq 2)'\\'' action drop' 'filter add dev d0 egress pref 2 protocol all handle 2 basic match \"canid(sff 1)\" action pass' > b.txt"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 egress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"batch":"three","fix":"batch3","json":"0","words":"-batch b.txt"}} +{"id":"tcematch/ec-143","desc":"corner: opt=plain cmd=w128:batch:stale-root","cmd":"tc -batch b.txt","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact","printf '%s\\n' 'filter add dev d1 parent 1: pref 2 protocol ip handle 2 basic match \"cmp(u8 at 0 eq 1)\" classid 1:1' 'filter add dev d1 parent 1: pref 30 protocol ip handle 1 flow keys dst divisor 8 match '\\''\"'\\'' hash' > b.txt"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d1 parent 1:"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"batch":"stale-root","fix":"w128","json":"0","words":"-batch b.txt"}} +{"id":"tcematch/ec-144","desc":"corner: opt=plain cmd=w124-batch:batch:strbuf-kind","cmd":"tc -batch b.txt","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact","printf '%s\\n' 'filter add dev d0 ingress pref 1 protocol all handle 1 basic match '\\''nbyte(\"cmp\" at 0)'\\'' classid 1:1' 'filter add dev d0 ingress pref 2 protocol all handle 2 basic match '\\''\"cmp\"(u8 at 0 eq 1)'\\'' classid 1:2' > b.txt"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"batch":"strbuf-kind","fix":"w124-batch","json":"0","words":"-batch b.txt"}} +{"id":"tcematch/ng-001","desc":"negative: opt=plain cmd=ng:g-open:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1'_classid_1:1: an unclosed match: Parse error, Illegal \"ematch\"","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"g-open","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1' classid 1:1"}} +{"id":"tcematch/ng-002","desc":"negative: opt=plain cmd=ng:g-noargs:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp()'_classid_1:1: args need one ATTRIBUTE: Parse error","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp()' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"g-noargs","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp()' classid 1:1"}} +{"id":"tcematch/ng-003","desc":"negative: opt=plain cmd=ng:g-lead-and:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'and_cmp(u8_at_0_eq_1)'_classid_1:1: a leading AND: Parse error","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'and cmp(u8 at 0 eq 1)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"g-lead-and","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'and cmp(u8 at 0 eq 1)' classid 1:1"}} +{"id":"tcematch/ng-004","desc":"negative: opt=plain cmd=ng:g-trail-and:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1)_and'_classid_1:1: a trailing AND reads classid as a kind: Parse error","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1) and' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"g-trail-and","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1) and' classid 1:1"}} +{"id":"tcematch/ng-005","desc":"negative: opt=plain cmd=ng:g-paren:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'(cmp(u8_at_0_eq_1)'_classid_1:1: an unclosed parenthesis: Parse error","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match '(cmp(u8 at 0 eq 1)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"g-paren","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match '(cmp(u8 at 0 eq 1)' classid 1:1"}} +{"id":"tcematch/ng-006","desc":"negative: opt=plain cmd=ng:g-empty-paren:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'()'_classid_1:1: an empty parenthesis: Parse error","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match '()' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"g-empty-paren","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match '()' classid 1:1"}} +{"id":"tcematch/ng-007","desc":"negative: opt=plain cmd=ng:g-notnot:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'not_not_cmp(u8_at_0_eq_1)'_classid_1:1: invert takes one NOT: Parse error","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'not not cmp(u8 at 0 eq 1)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"g-notnot","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'not not cmp(u8 at 0 eq 1)' classid 1:1"}} +{"id":"tcematch/ng-008","desc":"negative: opt=plain cmd=ng:g-kw-arg:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(or_at_0)'_classid_1:1: or is a token, even inside args: Parse error","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(or at 0)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"g-kw-arg","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(or at 0)' classid 1:1"}} +{"id":"tcematch/ng-009","desc":"negative: opt=plain cmd=ng:g-nokind:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'(u8_at_0)'_classid_1:1: a parenthesis of words is not an expr: Parse error","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match '(u8 at 0)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"g-nokind","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match '(u8 at 0)' classid 1:1"}} +{"id":"tcematch/ng-010","desc":"negative: opt=plain cmd=ng:g-two:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1)'_'cmp(u8_at_1_eq_2)'_classid_1:1: two matches with no relation: the second is look-ahead, then What is \"cmp(u8 at 1 eq 2)\"?","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' 'cmp(u8 at 1 eq 2)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"g-two","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' 'cmp(u8 at 1 eq 2)' classid 1:1"}} +{"id":"tcematch/ng-011","desc":"negative: opt=plain cmd=ng:g-same-word:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1)_cmp(u8_at_1_eq_2)'_classid_1:1: the look-ahead came from the tree's own word, so the undo points at the tree: What is","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1) cmp(u8 at 1 eq 2)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"g-same-word","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1) cmp(u8 at 1 eq 2)' classid 1:1"}} +{"id":"tcematch/ng-012","desc":"negative: opt=plain cmd=ng:g-empty:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_\"\"_classid_1:1: an empty word is skipped: classid is a kind, Parse error","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match \"\" classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"g-empty","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match \"\" classid 1:1"}} +{"id":"tcematch/ng-013","desc":"negative: opt=plain cmd=ng:g-nomatch:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match: match with no value: NEXT_ARG, rc 255 (W149)","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":255,"refused_by":"ack-then-fail"},"axes":{"fix":"g-nomatch","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match"}} +{"id":"tcematch/ng-014","desc":"negative: opt=plain cmd=ng:unknown:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'foo(bar)'_classid_1:1: a kind not in the map: Unknown ematch","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'foo(bar)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"unknown","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'foo(bar)' classid 1:1"}} +{"id":"tcematch/ng-015","desc":"negative: opt=plain cmd=ng:text:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'text(kmp_\"abc\"_from_0_to_10)'_classid_1:1: tc has no text module: Unknown ematch","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'text(kmp \"abc\" from 0 to 10)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"text","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'text(kmp \"abc\" from 0 to 10)' classid 1:1"}} +{"id":"tcematch/ng-016","desc":"negative: opt=plain cmd=ng:w126:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(x)'_classid_1:1: a 64-byte kind is read unterminated (W126; gotc refuses)","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(x)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"w126","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(x)' classid 1:1"}} +{"id":"tcematch/ng-017","desc":"negative: opt=plain cmd=ng:w126-63:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(x)'_classid_1:1: a 63-byte kind is read unterminated (W126; gotc refuses)","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(x)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"w126-63","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(x)' classid 1:1"}} +{"id":"tcematch/ng-018","desc":"negative: opt=plain cmd=ng:w126-62:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(x)'_classid_1:1: a 62-byte kind fits: Unknown ematch","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(x)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"w126-62","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(x)' classid 1:1"}} +{"id":"tcematch/ng-019","desc":"negative: opt=plain cmd=ng:f25:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1)': the undo puts the tree back: What is \"cmp(...)\"? (F25)","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)'","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"f25","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)'"}} +{"id":"tcematch/ng-020","desc":"negative: opt=plain cmd=ng:f25-cg:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_cgroup_match_'cmp(u8_at_0_eq_1)': cgroup's F25","cmd":"tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 1)'","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"f25-cg","json":"0","words":"filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 1)'"}} +{"id":"tcematch/ng-021","desc":"negative: opt=plain cmd=ng:f25-flow:filter_add_dev_d1_parent_1:_pref_30_protocol_ip_handle_1_flow_hash_keys_dst_divisor_8_match_'cmp(u8_at_0_eq_1)': flow's F25: What is","cmd":"tc filter add dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys dst divisor 8 match 'cmp(u8 at 0 eq 1)'","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"f25-flow","json":"0","words":"filter add dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys dst divisor 8 match 'cmp(u8 at 0 eq 1)'"}} +{"id":"tcematch/ng-022","desc":"negative: opt=plain cmd=ng:cmp-align:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u64_at_0_eq_1)'_classid_1:1: cmp: invalid alignment","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u64 at 0 eq 1)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"cmp-align","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u64 at 0 eq 1)' classid 1:1"}} +{"id":"tcematch/ng-023","desc":"negative: opt=plain cmd=ng:cmp-at:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at)'_classid_1:1: cmp: missing argument","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"cmp-at","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at)' classid 1:1"}} +{"id":"tcematch/ng-024","desc":"negative: opt=plain cmd=ng:cmp-off:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_x_eq_1)'_classid_1:1: cmp: invalid offset, must be numeric","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at x eq 1)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"cmp-off","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at x eq 1)' classid 1:1"}} +{"id":"tcematch/ng-025","desc":"negative: opt=plain cmd=ng:cmp-layer:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_layer_3_eq_1)'_classid_1:1: cmp: illegal layer, must be in 0..2","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 layer 3 eq 1)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"cmp-layer","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 layer 3 eq 1)' classid 1:1"}} +{"id":"tcematch/ng-026","desc":"negative: opt=plain cmd=ng:cmp-layer-x:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_layer_x_eq_1)'_classid_1:1: cmp: invalid layer","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 layer x eq 1)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"cmp-layer-x","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 layer x eq 1)' classid 1:1"}} +{"id":"tcematch/ng-027","desc":"negative: opt=plain cmd=ng:cmp-mask:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_mask_zz_eq_1)'_classid_1:1: cmp: invalid mask","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 mask zz eq 1)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"cmp-mask","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 mask zz eq 1)' classid 1:1"}} +{"id":"tcematch/ng-028","desc":"negative: opt=plain cmd=ng:cmp-val:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_zz)'_classid_1:1: cmp: invalid value","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq zz)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"cmp-val","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq zz)' classid 1:1"}} +{"id":"tcematch/ng-029","desc":"negative: opt=plain cmd=ng:cmp-noval:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0)'_classid_1:1: cmp: offset and value required","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"cmp-noval","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0)' classid 1:1"}} +{"id":"tcematch/ng-030","desc":"negative: opt=plain cmd=ng:cmp-nooff:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_eq_1)'_classid_1:1: cmp: offset and value required","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 eq 1)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"cmp-nooff","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 eq 1)' classid 1:1"}} +{"id":"tcematch/ng-031","desc":"negative: opt=plain cmd=ng:cmp-eq:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq)'_classid_1:1: cmp: missing argument","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"cmp-eq","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq)' classid 1:1"}} +{"id":"tcematch/ng-032","desc":"negative: opt=plain cmd=ng:w135-m1:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_-1)'_classid_1:1: -1 is ULONG_MAX: cmp: invalid value (W135)","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq -1)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"w135-m1","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq -1)' classid 1:1"}} +{"id":"tcematch/ng-033","desc":"negative: opt=plain cmd=ng:w138:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_foo_1_eq_1)'_classid_1:1: cmp's error says nbyte: unknown parameter (W138)","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 foo 1 eq 1)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"w138","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 foo 1 eq 1)' classid 1:1"}} +{"id":"tcematch/ng-034","desc":"negative: opt=plain cmd=ng:nbyte-empty:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(\"\"_at_0)'_classid_1:1: nbyte: needle length is 0","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"\" at 0)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"nbyte-empty","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"\" at 0)' classid 1:1"}} +{"id":"tcematch/ng-035","desc":"negative: opt=plain cmd=ng:nbyte-noat:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(abc)'_classid_1:1: nbyte: offset required","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(abc)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"nbyte-noat","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(abc)' classid 1:1"}} +{"id":"tcematch/ng-036","desc":"negative: opt=plain cmd=ng:nbyte-layer:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(abc_at_0_layer_9)'_classid_1:1: nbyte: illegal layer","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(abc at 0 layer 9)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"nbyte-layer","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(abc at 0 layer 9)' classid 1:1"}} +{"id":"tcematch/ng-037","desc":"negative: opt=plain cmd=ng:nbyte-param:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(abc_at_0_foo)'_classid_1:1: nbyte: unknown parameter","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(abc at 0 foo)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"nbyte-param","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(abc at 0 foo)' classid 1:1"}} +{"id":"tcematch/ng-038","desc":"negative: opt=plain cmd=ng:nbyte-off:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(abc_at_zz)'_classid_1:1: nbyte: invalid offset","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(abc at zz)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"nbyte-off","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(abc at zz)' classid 1:1"}} +{"id":"tcematch/ng-039","desc":"negative: opt=plain cmd=ng:nbyte-at:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(abc_at)'_classid_1:1: nbyte: missing argument","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(abc at)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"nbyte-at","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(abc at)' classid 1:1"}} +{"id":"tcematch/ng-040","desc":"negative: opt=plain cmd=ng:u32-align:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u64_1_1_at_0)'_classid_1:1: u32: invalid alignment","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u64 1 1 at 0)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"u32-align","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u64 1 1 at 0)' classid 1:1"}} +{"id":"tcematch/ng-041","desc":"negative: opt=plain cmd=ng:u32-key:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u8)'_classid_1:1: u32: missing key","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"u32-key","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8)' classid 1:1"}} +{"id":"tcematch/ng-042","desc":"negative: opt=plain cmd=ng:u32-badkey:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u8_zz_0xff_at_0)'_classid_1:1: u32: invalid key, must be numeric","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 zz 0xff at 0)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"u32-badkey","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 zz 0xff at 0)' classid 1:1"}} +{"id":"tcematch/ng-043","desc":"negative: opt=plain cmd=ng:u32-mask:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u8_1)'_classid_1:1: u32: missing mask","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 1)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"u32-mask","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 1)' classid 1:1"}} +{"id":"tcematch/ng-044","desc":"negative: opt=plain cmd=ng:u32-badmask:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u8_1_zz_at_0)'_classid_1:1: u32: invalid mask, must be numeric","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 1 zz at 0)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"u32-badmask","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 1 zz at 0)' classid 1:1"}} +{"id":"tcematch/ng-045","desc":"negative: opt=plain cmd=ng:u32-at:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u8_1_0xff)'_classid_1:1: u32: missing \"at\"","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 1 0xff)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"u32-at","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 1 0xff)' classid 1:1"}} +{"id":"tcematch/ng-046","desc":"negative: opt=plain cmd=ng:u32-noat:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u8_1_0xff_of_0)'_classid_1:1: u32: missing \"at\"","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 1 0xff of 0)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"u32-noat","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 1 0xff of 0)' classid 1:1"}} +{"id":"tcematch/ng-047","desc":"negative: opt=plain cmd=ng:u32-off:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u8_1_0xff_at)'_classid_1:1: u32: missing offset","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 1 0xff at)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"u32-off","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 1 0xff at)' classid 1:1"}} +{"id":"tcematch/ng-048","desc":"negative: opt=plain cmd=ng:u32-nhoff:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u8_1_0xff_at_nexthdr+)'_classid_1:1: u32: missing offset after nexthdr+","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 1 0xff at nexthdr+)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"u32-nhoff","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 1 0xff at nexthdr+)' classid 1:1"}} +{"id":"tcematch/ng-049","desc":"negative: opt=plain cmd=ng:u32-badoff:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u8_1_0xff_at_zz)'_classid_1:1: u32: invalid offset","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 1 0xff at zz)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"u32-badoff","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 1 0xff at zz)' classid 1:1"}} +{"id":"tcematch/ng-050","desc":"negative: opt=plain cmd=ng:u32-trailer:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u8_1_0xff_at_0_x)'_classid_1:1: u32: unexpected trailer","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 1 0xff at 0 x)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"u32-trailer","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 1 0xff at 0 x)' classid 1:1"}} +{"id":"tcematch/ng-051","desc":"negative: opt=plain cmd=ng:u32-key8:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u8_0x100_0xff_at_0)'_classid_1:1: Illegal key (>0xFF)","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 0x100 0xff at 0)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"u32-key8","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 0x100 0xff at 0)' classid 1:1"}} +{"id":"tcematch/ng-052","desc":"negative: opt=plain cmd=ng:u32-mask8:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u8_1_0x100_at_0)'_classid_1:1: Illegal mask (>0xFF)","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 1 0x100 at 0)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"u32-mask8","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 1 0x100 at 0)' classid 1:1"}} +{"id":"tcematch/ng-053","desc":"negative: opt=plain cmd=ng:u32-key16:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u16_0x10000_0xffff_at_0)'_classid_1:1: Illegal key (>0xFFFF)","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u16 0x10000 0xffff at 0)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"u32-key16","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u16 0x10000 0xffff at 0)' classid 1:1"}} +{"id":"tcematch/ng-054","desc":"negative: opt=plain cmd=ng:u32-mask16:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u16_1_0x10000_at_0)'_classid_1:1: Illegal mask (>0xFFFF)","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u16 1 0x10000 at 0)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"u32-mask16","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u16 1 0x10000 at 0)' classid 1:1"}} +{"id":"tcematch/ng-055","desc":"negative: opt=plain cmd=ng:u32-align32:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u32_1_0xffffffff_at_2)'_classid_1:1: u32: invalid offset alignment","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u32 1 0xffffffff at 2)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"u32-align32","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u32 1 0xffffffff at 2)' classid 1:1"}} +{"id":"tcematch/ng-056","desc":"negative: opt=plain cmd=ng:meta-none:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta()'_classid_1:1: args need one ATTRIBUTE: Parse error","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta()' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"meta-none","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta()' classid 1:1"}} +{"id":"tcematch/ng-057","desc":"negative: opt=plain cmd=ng:meta-list:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(list)'_classid_1:1: meta(list) prints the table and fails","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(list)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"meta-list","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(list)' classid 1:1"}} +{"id":"tcematch/ng-058","desc":"negative: opt=plain cmd=ng:meta-op:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(priority)'_classid_1:1: meta: missing operand","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"meta-op","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority)' classid 1:1"}} +{"id":"tcematch/ng-059","desc":"negative: opt=plain cmd=ng:meta-ne:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(priority_ne_1)'_classid_1:1: meta: invalid operand","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority ne 1)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"meta-ne","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority ne 1)' classid 1:1"}} +{"id":"tcematch/ng-060","desc":"negative: opt=plain cmd=ng:meta-rval:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(priority_eq)'_classid_1:1: meta: missing rvalue","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority eq)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"meta-rval","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority eq)' classid 1:1"}} +{"id":"tcematch/ng-061","desc":"negative: opt=plain cmd=ng:meta-trailer:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(priority_eq_1_2)'_classid_1:1: meta: unexpected trailer","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority eq 1 2)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"meta-trailer","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority eq 1 2)' classid 1:1"}} +{"id":"tcematch/ng-062","desc":"negative: opt=plain cmd=ng:meta-shift:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(priority_shift)'_classid_1:1: meta: missing argument","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority shift)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"meta-shift","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority shift)' classid 1:1"}} +{"id":"tcematch/ng-063","desc":"negative: opt=plain cmd=ng:meta-badshift:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(priority_shift_zz_eq_1)'_classid_1:1: meta: invalid shift, must be numeric","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority shift zz eq 1)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"meta-badshift","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority shift zz eq 1)' classid 1:1"}} +{"id":"tcematch/ng-064","desc":"negative: opt=plain cmd=ng:meta-badmask:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(priority_mask_zz_eq_1)'_classid_1:1: meta: invalid mask, must be numeric","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority mask zz eq 1)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"meta-badmask","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority mask zz eq 1)' classid 1:1"}} +{"id":"tcematch/ng-065","desc":"negative: opt=plain cmd=ng:meta-id:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(foo_eq_1)'_classid_1:1: meta: unknown meta id, with its own newline (W140)","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(foo eq 1)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"meta-id","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(foo eq 1)' classid 1:1"}} +{"id":"tcematch/ng-066","desc":"negative: opt=plain cmd=ng:meta-compat:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(priority_eq_\"x\"_)'_classid_1:1: a value on the right skips the adoption: INT against VAR (W130)","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority eq \"x\" )' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":2,"errno":"EINVAL","refused_by":"kernel"},"axes":{"fix":"meta-compat","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority eq \"x\" )' classid 1:1"}} +{"id":"tcematch/ng-067","desc":"negative: opt=plain cmd=ng:w130:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(dev_eq_\"d0\")'_classid_1:1: the usage's own form sends INT|DEV against VAR|VALUE (W130)","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(dev eq \"d0\")' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":2,"errno":"EINVAL","refused_by":"kernel"},"axes":{"fix":"w130","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(dev eq \"d0\")' classid 1:1"}} +{"id":"tcematch/ng-068","desc":"negative: opt=plain cmd=ng:w125:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(\"x\"_eq_priority)'_classid_1:1: is_compatible walks past priority's mask into .rodata and finds a v: VAR priority, Operation not supported (W125; gotc refuses)","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(\"x\" eq priority)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":2,"errno":"ENOTSUP","refused_by":"kernel"},"axes":{"fix":"w125","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(\"x\" eq priority)' classid 1:1"}} +{"id":"tcematch/ng-069","desc":"negative: opt=plain cmd=ng:w139:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(indev_eq_1)'_classid_1:1: the usage's indev is no id (W139)","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(indev eq 1)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"w139","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(indev eq 1)' classid 1:1"}} +{"id":"tcematch/ng-070","desc":"negative: opt=plain cmd=ng:w139-tc:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(tcindex_mask_0xf0_eq_0xf0)'_classid_1:1: the usage's tcindex is no id (W139)","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(tcindex mask 0xf0 eq 0xf0)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"w139-tc","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(tcindex mask 0xf0 eq 0xf0)' classid 1:1"}} +{"id":"tcematch/ng-071","desc":"negative: opt=plain cmd=ng:meta-ids-bad:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(dev_eq_priority_shift_1_mask_2_3)'_classid_1:1: meta: unexpected trailer","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(dev eq priority shift 1 mask 2 3)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"meta-ids-bad","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(dev eq priority shift 1 mask 2 3)' classid 1:1"}} +{"id":"tcematch/ng-072","desc":"negative: opt=plain cmd=ng:canid-none:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'canid()'_classid_1:1: args need one ATTRIBUTE: Parse error","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'canid()' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"canid-none","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'canid()' classid 1:1"}} +{"id":"tcematch/ng-073","desc":"negative: opt=plain cmd=ng:canid-key:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'canid(xff_1)'_classid_1:1: canid: invalid key","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'canid(xff 1)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"canid-key","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'canid(xff 1)' classid 1:1"}} +{"id":"tcematch/ng-074","desc":"negative: opt=plain cmd=ng:canid-arg:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'canid(sff)'_classid_1:1: canid: missing argument","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'canid(sff)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"canid-arg","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'canid(sff)' classid 1:1"}} +{"id":"tcematch/ng-075","desc":"negative: opt=plain cmd=ng:w140-canid:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'canid(sff_zz)'_classid_1:1: Improperly formed CAN ID & mask, with its own newline (W140)","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'canid(sff zz)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"w140-canid","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'canid(sff zz)' classid 1:1"}} +{"id":"tcematch/ng-076","desc":"negative: opt=plain cmd=ng:w140-401:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'canid('_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_')'_classid_1:1: canid: Too many arguments on input, at 401 rules (W140)","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'canid(' sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 ')' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"w140-401","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'canid(' sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 ')' classid 1:1"}} +{"id":"tcematch/ng-077","desc":"negative: opt=plain cmd=ng:w141-oct:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(\"\\400\"_at_0)'_classid_1:1: octal escape sequence out of range","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"\\400\" at 0)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"w141-oct","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"\\400\" at 0)' classid 1:1"}} +{"id":"tcematch/ng-078","desc":"negative: opt=plain cmd=ng:w141-9:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(\"\\9\"_at_0)'_classid_1:1: invalid octale escape sequence (W141)","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"\\9\" at 0)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"w141-9","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"\\9\" at 0)' classid 1:1"}} +{"id":"tcematch/ng-079","desc":"negative: opt=plain cmd=ng:w141-0123:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(\"\\0123\"_at_0)'_classid_1:1: \\0123 is the longer \\\\[0-9]+ match (W141)","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"\\0123\" at 0)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"w141-0123","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"\\0123\" at 0)' classid 1:1"}} +{"id":"tcematch/ng-080","desc":"negative: opt=plain cmd=ng:str-open:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(\"abc_at_0)'_classid_1:1: an unterminated string eats the line: Parse error","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"abc at 0)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"str-open","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"abc at 0)' classid 1:1"}} +{"id":"tcematch/ng-081","desc":"negative: opt=plain cmd=ng:w135-nbyte-neg:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(ab_at_-1)'_classid_1:1: nbyte: invalid offset","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(ab at -1)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"w135-nbyte-neg","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(ab at -1)' classid 1:1"}} +{"id":"tcematch/ng-082","desc":"negative: opt=plain cmd=ng:w136-0:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(\"\"\"\"at_0)'_classid_1:1: two empty strings: nbyte: needle length is 0","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"\"\"\"at 0)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"w136-0","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"\"\"\"at 0)' classid 1:1"}} +{"id":"tcematch/ng-083","desc":"negative: opt=plain cmd=ng:w146:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1)'_and_0xff: and after a tree is AND: Parse error (W146)","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' and 0xff","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"w146","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' and 0xff"}} +{"id":"tcematch/ng-084","desc":"negative: opt=plain cmd=ng:w146-flow:filter_add_dev_d1_parent_1:_pref_31_protocol_ip_handle_2_flow_map_key_mark_divisor_16_match_'cmp(u8_at_0_eq_1)'_and_0xff: flow's and after match is the grammar's AND: Parse error (W146)","cmd":"tc filter add dev d1 parent 1: pref 31 protocol ip handle 2 flow map key mark divisor 16 match 'cmp(u8 at 0 eq 1)' and 0xff","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"w146-flow","json":"0","words":"filter add dev d1 parent 1: pref 31 protocol ip handle 2 flow map key mark divisor 16 match 'cmp(u8 at 0 eq 1)' and 0xff"}} +{"id":"tcematch/ng-085","desc":"negative: opt=plain cmd=ng:w148:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic: basic with no words sends no TCA_OPTIONS (W148)","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":2,"errno":"EINVAL","refused_by":"kernel"},"axes":{"fix":"w148","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic"}} +{"id":"tcematch/ng-086","desc":"negative: opt=plain cmd=ng:w149-cls:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_classid: classid with no value: NEXT_ARG (W149)","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic classid","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":255,"refused_by":"ack-then-fail"},"axes":{"fix":"w149-cls","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic classid"}} +{"id":"tcematch/ng-087","desc":"negative: opt=plain cmd=ng:w149-act:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_action: action with no value: NEXT_ARG (W149)","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic action","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":255,"refused_by":"ack-then-fail"},"axes":{"fix":"w149-act","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic action"}} +{"id":"tcematch/ng-088","desc":"negative: opt=plain cmd=ng:w149-cg:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_cgroup_match: cgroup's match with no value (W149)","cmd":"tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup match","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":255,"refused_by":"ack-then-fail"},"axes":{"fix":"w149-cg","json":"0","words":"filter add dev d0 egress pref 1 protocol all handle 1 cgroup match"}} +{"id":"tcematch/ng-089","desc":"negative: opt=plain cmd=ng:w149-flow:filter_add_dev_d1_parent_1:_pref_30_protocol_ip_handle_1_flow_hash_keys_dst_divisor_8_match: flow's match with no value (W149)","cmd":"tc filter add dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys dst divisor 8 match","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":255,"refused_by":"ack-then-fail"},"axes":{"fix":"w149-flow","json":"0","words":"filter add dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys dst divisor 8 match"}} +{"id":"tcematch/ng-090","desc":"negative: opt=plain cmd=ng:w150:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_help: basic explain, copied from u32 (W150)","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic help","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"w150","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic help"}} +{"id":"tcematch/ng-091","desc":"negative: opt=plain cmd=ng:w150-h:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_h: help is exact: What is \"h\"? (W150)","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic h","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"w150-h","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic h"}} +{"id":"tcematch/ng-092","desc":"negative: opt=plain cmd=ng:w150-cg:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_cgroup_help: cgroup explain (W150)","cmd":"tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup help","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"w150-cg","json":"0","words":"filter add dev d0 egress pref 1 protocol all handle 1 cgroup help"}} +{"id":"tcematch/ng-093","desc":"negative: opt=plain cmd=ng:w150-cls:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_classid_zz: Illegal \"classid\"","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic classid zz","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"w150-cls","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic classid zz"}} +{"id":"tcematch/ng-094","desc":"negative: opt=plain cmd=ng:w150-cg-cls:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_cgroup_classid_1:1: cgroup has no classid: What is \"classid\"?","cmd":"tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"w150-cg-cls","json":"0","words":"filter add dev d0 egress pref 1 protocol all handle 1 cgroup classid 1:1"}} +{"id":"tcematch/ng-095","desc":"negative: opt=plain cmd=ng:w151:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'canid('_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_')'_or_'canid('_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_')'_or_'canid('_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_')'_or_'canid('_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_')'_or_'canid('_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_')'_or_'canid('_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_')'_classid_1:1: a tree past MAX_MSG: addraw errors, truncated matches sent (W151)","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'canid(' sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 ')' or 'canid(' sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 ')' or 'canid(' sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 ')' or 'canid(' sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 ')' or 'canid(' sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 ')' or 'canid(' sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 ')' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":2,"errno":"EINVAL","refused_by":"kernel"},"axes":{"fix":"w151","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'canid(' sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 ')' or 'canid(' sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 ')' or 'canid(' sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 ')' or 'canid(' sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 ')' or 'canid(' sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 ')' or 'canid(' sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 ')' classid 1:1"}} +{"id":"tcematch/ng-096","desc":"negative: opt=plain cmd=ng:w127-late:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1)'_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx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xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"w127-late","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx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xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"w127-8190","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx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xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx classid 1:1"}} +{"id":"tcematch/ng-098","desc":"negative: opt=plain cmd=ng:w124-args:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(\"u8\"_at_\"0\"_eq_\"1\")'_classid_1:1: each quoted arg overwrites strbuf: \"u8\" reads \"18\", cmp: invalid alignment (W124)","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(\"u8\" at \"0\" eq \"1\")' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"w124-args","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(\"u8\" at \"0\" eq \"1\")' classid 1:1"}} +{"id":"tcematch/ng-099","desc":"negative: opt=plain cmd=ng:w124-kind:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(\"cmpzz\"_at_0)_or_\"cmp\"(u8_at_0_eq_1)'_classid_1:1: the quoted kind is read to strbuf's NUL: Unknown ematch \"cmpzz\" (W124)","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"cmpzz\" at 0) or \"cmp\"(u8 at 0 eq 1)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"w124-kind","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"cmpzz\" at 0) or \"cmp\"(u8 at 0 eq 1)' classid 1:1"}} +{"id":"tcematch/ng-100","desc":"negative: opt=plain cmd=ng:w123-esc:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\\x41yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\"_at_0)'_classid_1:1: an escape at 511 then a 40-byte run: memcpy past strbuf, malloc(): invalid size, SIGABRT (W123; gotc refuses)","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\\x41yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\" at 0)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":134,"refused_by":"ack-then-fail"},"axes":{"fix":"w123-esc","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\\x41yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\" at 0)' classid 1:1"}} +{"id":"tcematch/ng-101","desc":"negative: opt=plain cmd=ng:w124-realloc:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(\"abc\"_at_0)_or_nbyte(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"_at_0)'_classid_1:1: a 600-byte string past strbuf: SIGSEGV (W123, W124; gotc refuses)","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"abc\" at 0) or nbyte(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\" at 0)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":139,"refused_by":"ack-then-fail"},"axes":{"fix":"w124-realloc","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"abc\" at 0) or nbyte(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\" at 0)' classid 1:1"}} +{"id":"tcematch/ng-102","desc":"negative: opt=plain cmd=ng:b-change-new:filter_change_dev_d0_ingress_pref_1_protocol_all_handle_3_basic_classid_1:2: change of a handle that doesn't exist: Need both RTM_NEWTFILTER and NLM_F_CREATE","cmd":"tc filter change dev d0 ingress pref 1 protocol all handle 3 basic classid 1:2","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact","tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' classid 1:1"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":2,"errno":"ENOENT","refused_by":"kernel"},"axes":{"fix":"b-change-new","json":"0","words":"filter change dev d0 ingress pref 1 protocol all handle 3 basic classid 1:2"}} +{"id":"tcematch/ng-103","desc":"negative: opt=plain cmd=ng:c-change:filter_change_dev_d0_egress_pref_1_protocol_all_handle_1_cgroup_match_'cmp(u8_at_0_eq_2)'_action_drop: cgroup's get returns NULL, so change finds nothing (K2)","cmd":"tc filter change dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 2)' action drop","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact","tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 1)' action pass"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":2,"errno":"ENOENT","refused_by":"kernel"},"axes":{"fix":"c-change","json":"0","words":"filter change dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 2)' action drop"}} +{"id":"tcematch/ng-104","desc":"negative: opt=plain cmd=ng:c-del:filter_del_dev_d0_egress_pref_1_protocol_all_handle_1_cgroup: cgroup's get returns NULL: Specified filter handle not found (K2)","cmd":"tc filter del dev d0 egress pref 1 protocol all handle 1 cgroup","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact","tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 1)' action pass"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":2,"errno":"ENOENT","refused_by":"kernel"},"axes":{"fix":"c-del","json":"0","words":"filter del dev d0 egress pref 1 protocol all handle 1 cgroup"}} +{"id":"tcematch/ng-105","desc":"negative: opt=plain cmd=ng:c-add-again:filter_add_dev_d0_egress_pref_1_protocol_all_handle_2_cgroup_action_drop: a second cgroup handle in one prio (K2)","cmd":"tc filter add dev d0 egress pref 1 protocol all handle 2 cgroup action drop","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact","tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 1)' action pass"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":2,"errno":"ENOENT","refused_by":"kernel"},"axes":{"fix":"c-add-again","json":"0","words":"filter add dev d0 egress pref 1 protocol all handle 2 cgroup action drop"}} +{"id":"tcematch/ng-106","desc":"negative: opt=plain cmd=ng:c-nohandle:filter_add_dev_d0_egress_pref_2_protocol_all_cgroup_action_pass: cgroup needs a handle","cmd":"tc filter add dev d0 egress pref 2 protocol all cgroup action pass","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":2,"errno":"EINVAL","refused_by":"kernel"},"axes":{"fix":"c-nohandle","json":"0","words":"filter add dev d0 egress pref 2 protocol all cgroup action pass"}} +{"id":"tcematch/ng-107","desc":"negative: opt=plain cmd=ng:w147-del:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_08_basic: handle 08 is 0: a delete of the whole prio with a kind, refused (W147)","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 08 basic","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact","tc filter add dev d0 ingress pref 1 protocol all handle 1 basic classid 1:1","tc filter add dev d0 ingress pref 1 protocol all handle 2 basic classid 1:2"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":2,"errno":"EINVAL","refused_by":"kernel"},"axes":{"fix":"w147-del","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 08 basic"}} +{"id":"tcematch/ng-108","desc":"negative: opt=plain cmd=ng:w152:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'ipt(-m_mark_--mark_1)'_classid_1:1: ipt: free(): invalid size, SIGABRT (W152; refused by name)","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'ipt(-m mark --mark 1)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":134,"refused_by":"ack-then-fail"},"axes":{"fix":"w152","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'ipt(-m mark --mark 1)' classid 1:1"}} +{"id":"tcematch/ng-109","desc":"negative: opt=plain cmd=ng:w155:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'ipset(foo_src)'_classid_1:1: an unknown set (W155; refused by name)","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'ipset(foo src)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"w155","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'ipset(foo src)' classid 1:1"}} +{"id":"tcematch/ng-110","desc":"negative: opt=plain cmd=ng:w155-ok:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'ipset(foo_src,dst)'_classid_1:1: an unknown set (refused by name)","cmd":"tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'ipset(foo src,dst)' classid 1:1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"w155-ok","json":"0","words":"filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'ipset(foo src,dst)' classid 1:1"}} +{"id":"tcematch/ng-111","desc":"negative: opt=plain cmd=ng:w129:batch:leftover: line 1's look-ahead word leaves \" not\" in flex's buffer: line 2 is sent inverted (W129)","cmd":"tc -force -batch b.txt","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact","printf '%s\\n' 'filter add dev d0 ingress pref 1 protocol all handle 1 basic match \"cmp(u8 at 0 eq 1)\" \"x not\"' 'filter add dev d0 ingress pref 2 protocol all handle 2 basic match \"cmp(u8 at 0 eq 2)\" classid 1:1' > b.txt"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"batch":"leftover","fix":"w129","json":"0","words":"-force -batch b.txt"}} +{"id":"tcematch/ng-112","desc":"negative: opt=plain cmd=ng:w129-str:batch:open-string: line 1 ends inside a string: line 2 starts in (W129)","cmd":"tc -force -batch b.txt","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact","printf '%s\\n' 'filter add dev d0 ingress pref 1 protocol all handle 1 basic match '\\''\"abc'\\''' 'filter add dev d0 ingress pref 2 protocol all handle 2 basic match \"cmp(u8 at 0 eq 2)\" classid 1:1' > b.txt"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"batch":"open-string","fix":"w129-str","json":"0","words":"-force -batch b.txt"}} +{"id":"tcematch/ng-113","desc":"negative: opt=plain cmd=ng:w129-stop:batch:no-force: without -force the batch stops at line 1","cmd":"tc -batch b.txt","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit","tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit","tc qdisc add dev d1 ingress_block 10 clsact","printf '%s\\n' 'filter add dev d0 ingress pref 1 protocol all handle 1 basic match \"cmp(u8 at 0 eq 1)\" \"x not\"' 'filter add dev d0 ingress pref 2 protocol all handle 2 basic match \"cmp(u8 at 0 eq 2)\" classid 1:1' > b.txt"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","em_canid","em_cmp","em_ipset","em_meta","em_nbyte","em_u32","act_gact","act_police"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"batch":"no-force","fix":"w129-stop","json":"0","words":"-batch b.txt"}} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-001/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-001/cmd.json new file mode 100644 index 000000000..7093029a7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-001/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "g-and", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1) and cmp(u8 at 1 eq 2)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1) and cmp(u8 at 1 eq 2)' classid 1:1", + "desc": "positive: opt=plain cmd=g-and:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1)_and_cmp(u8_at_1_eq_2)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-001", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-001/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-001/dump.out new file mode 100644 index 000000000..7b5a8aa6b --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-001/dump.out @@ -0,0 +1,5 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + cmp(u8 at 0 layer 1 eq 1) + AND cmp(u8 at 1 layer 1 eq 2) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-001/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-001/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-001/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-001/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-001/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-001/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..e31e23f410625bfbebab97b9b0d8ba69cc01396a GIT binary patch literal 400 zcmZ8cD-Oay6r9}_XbFO#FgOGPfvCXI0{~YbdGf>k;}0KiE~957ne9TvysO}QLya5*URp4Ssmrq# z^UZomZVb!+Sp?)P_lUji)aKVoIvCS-ifgbObW{b$H%GtW4_|7PsKa~I| G=luX+! z4b8sI>)V;m&d%Pm>)C;ae|h*4OrM>@E(s8GuZHJNG^!eN(}O`wUB%U>k3IqewBTY( zvHVi{$)qr{{D$PaZ28TWw>RkR5@(#My3b`1;6zSs=Q@%aq0y}8l8;3%~lfy4JX@X0yE5x-%fE^&D~f54cqP?U_cDnnjpwe-dZvqj|9cD4a2o-@k!nM(lJ Fd4ImiDE9yW literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-002/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-002/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-002/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-002/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-002/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..a2a434fedccf83eed96f358fd8cb70a5d1998671 GIT binary patch literal 536 zcmaKoy$%6U5QWd(yJGzmA_|R8p%76hboL26gTF?UUPi0%0>Tq0ya0)k=rj^FS?4Sp zYa?benYriA{dQ({o8{bri;uZ@@X)#DCyQksK65!-+g6CI$)pGapLLNIj~*(>7$6Oc z5sSrJlP5?BO7Lpb3v}`B=hF&gTb?(JvN&f;PK%m6*;kcP1IEVt5=V9mfH=ILU~zhp%vP!HtXYl yOKpMx2|c1FJu&mX%ar?-@^&6Tsj^48x5P`sS(&GKZy8bwI3PQ`SJD9Zd;I{05hv0B literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-003/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-003/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-003/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-003/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-003/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..7ce3ec5b4d22af01809eeb9675a70bf793562d71 GIT binary patch literal 512 zcmaKpy$(S^5QWd$E3ThHM4_NlC`1$r9i_@U_-RDx1-yeNkZ3iYK%!BL)&r=7L`SZ3 zuHf2;xtYxD?Cf{X?Cv+Kc?=#t=Hbpo>y#O<7a6pf%i-Ck!prJRaxiGK?^TONA0;FW zkbuRI&EoCI6C?yVyb9}Cx_Ia1>;SSY*BeGzlyfAf!J6FFRc5IMW23snkzIlyP?VM{ z8C&LZmmz&s#6m5{t{M<(Q4AT@AVppM-efdj%|}{Wn9_fp(**y{b@(rzJbih@+5K&m h_dZZ$USOZ@N3Zt09rYWdxo(_GcOZA?%ClshxgH!bJ~{vZ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-004/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-004/cmd.json new file mode 100644 index 000000000..f84b5b434 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-004/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "g-case", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1) AND cmp(u8 at 1 eq 2) oR NoT cmp(u8 at 2 eq 3)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1) AND cmp(u8 at 1 eq 2) oR NoT cmp(u8 at 2 eq 3)' classid 1:1", + "desc": "positive: opt=plain cmd=g-case:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1)_AND_cmp(u8_at_1_eq_2)_oR_NoT_cmp(u8_at_2_eq_3)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-004", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-004/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-004/dump.out new file mode 100644 index 000000000..c94e24cdd --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-004/dump.out @@ -0,0 +1,6 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + cmp(u8 at 0 layer 1 eq 1) + AND cmp(u8 at 1 layer 1 eq 2) + OR NOT cmp(u8 at 2 layer 1 eq 3) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-004/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-004/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-004/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-004/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-004/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-004/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..728b80bb0093e7a690ab706cf26da43bea55aaeb GIT binary patch literal 424 zcmZ8du@1pd6g{skT9If>U2Fz}!C){*bSGvjx`@#SNcaVdQDQduh5mvc@C6dFN}W?} zG(F9E_rCK^&bzPo_;$A7;135MZpP2XX0-DVvKQglLzNtTHZ2&0^yONyx@f~QKn*q` znw2+Uo1Ov$*$1iHWGhW6j0t$AB(0)A7xmu_`itrWi@GxP>Fv#fhXHl5JaZ@Y N!)RuACIe7@#}``LD4GBO literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-004/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-004/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-004/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-004/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-004/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..5f67692257b2661c7681d22e95ee82a015263d73 GIT binary patch literal 560 zcmaKpF>b;@5Jmrb9brO{qR53CItmJeC{m=u2SBN5Lue2kG)SC=8zA~rz5zmXk+=a8 z1)@Rb|0Sz9R>WAdGyXgKJUiZI>t%otzZT-cm)_xNvPkMknadH{HwAB9CND5ZS?9H4 zjL<;U02Nq_SS;Qbd4f1liPxh3Oc!q&S9T!V@;zge6*(JnUa85;eKjd{U~I83ab(9l z&lT0nHyLN<@-jpHwGp^pPVXv!>qXHqtidDu8h*^ipVT7Mw1pM@zjM05y>oMZDvF9aJ#^t4pazRI zi^Y48CrAn^@%q$Tbn%Aq{0Xux?-8S{$T^;U+^NaS@48SLpi(WqOB_+&Ns_=C)OlMj z_L~*8103w=9yM)Y&AgLVo8L(>HDfybCz4LNj8)XL4(g#y=A^oa88_dsrLJE3w3Cpt Wj9Dcw&(fpBK1Q=NXDR^7^L+u=`ztj7 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-005/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-005/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-005/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-005/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-005/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..b52a4b8b12484354c69ea55df04eb598d945fe26 GIT binary patch literal 584 zcmaKqF>b;@5Jmrb9bq7mEMzHe=qM-Ea0)*Gh!;Ma9R6iw+Dj_Ia&Z zBXrR;Km!&_Hj6hSPY?&H@%q$brg+b9#Svs%zUQopDrZa1n3}RaSC7&V##ZMNNAXh> zg{o%xAR{JPS!Zaz0RlHmW1>JC{(%-lst8Hb52r%hOFjyPY(-nFYwqCIk^Gr4fAMf_ji)CaIWM#g}mfh+9?L;6VdkQOw}l*)ptG9 vXv@l?shhdvqwv&4>!9J=KN85RH$B?n2WP*gUPxyjn-833_qP%N={|k|HGwPU literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-006/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-006/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-006/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-006/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-006/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..da1df7cab546fae8248b68a7f3166b67a5edc530 GIT binary patch literal 632 zcmaKqy-osA5QWd|U0_j)4WZb^*jQK?Lt$ZJAqBOyo#Cf3mcELKt-OLyV8Sby@B*~P z#EL?)oHOgfx*-f1=HB`F?%cWiIe(u;h_RCxYi@48J5Q&}4hCFH5r=D;QuP^adZUE}KJ&*tZ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-007/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-007/cmd.json new file mode 100644 index 000000000..9661613c7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-007/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "g-deep", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match '((((cmp(u8 at 0 eq 1)))))' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match '((((cmp(u8 at 0 eq 1)))))' classid 1:1", + "desc": "positive: opt=plain cmd=g-deep:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'((((cmp(u8_at_0_eq_1)))))'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-007", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-007/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-007/dump.out new file mode 100644 index 000000000..44c5e51e3 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-007/dump.out @@ -0,0 +1,8 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + ( + ( + ( + ( + cmp(u8 at 0 layer 1 eq 1) + ) ) ) ) diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-007/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-007/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-007/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-007/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-007/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-007/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..91cdcc9bc3e4f0122840ae2ac604adf32e7b9532 GIT binary patch literal 440 zcmZ9IKMnz55XIkT7rQ9Fs5Cl-LP4U?5eHDHHU1Pt$pJJ@zy%~uAa1a=MBxf*iC)%w zyEZmEo7tIpnfzwvdjywL4le%Y;=`iyhdI@e1L#OULda_ zf}Mq2zHcw9>k*t|nAzFc-+avdtQMaMQXDPCo`;7`ZMGiQF=Q@BY6l9zdQ7fiFl1k- z#W6z*mj<|i#T%Q&+mR=T2bFjo)*W5E<#hB7vMtXmMp?{hJk`->OWhVTQGE{YiFZzG)G~(R556;TS z)7M0W-KRGFyVuQxxno~2WsbFA%G^P1q1#3OSAY7(&nOrX$!ITa?nOJ4m-o_S$#Rx< H8}{-Gtt~dr literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-008/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-008/cmd.json new file mode 100644 index 000000000..c0cad8f32 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-008/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "g-first", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match '(cmp(u8 at 0 eq 1) or cmp(u8 at 1 eq 2)) and cmp(u8 at 2 eq 3)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match '(cmp(u8 at 0 eq 1) or cmp(u8 at 1 eq 2)) and cmp(u8 at 2 eq 3)' classid 1:1", + "desc": "positive: opt=plain cmd=g-first:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'(cmp(u8_at_0_eq_1)_or_cmp(u8_at_1_eq_2))_and_cmp(u8_at_2_eq_3)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-008", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-008/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-008/dump.out new file mode 100644 index 000000000..9f58211fb --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-008/dump.out @@ -0,0 +1,7 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + ( + cmp(u8 at 0 layer 1 eq 1) + OR cmp(u8 at 1 layer 1 eq 2) + ) AND cmp(u8 at 2 layer 1 eq 3) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-008/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-008/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-008/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-008/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-008/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-008/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..1f666d693e3644ed4942c649c7fa8a317785dd9e GIT binary patch literal 440 zcmZ8dD-Oa?5S-T*XbDXkR1FS+Kp+q}dIAzG!SE3fB%B0=06~Jq5N=R~=MG2`JSj6R zgr?g}cX!_Iyxn(?FGmXw{^sD#r2nj~hC2@tV*!rcllxhRK^+DW>wa9`yJ)~OKm|7D zESBDgdJ;*63VJQ_0U^D!v%P`ZHuIQXme+agJzU8N#ko$T+9;Ltb4f=kuOvxe8&sK1 zC+p>m+y)jFgiB7ZFlHQl?^KUPgy}ze6@lwj_)h{#Tb%#E^g@5qS UB`*|rXp&-|(GLDV1we7H4b;@5Jmrbjc`JcEJWdkj)EdW6cp*OH~RVI48|a`^T`A-5hk4H(4C%e7(* z(87xWs<8NGvUpSS1aY7euR}egi+4F5_8{Bxea9#(a^~dpsmaTIwJCLBY_TtKWal(Z z71hgvjDTo)nW6sP;kjOtkt*PNQFIJz@XEeEr+>d+)B@CWgf0D9ov!$=Zppg>^7J%O zVfLf_+|KovCftY2lWFznky|q@|5gviM6PR7ICWLjMauG3FXP=tb6IgNnxVWrmnJ1k Jnr55NLlqB?C!A~Nh!vjc&N6_n(A`%b4BX|#qUe-C5 zSUbt&o;jKO-I;s49Cr>Zeqr%s(YhC=`;|pYnhEPRb$lbFD8Zo3zOR=&JyhTuAO{yC zHj8&APmnh##jDXTGQ|sK-7Uy=SzmZ6lAOlI;!01Mp6f)bj!ZT=mpGz4q9}rEkY_dM z&nH8AYdGjJz0Z3c>f+~3{fh1d^rWQYX((V!@SZSs)S+OP3F+6VeCD`6T*xoOS;iby b|DnHGai<1tWqPM7E%J?aI`q^4r1yLQsH7}5 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-009/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-009/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-009/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-009/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-009/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..fe9af0849b629046e08728348928b74f30abbebb GIT binary patch literal 704 zcmaKqKT1PE5XQfK`y?B+2;mXZ*riAzVquZ;2|0lFHc12#OFcoVlxYJ2;{gQ86>N4rwM~| z)`eVb9ga{pKn)hxEEaD{o**8S@Vd-5sN!9{ea%3&WxS%5#GFTR&X|*?b9Ivbadj#Epu0YIRWMGa;1^1zy`B2^jpOu^lE1M{jcM|w9iA-}QG(q> zyYqs*j&=IJefo_blKxF%h%GNL87MZJxs-*kkY$z8US7Bt?NFNTrC`dkL%R)oSpxor?<65M>PTKw{?7@$)W;-E_GineFmtaXn+EI zj477ilYTOBMj5|4`H+xbe>cB?-ah*yPes~izp=QI6S8xiNHvhlr{|K7Tpn>8!#60g z8xCfZ5xEsSEQx?zp8bM#Rx@9`)O1~?xsX1 fAB9JqX3(R5b>@yO@DBQT`!BL`$DCDtkegW+1vW{(WuhQIj%D9J7n7<*-+2{xLoVU zN}E~<(z2p10GsawK9eM(0pEmrjhk~V+bZ5qfQ1fQ<>3^=jx8@hQH|ca&hjE03zHX*5&Kh}Ahs)X( W;H=vXx>;lUP`5Fq$aHI;b^8RbcsBX~ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-011/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-011/cmd.json new file mode 100644 index 000000000..46de15862 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-011/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "g-space", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match ' ( cmp ( u8 at 0 eq 1 ) ) ' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match ' ( cmp ( u8 at 0 eq 1 ) ) ' classid 1:1", + "desc": "positive: opt=plain cmd=g-space:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'__(_cmp_(_u8_at_0_eq_1_)_)__'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-011", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-011/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-011/dump.out new file mode 100644 index 000000000..d04ee1bc0 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-011/dump.out @@ -0,0 +1,5 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + ( + cmp(u8 at 0 layer 1 eq 1) + ) diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-011/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-011/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-011/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-011/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-011/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-011/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..e801ca27b3018b98ad9acdafc2433ddd9c1f0c29 GIT binary patch literal 392 zcmZ9HEe--P5QSgcEi42Fc({JD2)9Xbe!apLsIV8`@cHFQ?q-P>BBPqWau&F^|!o8p7*BEV-6i|f0 zn#;nQktYxb3V1#0Ri^L`r^gv&8_p@KgwOdjEsoSALtlGJeb|EUOE^M#WmyKJQ0BB; z>^3WEQ)v3ph^cA!R?|oRO^&XsyPI6|Zj`){BmdTESq!-^8G7ncB3p^4+guia(B~JR C-zNqD literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-011/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-011/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-011/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-011/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-011/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..3ead49d2cde0076239ac7a8aab3f9ee88bff0e7e GIT binary patch literal 528 zcmaKoJqp4=5QX1nBgQ`nlENmPg@vevg89(u#@;+ zFc^b4VVK!BvtMTRd^+wOxcHchCl8}rbyeGW7%8X2wF8CJdQ9pth}f5E+2|oe$pA%I zEZ8hwNS+`GD93A2_vzwYqr(D5B`Qa730H6hg$uZVN}-VG<(b)d z@v^h|_S&!wF4%Kq>cxb?oQkQeZo}h(_0cC_( zQ!KwH{bb^dJiiY4I!k_!{^SgLhnz3$LeXcQ#yFBw`MD0Hx`<1~T=J32JIgYJhAOA! zVz*h5nz#4=8W| literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-012/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-012/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-012/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-012/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-012/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..4af0d7478e39810d8e7e18d12d0af850f8b1cf43 GIT binary patch literal 536 zcmaKpy$%6U5QWd(yJGzmh(e=NC=i80xgJ5K_1B2f%jm=dXmkou=rkG+;0+{tS?4Sp zYa?beJ9E#S`|Zr#%W=DQ;NoL09$fgh{Cu_Z;47!YwOxhC+Du9?=&>%+;?YAD83UwY zF=erM8}bARK?z=+dVwz9pxC^CY|HhLQ5NSM$mvj%C;O^VYQfleU*gE_K@cdamlGLR z=JF&%{Wai(z3lrcK-i07$gl=k_B9?YW)o^2a@xX@{_C73_;+r|Z+YbDDI+D+m-+8~ rhiZp;g>|~0*E=dTrouhx`kTsRtTLMS%z1S;^5nc_N|q;dXVJV*gh4!H literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-013/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-013/cmd.json new file mode 100644 index 000000000..3bec3d14e --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-013/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "g-words2", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match '(' 'cmp(u8' at 0 eq '1)' or 'cmp(u8' at 1 eq '2)' ')' action pass" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match '(' 'cmp(u8' at 0 eq '1)' or 'cmp(u8' at 1 eq '2)' ')' action pass", + "desc": "positive: opt=plain cmd=g-words2:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'('_'cmp(u8'_at_0_eq_'1)'_or_'cmp(u8'_at_1_eq_'2)'_')'_action_pass", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-013", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-013/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-013/dump.out new file mode 100644 index 000000000..16ed278b4 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-013/dump.out @@ -0,0 +1,10 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 + ( + cmp(u8 at 0 layer 1 eq 1) + OR cmp(u8 at 1 layer 1 eq 2) + ) + action order 1: gact action pass + random type none pass val 0 + index 1 ref 1 bind 1 + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-013/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-013/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-013/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-013/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-013/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-013/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..4777d6549a282c0bb1a654bd8c43a45b53d2123b GIT binary patch literal 456 zcmZ8dJq`g;7@W61SW$>dL8nkCwh*Bs9KaF$B_c`=pl}A2NK|^$juK87j0=0j@?xG!lx*}pu>A#FJ3b!!!tk{HYU8R zyc6>j5(Xvms`T@u@;19|0A}0lFRVg5r`vLIr6(rmI@7AbO~vO@j#8dM5WqIbvKtK- zvoXCjEcD6D=e-_v{_`e}Lsg_F6@BFj#uUQ|qxp0u82Uc_8kI**hvTLE60B8}qwXL2 YHv{fer!6LTs?cJ-(N4F%E&$0r-w;kLY5)KL literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-013/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-013/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-013/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-013/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-013/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..4215cfdc45b1b15c0a494c92c46bb4247fea6438 GIT binary patch literal 704 zcmaKpu}T9$5QhJ`J;_Ebf*d4`T?&gJ77CUp1Z(pMX9ST{q7RXWu+Ueq6|200?;zL+ z_HzFJ9&6SmI50cAGdth@ck{M-ekxF6Z6&^Ws6TfX=dT{M_H>l)R3X|CH+wLg@m|cO z(PJNd1A1_{;$`t>+@Ei!d76U z%OhWX;5&W#bu+(LZOU0yJm*&N59K!cRsFZ(sa{s|8%Ok%roDX3b*M|U7`xMYy0+QZeO7(`@5hegN=lK2ZPw literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-014/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-014/cmd.json new file mode 100644 index 000000000..b89ae2720 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-014/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "g-two", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' match 'cmp(u8 at 1 eq 2)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' match 'cmp(u8 at 1 eq 2)' classid 1:1", + "desc": "corner: opt=plain cmd=g-two:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1)'_match_'cmp(u8_at_1_eq_2)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-014", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-014/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-014/dump.out new file mode 100644 index 000000000..02fcc464a --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-014/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + cmp(u8 at 1 layer 1 eq 2) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-014/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-014/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-014/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-014/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-014/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-014/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..3417f8501938d9132169a5b3f005f3eccc25829e GIT binary patch literal 416 zcmaKnJqp4=5QX1l6OCdaRuq_D8C5Cn-g@BlXcfQY3R$N@Zpjab`wg;ZL52TQ?T z);9^ku!RGYnSJ~6<>irHPab^y%EyO?_|@1w#{pv9+3?LsM^OVVEeNLc6nzmvn~H_{^SKj{`ow$ut<@dCD}hG%sQm5?Pl#!;(MZ5Z!3iLq7W(?g-Y$G5v3RK40?r9%Ohw!fcKE-Wt}t0 zvNqyw?%X?f?tFXh+%Bhs2Ol5v@#Lm|&#$}t0Da|j__m`ES&K;#1_Sm*wRj9rMaBSW zSS;Br-jF;&94Nu7vtFQ!H$L`uAlq_(VU)!=Q*zp@$&TLRbQebDvzQlU@A0- z=J9r!kV|2}A(rERd!WnSBlp=XZ$c;)(pkVam$`_Oov@tWd))aK^7k=45BVsmd+w9s NrV`KBnG68>KVBV4DvSUC literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-015/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-015/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-015/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-015/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-015/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..3bbe6e51a3b213f0d59a0698740a18ef5ed66566 GIT binary patch literal 672 zcmaKpu}T9$5QhKFp13gTqD zk$qKFr6?`0WZV%gPZ`oTK*MV(uT%lAMbR^?!5(#8kEW9`a}F(Sp-a|Zb-Loex=-Ha z$kUf&$Ft($jknLa*QDQ$#*f;&;G5-Kr(zGbZ}bDlo)xNVMt#y4^?k;^>y6}T-*cuc>-Bb_?>}IhK*az6 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-016/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-016/cmd.json new file mode 100644 index 000000000..5ff9ba35d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-016/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "g-flowid", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' flowid 1:2" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' flowid 1:2", + "desc": "positive: opt=plain cmd=g-flowid:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1)'_flowid_1:2", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-016", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-016/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-016/dump.out new file mode 100644 index 000000000..d8094f94c --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-016/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:2 + cmp(u8 at 0 layer 1 eq 1) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-016/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-016/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-016/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-016/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-016/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-016/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..5c90e0e3773f69347e4798792b3021334dc04f98 GIT binary patch literal 376 zcmZ9HJqp4=5QX3VM59=Um4$W|DJ%q2SjHQOtyri55lg*+C-DkiA+?2Ip{Ee+b$yc% z3_I|4W?p8$%-*xhS;OKV79TdrtF^x_0whvXux28uj1h|t6sDXjy=o58M?(R17^EB) z-jh6m9OwSRq@~A~5QSe)4`E;tgdh;$5F^ND1!5&QEJxtS5F`f43Ah6Sy~$pH5X@QG18hLTq15N-$`%FRmqH zfEscJ$iiaCX7N_!3F1I0UdVcpF5YoIU4m@O^M+BD>X@>MQ;5jYpt{UL9C_08U$WvFpHyI6B3-F;U%;>M)X@Ym}I{a5ao<}bu o!|rDb@Au+VnOEFSZhN_X)o+aEI&d!SK%Snf%#!7M?Ixb<3i+u$>Hq)$ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-017/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-017/cmd.json new file mode 100644 index 000000000..ecf2d9aea --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-017/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "g-act", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' action drop action pass" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' action drop action pass", + "desc": "positive: opt=plain cmd=g-act:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1)'_action_drop_action_pass", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-017", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-017/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-017/dump.out new file mode 100644 index 000000000..b3275fb56 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-017/dump.out @@ -0,0 +1,12 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 + cmp(u8 at 0 layer 1 eq 1) + + action order 1: gact action drop + random type none pass val 0 + index 1 ref 1 bind 1 + + action order 2: gact action pass + random type none pass val 0 + index 2 ref 1 bind 1 + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-017/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-017/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-017/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-017/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-017/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-017/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..6f09f50cec69266e59f2c09fd664cbd6ecab0963 GIT binary patch literal 460 zcmaJ-yAAS8XL^Jt)8fE+9q z6w7Z+Kbd@tQhq-9G9kZG<$eRbE&DUGBI$E#d$^Dj(sLb2b&$y>=aP?Ho>3IR8Wh>h zXX|A^ZU+ZGktZijoptR~ec%0lc>rUkoT$UI0uj!FjacfpHQtHiS7{FCuQtA;tpAhs WJ@i-$>Ajky=xwxDIFSHI@A?MgAuO^0 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-017/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-017/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-017/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-017/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-017/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..0b4ea257bac013e2658e751b03eae34d03591eb4 GIT binary patch literal 820 zcmcIiJxc>Y5Pf@d;zb2TuDC+G6e&b3EG#Ud*xUFA@&RH}YUxi&;}6h6M6eF{3+%+- zAlM1Y`QFAg>movmJeZx?*`2pfq%8MB z>k^OfR@b$>w7iq!gVeH=L;ALmc`e5$s({xb?>Wq2iMqO-^Rpgv1(tP$J97P1rzifa zyL1^!EO?H1*>{E!-)YcJJG~2?9r0h4-`^y@Tk;E~sD4!cJ}IbPXtT$PCVfIiQ!Hz8 zt>}f|C%fr7V#U0*NmIZq+FI0Bum{y_Fs^*0-K0Msz&XtVZjAk^XCj%)k||@o<|)j= E7gKaX!2kdN literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-018/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-018/cmd.json new file mode 100644 index 000000000..126e2b2d8 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-018/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "g-actcls", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' action drop classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' action drop classid 1:1", + "desc": "positive: opt=plain cmd=g-actcls:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1)'_action_drop_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-018", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-018/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-018/dump.out new file mode 100644 index 000000000..764819af2 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-018/dump.out @@ -0,0 +1,8 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + cmp(u8 at 0 layer 1 eq 1) + + action order 1: gact action drop + random type none pass val 0 + index 1 ref 1 bind 1 + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-018/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-018/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-018/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-018/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-018/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-018/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..01e5f2d85be64d61b10f51748de9dc59013536ba GIT binary patch literal 424 zcmZ8cF$%&!5S+_JO+<)TrO-|!MT!(6f(rTuUl0`}Sn30OgdY$rZS)K2wecT(((#8w4gAfF6WBfLI<`2YS36w zEPey}iAicy^7F_y3Gus)E@#kNbC21jiaz&=gA+MHIoE-dk4m+eOMJxTl_UwYLY>

u|XfmioQRJ9+&l{5)0q_BS*4DH4=3 QcS-S{lFZRu1VH&6UsqTv?f?J) literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-018/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-018/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-018/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-018/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-018/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..f4bd8e0a7a344cb117a7cffe9ffc221d883312c9 GIT binary patch literal 672 zcmaKpy-or_6ot?1EOAi_L$<&~6AKCoLntULfyf&W6HCOzzY=jy3z%U9=&{G>7J`;2|p8_C1Ir%YMa>+O8sce)ln*Z=?k literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-019/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-019/cmd.json new file mode 100644 index 000000000..b6e4df993 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-019/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "g-prefix", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic m 'cmp(u8 at 0 eq 1)' c 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic m 'cmp(u8 at 0 eq 1)' c 1:1", + "desc": "corner: opt=plain cmd=g-prefix:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_m_'cmp(u8_at_0_eq_1)'_c_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-019", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-019/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-019/dump.out new file mode 100644 index 000000000..8a6c0afdd --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-019/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + cmp(u8 at 0 layer 1 eq 1) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-019/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-019/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-019/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-019/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-019/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-019/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..2ee106f1cb4a7d36013667b32b27a55262e3405f GIT binary patch literal 376 zcmZ8cu?@m75In~Q0-``v6wpzmpa6-2f&v%;CLl?JD4}MSxTRzPiZB8bumBQ03iq)h zBENM0|MUO({LF7QfWbcuzHHX-?s1j@E7k%Sy^vJJltmv38_rc+J%<>ft$-FZQVxsW zG6O`U6!P>U@;yTIlI`mbYHRj6vqW9zYJoF3f$u9NH9@0U_a!=_@+pb}TA{-(-k%N$ txj6zvL`Y6%hO7r=<=%BCFQAm0QRQDAR(2hH4`cEH7sSJ5C%b^}>j%SHC{+Le literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-019/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-019/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-019/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-019/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-019/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..67066deecfd21f96f330fbc812bfc7a9a1a846c4 GIT binary patch literal 512 zcmaKoJ#NB45QX2ejxd2DLKGCxQMf>ef`T$mg{WyM_-PPy2x`)B2THEM72I$D?hz@e zBj>$ECT4{gYj$R5XFtE$OL96E5a8be{Bje2RhGj;fOqC{1h%h`S(ix_1|RIpYWWzV ziIM?|u$Z%1yfJx#IFQGSSbw97XSeYW$hO=kjIumuLr#x1xv#6mQU}K7b%`VUPSaFT zT0Y4*Gne}e>1(6lw5&#IfYYMr7}nsGx~7x$V#ZpCvW~E$Kf0$0p4}VpUm)&T_y95aFj}TuD^LKl9zXCJ%k_h!wN*NP2T_`NLS8CN7VTh&z8qmnN zEW8JK0E7gO&rg_ocEFOaP{7pxLh&MF5E)Fgdh8Kp65^{Ox72<2mpfmUd7+N}56 wlv;uSF*BkjI|KGT+qwU`lOLdz+fnu{M|w!?eIDLhMw9|x5D%v%2ZrzK2iNx~?*IS* literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-020/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-020/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-020/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-020/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-020/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..8e0ff3d7238c9585c6f28982c3c129fa84f6abc2 GIT binary patch literal 512 zcmca|c+)~A1{MYcU}5+RJlL70Js*#bntfB}#p#K6el1XKqTL#8E)lib3Y30nGy$0yYTEJPn|@01$)Bn`XT27z5C3W+4ACkOl!{bIO6{ zm;l8<7~NeeKp{N_MrLGpfy@DcPyhe_2hkw6bOOyd0c3+Px)~t%=`b*X-I5UkQosOq z3y21r!OY0O1$0+ZVsU0NP>h3t8zjZh0L0kzfqZ~Zp9jz`4xo7;D8j%BRE-KW;PMO% kGC;NjP#q|IKmbC5S&Sfm^#T0_3Ih;E_m>Dzh#Ada0Nt}WCjbBd literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-021/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-021/cmd.json new file mode 100644 index 000000000..a8300021c --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-021/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "g-quoted-kind", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match '\"cmp\"(u8 at 0 eq 1)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match '\"cmp\"(u8 at 0 eq 1)' classid 1:1", + "desc": "corner: opt=plain cmd=g-quoted-kind:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'\"cmp\"(u8_at_0_eq_1)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-021", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-021/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-021/dump.out new file mode 100644 index 000000000..8a6c0afdd --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-021/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + cmp(u8 at 0 layer 1 eq 1) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-021/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-021/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-021/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-021/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-021/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-021/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..668e108e179b268a3f183bad06f541f12a8eb687 GIT binary patch literal 376 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$#10yGa~2-qMr^E80s0zeEhudKPHnE_}vGmw86NP_^fISvOH z7)pR*AdK#=6rhj}11lS{yFliEO!@Tx|9=K%Mg}e*FDbD&GZ`pm!ob9!0mK|YF_0P= uAX@^=g4hcoff5Xij1V=9V828i0O^HbbT_B~#hHK_KyGLW26BJ^-CY1edMH-_ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-021/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-021/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-021/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-021/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-021/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..25d3f3c90fc2d56c367d9d48eaa6c654e751ad0c GIT binary patch literal 512 zcmaKoEsg>~5QSgULw5KPWP?C}Lml6Y!EWnwY&M`mfZ348J%MsX?!p#~?K4H*h->sI6 zAu7li-~$#THj5XLCx`=iyc+8Tx_Ha~?*+)V-0v7=NzR;{CTntESCyqN7@O23j_ef2 zv7)rB$k;QN`wZ!;BjvP2ziNQfqUadbAWL0?{&YNKEksU7n9*O|(**DC{qSEQdHRY- jv-{a<_j91kyu?1ekLuX z$TDy;GBB_+Ff*h86@$$41DXdi1Z)tRc^W`*0U!pMmtK~0kpXBnGmw86NP_^fIsNMx z7)pR*AdK#=6rhj}11lS{yFliEO!@Tx|9=K%Mg}e*FDbD&GZ`pm!ob9!0mK|YF_0P= xAX@^=g4hcoff5Xij1V=9V81K^y1@jjA4s72MFl9t1k?a>Lvt{Y0|e;q0szTiC^-NC literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-022/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-022/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-022/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-022/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-022/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..1ef8b5adedae77ec8cfd7af0b1f72ebf14e85118 GIT binary patch literal 512 zcmaKoEsg>~5QSgULl}NG*$@N*P>2zPAP`6vwGx3r@?!`R4!~7Vc&-2;dw{(Il7y@! z!+TADp|hbT)m2?x{mrZX-EG$?1bAA23pZb($_%BX;}``0H;OKF|0w3y2hi$Y{FWIypFJ<|94Llyu0_!e}&}fD}}k%EFE1tqWo698!tC5*um6j^{3vI1fZ0`$oIvlS8f zq|@E~d_Di%%iA?VjDN-W@>o^9WAX%++@%rgg^ar9Tn12B(^qTFX)r-Y0c~jHGz)J? zoS(h19%UKp5yyA z!Lbo@GCQ-gv%mAro(|hh3ISdg;L1(sT=?$?X|$Qk5!jZ(!x~IVFzB-HQA@@UzsMRO z1B(fp#T$|*hy!`Ni1i{}yxZ=&2icbU1EVa-nUT|EP44TevQ&q$NnPT|E^!j$sXQ)HNQ>r+=)4$m<9z`loxE;M=_({}qy_uZ%Ri-z|Ec f13%0w?9=m)=0`&sAp0dUM?YY1cR8 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-024/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-024/cmd.json new file mode 100644 index 000000000..afcd7d219 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-024/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "cmp-u16", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u16 at 2 layer network mask 0xff00 trans gt 20)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u16 at 2 layer network mask 0xff00 trans gt 20)' classid 1:1", + "desc": "positive: opt=plain cmd=cmp-u16:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u16_at_2_layer_network_mask_0xff00_trans_gt_20)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-024", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-024/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-024/dump.out new file mode 100644 index 000000000..fe2afdf67 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-024/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + cmp(u16 at 2 layer 1 mask 0xff00 trans gt 20) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-024/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-024/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-024/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-024/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-024/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-024/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..79ff27d0d7fea3f01421bfe65396de41f640f2d7 GIT binary patch literal 376 zcmZ9HF$%&!5JmrHqsAbp!9q~M!Xkx*ND2!J;}txCnno-Y?~x;T1+S1Rcn{HD);}A9 zVFzYs<}>^D@3VN^J^1*Ck1vPx)j4+qg$;X2_-tbzi~}%EuT3tq^iL>@TMy xwFDkwWi(<$y7P9PXJX*{qthvbP2y6PUdz#?iy#fE_lBchX6xH9> lc%K7R<`wGnKC-eFPGzH1)Lb{tr8kf#=aSY?ske#ddI6zJ5A#AQHOzF8F+CSKAhF31)Pd0sn8@dD5sNU|P%iqd%bR~C|9oQBEZ{~PdZFu?!- literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-025/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-025/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-025/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-025/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-025/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..1aa9f4d1ef4f099d2024acdda5b231791d248d18 GIT binary patch literal 664 zcmaKpu}T9$5QhKFo_NtKBpi4}Qk%c3P3ps_n&|CDgLHje@QvLWXQe+HKge-?eg4L62;r4w>o>Q kO_`_swqyBf!~{h8nQFCA|^F#rGn literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-026/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-026/cmd.json new file mode 100644 index 000000000..f2e06628b --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-026/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "cmp-link", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 layer link eq 2)' flowid 1:2" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 layer link eq 2)' flowid 1:2", + "desc": "positive: opt=plain cmd=cmp-link:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_layer_link_eq_2)'_flowid_1:2", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-026", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-026/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-026/dump.out new file mode 100644 index 000000000..9dcdecbcd --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-026/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:2 + cmp(u8 at 0 layer 0 eq 2) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-026/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-026/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-026/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-026/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-026/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-026/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..3319072d6a0182674308c08b8c4fd408e1b8f065 GIT binary patch literal 376 zcmZ8cAr8Vo5S+U!P$+_+5FkhpClH7VB=7|iJf(&p;VpO+XueRv2T0%-B>3i-ZPU=) zCX?Nro12?^X7`ImfPV$Zxhy~3!y}Kd;4DC3=F+N~ap*%~MP0?!dx#O*3TVL~rC9u4 z^b?c9$n&%0dxZF%ukRb^ZMbLbQgt8eBAmzx{9GxiDH_dsF7XkUuX7GYp~EfN9``$P tF*Ga@k`v94^Prf@cQv`PRH4y4lfSH)A?AU=&oCjydrC5lHzEN1Tt8@`DnkGO literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-026/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-026/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-026/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-026/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-026/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..7cc62ec826cf27737acdb3d5ce9f8d840c5de99b GIT binary patch literal 512 zcmaKoEsg>~5QSe)4`KKbgdh;$5F-ddtUw?(VD<)J`7s2^1vmhg;0hc7gFzyY++YO> z4zWAD*UK!!giy&#RaaMkT~){3X6?bp!+iYk&^s6Bhc58RSb}dmag@;s`7 o46C0lyx)scV_bDR`P+;4UuxW3znn`ukkWHin6iAY-NbX<0GbatasU7T literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-027/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-027/cmd.json new file mode 100644 index 000000000..a86836f90 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-027/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "cmp-l0", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u16 at 12 layer 0 eq 0x0800)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u16 at 12 layer 0 eq 0x0800)' classid 1:1", + "desc": "positive: opt=plain cmd=cmp-l0:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u16_at_12_layer_0_eq_0x0800)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-027", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-027/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-027/dump.out new file mode 100644 index 000000000..81009e572 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-027/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + cmp(u16 at 12 layer 0 eq 2048) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-027/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-027/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-027/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-027/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-027/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-027/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..75f1c07900ea5f0218cb5930e7d73fcfb10ebd99 GIT binary patch literal 376 zcmZ9HzYYOG5XQgVJsh?Wm4Z&Og+g(K(w`^L=tyvlD0v|dpz#XVD!qq9LMP{&mE*FL z%+1Vqv%mfJmR(L75&jY3&0%u4``OZB%w7_a8A&N($fga2DfbGkTx0Z5S3nI0DVK#e zCr=D09v$iz7A3&{s-nfJ(LOOE^M#4g+Gqa*9YaBCk+4q literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-027/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-027/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-027/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-027/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-027/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..4c59ae920b7847a84397d095ffdeab15791112b8 GIT binary patch literal 512 zcmaKoy$%6U5QWdWE7ngTBBG#EC`1$rQ3(ybM7?NG>QtV=8>l2oub}Y&-b137bhkn5GbmbB^ejy z@;F2NHIT5qlqM>G?M2ZtjDrmOn)>U-jGBk6uCS&5dZ!8gy&Ljh9(nqTNV59d>hF7? g!o18n?Z=w;3OVYUYs0y;19^O|A|=B*?IxV-2@qp9GXMYp literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-028/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-028/cmd.json new file mode 100644 index 000000000..519843e29 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-028/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "cmp-l2", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 9 layer 2 trans eq 6)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 9 layer 2 trans eq 6)' classid 1:1", + "desc": "positive: opt=plain cmd=cmp-l2:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_9_layer_2_trans_eq_6)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-028", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-028/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-028/dump.out new file mode 100644 index 000000000..30e14291e --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-028/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + cmp(u8 at 9 layer 2 trans eq 6) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-028/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-028/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-028/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-028/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-028/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-028/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..d68ab1e86ceeaac3728db99a87f3bb6b7fceac3b GIT binary patch literal 376 zcmZ9HJqp4=5QX3F#+XP7wX)F8B87!W3QM&S8_R&5KWW5Lk76M<;uX9?uHXs0fM752 zO+qm2z++|}!?$mr>Eo{9;9m~DT&C~fu($@8a2CNaV`*g#IkcfL<6Y@hyN4cp1=L}X z@K|^&@&uBDEM7>zNeOQ`f1N?L;hwTfRXOWhfD=8DohzX=K+Ub@5{^(lS(d>lG`MXy y$Ni381dWjL=*dl&b0?pQcU^i?K3clCQTbmk%n;ER*%|t@G@q0VqgW0AJJ%1FkSD(Y literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-028/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-028/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-028/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-028/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-028/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..3baff6228ea327efeb52c5d40966172b5a475414 GIT binary patch literal 512 zcmaKozm5S>6vn@qJD6DtD+&djLN+1_g;I7KFCc1v8k7?Cma9^D0gPFA1Z^Qi>R{=|Ew|y+SKjAAQsnP=iLo zW#L`P6Nm*lypVc}DZKgfbOza)bIK}F=ERQx2Wpb8uY}SNm1^0SaD?*7vJ6_G!D+qP yZ#UE;cnFz3HQDL0@7gYZSI#C=qpk8CW&g6EhsfUN;rwMl$>WpaAzpG|xW0a`)hM0- literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-029/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-029/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-029/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-029/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-029/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..cf0a0d5dff6ffd1b7256f4d4423c668aa5884d2c GIT binary patch literal 512 zcmaJ-yAAlx^?7U0>Q(kt35N-!9b_v%Hnk1EmzNWo%G zvh+ggNyG`o^y=&v2L_kg0WFw(ox*PFjSV8E;Wv< zg}8?NHIZ;$8e14H-vF9VJBdm#E_cX!3dn5kKr=Gq5NwUAA{yqmP dtjpx-eH2>rghkP4u0H3|8wl~a0>}HF>j`MJI{E+r literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-030/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-030/cmd.json new file mode 100644 index 000000000..c1c090284 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-030/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "cmp-again", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 1 at 2 eq 3 eq 4)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 1 at 2 eq 3 eq 4)' classid 1:1", + "desc": "positive: opt=plain cmd=cmp-again:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_1_at_2_eq_3_eq_4)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-030", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-030/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-030/dump.out new file mode 100644 index 000000000..c6e6fb6c8 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-030/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + cmp(u8 at 2 layer 1 eq 4) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-030/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-030/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-030/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-030/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-030/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-030/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..18e9ac6e5e484890399a44aa6b448e3973ad8ebd GIT binary patch literal 376 zcmZ9IJqp4=5QX3Vs8O~Mv9Qq2B87s5g{AQj_G%ijQ_tWTY%RQi9wAro82*5zAn{E? zFzmoEGmp35&h9O_oHQ){Ve#bMU2?ApfIDa(8@JH4|N69U=Y(R zyd!x6$v_@2q~2r-Z+jkILAK$Xuu7CUpNGSqnxwy1Olg2hwY-;bgz`?)6h@)JX}Q>~ xSJcMP2$=yj@pRdDvM#^3_!$kQa*xX1(tbLgmGcbmEqzLwSIQ32TnvD}*AIO+DRTe- literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-030/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-030/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-030/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-030/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-030/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..842c6e917797a42bb9109caf3d14316d50379c38 GIT binary patch literal 512 zcmaKpO%4G;5QSe)j~G7-5yXO>1&N4-1q+F=aRagRvk^-da1|$zxPpxXxQ9e+WxO}Z zFgl_pm8!0;{^nKp^?W*b@bNJpPcFu{{MH{DjF`*e+rC0cH5fE^%b{Fbox?rANkv zx!h$)UmISeWiV3%A}xv$!y06%Yq{8MR;&fcX$yP$uXCE<-?=IO6_BT|gcQ5Kt@+*u eYRs$b)BVWem-AqZ<{EG=-GSVltHhFZ=6V6UHZ^nr literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-031/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-031/cmd.json new file mode 100644 index 000000000..150f4373f --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-031/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "cmp-oct", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 010 eq 0x10)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 010 eq 0x10)' classid 1:1", + "desc": "positive: opt=plain cmd=cmp-oct:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_010_eq_0x10)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-031", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-031/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-031/dump.out new file mode 100644 index 000000000..575b9fab8 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-031/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + cmp(u8 at 8 layer 1 eq 16) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-031/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-031/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-031/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-031/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-031/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-031/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..feed2477688ac3981994ad1e4d4964da2f9a6b6b GIT binary patch literal 376 zcmZ9HAr8V&5Jczq7bt`#1cd;Hs6ZepkWhod;t)U$LBbI@1ePnn5qbdxic65-NttOw zX#OUf-JMR}pFXnd#eK(Rt&(rD-vMuk7Q&r`hZHOZ^wVNxYG(xRj%_WW~?>x_84O+Z5>%(qK uEry4P9Z-{}&%IY{<-5wH;&)SeOz|%_W{9b)-3&uY9-mZ(`BDbJ&GiKt;U**i literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-031/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-031/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-031/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-031/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-031/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..4627c50a88ebfec1d38c057b68b63f4b8a117249 GIT binary patch literal 512 zcmaKoJ&FQB5QSgcvpD_)A_fMU8B8FeU|=MoAl|^(pF|A3fCn)11Rg;TU}9n*Mh3E% zSTL9Iy#d#;5#LZ$b#>J@Red?^HVJrm$-|w8?q7Dk?HhC$%i!6T+*5T1c^LFq_sqq; zk1|pQNWx;uV)6Fm2@-)EUch{gCf=#BT7zuM^MPK9bI#;6nUlG5RhX*5*!W!HNVhNy zPaAye8}MH~dHM?Y kVfDL$|9hasxX3!akEAz~*l)DgFZa?L$lSdOOj&2I2m2T~3;+NC literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-032/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-032/cmd.json new file mode 100644 index 000000000..29daf702f --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-032/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "nbyte-0", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"abc\" at 0)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"abc\" at 0)' classid 1:1", + "desc": "positive: opt=plain cmd=nbyte-0:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(\"abc\"_at_0)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-032", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-032/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-032/dump.out new file mode 100644 index 000000000..926e404f3 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-032/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + nbyte(61 62 63 "abc" at 0 layer 1) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-032/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-032/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-032/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-032/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-032/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-032/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..6492bdf1a0a22c6c4dc75efb0e8d26ceff4e4292 GIT binary patch literal 372 zcmZ9HJqp4=5QX1nS53rV5DN?KQixcju&`7cD_iUQ2qHFuH}Dj;;tjk)uHZccdx>v? z!6gHanRz?;X7bD*HwOm)F!-=pzB! xMlXVckaFqC%z$;jtQ>X{I!My&_pZwSxN!fBFQWSXkQTpGvVXIc0U)OAo4&JPCAR7c&#lrUj`9#IXpX1NUg`@0|q1ZrL}DI z(L&h(C0NYaEZ&YhK^!Q@YqMUbi+67xen7V6J!X_;IY)B(tjY7bLYBHPHmge<*)2&D zMQJ&cabhmdGo-JBg3}U>)c~hO(J`z+g}SDb)ndk)kE))qrvEpm4c^Ut@>@Q6IsuA8 m{ju=*4m6kt>;vPk+4^KUb31)=C+#oK?-a0PIivrQ?(_f;hB~DH literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-033/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-033/cmd.json new file mode 100644 index 000000000..1f569b09a --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-033/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "nbyte-bare", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(abc at 4 layer transport)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(abc at 4 layer transport)' classid 1:1", + "desc": "positive: opt=plain cmd=nbyte-bare:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(abc_at_4_layer_transport)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-033", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-033/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-033/dump.out new file mode 100644 index 000000000..afcc4bdaf --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-033/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + nbyte(61 62 63 "abc" at 4 layer 2) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-033/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-033/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-033/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-033/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-033/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-033/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..4fea1ad560fddd5eca99d3828a0c4797222c06a2 GIT binary patch literal 372 zcmZ9HJqp4=5QX1nqlsc6Vv$BrNMT`-!opJY5@KV1Y{W(gh}ZE7f?gm8u(9uMGp!~&Q+eBeGJf2fCr5& zhlTefPap!9S(eZWZFXsr z?=pH39E6llPi6wveN#E?h=(2~Y4&?p=0C37KjoXKzCWbJFO}>sRx$v@lzr0|)&wbh literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-033/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-033/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-033/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-033/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-033/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..f5265f3ae5301e931a9d88927ba989ba6f14641c GIT binary patch literal 508 zcmaKoy$%6U5QWcmSFE2xWDAW%p&$`aD3pTM1JLL%(rLub~znV@bEDYPhR@>!g}<~p~qYf&vq3eYcnaqV8Fhp7LPtE$QmF6 ziv^p-n~*1n10{HM){AuU_NH+J*_QVUqb$x@k<(#Kp43%isRd)>y2Oz^!Z1{nmJJzK z=JF&%`kF{NE$6Ws;It?@hBe4h*KE33&RO%3*Auq%Uvt{v-`tSj^2yT)kQVC8YVUWT h%sgNp7-b%8bvm27op#(w`^%F%1uR+4=)Xiey#PcSJiGt^ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-034/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-034/cmd.json new file mode 100644 index 000000000..31b50ca62 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-034/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "nbyte-layer", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"ababa\" at 12 layer 1)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"ababa\" at 12 layer 1)' classid 1:1", + "desc": "positive: opt=plain cmd=nbyte-layer:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(\"ababa\"_at_12_layer_1)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-034", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-034/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-034/dump.out new file mode 100644 index 000000000..6bc0009da --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-034/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + nbyte(61 62 61 62 61 "ababa" at 12 layer 1) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-034/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-034/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-034/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-034/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-034/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-034/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..0a2b3724098896da28a143889c443cb4b9625019 GIT binary patch literal 376 zcmZ8cF$%&!5S+^;UX&ogDus3y0WB<2Sc<+uuuV)OmRgF953mw!{eoWz_yYeS*h`#^ z1jB6@c6OK>CePx2bKv4XER(3ekWdrY9fp+nT1kh;N(_MA>kF8mDDwaS literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-034/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-034/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-034/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-034/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-034/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..d0a6c0b27079d4eb6aab2019614f595ca59f0361 GIT binary patch literal 512 zcmaKou?_)25QhJ=cX6CTL_$F$f0PzsGstvocMRBF73$}8wp3XKQw9ukd8&i`L> zoQs&vWM*e)zx`*g=fge)8y~ara z&am(fE)lib3Wz0nGy$0yYTEJPn|@01$)B3$E^ZzyLIx8OT2jq(K1LoEboK zOn_n_jP5QKppYH|BQvtQK<0qJr~m)|gJ_UjmI2MU0AzzOx)~t%=`b*X-Et-pq<{hJ z77z_KgPDOrFK#7Qx^j1|K$A**~pQi+*dE*_wU9ED>_z%;HQ>)VwRFHASl(-X$ENyuA0&3O#n)&E>eG v=MW*GEIpYSv5u=MVkcqbEdTqis{e4@KcgvX?oVj(rIP*SN(O+O3UB%XQB^0U literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-036/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-036/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-036/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-036/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-036/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..e2d5e130d5ea3f30364f3d21f6c81a2842168aef GIT binary patch literal 508 zcmaKoy$%6U5QWdWE0z@z*+L^xY@rYo3Z>vBlztjfYQ2Rg@Csgmj#8)e01}0cbk>zH4T3;XTIyu% zn9Gw4>8m3ZYB>$nfKZEK$S@Xi)HNP0W)s#NxVplU{%cMf{F@u_Uk-WtJfwyCGXH%K fl$m?%1LMnVJzJoin%qhI%ac2KEE&$|U80?yBL_Wg literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-037/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-037/cmd.json new file mode 100644 index 000000000..8939066f6 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-037/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "nbyte-hex", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"\\xff\\x0\\xAb\\x7fz\" at 0)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"\\xff\\x0\\xAb\\x7fz\" at 0)' classid 1:1", + "desc": "positive: opt=plain cmd=nbyte-hex:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(\"\\xff\\x0\\xAb\\x7fz\"_at_0)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-037", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-037/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-037/dump.out new file mode 100644 index 000000000..e8b7c8058 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-037/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + nbyte(ff 00 ab 7f 7a "....z" at 0 layer 1) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-037/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-037/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-037/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-037/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-037/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-037/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..2d39e6f40f8bc9ffe009acb8b9db70cb2fd8aafc GIT binary patch literal 376 zcmZ8cy$%6E7@WPmV~OITQqU=`5Rte->E|W1xJHyz8i}6D3#fHoKyif^@D56eXl2cJ zA};$SlW)Gs>}2+qo{t`U{Kv&`51}ka;w^u@`g`kk{B{`DvwAMl^lzB}j z%lV923=a`usEMaeUdx!rOC|^{PMbB^*Q2t(+}RtjR-N*DT$@*s3mZ zWIN}aqO`n`@x@#oGNiAK$ZPrTs{vk%qGwoxbLx6}91jPqrMS=)X7vB&w85#l9{-h+ tr>{W5?!VSL+yf2fb@qXAZ%OX(F`e+Bz23Q(-asDiRj_0^r?)Bh`UN3;JC^_e literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-038/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-038/cmd.json new file mode 100644 index 000000000..18f61ce90 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-038/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "nbyte-space", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"a b c\" at 0)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"a b c\" at 0)' classid 1:1", + "desc": "positive: opt=plain cmd=nbyte-space:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(\"a_b__c\"_at_0)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-038", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-038/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-038/dump.out new file mode 100644 index 000000000..3e6ad5345 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-038/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + nbyte(61 20 62 20 20 63 "a b c" at 0 layer 1) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-038/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-038/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-038/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-038/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-038/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-038/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..85560387b93814f300b52e6e1df5da69728c0a72 GIT binary patch literal 376 zcmZ9HF$%&!5JmrHW3q}x&_+Qeg+&Alixg@ldJ4eFC|rUHCuWHbwJ zNuEGTkj0Cr2W;VWN5?nF*1U60sXC|sFgR0_wsU2arf7KeT*48`t0)R+g%+qkPwvMHCZpx#T)E?w;#F8*dd}Oa65D<@wJi;W-bQ6?ezumQ7bh7 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-039/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-039/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-039/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-039/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-039/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..6fdb5518e319715297dee1e01fb55a81891431dd GIT binary patch literal 512 zcmaKoy$%6U5QWd~U9o-&5ru+Iu@Vu5h*D5^0fo+@5sAhNconTurPt^*-b137brxlh!9P>W*7Fcz}ZHS;&iIcqL*y26(JYfc;dn;Y?8E_wP&NU{6dy!Sm& jVP0k*7+;nuc>a1(=RteTxtHERp4_X%lHr`*Cfe%>Y8^WM literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-040/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-040/cmd.json new file mode 100644 index 000000000..a5e8051d3 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-040/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "nbyte-words", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"a' 'b\"' at '1)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"a' 'b\"' at '1)' classid 1:1", + "desc": "positive: opt=plain cmd=nbyte-words:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(\"a'_'b\"'_at_'1)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-040", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-040/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-040/dump.out new file mode 100644 index 000000000..6cf952897 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-040/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + nbyte(61 20 62 "a b" at 1 layer 1) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-040/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-040/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-040/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-040/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-040/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-040/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..47dbed3ece9445d65bb15516657bf91d0b2f8737 GIT binary patch literal 372 zcmZ9HF$%&!5JmrH*O-V!5DO6mixd_XDJ(2S4PT4hps?ax?YTL?2%!Sn&?q=8 zyn;M|SWtsEp&wDg8=f9#kgeI5%n~l=;)giU6E*KjX-(1c-MfS%ly_BC&|RMSTjb{At9}*4NP9SMU|$BZ!Y+VY9HE zg~W3%L}L&q3^RA`%$GCw5bd@(xOkY0D-XRte{o*>_+>7KYkm|G`(pA52YvP>wRH4Q zN5KI;U@&8|co*^nv7ijE#d?J<-uLKq1lfk?h*6g2ls7)QtjV*wLY6vkOj?&Xvi~@a z6{V#{#-6!6%aFb{a#o8wR0FIQMawV_iqth3FXvO%Jd|{W75&wmHh4ET;J-Zb^aaQZ m^H=G)bI7=fisXRsXIW(X!p|8-&Z-^G^3aG(g zO|$Uk;mvDsgw${QZMBJ9y ze!HTULesAiQWH;`bJI<71@Od1JdfRmpHI2}+?iuQUE0slp`>{yIgSf40DiVF3LY!G literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-041/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-041/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-041/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-041/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-041/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..78712505d6e59ef78eb3c24673d14979a614eecf GIT binary patch literal 516 zcmaKoJ&FQB5QX2^GdioXEHa^j!3G8*1_p-08hQj1e-begui!$s#G&U0qMg#*h zY2TZ5aJG@Hp{VNWs&8KPe!E%c;NxXJ?mYZl%JVqRqsLqh-*gpHYcr|9L!W(VEgM7B z@ZkXk7);qL-iM6C?`RJvkZpM0GRm@?;G9Q?HMy(no23>!lhq}T>}su5 zl$K92cFg52L;9M?C0Z6kH6YQVm@tfoB6W>N%h`mr5G7q1-a+o}7O`ZU-5yjuK-d5P literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-042/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-042/cmd.json new file mode 100644 index 000000000..e23c50da2 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-042/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "u32-u16", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u16 0x1122 0xffff at 2)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u16 0x1122 0xffff at 2)' classid 1:1", + "desc": "positive: opt=plain cmd=u32-u16:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u16_0x1122_0xffff_at_2)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-042", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-042/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-042/dump.out new file mode 100644 index 000000000..66d11d1e6 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-042/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + u32(00001122/0000ffff at 0) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-042/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-042/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-042/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-042/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-042/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-042/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..9d215c69729dd09ce2979188f2190578163b26f0 GIT binary patch literal 380 zcmZ8cyAAP$;&P@Cj&C9tBZqw7z8H7ZiSAe?Z|kL_(sIHD}q_ z+>@M~IdkXEoqLT=M+*=C^6=&|yqCAnv0y-~4Nn3cY4r$dFc?vna@pylfuaEl5UeOx zKbZ*BBr$UQI^-*C^?QZk1@so~5vNwx=R6hc$!WW})}*?~<+HieM_nFq977CB+!piQ yW=Sr9rQX6PrWyE)pVET7dJhnWfhH`@oO~*cwa>oKLt^0tO313AvW+Lw(z!K9}>Mh=T5ws z%p^DW-jg%moOz~?n})^zSbVsQU)Aj?F&J@{f;F+U{0ulWpfI5?*Zdx#g|Y%lFj&zn zybE~(aiDSB_!1jR#FgZLBzp9#6iWeP{-~rF8*1Hqc6~*^eMXd3cf zhIqw;0|YQwa#_5DJV7#$#cOk3VTw1Y{eFRL!}pj~QRMi;0DaDswyqXOT{xzwOB_X# zrm3p5Jd^RqUTHI=uLC#J@-x)}GA*hZ!#F5W*L=4ATyPemtRs9gZ{3rFd-p#0t&luD n5qzPpLd?@S&|qKZUam-vo|?39z9DZf^rruyw7o?f8Oz&0n%Oyy literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-044/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-044/cmd.json new file mode 100644 index 000000000..611fc6749 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-044/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "u32-u8", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 0x11 0xff at 3)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 0x11 0xff at 3)' classid 1:1", + "desc": "positive: opt=plain cmd=u32-u8:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u8_0x11_0xff_at_3)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-044", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-044/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-044/dump.out new file mode 100644 index 000000000..4eb0f0a9f --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-044/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + u32(00000011/000000ff at 0) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-044/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-044/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-044/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-044/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-044/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-044/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..1dcb62db52631e034295723737919dbe8f2ccba0 GIT binary patch literal 380 zcmZ8cI|{-;6rBC2@ds+Ff`x^Jg@r{*L2qHDu}~~Uuo47sVI_D1uaG0?Jp_AM=PeP# zK6rWaW@l$7&-8xPu=tn7hs*R;+wQ9t6Jlvt6U+G3h@b_98FfD{KO=NeRzL{`D~iSM zOg}O4MuFdee1k21N&EBwy$$!2Q!4LstXmw&Nr$=Cq=qOI^SQ)FT;9$(7=;SAjqYeeKk(z_-f-GKx^&DNi(e1PW*@pKsqb$xTk<(#KZtJSE)PiH;y2Oz^f*??o zmKqrs=5m`MeN7}nE!(jg5Nc5j8OA}Hx~7xWV#b<}jGnNj|C-YV|K^7LmQS8e5lNxG hOw9K?P-R|b-$xO&Q$8BdZVm3H{~)(_E3#y)-CpHGI>G<| literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-045/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-045/cmd.json new file mode 100644 index 000000000..41aaab68a --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-045/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "u32-u8-0", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 0x11 0xf0 at 8)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 0x11 0xf0 at 8)' classid 1:1", + "desc": "positive: opt=plain cmd=u32-u8-0:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u8_0x11_0xf0_at_8)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-045", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-045/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-045/dump.out new file mode 100644 index 000000000..9df547414 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-045/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + u32(10000000/f0000000 at 8) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-045/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-045/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-045/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-045/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-045/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-045/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..98eb54ca0277afa8c3318f38a8a2b4d9f7986685 GIT binary patch literal 380 zcmZ9HF$%&^5Jczyd^L)NSSwgqScn9%NT;Be5UZ$#lF~-Jjjg3u$Q5!7L9v%O6A6Ya zEW10*f0?Ao{c7RxFNY70<+B~H1BV57HJle}6cupk!eB*Tp_QkPKAHw-z{8$q@nZ4> z$w3v~hyy tzlBdto&on>zUdY4Vk?)ggZ1;7{C^_mm{C(#a||h2epWed8ySFVwl7>JC$9hi literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-045/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-045/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-045/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-045/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-045/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..a5ee61bd500aac3eb67cacfa35ce9edc41751079 GIT binary patch literal 516 zcmaKoJ#NB45QX1*jqCsgLM}m~NI?-r6cm(}pyUWN{4|J?D^PQRq~QW7XhVZsA<>b0 zB#M+0Iqw;)I4i_hqnVwZ`TS--lI_NWk3aKq=Ar*tU93+5V&-!Awx^I=he;g<1NP;$ zVhqv5g8>3q%-Ag6D|v!sAcxmxy+#)=KJ0!#w&gitlodH|(I=((tmL>YL;(2Nz9Hx?Q2+n{ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-046/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-046/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-046/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-046/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-046/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..12b9c56e71cef2f37fc591c7d8d5e9fb9afa00ca GIT binary patch literal 516 zcmaKoy^6w65QR^2BgWN2#Zp0Ji!DSfEW}FKt;E*O#vc%|w6&47^C^6T;47pRYxnIu7B|IKnczA|~J72!9h1Hv@UTJwVAm!Ml4ye#<9MPX!sF mUP8>rIZ$U`O3Q279j%A+7U8owh^s6{0z`vVI9A<@e<=gP+B zo@8?7%+AivKC|;d!{R>{A0ES3ZF9O>49EqrCY6;>pQHhW5q-H<+%a0HD4-03CC!p| zVV;EepdhbHy-rBpI5|GRY{NU_mMP{;ZWeoLg0R<$QV*r5*h_LGOlEfO+;7j> zFqm*zye)ZxgdmGogL1}v{aAYiR4~ZZ^LI3~& literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-048/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-048/cmd.json new file mode 100644 index 000000000..4cbf53ec0 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-048/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "u32-mask", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u32 0xffffffff 0x0000ff00 at 0)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u32 0xffffffff 0x0000ff00 at 0)' classid 1:1", + "desc": "positive: opt=plain cmd=u32-mask:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u32_0xffffffff_0x0000ff00_at_0)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-048", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-048/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-048/dump.out new file mode 100644 index 000000000..8574f6497 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-048/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + u32(0000ff00/0000ff00 at 0) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-048/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-048/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-048/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-048/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-048/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-048/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..0331276b7f896942c8038edfd2835f743be89d4f GIT binary patch literal 380 zcmZ9HJqp4=5QX3Vs8KA$TEQZPg@uJhNf%7DMjRuqKg_SD#B03S;_mtvDmJQB^<%1`C>n z_aaXq9u)Ap)EjK!ZEx`&WE2PoPOeUxa||d;hdE+OnxB;%*NGT_FxwAXt}D_2 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-048/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-048/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-048/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-048/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-048/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..7d7c367e96ac198feab12d65b602719d2afd23c9 GIT binary patch literal 516 zcmaKoy$%6U5QWd~U9o-&5haO;LLs71C?ymMkD&3>h*GW7sXT(l19*jPH4;yuk?3We zb49EhF`LQE&Yk=1IeUqYdmjNl5#Yg>{w=>84@30WD-oEk$~)R@itsSt-g}m;Au7mt zKpF;fE{nGyPY?@ocn!`AOz~>x!xdy3zDKNzBxg-dhcl(CtIkmio=NHwM{$qiSXElK zWSrP5U54~E;ae@ou@+#ps9J{ckfpBaWVM)a79yu3Y?#09$-%#SBYrC+PfrOcp}s=Q f*EvvSU*_INkt|tT_Kv*m=uQ7Y>3S=1WE^i#_Jli! literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-049/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-049/cmd.json new file mode 100644 index 000000000..370dadeb3 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-049/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "meta-all", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(random eq 0) and meta(loadavg_1 eq 1) and meta(loadavg_5 eq 2) and meta(loadavg_15 eq 3) and meta(priority eq 4) and meta(protocol eq 5) and meta(pkt_type eq 6) and meta(pkt_len eq 7) and meta(data_len eq 8) and meta(mac_len eq 9) and meta(nf_mark eq 10) and meta(fwmark eq 11) and meta(tc_index eq 12) and meta(rt_classid eq 13) and meta(rt_iif eq 14) and meta(vlan eq 15) and meta(sk_family eq 16) and meta(sk_state eq 17) and meta(sk_reuse eq 18) and meta(sk_refcnt eq 19) and meta(sk_shutdown eq 20) and meta(sk_proto eq 21) and meta(sk_type eq 22) and meta(sk_rcvbuf eq 23) and meta(sk_rmem eq 24) and meta(sk_wmem eq 25) and meta(sk_omem eq 26) and meta(sk_wmem_queue eq 27) and meta(sk_snd_queue eq 28) and meta(sk_rcv_queue eq 29) and meta(sk_err_queue eq 30) and meta(sk_fwd_alloc eq 31) and meta(sk_sndbuf eq 32) and meta(dev eq 33) and meta(sk_bind_if eq 34)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(random eq 0) and meta(loadavg_1 eq 1) and meta(loadavg_5 eq 2) and meta(loadavg_15 eq 3) and meta(priority eq 4) and meta(protocol eq 5) and meta(pkt_type eq 6) and meta(pkt_len eq 7) and meta(data_len eq 8) and meta(mac_len eq 9) and meta(nf_mark eq 10) and meta(fwmark eq 11) and meta(tc_index eq 12) and meta(rt_classid eq 13) and meta(rt_iif eq 14) and meta(vlan eq 15) and meta(sk_family eq 16) and meta(sk_state eq 17) and meta(sk_reuse eq 18) and meta(sk_refcnt eq 19) and meta(sk_shutdown eq 20) and meta(sk_proto eq 21) and meta(sk_type eq 22) and meta(sk_rcvbuf eq 23) and meta(sk_rmem eq 24) and meta(sk_wmem eq 25) and meta(sk_omem eq 26) and meta(sk_wmem_queue eq 27) and meta(sk_snd_queue eq 28) and meta(sk_rcv_queue eq 29) and meta(sk_err_queue eq 30) and meta(sk_fwd_alloc eq 31) and meta(sk_sndbuf eq 32) and meta(dev eq 33) and meta(sk_bind_if eq 34)' classid 1:1", + "desc": "positive: opt=plain cmd=meta-all:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(random_eq_0)_and_meta(loadavg_1_eq_1)_and_meta(loadavg_5_eq_2)_and_meta(loadavg_15_eq_3)_and_meta(priority_eq_4)_and_meta(protocol_eq_5)_and_meta(pkt_type_eq_6)_and_meta(pkt_len_eq_7)_and_meta(data_len_eq_8)_and_meta(mac_len_eq_9)_and_meta(nf_mark_eq_10)_and_meta(fwmark_eq_11)_and_meta(tc_index_eq_12)_and_meta(rt_classid_eq_13)_and_meta(rt_iif_eq_14)_and_meta(vlan_eq_15)_and_meta(sk_family_eq_16)_and_meta(sk_state_eq_17)_and_meta(sk_reuse_eq_18)_and_meta(sk_refcnt_eq_19)_and_meta(sk_shutdown_eq_20)_and_meta(sk_proto_eq_21)_and_meta(sk_type_eq_22)_and_meta(sk_rcvbuf_eq_23)_and_meta(sk_rmem_eq_24)_and_meta(sk_wmem_eq_25)_and_meta(sk_omem_eq_26)_and_meta(sk_wmem_queue_eq_27)_and_meta(sk_snd_queue_eq_28)_and_meta(sk_rcv_queue_eq_29)_and_meta(sk_err_queue_eq_30)_and_meta(sk_fwd_alloc_eq_31)_and_meta(sk_sndbuf_eq_32)_and_meta(dev_eq_33)_and_meta(sk_bind_if_eq_34)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-049", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-049/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-049/dump.out new file mode 100644 index 000000000..b87be8ba5 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-049/dump.out @@ -0,0 +1,38 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + meta(random eq 0) + AND meta(loadavg_1 eq 1) + AND meta(loadavg_5 eq 2) + AND meta(loadavg_15 eq 3) + AND meta(priority eq 4) + AND meta(protocol eq 5) + AND meta(pkt_type eq 6) + AND meta(pkt_len eq 7) + AND meta(data_len eq 8) + AND meta(mac_len eq 9) + AND meta(nf_mark eq 10) + AND meta(nf_mark eq 11) + AND meta(tc_index eq 12) + AND meta(rt_classid eq 13) + AND meta(rt_iif eq 14) + AND meta(vlan eq 15) + AND meta(sk_family eq 16) + AND meta(sk_state eq 17) + AND meta(sk_reuse eq 18) + AND meta(sk_refcnt eq 19) + AND meta(sk_shutdown eq 20) + AND meta(sk_proto eq 21) + AND meta(sk_type eq 22) + AND meta(sk_rcvbuf eq 23) + AND meta(sk_rmem eq 24) + AND meta(sk_wmem eq 25) + AND meta(sk_omem eq 26) + AND meta(sk_wmem_queue eq 27) + AND meta(sk_snd_queue eq 28) + AND meta(sk_rcv_queue eq 29) + AND meta(sk_err_queue eq 30) + AND meta(sk_fwd_alloc eq 31) + AND meta(sk_sndbuf eq 32) + AND meta(dev eq 33) + AND meta(sk_bind_if eq 34) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-049/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-049/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-049/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-049/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-049/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-049/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..7c776befa6317a6935e150ba2dee3ca89f86bf00 GIT binary patch literal 1752 zcmajgJ8lzE7{&23p0Q&mj`Myv?+}VpAfTW~83`n+EPw`yM}sISXjlLZ9c3C?N)|v9 zmXLiQ(MRSxgQB^gbtERbo|&tk{xkMC*EiQczV*AZ72<8)oNzH_y4DzSYIookHKm5F$h#dQb9>4_49&B@>Y$ms9oJz!2a$Cl!L~JLw zZJbKPPI5cOsYL81w`-hA#5B37aVime$?X}Z60x7$zHurM2gw~6rxIgrET7wvaVil< z$sHP}5^bT6mG$3mjMmc)<5bcbtUvu$yofda ZNz7@?ukrU|D%Q(NYy6{^0>J#b{};7KKj{Df literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-049/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-049/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-049/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-049/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-049/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..a10af1b1155cefd7fd059160e106fd895b1a9b74 GIT binary patch literal 1888 zcmaKtyG|T26o&t~EX=}kU+(uL#UBYF3JMAe3aEJmL@ouQOc_L-*GMYr)O1KZK^}lN zh?G9soZkVB&*%uRyq@uX{&bG*wSPVQ{9d9)TWb8Zm($;a>*Ko;C-$t0x;j$xQV#54 z9tF;fd+E#D2Ak*?z&I*=GFZNI^GT9K9UrZK)~b9z?jN6E?#kXDtX0W9pUrbw*N znD~~f0#0V8ebRDuz-g|Ta%j1+fYXj6Yyr%v7?j6&z-cyUtDkdCz{y0*Jm>lWClk?k z+(f|1L|f(DHyLm;F|B`_#~|QjqGg%;B2GJrm~z}y;FF1%cHDHp$wbUJZYJPlV)_TR zdF%(AOvIe?%?6yhXeUIT?_9viL@YRNKHy{`hK?HsoJ_=`;}!!>CSu8PO93YnvFy0z zfRl+>aokG4$waI=ZZ+U!BGw$Y7H~2V>yBFwIGKnI$87|hOtiB*U$?D*lZn`J+-AVZ zL~J{5JK$s@b{w}8a553Qj@u15nTR)z>jj)lgihA~cc9Lpg@BVu_r|T=8@gjuyZ46n JRMojR{sGpIP55@AFxz;lOcMfFJ9Fi5#qXyqQDgN6a>aIxmH z{Lb`~i8ZSD#nfAb{4R&r1N3$|XY8u7Pc)5iq$X5z?I|VjYvo+>k;^;JbGQagPRqq^ zv!a&5VIBtoHSHwiv1PwM3CU{;Mg%-l1x)7Kt~tB?3y;i&j*@pWKvm(v;Bd5Wdk literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-051/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-051/cmd.json new file mode 100644 index 000000000..a8c630f59 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-051/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "meta-gt", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(nf_mark gt 24)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(nf_mark gt 24)' classid 1:1", + "desc": "positive: opt=plain cmd=meta-gt:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(nf_mark_gt_24)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-051", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-051/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-051/dump.out new file mode 100644 index 000000000..dd9ee294c --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-051/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + meta(nf_mark gt 24) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-051/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-051/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-051/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-051/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-051/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-051/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..c53519464e530e7a4e81601480249146356df10e GIT binary patch literal 392 zcmca|c+)~A1{MYcU}5+RDgg@VFtD;Ay9;Cv$dph2|Nm!TW@O+3@{$sZGn0X0E(}aS_b@SV0L4IR zbbxFPFbfhUJU}*&0FVGWjsqwM0vte>Nq}jP9!9X=3W07i0g8bzx|>vhLO`92AU6fX LffO(>pt}$FMm zMzAJw&*scIbLPx%zcYv3W|cvRw}rTK)4xQEb=jcDT#nFm6`s~+Qbd3O`<}IQw5TE* z0KYJpv01z=d4f2Q$7`@&po_Pv#W#>`xZg3#(wsdx9oFQ&t~yIC1SYLZ9N9HV5=Ch_ zl5t`#_ZiaHM8;|9jnn|AMbR-#fE;yA#>@GXHH*BC5YxZi(**zB8}eV4Jbfkn2=!sz o*ZG6rU>`-ho``u=;KIkV?2}oltuSiNGw0Ns$o)A>EE#XkKhK~!KmY&$ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-052/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-052/cmd.json new file mode 100644 index 000000000..6d677e68a --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-052/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "meta-mask", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(fwmark mask 0xff lt 3)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(fwmark mask 0xff lt 3)' classid 1:1", + "desc": "positive: opt=plain cmd=meta-mask:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(fwmark_mask_0xff_lt_3)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-052", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-052/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-052/dump.out new file mode 100644 index 000000000..4e9f60b2b --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-052/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + meta(nf_mark mask 0x000000ff lt 3) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-052/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-052/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-052/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-052/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-052/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-052/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..ecaa8d24bdf7c786d28ee4a5242f0f97b558fce6 GIT binary patch literal 392 zcmZ9Iy$ZrW5QOLMqDBcJ*xOm8NTHx$DVWaEUht<8OT{PfMSKN&tF)GarH>#8VkPHn zLNMIIva`e9$0WDxeA4jnFArZXlV`BKyhDtsrQw;8jIw$ZZ78I?E4}LU(LqxI4H&F> zEW9gu0?9!RFQy-{g*QAr?jYN6&p4&3oc<@ok)E`hYfmddtzOL~9HG3dwJ-`TZp+1P zv!a(mGmnN(Pi_+GI9J6#38;gJCd2t0mN!0=3A1>k@^70m(}13|o2g4nGlFEA&E)`a GbN&F>?#wQk0gE zj0VO%)G literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-053/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-053/cmd.json new file mode 100644 index 000000000..546b6d580 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-053/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "meta-shift", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority shift 1 mask 0xf0 eq 3)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority shift 1 mask 0xf0 eq 3)' classid 1:1", + "desc": "positive: opt=plain cmd=meta-shift:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(priority_shift_1_mask_0xf0_eq_3)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-053", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-053/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-053/dump.out new file mode 100644 index 000000000..110052a2e --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-053/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + meta(priority shift 1 mask 0x000000f0 eq 3) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-053/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-053/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-053/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-053/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-053/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-053/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..4d1ca31b7105520358a4cc50839cee11bd14b710 GIT binary patch literal 392 zcmZ9IF$%&!5Jms)#<-Cb!B*@nQlzl35N#~tH3T&lVyQ>4v-JYrK12w{M|=>yJ&d$hlekR^cC)c2{2T-WPI zhf@q9;0T6C4vXhr4T5-3z$@6#=;GDyt7njHtQ$sIpL0ge6?^hf*Ew64h^((m9NAaf zwu;hnO~xB@dB~8y3&dW_c%lJ#EsCCD5r))te>Z!2V9()LN0`(9x~C2PyI1pHjy!!i u4usmXa(Dj2FE~fhekNspn6c*LInI5u>!?;cYtM>%>P_U~o;h0Ob%yAmu7Dae zRuqfhfqr6QjU2xo`4(IJ!u#a~dTZ_(r&QJFc><2)q}^OQQhoSAHJA8^%O}rsXoUv1 z#eBb6k{iK8!VbxaCMND$RQ!|3V!-Du;7#6AXqA0a^9&4llXkPjq&$9FvZON+0B*h? DH=8KU literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-054/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-054/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-054/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-054/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-054/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..1293ccc4f3552f0f23a256c61b0930e9b55babd4 GIT binary patch literal 520 zcmaKoy$%6U5QWdWi}h28Y%5VHNJJD0rGlDXA$}S}rP8RqhEApM3SL0rJtU%)b)WVMb>z+3FcW=OddF1Kykre97n(sbP jVP57OMcbLY&0%k)*bCo!%l-5g^7wu}ONO(0qj0|$UN}3G literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-055/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-055/cmd.json new file mode 100644 index 000000000..297b64f32 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-055/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "meta-var-bind", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(\"d1\" eq sk_bind_if)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(\"d1\" eq sk_bind_if)' classid 1:1", + "desc": "positive: opt=plain cmd=meta-var-bind:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(\"d1\"_eq_sk_bind_if)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-055", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-055/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-055/dump.out new file mode 100644 index 000000000..b0414222d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-055/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + meta(d1 eq sk_bind_if) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-055/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-055/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-055/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-055/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-055/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-055/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..5ac78414d877203a174249d45e2a04eb9a104266 GIT binary patch literal 384 zcmZ8dF$%&!5S+`!7$t>hEm)+mP>5iW!ootoA*g9Y3q@?i+JE>3zmP9j_zDHVQseAt zFxU!kD_8D^4FxR1{E#MnbXp z9qA_~#>nz(ldrMGFYeynptt6pa!M6_t{dP$PTJ13BGp03E9Md(ad~7}2CY!#Hk)o2 zb8-VXh}b?k(S*b;gTDVHFc@g?=JA&F@Y5>uO;2X&^CoR)2}wD8TC(gXA^_}sA7ue4 AoB#j- literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-055/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-055/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-055/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-055/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-055/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..4b4fa0b16bb41852464b1690e68dee206e02d7e7 GIT binary patch literal 520 zcmaKoy$%6U5QWdWi}h0oI*}+83K0^8QbD2f1jJ7yBGITM9>8mO1YW@lD7=S6FYBBu z%i4(9OlI!P+;7j^>-ltu!Ntd1Jb38cva3FKfR0 nK$Urga};f7vNi__JSEthw_f}0xS!ra9^J3VlHsi0DA?}_MhZ7y literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-056/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-056/cmd.json new file mode 100644 index 000000000..490da84f7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-056/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "meta-devint", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(dev eq 2)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(dev eq 2)' classid 1:1", + "desc": "positive: opt=plain cmd=meta-devint:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(dev_eq_2)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-056", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-056/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-056/dump.out new file mode 100644 index 000000000..74db63f90 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-056/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + meta(dev eq 2) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-056/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-056/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-056/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-056/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-056/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-056/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..fdb4cdca3e2e1657c09148b0e94d877313fdc5cc GIT binary patch literal 392 zcmZ8dJqp557|ZLAKBa@WyE$~I;NT!m4)qAGfc!i!o@E(HBQj-?3 zybr>cFHJ+*M|Qh<2=Jc(A0Fv5+GHnSOfDeshg!esleA$lq3@?vw?zjH1JvPTMYHnm z%u`4a>KmZm%7s1Yxb(OF2q;<#`U@pvh}7->#R` zQh4m+!BUeaA&(1I{*#D2R58NxnZ~l2Sow}AzHQ1*18RcXsY{7|qfUpJ41nA73&mV1 A8vpWaiGD`|X)IpN>%u79X>C@G!nsws&JOVlIa@LxsfpOlk-)VP8^9M~5bg0Z@R! zn$6-Btc4&Rl;MS}SLxy%rke<48=g;$vNWeb&VV&}R#%&)9s-lrC64SC$FZWcw8*$H zmuDH$*G0~2+0NAfuSL-_On?$~Ef>4ZiZzF_uCS;7dZ!8gy_@l0jy!#JjwW?&$T!3Kr~dIwWo6EQUL7_y$gD|iJXb3tP-Agr;D z@3ntpBi8V!>gwumUiW&rm}d~;5h0FTwD-|y{Z~SZwS>?#m2S~s@reK(&fR+HZ1IIc z0OVmX;IMc*@&s`pk5^;AOo>;qlNHD|TrZgwY0iP1ANC~QSCy@A1SaiE9L0Zy^oPlp|~ z44Qc~LTchkxhHn}{garx&tQX*cr+S%LM9v9DQ}ehwih$asY$z;rj#@zNT$z541k;S E3%*S&c>n+a literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-058/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-058/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-058/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-058/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-058/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..5b632eeadd818849bc0a23e8d76bc2ebf41f213e GIT binary patch literal 528 zcmaKoy$(S^5QWdZdvX1Rh*l?}5K$-bgdX+-&0VH~^b5?L| z#B3%rJ3IUBnLX}zTOR>F7U0HB?~VjnAu33FKney^ zHj6hPPY?@ocy-o`bn$BAD$stIARno{8%cM|O>(NKsl=WSp4G zU54~E;9D){ks4sNC|ZW`kfE;eXfd0x79y)7Z0Nu4X@Y<1PPv$c}p6a zzU1Z2o1LA^Ze86<4G;hF@Zplb;{E*+VNNU!&&*`BH6a*6VL@HXb*IG$0|kUI*itNh z5BiCTGwS)J&P$rHqZJYJ3U5?#E>3VV=kcwRHg(wq%B4c6qot}0942uxa+II?4sB#P3q zCF75|+-FE%9ih{5>Zt)vi=tzg0H4&=?@dPo)-3Y6!i@fEP8++)ZgJbf`fgnF{( n{rvV5Tw8gnFg{CEhg32DdeSkp1RJmgTd)ONFfd~W5;2wM zobvZn#CJJR-!2oBlpK$(8c>;aWmyI!d=_aq)=&zwEo!;@P5% zj{r!);E&DXRmc;>fjnM~^#Uc{_ij4_*@pWSvm(xElGA2Q@_kiVY9KIiU*aeZQ4}f5 zOP7od*OJeWzd91m%WM_)jdt{?%sg^vgGM2A}Q2U obnfRDevN%J?Rv6YC;4z+lx3g7UfpWW9_Q4XNdBBfmW(&&8G#u%g#Z8m literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-061/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-061/cmd.json new file mode 100644 index 000000000..450432dbe --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-061/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "meta-shift8", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority shift 8 eq 1)' action pass" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority shift 8 eq 1)' action pass", + "desc": "positive: opt=plain cmd=meta-shift8:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(priority_shift_8_eq_1)'_action_pass", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-061", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-061/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-061/dump.out new file mode 100644 index 000000000..9ce501f09 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-061/dump.out @@ -0,0 +1,8 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 + meta(priority shift 8 eq 1) + + action order 1: gact action pass + random type none pass val 0 + index 1 ref 1 bind 1 + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-061/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-061/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-061/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-061/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-061/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-061/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..5d417a526867f62494515f15e6fef5668bb62aa6 GIT binary patch literal 432 zcmZ8dI|{-;6r6lre-NxJVrL?O`bgCP$d zZ{F-MJG+nDbnl?I!~Mpo%KLc3D$eB8#au^H5j;PiOFnXWB}oFuLWSEb-md24 zHn5q;h9M_SMBGWy_fKlXeqhpYhG#0nWYYFHBcd{U8P9h*3t{h@Kb`h`=@0tMJ|L+s RW^a??4VJQpu>?TzJs%x>DOmsj literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-061/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-061/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-061/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-061/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-061/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..ad3b9145f4e582845f6bb838d14edf7b858a42d1 GIT binary patch literal 680 zcmaJBb5PipFZDH7Z;&&NV* zagKTd)L<}Tvhd!BClCh|;T4QGslt1{n`}UA!~2?665@Oj=bABT%&X1NB@z?z5{~4v zEK6B&F^?H$gqFq_;&*|Hh2DDHRlc1`n45D#v9xxq_g^g8OSHKx0F* zCZ3RckZ%qzz^7;&q`{B-4npiB#5WiBA7@Xyw-k4*l?ctPq=_3Amk2Q7 zxu)0F7=0uG5W!&1!{U9BCx`=iydnD+Oz~cy*Y6LtW07#aHj7K68t7$s8Y zRz&mPr!t0&J*B+qo8$dMK5Pxr8H>XO?9!3Kd?H zWWAhH3!&-P@TiHW#l4YlE-zpnw|9K)z-L>TU!ThV=fxZYdZg_f9ZH&?l^jtb2Efkt E0V`)RbN~PV literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-063/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-063/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-063/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-063/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-063/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..9e1e41acc65ca6913443c7b915232f519b7a7543 GIT binary patch literal 516 zcmaKoy@~=s5QJ-;m0N#6ISds94Ga!35V=ePH@n=##2*kb^aT`rkHc3mHWQ2t^&yOe z!@xw=sy)PY5PNBQrl#lH>e+8r%NSfd!o`)F_9;EtHZy2(t%Pg7Rqj#a;u8*h_T9B; z^-w^<0X|?bWV3h&@&pM%7Oz4*%M@?f?W{qz;eNxah;okP)Tt?LUu8;FI40^#9K~M{ z1gi3KCS%97(q_ot7h<88MqdpGy{Lu^;~+_2{oZsupynZ^BP^J&?rDN|_kQ>Pr<7Kz0q^$J#lcm=DNns@^78WOwI zxuwy3H@Ug@o}T`CdQZ+L3pV~` z8grV3_aILo8OY!T)az{FHOK88$kx0QPN^bid-V`glQwg$D0NUO7jp?mD6ce4p%tpU zrjzwzMlFJcknK_vPr%*JHis9G%5V^GM&X{XAAef>^{ec^4$KqsfwY;&r)2T-lBYir I17K$S00rnV8UO$Q literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-064/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-064/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-064/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-064/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-064/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..f672dc7785ffea6d29bce7acf79a67ad29b52fa9 GIT binary patch literal 524 zcmaKoy-EW?6ot?1Y{*6hMYc_sVvC?6i&$Fd8%X+Wl0qy4!E!4rtF#fs&MuHw*jL#1 z2-wSb&cK?@Ai2xs{>+_k&z-v3d`5_|vlu@t?zbn;i-v=i6i@V z&M8XE7a28kdB~8yAtJBky3hc;7Ddmn21nFYjOR}i_7WWH2ygWN?rDQV_a6DLggkvI tIzsJP{&x;!%mM<|1=nzDO)z!@fRkCKdb-% literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-065/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-065/cmd.json new file mode 100644 index 000000000..d5264e023 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-065/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "mixed", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1) and nbyte(\"ab\" at 2) or u32(u8 1 0xff at 3) and not meta(priority eq 1) or canid(sff 0x1)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1) and nbyte(\"ab\" at 2) or u32(u8 1 0xff at 3) and not meta(priority eq 1) or canid(sff 0x1)' classid 1:1", + "desc": "positive: opt=plain cmd=mixed:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1)_and_nbyte(\"ab\"_at_2)_or_u32(u8_1_0xff_at_3)_and_not_meta(priority_eq_1)_or_canid(sff_0x1)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-065", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-065/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-065/dump.out new file mode 100644 index 000000000..d54fa178f --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-065/dump.out @@ -0,0 +1,8 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + cmp(u8 at 0 layer 1 eq 1) + AND nbyte(61 62 "ab" at 2 layer 1) + OR u32(00000001/000000ff at 0) + AND NOT meta(priority eq 1) + OR canid(sff 0x1) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-065/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-065/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-065/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-065/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-065/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-065/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..fc85917fa20e838a28a6207bdebdd76549fb81f9 GIT binary patch literal 484 zcmZ9IJx&8b429oh_79XILMbSqqewwPk%E!}xJN=7goKc|02Sf@loW6Uu8<2*aDa#w zAtZVDzE! z-)LW3L8=wCpxJs~=vgES_4Fq2BVfIoX?-uWBl!|<>*}0-mRi9X{kh(t4pmm&xvXQA zpOlhf&^Fn8c6)gN_pE^)K?7HkKM?Qc?yx=~vxP9GCa^w7v$?dFr;NFmVgl{J1e5%( yg(~79bmav>lNIdSd*l4)nqqr7)w=UM{`_v&>^r4q^!Gi0VxHiApS%#(e}g}9yfB3T literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-065/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-065/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-065/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-065/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-065/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..5dc2e7bb689b2e074e454ec80b8828d0d9016806 GIT binary patch literal 620 zcmaKpJ8r^25QhI{4K|MgMJ^~vm%>F9Q4o=mCXsT3G%0vAC}mm-3Pf@MF2EHKH{c36 zMxsdRk@Np!tT+~8tl8O}$G79zkNtL2L4ZFAaNyzoyY-UH>lkt`Md0sba_Mn%0fz_X z<-VegaEZDDLU>G>EZ%@TK@3#lCG@wc;;nAKmLS{nyr-2EIgjM@>64cGx}xg_&KLU< zNAi=VsjPZ=5`$=InW6r!QL$d$rmBGTB5Mrq&|qKV(d%qNUxcPY_@thy(-r6HcDySh zPhX6xQ2%6oj4SfaeTR9PPqyZ%&c%#@dR*J1G0?Tnz2!2f|5uqwV(%WH##4*#njU}} i89_Fy%X$i}M#X7}g=YB78EW3r@(g3TJUM!Ye1^Xj)IF5| literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-066/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-066/cmd.json new file mode 100644 index 000000000..ebebfa5a5 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-066/cmd.json @@ -0,0 +1,90 @@ +{ + "axes": { + "fix": "b-change", + "json": "0", + "words": "filter change dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 2)' classid 1:2" + }, + "cmd": "tc filter change dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 2)' classid 1:2", + "desc": "positive: opt=plain cmd=b-change:filter_change_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_2)'_classid_1:2", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-066", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact", + "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' classid 1:1" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + }, + { + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' classid 1:1", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-066/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-066/dump.out new file mode 100644 index 000000000..2e8e65658 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-066/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:2 + cmp(u8 at 0 layer 1 eq 2) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-066/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-066/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-066/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-066/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-066/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-066/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..f706bc96cb2e0655827c30b6325ff95b07a7c079 GIT binary patch literal 376 zcmZ8cAr8Vo5S(jEDFi`K2yloB1fl|ofnN{;)DR?msD=k%@YG@93+N{Jrp&ZyC^yMu zcjxxz=3ePFap2(x4>^Zr);nfv9}D&(Ja?{AW5#9xgBAB`tyu$%(J??9E@CdrFQ=bO zN+ZiJq~0gx_k1L8(A(vlvIWDNWJ(%OxMVe2SugYtZGi+nx@4Y7rcS qWI##h^cn}k>U~Xh$uJ;fO1sUJ# z-C1Xc#ezpwS66>sRhQ#_=fTIzd^~vgyp~q?bBGaR3BDc5CDv!~0fR5rCAqW@&_HN_ zJS-v>ix*r%2;x8)UYq$cCEj9k*nn)y^O0Vb=G4d;FehdEYBJS>vFX0Vk=^1rmRBz= zGER)8EJOWu;kjP6kqY2?k#`JhP+(uP>3TV5EToXYK+4WlVaoEoc9YEY1jM#FssI20 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-067/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-067/cmd.json new file mode 100644 index 000000000..d6b7f0d5c --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-067/cmd.json @@ -0,0 +1,90 @@ +{ + "axes": { + "fix": "b-replace", + "json": "0", + "words": "filter replace dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 2)' classid 1:2" + }, + "cmd": "tc filter replace dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 2)' classid 1:2", + "desc": "positive: opt=plain cmd=b-replace:filter_replace_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_2)'_classid_1:2", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-067", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact", + "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' classid 1:1" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + }, + { + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' classid 1:1", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-067/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-067/dump.out new file mode 100644 index 000000000..2e8e65658 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-067/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:2 + cmp(u8 at 0 layer 1 eq 2) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-067/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-067/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-067/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-067/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-067/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-067/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..a8f95259e6467ad9efa26e62cfbcdafd160808a7 GIT binary patch literal 376 zcmZ8cu@b>R6x_>2gi#okf=-b_p-7>lq3{<-W0aIW1f5^t6Egn5f0&_CnAlAwBXc{m z^WNKgx3~95uNMzK{_yeTFnhMP?_+=|dl9}JtCSeA>A+yly;7^z5PdWZP=`grW%=1t z0GZ@Qj$cH*P0H`Kn0!EQ%Q~5QSe)&xYYgYzP7Y4uK#9fj}Y_vX+Dk03#qsBnHDl@F)Zqz#tKv0}?zL z-s|02hRKFXUaGpf`s=DXA9foLKAz^|&O`57n12m&=rWez+m2jpEe1sx^jR0@l0HBc zSp#HX5wcjkA$fv0P>NS){*w}KeK~DGw&nRiFH3T!uX z$TDy;GBB_+Ff*h86@$!^2AT&l1Z)tRc^W`*0U!pMSGA&hF9XnQW+4ACkOl!{b94x} zOP7Ha#a$qCK&E{9|NlP&Ga~~Rke8HLoS6(11G&o@Xr2j>4Z`UDQ~?Sx0kwnNbrz%n K2ta;EwgUiyxF%Zw literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-068/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-068/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-068/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-068/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-068/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..91e04e1b7309311593b84f205dc32a5f94ba2c29 GIT binary patch literal 296 zcmca|c+)~A1{MYcU}5+RE)lib3XO0L=p#0yYTEJPn|@01$)BuX z$TDy;GBB_+Ff*h86@$#X0W=R}2-qMr^E80s0zeEhFZI&3(+ohfnSuPnKpF&)&3Q$@ zUAhdcDDDE812W~)|Ns9Pm>C(kfV`x{;>={A7|2~efaaM1*&vMWPZgjL6Hq(IU0*;N KfB@uoWIF&TNGR3- literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-069/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-069/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-069/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-069/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-069/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..bf76bf384ae9b8371761443816210f7ed02cc3d7 GIT binary patch literal 296 zcmca|c+)~A1{MYcU}5+RE)lib3Z20?h*%0yYTEJPn|@01$)B6MMjYn*nGxGmw86NP_^fIq^Vq zOn_n_jP5QKppYH|BQvtQK<0qJr~m)|gJ_Uj(tu`w)PgX&86rR-W(Fp(Tb`wW6fiIV E0Ag1lZU6uP literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-070/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-070/cmd.json new file mode 100644 index 000000000..3eb14c149 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-070/cmd.json @@ -0,0 +1,90 @@ +{ + "axes": { + "fix": "b-replace-new", + "json": "0", + "words": "filter replace dev d0 ingress pref 2 protocol all handle 2 basic match 'cmp(u8 at 0 eq 2)' classid 1:2" + }, + "cmd": "tc filter replace dev d0 ingress pref 2 protocol all handle 2 basic match 'cmp(u8 at 0 eq 2)' classid 1:2", + "desc": "positive: opt=plain cmd=b-replace-new:filter_replace_dev_d0_ingress_pref_2_protocol_all_handle_2_basic_match_'cmp(u8_at_0_eq_2)'_classid_1:2", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-070", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact", + "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' classid 1:1" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + }, + { + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' classid 1:1", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-070/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-070/dump.out new file mode 100644 index 000000000..5cc719175 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-070/dump.out @@ -0,0 +1,8 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + cmp(u8 at 0 layer 1 eq 1) + +filter protocol all pref 2 basic chain 0 +filter protocol all pref 2 basic chain 0 handle 0x2 flowid 1:2 + cmp(u8 at 0 layer 1 eq 2) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-070/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-070/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-070/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-070/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-070/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-070/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..4593691d29dc2b5d5885e49a2babe12c6eedd078 GIT binary patch literal 376 zcmZ8cAr8Vo5S;5BX(5OPg#d@BKp-lR82ATJLy+(l3@E<97m7i{6YwNR5>jT`G&DEK zWcTLwX6GLHM0GXbf;JeeWoh3ID(QQ|vO{zXd&Ki3afA}PE8 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-070/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-070/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-070/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-070/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-070/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..4d0a739bd19759c343c8cee4d6203dd7d6b7868e GIT binary patch literal 696 zcmbV}u}%U(5QhKVJ;KRZ5JF)AodpFk6c&~?5IQ<~l*Sk;D?4gxOl)m<0KyyGEBF{D zCidp||GgX@8-jtk%+1{F%(s7TKGXGwMT9?#@XL?>_vQ0!oZz0h9Fe#$y@i?yvG1|vF_o3a%!+kVa Ha=|{fFd0rI literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-071/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-071/cmd.json new file mode 100644 index 000000000..5891ed163 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-071/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "b-nohandle", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all basic match 'cmp(u8 at 0 eq 1)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all basic match 'cmp(u8 at 0 eq 1)' classid 1:1", + "desc": "positive: opt=plain cmd=b-nohandle:filter_add_dev_d0_ingress_pref_1_protocol_all_basic_match_'cmp(u8_at_0_eq_1)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-071", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-071/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-071/dump.out new file mode 100644 index 000000000..8a6c0afdd --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-071/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + cmp(u8 at 0 layer 1 eq 1) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-071/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-071/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-071/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-071/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-071/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-071/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..b0364314432c5492fdb806526550f1f9b8369fb0 GIT binary patch literal 376 zcmZ9HF$%&!5JmrHqZ>s;tQ6GBB87#8g{6(&L9|iRh^4uZSMUnCLXKc#B?y)p|4$G@ zKFrSSXXfo}np`g)eEj9(&CBx9I;Cre1#1O-J6HN?%AyN{75jc(IR_Y`VE_kt0?J?-r+~jVXFe{+IUFaaQwG9_}E=OSd3Rmkgd4Rzy`>wTO z4DpDn0V=Ra*(~0iJV6}D<0Y&&=;96Dk9&}9xz8A7Mb3(x9&2)6*Aq(}7+cgOj_fPX zb46*{ka1ux_ZianjFQuGPSpUXMbR;=L5;emljUN@T8KzTSkwQzrwQ)e8}VNudHQ0M j+5Oj&+d0r?-eRBLNA|P2%xJC;&ZRey`*X!CS#PcjRxCKd literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-072/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-072/cmd.json new file mode 100644 index 000000000..d2d977be8 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-072/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "b-cls", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic classid 1:1", + "desc": "positive: opt=plain cmd=b-cls:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-072", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-072/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-072/dump.out new file mode 100644 index 000000000..5e1bd8a7d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-072/dump.out @@ -0,0 +1,2 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-072/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-072/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-072/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-072/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-072/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-072/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..031a56d6a68502757b263bc25a2be0c89e56e778 GIT binary patch literal 336 zcmZ9GAr8Vo6hvpcg)O8Z1Yd_hAP@)y0s{(<25Lxg+ysr`3cW(Fz&%I+30Y=H8k(KW z&)=E+efw`!d5sX`uNWVia5ulWat>c!6N6dcyICq z`GEr7hM<4m_XYA1Colj2 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-072/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-072/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-072/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-072/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-072/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..55257784e956942bd77bdb0bd3df20aaa638f5d3 GIT binary patch literal 488 zcmaKnJqp4=6ohBpi180Z(%M;Ah@`Nv)I#mNgPKCI40r&+gLnfGZ{QUayoF#daV99n zMSNj+Z)bPE%$`q&T@D^T<>A4_@K#w3s%7*!OYm$@?Oh>-uSLH`i8ns3FCg1;ePUN-IWak1dXk%~Nvi{6v$@1k-IF9ySC$PKd(M)} zP`);DX_jlG14y%|rwnUQVy@XVUe4+HC~FG~>eoHJ;NQKF|MJPx7a%XxSJhtoGCj`9 Qzh!>CRdVwOw5*f=3CXcHwg3PC literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-073/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-073/cmd.json new file mode 100644 index 000000000..bf6aa27e9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-073/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "b-act", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic action pass" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic action pass", + "desc": "positive: opt=plain cmd=b-act:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_action_pass", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-073", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-073/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-073/dump.out new file mode 100644 index 000000000..4785673fe --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-073/dump.out @@ -0,0 +1,6 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 + action order 1: gact action pass + random type none pass val 0 + index 1 ref 1 bind 1 + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-073/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-073/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-073/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-073/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-073/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-073/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..b1cf33a35d2dcd9bdfcc575790f05afa7a51e4eb GIT binary patch literal 376 zcmZvXEe^s!5QX3V@Kb^yCnNp2Lv2~ls8Qp znhh_R%+A}HZ)b1m`J`d-lf{R{`THZ@ILV0Cb2BXkmwTQOs unBEW?0blazd5l#Q=h!avp~Jg>lE3W7nzJ%bIe+QX;-r!tW=m-R+`YbuTq^4T literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-073/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-073/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-073/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-073/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-073/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..540a87f95fb364b1392ded294d25d73f61028fcd GIT binary patch literal 640 zcmaKpp-uxq5QhKjUc(g-4LNZJSAie|fk0LeAmJ(6k~9PfZ-Pa@17LUo5^8t=1RjYX zK_P(S`wxyT8^R>Bvpc)<&7ax(+4W^dx#pJZox|?)^6~9QS3~x8#9I5v!sX%SuH(aF(-T%jdjS@NHCZt-8;9lc6* z8$`TZ(DfW>51)=Er@q_auSz#ctYku|RX?hK-xR2~4e49qG0l7XfVJ`?tc_o%`P!$p a_^!^`d#-QH)qh}5=US2qyz}3*bNvLI!9idE literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-074/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-074/cmd.json new file mode 100644 index 000000000..5d6f122a9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-074/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "b-block", + "json": "0", + "words": "filter add block 10 pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' classid 1:1" + }, + "cmd": "tc filter add block 10 pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' classid 1:1", + "desc": "positive: opt=plain cmd=b-block:filter_add_block_10_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-074", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show block 10", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-074/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-074/dump.out new file mode 100644 index 000000000..8a6c0afdd --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-074/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + cmp(u8 at 0 layer 1 eq 1) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-074/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-074/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-074/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-074/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-074/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-074/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..86444331b7a28e257585ba256a42246d0c0b9a52 GIT binary patch literal 544 zcmZ`$J8nWj3>@!12muO&C{jQw3JQuKQE&o2$Kaz#(IZfhn?y>_6%ZGQDAVQwbaXiZ zg7G>MycMi8Uavj2Jl@~kX6=yRauOW*=>L_|pHGJ#eFYL9E_L;^h$_Sn$P0nU6wtt< zSf4%nY?)Ww>QjM(_DNrjz%q=W7I=WidLO~2h3*rMPv^Lg&_!Ccv0eX8|6OEO=f}yZAG(Lb2 zVP|{*gWtEy!rkUBQlUd;Z*O*H_M4v@-UrW52}#O?lJbq0{m=BpW`17E*pnscst32E z0(eav_W*iIU@e|($fBeD?7&YS=j13qE0PfUIXcw}Fq5iq6)=#m5b${%qsL5y^tN>jdx#;2GqN2+1|l~UgSI(@%`VQ!whjH{ zk-thz{%FD)oWREmz>{qsw-DuUFMa6T$tXgRA&B`&L(*zr^_sn=%;AkxLRK?lO(jxG zR%L1OZg#~Oxj7F$qc9N%=|5p&I!S+p=^l66wbPh}!!Lkh_oq;!hTo|*x+p#BJd67E zBXIGXU}u?JdDx$I>k5AsxK`00OG;<5ctHDsfM$XD5!c$e)R?1l>B+LfJFA@XJNBoT zAHnaKHaEY_k1foPD)da&Ss(6AE$HJ8KHeZB+w+41y@>kJhnXKCAFcymj?`hORd5%3hrbLu!=}RcTx1>lEcDDo)Bgsva2&?;e;C){CoXP$tY6-@a6>g3`CGIqu!6IdGjl&?=5qSkhKTTx2si$G{k}{V>pVUgOA(n5xm4a6ydl6h`_f$2 z$Eczh00kHf+m5#(PY?_8cn#)Xsp4H%$0f+tR3~~#ma`+L!<^KgtIkvlfyvJG*v_%E z+n$Uwd!;@@^EDCLS*9a3u*Esr05NMN`hIUV9xxN5Y^!tHXYWE={r_E;yqG+F339eO mYs7SQpvJhuKJczq?zDN$;6%F}xSQ@E^><5{GGypJ>280zR4~N= literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-076/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-076/cmd.json new file mode 100644 index 000000000..baa4728f7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-076/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "b-egress", + "json": "0", + "words": "filter add dev d0 egress pref 3 protocol ip handle 3 basic match 'meta(priority eq 1)' action drop" + }, + "cmd": "tc filter add dev d0 egress pref 3 protocol ip handle 3 basic match 'meta(priority eq 1)' action drop", + "desc": "positive: opt=plain cmd=b-egress:filter_add_dev_d0_egress_pref_3_protocol_ip_handle_3_basic_match_'meta(priority_eq_1)'_action_drop", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-076", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 egress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-076/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-076/dump.out new file mode 100644 index 000000000..05ed11a4e --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-076/dump.out @@ -0,0 +1,8 @@ +filter protocol ip pref 3 basic chain 0 +filter protocol ip pref 3 basic chain 0 handle 0x3 + meta(priority eq 1) + + action order 1: gact action drop + random type none pass val 0 + index 1 ref 1 bind 1 + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-076/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-076/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-076/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-076/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-076/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-076/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..da3475824581508be102bb754262e95c993bf20b GIT binary patch literal 432 zcmZ8dy$-=p7(KnWs-=UN3~UBNhYkj#iRbVWB5cfJlz0V;%^(Jg2k;8s!(f&=M~S9i za`K(;-0z;A-uvxxFmUlN7cUOIM>szki!QkU*LKu?6_ZrqpwGRZmhCz$ja`-XS$h^IYC=BOo>GK@m(3*~;h7|fPgbJmaIl<> zs4ZZa$H1qiFGb|74@=)9B=;1I@Oh?^hjwH3h%6wcgV9Q7b(l@ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-076/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-076/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-076/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-076/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-076/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..afca7b83fb92c7e88366eaf92631b09e2d1346cc GIT binary patch literal 680 zcmaKqu}T9$5QgWnXR^^0B8Q~0OL2vWg+#zK1C#o{}JPb7gT;Va3n0`Wb+9e)_yj`JKZi+RrA*&!#Sx(1}SEOW6g z@yOn*s*;zMYd9{T7E%uB+q72Daz0as1ugR8@SK*>bu_*_nUM3gqAM%m`m0a#|Lc2Y zR$)tlBmUeo=Z-mDFdI*mUp2-`@doTdMhE_e?iL8qc?2!{{{67KF|OF literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-077/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-077/cmd.json new file mode 100644 index 000000000..efc2c6dd4 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-077/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "b-chain", + "json": "0", + "words": "filter add dev d0 ingress chain 7 pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' action pass" + }, + "cmd": "tc filter add dev d0 ingress chain 7 pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' action pass", + "desc": "positive: opt=plain cmd=b-chain:filter_add_dev_d0_ingress_chain_7_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1)'_action_pass", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-077", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress chain 7", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-077/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-077/dump.out new file mode 100644 index 000000000..c71211e20 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-077/dump.out @@ -0,0 +1,8 @@ +filter protocol all pref 1 basic +filter protocol all pref 1 basic handle 0x1 + cmp(u8 at 0 layer 1 eq 1) + + action order 1: gact action pass + random type none pass val 0 + index 1 ref 1 bind 1 + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-077/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-077/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-077/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-077/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-077/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-077/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..313277f57010e888758f93e9c9d582e1667f3f61 GIT binary patch literal 424 zcmZusI|{-;6r9aQP1HiHQfOz9B1j4gODpvdHZh`zr5?aTXe$WfrxkCIE7*Am!CvCL z1Th33Oy1jhvy<6-bln>;@hcN=9{SJf;&RmJaTdVTU1{I)In<#rpzh0MyM-of1(cvM zp;-KG^b?cBDCg&ruMy&R+BpxR^casj1$CiA$niCGY?gr$D%@Xo)Iw-1@Q!=)gf RxkZXMm1N#dMF8aA@c~RVEMx!x literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-077/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-077/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-077/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-077/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-077/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..f68acd5aeb98f58f9ebe0fba3aa5b8f458d95bba GIT binary patch literal 672 zcmZ{iF-ikb5QgXFtz@GXA`5PzU5XSzELAK5O1y!!F+xxa3q6G50cQ3kMAGqee`xNBqeHWBG^ZIu2zJCC*@H_PY literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-078/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-078/cmd.json new file mode 100644 index 000000000..c8266104f --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-078/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "b-hex", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 0x10 basic classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 0x10 basic classid 1:1", + "desc": "positive: opt=plain cmd=b-hex:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_0x10_basic_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-078", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-078/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-078/dump.out new file mode 100644 index 000000000..c7bdaf6b7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-078/dump.out @@ -0,0 +1,2 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x10 flowid 1:1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-078/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-078/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-078/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-078/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-078/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-078/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..8a8780a7951b38241aa4d60c368547fba85ddc8b GIT binary patch literal 336 zcmca|c+)~A1{MYcU}5+R1u_R@_NV{<|1&T%GH?OSOiC=yOa_YaFfcK20Qn#Ya^oMM d*(N}75Jop!1t`P>bQs9&>1iMZ3=HV@0RYMVDCPhF literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-078/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-078/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-078/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-078/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-078/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..4c9983e1baff3aafd924e5feeb64e5d18e7c453e GIT binary patch literal 488 zcmaKnJqp4=6oe<)i1DWgVryq%A(Fzv(#o8}A5gK=+QJK1SqpZS;uUfQ?;%<%aV8jy zi}=Fu-p=lRnZ3m4g9{Iz^6=zhaIG$uQ4xL45uX z$TDy;GBB_+Ff*h86@$#{0GbCf1Z)tRc^W`*0U!pM_h9?NYYafMnSuPnKpF&)%~=98 zrvxYl!szZw0Sf6bu(Bb$3uF$+l+XYF|7T!kWZ(w!lGBUwOA8nnOcpt}nIUd1i` literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-079/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-079/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-079/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-079/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-079/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..105d7f4dbd63495788af010bc9f6f9d85fc67d16 GIT binary patch literal 620 zcmaKpu}T9`5Jm6iEo7q>K^9D7m%>8C!oo6z=yynjEi4q#*2+IfC0J$#8JxIV;zn|U*NbKYh4buoYFDc4Wr`l2{|Upu|I?rXx?QXcl5+Sui=u1rVV zYkS>XXj6ks>MQ7k%jV7C84^JWZ;SpAnOA?#UIaT(FUXEA=Ml~xJuCG!rnRFibbXoQ z_^9jJ*&{}ft@jR|jzP?zSjHRgAt8EbP>F4GWx(M;!Xyu)X9 S=zUx14og~rd;SjX4!;5Zi9oCX literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-080/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-080/cmd.json new file mode 100644 index 000000000..78895b3d5 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-080/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "c-cmp", + "json": "0", + "words": "filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 1)' action drop" + }, + "cmd": "tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 1)' action drop", + "desc": "positive: opt=plain cmd=c-cmp:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_cgroup_match_'cmp(u8_at_0_eq_1)'_action_drop", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-080", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 egress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-080/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-080/dump.out new file mode 100644 index 000000000..b6cbfafa9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-080/dump.out @@ -0,0 +1,8 @@ +filter protocol all pref 1 cgroup chain 0 +filter protocol all pref 1 cgroup chain 0 handle 0x1 + cmp(u8 at 0 layer 1 eq 1) + + action order 1: gact action drop + random type none pass val 0 + index 1 ref 1 bind 1 + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-080/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-080/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-080/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-080/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-080/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-080/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..21e837bb1d675886bbbdcda77ff4a270b3d63e4b GIT binary patch literal 416 zcmZ8cAr8Vo5S;53Xaj026np|hN~l0U2%ymfg~spz3_PJ<;13uG0)ZlB zwoTKfn@o3iZfN2j_Ep%WjpazX8 z#p3s+pO_>@B|n#ZlMuhxbAJK7HTQ^Js_3&dOq|FG%DE1tJXEU1T;d}xpE!=873$oA zaJAShfiVoYe90mwnl^VQnbLRDFAt!UPu?SJBAf(kVX5CaypvTvrT=_n)*cT9<*Z#& O)GNt)n~4A@=l=uvK`bx; literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-080/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-080/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-080/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-080/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-080/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..be7417af863f28a3d2ccad5552b94d8397a87959 GIT binary patch literal 644 zcmaKpF;4hgexiLSkYml{KxU z|HHzX9Pcgeac&Hgyqlf5nQtevUz_)3gct{lv1Ks+KAqou)G*{(LTm?e-ugT=VK8Bx z&sBYbHtGhb!Qz_5;ysclhyw+@F7s!Ucq1Zy9P^vhBmXK^jL4;o707M*sE4YFyxPn@tmNl~? zHXARQy!YmtH<|Bty_{`0_?3efm);{g+a7Z0au(p2j@q|c97?dzr|!!|dm2@^7LbC$ zgkt&a=qHoVDCXBBUm)anf4Mi%+i<_KtD-)&V-6>BLOj==l!rtznoB-%c?LlMV@Vl*1u%q7y+N9sG&Sy(aMG2EHz?LWGtlCjN4SJP8n47xU~kI2`&at+fO*?|6ykXs Pql)rU6!9an54#)?W++@t}xz!2AX!-b3%>31nNwIlZjT*(K+cIVqm2!_*Ost5BjQUU}CY zdAC%Pnx0K=#2fHkQpT~R+(v9!HR10+4y!)V=N%bUr|B$p_-&VM!Ixp>y5u|7seX@~ fZGQ@z)m}IEL$UUI!u{$kqqP0bI-k;Pe&ULe&yiBrSr&4*S9QMoCP?hsrIcphdeBFsrz!_o{H0Dxus72GEB$xGoDCid(VQ+R O-n5jnI*|Z~W`6^DdoHa2 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-082/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-082/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-082/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-082/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-082/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..101d4d712bb55291b19a703f7d2fdd91de2eec9d GIT binary patch literal 640 zcmaKpv1$TA5QhJ|J;-=-Z@-uaGwon>>K; zVPPFE|G&A@bqN{xZ+2#9z8&Uv+s}1~2q%m1&7i-(e7(63(c@V{WFF;8>+;Y*fC1~u zoa=TZRcx<6PNn@wS=+F(Yea{ne)@{_FeVTOZ`T zQx$49&X(dm@xLUDeM`6v-&u?N>ZKB6Fnv_e^SxWi6D%wh4gh!W>AG1#N;{47P a7Wbw#o@92f&)lp2f#mNsVal-A-Rlp-Vmmkh literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-083/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-083/cmd.json new file mode 100644 index 000000000..c8177db80 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-083/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "c-meta", + "json": "0", + "words": "filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'meta(priority eq 1) or meta(nf_mark gt 2)' action pass" + }, + "cmd": "tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'meta(priority eq 1) or meta(nf_mark gt 2)' action pass", + "desc": "positive: opt=plain cmd=c-meta:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_cgroup_match_'meta(priority_eq_1)_or_meta(nf_mark_gt_2)'_action_pass", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-083", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 egress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-083/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-083/dump.out new file mode 100644 index 000000000..81fb420f4 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-083/dump.out @@ -0,0 +1,9 @@ +filter protocol all pref 1 cgroup chain 0 +filter protocol all pref 1 cgroup chain 0 handle 0x1 + meta(priority eq 1) + OR meta(nf_mark gt 2) + + action order 1: gact action pass + random type none pass val 0 + index 1 ref 1 bind 1 + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-083/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-083/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-083/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-083/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-083/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-083/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..b1edcd606d1482ee8536024be3c0e637b2e1c7e4 GIT binary patch literal 472 zcmZ9IF|Gko7=_Qw9gLWWyoQ28qL^X|g+i%%dU*?YFC-!gBJ>tv11!N3umgHaP^e|z zITtaxe{$x(|H;WW_rI6pe(NK^rvf}UeBYw!u31KpX9~7&PR4tmNRITaiJ%<_d3x^kjrQ9C5|ZfG)-YV zlsFB?i`i-pY~bUUe+udO%>3{h+jL;(i08a6MupZ8)1Wu|rdGcWluj*VB&4L;=9v`yU8qEo%S( literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-083/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-083/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-083/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-083/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-083/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..f604d00fb6ab2272d3296905235b79c5abfd96b7 GIT binary patch literal 700 zcmaKqp-uxq5QhKT-M|)3G~^O$2&Uo$AqWHlQ9%L^P>FyX$t6@k2zUf9fUf|DKq0Yx z1>OUJCddB|y>e^_ll(h7b2HyfJNGtwd2|T)v4Bqohwu61xN;crE+P0mxz=`gSwn^+ z*0s5=kJvyj1D4@&#$xd%>@p{%a}Al=M&`S7 zi6i@Hnnqr;+>>!fw3IS5-xi$BvU#o!*evqK@EKM)S5;qK+*|^Yk!+u=zxwow|N27a z@Ic;_>QVJ+buHcj_fjxUt>C|r+F&u^?kJm>yf0~aRJ4q|w~Er@@9#@>d7np8C#H5Xf1pGNVxfp)X`bK@)Yek`fnV?e{=mXo z;;bNs;KH!GbF;(T?Rq}yFz_n_FE0H@eiqan^f(J(sIIhc`5cPSFre zFrirdHuMvdk5S66Nxndc-)VcfgWih!m0c?7(`q<4kQ1bH?MQjZWRtnXM_it997Acy zaSOube7yih(5Y9j$cd)H-Th1^H=s%~HW77-h{yk*g V4j%>Syfsq1)Ff|vDgq$=hc^f8Fth*w literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-084/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-084/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-084/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-084/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-084/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..adf8cb60cd254ba7600aa12cebd93b8d89671041 GIT binary patch literal 648 zcmaKpu}%U(6h-guY{DQGhHL@_CL~f&5JN#>NkJkdzhG8^!9qinn$|C%F$lk4Vr2(E zVBvpQSey0Uk;Qdlc*)&2@9oT)n>X*9=T(RZzY*b!#renK_3$c0mum@;IaA7_%|#gj z`rMcG^4a1T#Q-S4;F6ogo02Dp19`kA`$v>`uk)8R$TqAu%!)kcft(I|lJBd*)+qv$ z_a%ywt}!0p~^8F-(9GeI=vG&HXK4St%@8|DDqn`_8@b zt|fVoRFN88BzNNV_%1PPKVnY9kLu3h-#-=yuF>TkRVq)@T59lH*&fUCw%nx_`Ih^% ozfMlgt$uuT%9wGqPbd7D7BJI%7o4x&Lh|Puvt`K88)ftT22ip?ivR!s literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-085/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-085/cmd.json new file mode 100644 index 000000000..597639439 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-085/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "c-nest", + "json": "0", + "words": "filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'not (cmp(u8 at 0 eq 1) or u32(u8 1 0xff at 1))' action pass" + }, + "cmd": "tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'not (cmp(u8 at 0 eq 1) or u32(u8 1 0xff at 1))' action pass", + "desc": "positive: opt=plain cmd=c-nest:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_cgroup_match_'not_(cmp(u8_at_0_eq_1)_or_u32(u8_1_0xff_at_1))'_action_pass", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-085", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 egress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-085/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-085/dump.out new file mode 100644 index 000000000..6601e80c9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-085/dump.out @@ -0,0 +1,10 @@ +filter protocol all pref 1 cgroup chain 0 +filter protocol all pref 1 cgroup chain 0 handle 0x1 + NOT ( + cmp(u8 at 0 layer 1 eq 1) + OR u32(00010000/00ff0000 at 0) + ) + action order 1: gact action pass + random type none pass val 0 + index 1 ref 1 bind 1 + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-085/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-085/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-085/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-085/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-085/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-085/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..2b16d23b47d513c71c15c8d8d362fb676ea2774c GIT binary patch literal 460 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$#{0-6Uh1Z)tRc^W`*0U!pM7q?)=I|iWH%s~EOAPoY@=4}7U z$8Z8D2Eyp>+5r^OVPIuLb{EJTkSU-4|Nqax%*enEcGmO_T+J4eOMGMuRcZWejRum;DRYdpDIWJ@4sChL;*U!Sfx)c4K1 zUdVf<5^6FU-;3AhUQ*_vrF@Ohn%fEYe~D3bg&yx{Qa(+w)aJKQw3WU{x9*1gnCJAC u19EBwN&g%%#8&k8W$4V9Q`b>!K(Fr&pgnwW589a&?jdE#lBivld-w%FBR%i{ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-086/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-086/cmd.json new file mode 100644 index 000000000..b606e63ef --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-086/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "c-empty", + "json": "0", + "words": "filter add dev d0 egress pref 1 protocol all handle 1 cgroup " + }, + "cmd": "tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup", + "desc": "positive: opt=plain cmd=c-empty:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_cgroup_", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-086", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 egress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-086/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-086/dump.out new file mode 100644 index 000000000..d181058b1 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-086/dump.out @@ -0,0 +1,2 @@ +filter protocol all pref 1 cgroup chain 0 +filter protocol all pref 1 cgroup chain 0 handle 0x1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-086/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-086/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-086/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-086/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-086/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-086/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..bb2704816038e9eaa4f85d3d9f74171df3c9b564 GIT binary patch literal 328 zcmca|c+)~A1{MYcU}5+RkHG=R24MykW(yDn0|r2b5CbEFJ5U`=44LL& zkY(UxWME)tU}i`GDh8Q%9cUiN5U@dL=4k-M1%Mc2-Yu6mR~Ue1GXwdDfiwspoAVB6 zjtfu>gwfq)0u<6=U}Zyg7swotDWCuU|Ifh8$iNNcC8rnVmlgoEGcbYO#`J-Y0i+j% X(alr=3NZnV0GSz;2~q%2hinf3Ft930 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-086/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-086/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-086/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-086/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-086/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..88a18216b7268d94fae4dc22e97a6cf906a57743 GIT binary patch literal 460 zcmaKn&k6xi7{$+>J7vUT(rlH5g@t5cVaGzTkcC&E6p0j1Vy(P_SD07u9+HKX#yOM8 zbd#@6-=DtwyXU*cm$L^S-|+EbGrW~ogPuj7wFKXGm9l8FsK8*vy=<1x0jek(pa6?G zm&KcsCrAo%cn!`&O1yjR^aReoA6@b6v3ze4^Hd~WsG%j1C_b&uqF Jj5xB6$2U0RH`4$B literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-087/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-087/cmd.json new file mode 100644 index 000000000..f264f6cc1 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-087/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "c-match-only", + "json": "0", + "words": "filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 1)' action pass action drop" + }, + "cmd": "tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 1)' action pass action drop", + "desc": "positive: opt=plain cmd=c-match-only:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_cgroup_match_'cmp(u8_at_0_eq_1)'_action_pass_action_drop", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-087", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 egress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-087/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-087/dump.out new file mode 100644 index 000000000..a975f32a2 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-087/dump.out @@ -0,0 +1,12 @@ +filter protocol all pref 1 cgroup chain 0 +filter protocol all pref 1 cgroup chain 0 handle 0x1 + cmp(u8 at 0 layer 1 eq 1) + + action order 1: gact action pass + random type none pass val 0 + index 1 ref 1 bind 1 + + action order 2: gact action drop + random type none pass val 0 + index 2 ref 1 bind 1 + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-087/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-087/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-087/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-087/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-087/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-087/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..8c74d29eab686432e11d5d70b4134fe9ebabad5a GIT binary patch literal 460 zcmaJ-u?_)26r8n(yO5lyuAmc9T%kaeDt7ZrpF*kd4HA_?Eoa_c z#N{GhGW*_}ot@pc*Wj?vz`!>Qyx8;~#aX>&qsLkRLw6;8qRFBRg#mRRE}2bKVJRRF zjWNaI*P)-7L`EsU2Kf>pez(i+40>z!0kcHX=hU`AL4@?Xj^tfrbIEs!kGMR;Foaep zu=D)oe7yj+$e_WSOmd>Buy>*=zBgXE0i}lIUBV*#k+%|-`i;XgzrrQ|Pn$d?|8wVD VEgA{ZbJa*uuVk*tR0KeJ);AfTFPi`W literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-087/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-087/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-087/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-087/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-087/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..00ddd89d60fb263635fc33a81f4e5604049d3df7 GIT binary patch literal 800 zcmcJNu}T9$5QhJ`J@67OL=H)zSePP(h=rg xVaDG7)|QlCQ~Zmz7SEosLp@vmoS}QcSzygH_crIQJ0g$gp0niGue%fG{s{y%K#BkW literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-088/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-088/cmd.json new file mode 100644 index 000000000..183386178 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-088/cmd.json @@ -0,0 +1,90 @@ +{ + "axes": { + "fix": "c-replace", + "json": "0", + "words": "filter replace dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 2)' action drop" + }, + "cmd": "tc filter replace dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 2)' action drop", + "desc": "positive: opt=plain cmd=c-replace:filter_replace_dev_d0_egress_pref_1_protocol_all_handle_1_cgroup_match_'cmp(u8_at_0_eq_2)'_action_drop", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-088", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact", + "tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 1)' action pass" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 egress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + }, + { + "cmd": "tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 1)' action pass", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-088/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-088/dump.out new file mode 100644 index 000000000..8f615df27 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-088/dump.out @@ -0,0 +1,8 @@ +filter protocol all pref 1 cgroup chain 0 +filter protocol all pref 1 cgroup chain 0 handle 0x1 + cmp(u8 at 0 layer 1 eq 2) + + action order 1: gact action drop + random type none pass val 0 + index 2 ref 1 bind 1 + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-088/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-088/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-088/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-088/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-088/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-088/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..13c71b2466ee5dd9a054fdfce934fac50067b7b1 GIT binary patch literal 416 zcmZ8cF$%&!5S&X+OwdBCQfOz9B1H-dJMHulHWDR>g(BMf06_$?ve6%CX`3$yKEuLJ zkT`1y30W9+cW!QO?h)P21~jtL_;TsLsJTLER5 z7*i~MPx^_;->Bf{lCKfscin$3pts3AVwcMMbPvFZoS>L%OUgq@=W~gVxV+;yhN)2D z7KF?BdI1b!z~xI8Ingw@JO3$p*C3aaQa*W)u!(RKtc0h2zqV8q_$~Xgr%PUVwy=EGFw*pRV|?Z_B&B z$or(K)Oa|Wi}%QPNg0QhavPyFiV06o5?r`Mmv=O%C_k1LS!(fno#(yJ!@{-6Pgtk= drepbT6im{LcDv+m^$t?F+mtEG4!w`x?GduIL686d literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-089/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-089/cmd.json new file mode 100644 index 000000000..1fb04c13f --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-089/cmd.json @@ -0,0 +1,90 @@ +{ + "axes": { + "fix": "c-delpref", + "json": "0", + "words": "filter del dev d0 egress pref 1" + }, + "cmd": "tc filter del dev d0 egress pref 1", + "desc": "positive: opt=plain cmd=c-delpref:filter_del_dev_d0_egress_pref_1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-089", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact", + "tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 1)' action pass" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 egress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + }, + { + "cmd": "tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 1)' action pass", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-089/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-089/dump.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-089/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-089/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-089/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-089/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-089/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-089/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..458f2e08761ae5e02453fcdee60f5bbf281656f8 GIT binary patch literal 312 zcmca|c+)~A1{MYcU}5+R0EFgD?XNvjvEP0RtdIh=Gy81E>xrhD>uX z$TDy;GBB_+Ff*h86@$!62AT&l1Z)tRc^W`*0U!pM*DkvFAOp~BW+4ACkOl!{bIO3` um;l8<7~NeeKp|ZQRup%E%mIPV|Ns97nG15uLIP$m0TqJWatrD^baMd`S0xYt literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-089/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-089/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-089/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-089/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-089/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..9a6c63c952e0ace3f947fa56c17cae33e0338996 GIT binary patch literal 296 zcmca|c+)~A1{MYcU}5+RE)lib3XO0?h*%0yYTEJPn|@01$)B^I16K0t3)&W+4ACkOl!{bLxQR zm;l8<7~NeeKp{N_MrLGpfy@Dc&;S4b2hkw6v;oZksRdzlGem$w%nVFmx9rUUDPUj# E0Jjk!=l}o! literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-090/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-090/cmd.json new file mode 100644 index 000000000..8b6ee6f45 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-090/cmd.json @@ -0,0 +1,90 @@ +{ + "axes": { + "fix": "c-readd", + "json": "0", + "words": "filter add dev d0 egress pref 1 protocol all handle 1 cgroup action drop" + }, + "cmd": "tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup action drop", + "desc": "corner: opt=plain cmd=c-readd:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_cgroup_action_drop", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-090", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact", + "tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 1)' action pass" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 egress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + }, + { + "cmd": "tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 1)' action pass", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-090/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-090/dump.out new file mode 100644 index 000000000..387fe8125 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-090/dump.out @@ -0,0 +1,6 @@ +filter protocol all pref 1 cgroup chain 0 +filter protocol all pref 1 cgroup chain 0 handle 0x1 + action order 1: gact action drop + random type none pass val 0 + index 2 ref 1 bind 1 + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-090/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-090/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-090/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-090/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-090/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-090/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..7cea2c5782dbff728c3a12d23b6abfae0b61b3c4 GIT binary patch literal 376 zcmca|c+)~A1{MYcU}5+RE)lib3Y_0?h*%0yYTEJPn|@01$)Bo1%pb$_!BghS}prM2AE&w%DC^i59 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-090/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-090/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-090/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-090/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-090/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..badbe3a11e8c6e461d2fcbf4e7b50d9b88427295 GIT binary patch literal 620 zcmaKpy=nqM6ot?3EV%xG$bvR@78VjLEG#Vq^91RGf`~$bC>DV{iA8(?i^MnZ6|8&) z!NNMM=M1}MGlX0?d*|Mn`Q~uU~zb;@5S;Uw1P6*JNkKt63JMoSqTmOCKhQ)(q6on#B6WBGQaUOczJT}u;tTmf z3PhC`Aeiw*0-wlAbKcvX9q;aaZpxzJyy4(29VV`~ zJl8M_Y|b=a{^4m8IbOrfFyjn0<^+F+2Zn5J23K>xi!f(S@N1?F#VA~L&h~epY3dvC zxrGw@?e*W&j}g$New}|QGA2%y_e$ouJ-Jhb#w3i#L`3wTdt*h(pHx_L$@JCQ34+gIVPO$pK~mUC zS_=yw!cKeuiQl(->*bC+OcfoN-MQJB*>7j&=B@wukdUPKl$0-gY<*--orA1YAd@9& ztBoS52%Z(o-iDo0gce5@BxUJ1i-^<1IXNoMv?PRaUR`YfH>nC&kx8+|ZHbg12kk0$ z0=j3LjI~T`J)SKu!k5=08b9bxP_{Kdl^ILPP`Y23_#3J2AXE;qEqkGWddKMGP0Wc zu~aIxX0yFZN@)!eJYS{tQD zoySqXUIZ@w6YMOLD+lsP`$*x>1J?}tV@lchivzUpc+fa7cX4evml|_)E*;4#yyMC# z|Kt4;=Ev}VOrPd2^J4|`V+VF7>#PrDQwzqpMvPrF6FEFTIM7R|A7hyL5r|=1x(6GV ztJ8k%o+K7S ml*t9GbDq-d#>VVL^fLRK_VX&1@%CpcB#XJd8KI`bx%~!rBB+=E literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-092/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-092/cmd.json new file mode 100644 index 000000000..d3c29b01d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-092/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "f-0", + "json": "0", + "words": "filter add dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys dst divisor 8 match 'cmp(u8 at 0 layer 1 eq 8)' action drop" + }, + "cmd": "tc filter add dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys dst divisor 8 match 'cmp(u8 at 0 layer 1 eq 8)' action drop", + "desc": "positive: opt=plain cmd=f-0:filter_add_dev_d1_parent_1:_pref_30_protocol_ip_handle_1_flow_hash_keys_dst_divisor_8_match_'cmp(u8_at_0_layer_1_eq_8)'_action_drop", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-092", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d1 parent 1:", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-092/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-092/dump.out new file mode 100644 index 000000000..251e38cda --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-092/dump.out @@ -0,0 +1,9 @@ +filter protocol ip pref 30 flow chain 0 +filter protocol ip pref 30 flow chain 0 handle 0x1 hash keys dst divisor 8 baseclass 1:1 + cmp(u8 at 0 layer 1 eq 8) + + + action order 1: gact action drop + random type none pass val 0 + index 1 ref 1 bind 1 + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-092/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-092/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-092/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-092/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-092/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-092/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..ccaaab53289cd7390d5d84b73df596d58f5df784 GIT binary patch literal 440 zcmZ9IF%AJy5QhI}7rQ7#wGvc{EfgdQrH;ZSgix$RBT;e_k*Jj722LPx2%QrM|G&@1 zW@j@y@BK6LW#&C@mtzht{^sJ%%ji{!>K`9Np5<_zfkI+k9%?Wcvo6un(L)oy0g7-i z?^#|*o**$O!wacb>Ecax(E(&@svDy$%{illD>Zp`t`nsW@`dzV;#i7-hZcO^7OVAE z?HlB%8UDej4+v3?HT5)@3F2-`P~Ms`U6MM?iMO22Hqu$Y4`Q0F5;rlAx+r?vJ9p^w TEYI%Hro=v@9iG3}&F=LDj|nI^ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-092/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-092/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-092/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-092/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-092/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..ec03d4449b64a3a9a520d890751a9bccaff81619 GIT binary patch literal 676 zcmZvZze)o^5XQf~J#gb65IHb~Np(dE5d{mYkU~hFLJ-9i9;6ZS3@Ov6(83oG-ynrP zKuB+uM#vKc{JuRmIhGrko1M9t-^|V~<{xhfQtTwfhE9Kd`20ROLXT%DQhOs4#n zt2L?SgYwTjD^zPgL5$JvSKPhcNgD4yW5}{z?-zFe2Ru(Sd;kCd literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-093/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-093/cmd.json new file mode 100644 index 000000000..255be6059 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-093/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "f-meta", + "json": "0", + "words": "filter add dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys dst divisor 8 match 'meta(priority eq 1)' baseclass 1:1" + }, + "cmd": "tc filter add dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys dst divisor 8 match 'meta(priority eq 1)' baseclass 1:1", + "desc": "positive: opt=plain cmd=f-meta:filter_add_dev_d1_parent_1:_pref_30_protocol_ip_handle_1_flow_hash_keys_dst_divisor_8_match_'meta(priority_eq_1)'_baseclass_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-093", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d1 parent 1:", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-093/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-093/dump.out new file mode 100644 index 000000000..ef6299ef0 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-093/dump.out @@ -0,0 +1,4 @@ +filter protocol ip pref 30 flow chain 0 +filter protocol ip pref 30 flow chain 0 handle 0x1 hash keys dst divisor 8 baseclass 1:1 + meta(priority eq 1) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-093/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-093/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-093/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-093/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-093/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-093/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..9e6fc3452c8106b8ca0a28cd38f7b229b1f6ba8b GIT binary patch literal 416 zcmZ8dF%E)25S#-|Rn4R5!XTF`8eZJi!NO4;!F1$>S*=q9I#F%FpQa_R_R-cD99A=Cww6YI) zMBM=o@c0@;-Wz#>7^uSQQE$=2dq2&0AX`=C^jc-kCpklEvT9vjN-uD}T-U9;$Wm`h zG7gNDRT--98Hv?$UMqkh(Q$VOctV|ivHt#*9MG`WKkoPP;;;Ybeekb9USh1oIu2BV u-97J)Giz9kSo))9QL(Cw=bDB`3r3MwUYz?6d(~WI)m}T4JaaU!qSq^)EH4%S literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-094/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-094/cmd.json new file mode 100644 index 000000000..6a63e929e --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-094/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "f-u32", + "json": "0", + "words": "filter add dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys dst divisor 8 match 'u32(u16 0x1122 0xffff at 2) and not canid(sff 1)' perturb 10" + }, + "cmd": "tc filter add dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys dst divisor 8 match 'u32(u16 0x1122 0xffff at 2) and not canid(sff 1)' perturb 10", + "desc": "positive: opt=plain cmd=f-u32:filter_add_dev_d1_parent_1:_pref_30_protocol_ip_handle_1_flow_hash_keys_dst_divisor_8_match_'u32(u16_0x1122_0xffff_at_2)_and_not_canid(sff_1)'_perturb_10", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-094", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d1 parent 1:", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-094/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-094/dump.out new file mode 100644 index 000000000..7683be05b --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-094/dump.out @@ -0,0 +1,5 @@ +filter protocol ip pref 30 flow chain 0 +filter protocol ip pref 30 flow chain 0 handle 0x1 hash keys dst divisor 8 baseclass 1:1 perturb 10sec + u32(00001122/0000ffff at 0) + AND NOT canid(sff 0x1) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-094/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-094/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-094/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-094/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-094/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-094/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..069a5d6290851134e781742672d1958a8c302fd4 GIT binary patch literal 424 zcmZ9IJq`g;6ot<-!~9Sn8VL$fC=?`9D0M7EG$ay@)*@^`q9hSpn8F4uLd60^#yK;7 zCUYlu?w#}A{oZ+V4bQtAZ2ZHSd;QtK0nvvgImdRirtGlaD<$W!Bf0QV;n;+Lt&9#lS@i9=~Rb z{Vw(4mK`I@Y%aulcs-pq33|T TGV8fRiRT-6b{5(IWbg3?P`4^; literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-094/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-094/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-094/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-094/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-094/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..4c83a1a0104e37b6ed60ae417d4e0619339d93aa GIT binary patch literal 548 zcmZ`#yKcfj5FGm~`A86th>}pC6e$n{iGq@b$A=&qETu?6o1fqVkn#oj1v+Xvej!p? znqX$uval?&(%$aQ&Cc!KasRyw5#eSL{#eX^tLw|Oh6!^yA~#mZ?TyJ30xZbOv10Ui zMkN4ZI4p;mUVT=BL`xEDsfh*2++b+}6 zZar%JkSi~1Xucjoo8_E{KuQ*P2Jq;h!njJ_H-bGL?e>f3y}s<#|N9cY<*65%R%jc0 zBHn7pTD?^~u%7U(oI7Gi+t}jB(iCWRE#=WN#n@)oeH!CayAQa#{z+cmy+z2ePyd(i Feg*D2GRpt} literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-095/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-095/cmd.json new file mode 100644 index 000000000..3e6fd8690 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-095/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "f-first", + "json": "0", + "words": "filter add dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys dst divisor 8 baseclass 1:1 match 'nbyte(\"ab\" at 0)' action pass" + }, + "cmd": "tc filter add dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys dst divisor 8 baseclass 1:1 match 'nbyte(\"ab\" at 0)' action pass", + "desc": "positive: opt=plain cmd=f-first:filter_add_dev_d1_parent_1:_pref_30_protocol_ip_handle_1_flow_hash_keys_dst_divisor_8_baseclass_1:1_match_'nbyte(\"ab\"_at_0)'__action_pass", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-095", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d1 parent 1:", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-095/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-095/dump.out new file mode 100644 index 000000000..5af5f1ea6 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-095/dump.out @@ -0,0 +1,9 @@ +filter protocol ip pref 30 flow chain 0 +filter protocol ip pref 30 flow chain 0 handle 0x1 hash keys dst divisor 8 baseclass 1:1 + nbyte(61 62 "ab" at 0 layer 1) + + + action order 1: gact action pass + random type none pass val 0 + index 1 ref 1 bind 1 + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-095/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-095/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-095/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-095/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-095/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-095/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..0dbc1a7efa16b57fbb6093681847cb81d36e55ac GIT binary patch literal 444 zcmZvYu@1pt6ot><7A=NGNDOK+7z_xBjR~(&gn`5&Ve~3Cv&n82i}$ctCC(v@rg59w zd;as^ez~{z%jsaj!7m)Vco;qM%kDLc0ksm2-BXF8Nl}2on0=8KuPy?32FSq1to7v$ z$rI!QO7QCReWrNrQ~e3DHPwYx5$6QAEY9?l$+?cS8c3z%bBXh%7`Ujy<7vKHZ}s^O z7Cpl^SoNsdbPQ_9QA+`3b`(EKoeIkjCqR?527NIX;dG;$3aq{Q|Ak9mJpJE3_vlb7 SlY7)?kzlk(X{81rx!W72-YCZa literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-095/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-095/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-095/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-095/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-095/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..3fb6e7f72440b7a999c90982a2b7ecd35b54724d GIT binary patch literal 672 zcmZvau}T9$5QhKVJ#b@0LO3u8h7?y=h$vX3OcBt=hlqwGpkgEV7`}jozJjG~8Xq7J zkuFs#5%T}HIkPM`$K349?R+ykdyDzkr$vUHWcZ_Vy*haKnH^%lwG^4_%T#i~MH>b; z+*ie7>v4jH0ruc9z6`ttd4iOngm=n#iz?pj@%J0ZR#$UcNz7T2bH$i6?WXCKy4L(@$omO?Hqx%tyDVX)QQJ_86L2DhZ@tgmKJ;;ZIdgz ob^lGl8R!h!FHY!7Cz9CK=q~&Nznr`7NSe+)XUH*EcUR4Q1Fj!3TL1t6 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-096/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-096/cmd.json new file mode 100644 index 000000000..a40c52ea1 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-096/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "f-map", + "json": "0", + "words": "filter add dev d1 parent 1: pref 31 protocol ip handle 2 flow map key mark divisor 16 match 'cmp(u8 at 0 eq 1)' baseclass 1:1" + }, + "cmd": "tc filter add dev d1 parent 1: pref 31 protocol ip handle 2 flow map key mark divisor 16 match 'cmp(u8 at 0 eq 1)' baseclass 1:1", + "desc": "positive: opt=plain cmd=f-map:filter_add_dev_d1_parent_1:_pref_31_protocol_ip_handle_2_flow_map_key_mark_divisor_16_match_'cmp(u8_at_0_eq_1)'_baseclass_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-096", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d1 parent 1:", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-096/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-096/dump.out new file mode 100644 index 000000000..423e44273 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-096/dump.out @@ -0,0 +1,4 @@ +filter protocol ip pref 31 flow chain 0 +filter protocol ip pref 31 flow chain 0 handle 0x2 map keys mark divisor 16 baseclass 1:1 + cmp(u8 at 0 layer 1 eq 1) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-096/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-096/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-096/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-096/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-096/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-096/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..4835354b2a55526f2861b225485a0520089ffae1 GIT binary patch literal 400 zcmZ9IF$%&^5JcxEQGbX4tbM{Jj?o=g@5t{}KmfXv=VzubNH$V+8 zHsg#pAWx7KRN_U{L#BAMu=fDja+RO2A6@_KMQ;;Mm1S>zO7vmmZ53+) HDEs{ar%fbZ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-096/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-096/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-096/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-096/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-096/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..099ac40d5bd1a593f8d56cfa9c0e6c5f4960247a GIT binary patch literal 516 zcmZ`#y@~=c7@X`b81X<6iz`lSEG&*gLC|u+!Yh1?s5pVPfKv)W_bM=Z+c~@`=O|1$-^`D|GQ?gTp__t*Lg*vOLd`JYDwW;ap9&eqiGKTu*hLOWMxl z*b^%cIW*rlA~#Dq6@U<*7!52MC^G*|W^=VIO73*Y`08HdPT$`f@hwZf1#yndkA9c$ZX}eHclRJ5+t;SXyXuAWs&Mr&< literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-097/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-097/cmd.json new file mode 100644 index 000000000..22b4ec72f --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-097/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "f-ops", + "json": "0", + "words": "filter add dev d1 parent 1: pref 31 protocol ip handle 2 flow map key mark and 0xff match 'cmp(u8 at 0 eq 1)' divisor 16" + }, + "cmd": "tc filter add dev d1 parent 1: pref 31 protocol ip handle 2 flow map key mark and 0xff match 'cmp(u8 at 0 eq 1)' divisor 16", + "desc": "positive: opt=plain cmd=f-ops:filter_add_dev_d1_parent_1:_pref_31_protocol_ip_handle_2_flow_map_key_mark_and_0xff_match_'cmp(u8_at_0_eq_1)'_divisor_16", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-097", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d1 parent 1:", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-097/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-097/dump.out new file mode 100644 index 000000000..bd7330e24 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-097/dump.out @@ -0,0 +1,4 @@ +filter protocol ip pref 31 flow chain 0 +filter protocol ip pref 31 flow chain 0 handle 0x2 map keys mark and 0x000000ff divisor 16 baseclass 1:1 + cmp(u8 at 0 layer 1 eq 1) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-097/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-097/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-097/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-097/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-097/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-097/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..1282c35c14a93748e96827aff059f83a394b0c64 GIT binary patch literal 408 zcmZ9IKMny=5XQf^f8T~eR0^U|Y@r}gD3$bX;7=qrlv;&|1Gs>K14x`;9YOC1P9S{q z*2d;dGCMQhoBZa>KGN&Sfro#1cyk!O%FElt$AG;gJhv|;j}DtE6h_?3wPMw1AW}dG z7t?OWyOSpn1G0EA^$JsXi}UjWvc*-(DpBMlGapB4lD4lMr8fMa=u0?`?2@I?M8rBz z)*DgAe9@e@>|>NnFBj|7Yvy)#Kl}0lN@;G1SN)@E1o)Ualm+we_Vn0eFKK&hQKBCu L9uF&70Bql1-y$ai literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-097/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-097/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-097/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-097/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-097/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..f87b989bff95f08ae6c8b10407eac91bae725386 GIT binary patch literal 532 zcmZ`#J5Iwu5Pj>l$XHMyM3DkSL*c@TK%$_egga28G+1&;%OP@sG#r2{_zJd^B6S)H zS{elJ?PA$lky*`WXJ_8do34FdXUH*1j&EM>KaZaK&Tz+AirnAI4RXcc1P%|Z8*)=` zI7i`t89bh@Bi@d90tr9~UdjA1Re06r?E}QtR4u(^it|OB8|I|xT$fBO;QVy1kzK?R zH`g1std*u1ny*3@W~mz$up~NK2g3yl`eog`C~Y_luPfUB`m*r4zweQM8S!3OXN)C= u1N;O(`@37%k8z)lr{tgN5u-Eq%tI9UMXNUF#5E^Z?M0e$J!Q%#Tz>%!H8L~+ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-098/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-098/cmd.json new file mode 100644 index 000000000..86e9b155a --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-098/cmd.json @@ -0,0 +1,90 @@ +{ + "axes": { + "fix": "f-change", + "json": "0", + "words": "filter change dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys src divisor 8 match 'cmp(u8 at 0 eq 2)' baseclass 1:2" + }, + "cmd": "tc filter change dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys src divisor 8 match 'cmp(u8 at 0 eq 2)' baseclass 1:2", + "desc": "positive: opt=plain cmd=f-change:filter_change_dev_d1_parent_1:_pref_30_protocol_ip_handle_1_flow_hash_keys_src_divisor_8_match_'cmp(u8_at_0_eq_2)'_baseclass_1:2", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-098", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact", + "tc filter add dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys dst divisor 8 match 'cmp(u8 at 0 eq 1)' baseclass 1:1" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d1 parent 1:", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + }, + { + "cmd": "tc filter add dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys dst divisor 8 match 'cmp(u8 at 0 eq 1)' baseclass 1:1", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-098/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-098/dump.out new file mode 100644 index 000000000..7b2c3924e --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-098/dump.out @@ -0,0 +1,4 @@ +filter protocol ip pref 30 flow chain 0 +filter protocol ip pref 30 flow chain 0 handle 0x1 hash keys src divisor 8 baseclass 1:2 + cmp(u8 at 0 layer 1 eq 2) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-098/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-098/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-098/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-098/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-098/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-098/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..5f56f7413707252e64366ada1620a138c2a8416d GIT binary patch literal 400 zcmZ9HzYYOG5XQgVJ7+HxqCs+0iYr7&6iOxGF+@WsHEInnLG%)@aJ|ZVcmj!Uc60vh zB(pR7&CW01KC;_MBg8jCym%Qu%gaM8!ic>j!eA&Rj~<&U6efI^YroZ?iC6(e1eo_7 z?@FFPEXd=f)GJKkP4AaI$QD-_tHduSX+$_ulk|PBm2EBWJjEe`0EFgD?XNvjvEP0RtdIh=Gy86Q~X*hD>uX z$TDy;GBB_+Ff*hWLd^REG!JA5*dR3XG=Sm)KnyZ3=X%5^2B6s>R~-h@Ab@O+VlO9y z2~Z4#(cPs26w+g0WJY!u!gmm}Kz`E&nsElG7KG8w0J%?xfeGxE$@w4!KqU|gNHQ{T zFvu}*0_n7z{Bn>m2Lm@)wgpIH(+9B?w>}@BT^vC3KRCx%aC$Qd C5F;S~ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-099/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-099/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-099/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-099/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-099/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..82a57c4fb0551d836c4279b9d71ac13689dbd8c0 GIT binary patch literal 516 zcmZ{gF$w}P5Ji7>7tErCh=qk(Sy+fDSXf#rcnq;o*uugKcm~13VjEl0BWP>sJv@Qn z{|SrBqJhawekN~b^1NTu01>_`!kdTbtFqdqF(!;{e4piWEsaI*@9dDZyWUH$?y;h!cB4uX z$TDy;GBB_+Ff*hWLd;tXG!JA5*dR3XG=Sm)KnyZ3%ywZL1JG=cs}2Kc5I{C(2hf}p zpcn|FyDJ1Jq{G09;x3Rm5K|Z#I2hy@IDx#hocwZ-b`=IDpco@qo&(6@0E%${-OL0O k;Q*5mw;u)CX#$i3VRSoHfI>__D?n~vmj_b7z<}-!0F169lmGw# literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-100/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-100/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-100/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-100/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-100/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..1c8859150039f060285c8b05742136fd97c3e88c GIT binary patch literal 476 zcmZ{fF$%&!5Ji8o0XJwNVyjgOK@kNDOG~|jrPwH>^a!?g)&VO^1uu{*SXtRycml!y zvxJ181G6*xclPbydwNNH1SlfFhnxAkvDrUD%-Aatn5jx0BQ`B~Sa2@a%GIKS&;x2P zSdAU;NS+`WsKV<}Z!*Pu_Fo5(EmtY4qRcsyGohxe`idwG;hD0p;&+avzg@{VaaLJn z$lm~d<|Tz;e{|GkKBS@JYz*}H1lYi}||o^SLV QQBzhuw<&2-|IR&s0Rtg0VgLXD literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-101/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-101/cmd.json new file mode 100644 index 000000000..2beb8c3de --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-101/cmd.json @@ -0,0 +1,90 @@ +{ + "axes": { + "fix": "f-del", + "json": "0", + "words": "filter del dev d1 parent 1: pref 30 protocol ip handle 1 flow" + }, + "cmd": "tc filter del dev d1 parent 1: pref 30 protocol ip handle 1 flow", + "desc": "positive: opt=plain cmd=f-del:filter_del_dev_d1_parent_1:_pref_30_protocol_ip_handle_1_flow", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-101", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact", + "tc filter add dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys dst divisor 8 match 'cmp(u8 at 0 eq 1)' baseclass 1:1" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d1 parent 1:", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + }, + { + "cmd": "tc filter add dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys dst divisor 8 match 'cmp(u8 at 0 eq 1)' baseclass 1:1", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-101/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-101/dump.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-101/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-101/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-101/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-101/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-101/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-101/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..c68e5d6ed720108ada546de7bd8a4468ef0320f2 GIT binary patch literal 336 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*hWLd**Tng=ojY!I4x8bEOYAO@Kyk{r5@0cbYJRfmBz2q2r24>ZRI zC<2=`ygQxC>+s#1uvb4hA^}P9QHWC%+t|ori%5D8>Y0g8keGG}{Eo24Qrw VRe(Z3m5d-ap3eg*U|>ME4*)`hBfbCt literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-101/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-101/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-101/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-101/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-101/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..9003192ed2b9619fae3034d6fe0c9f6f573f1dd7 GIT binary patch literal 296 zcmca|c+)~A1{MYcU}5+RyBT#oz#BgD?XNvjvEP0RtdIh=Gy86Q~X*hD>uX z$TDy;GBB_+Ff*hWLd=r@ng=ojY!I4x8bEOYAO@MYJRs&F1JG=cs}2Kc5I{C3bpaQH y2~Z4#(cPs26w+g0WJY!u!gmm}Kz_>yngLP^!sup*0EL(tn80p1nh#RIzyJVY_#P?% literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-102/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-102/cmd.json new file mode 100644 index 000000000..8430b5ce9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-102/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "w123-511", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\" at 0)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx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ility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-102", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-102/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-102/dump.out new file mode 100644 index 000000000..f273a4363 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-102/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + nbyte(78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" at 0 layer 1) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-102/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-102/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-102/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-102/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-102/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-102/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..1ae374ede104a572988d5c2fb437e583bd07a363 GIT binary patch literal 880 zcmeH_Jqp4=5QX3F#u$S|6fGK9=Pr@h#GD@RfrXmswih`4<;c&Qfs9L|UN{hb9!}yeqtN_s~U60aX}m zcr3gQc>>8n7H>d5UBZ&mvDsg$g&JZ!RNMG z9=B_Hq1NcJJbH4|;v8t12+EZ;PJjLK4}7wr@(i~l7h~o^%FbS&7E_}nd-sDJ0CpbV D)b|+o literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-102/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-102/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-102/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-102/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-102/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..69ea3990a95ccac1e390683283832a5d33abb56a GIT binary patch literal 1016 zcmeH_uWkZC5XQgVJp!c_K+cjNDk=!6KvW{jWAH~n5EV7N29JQoRUs;xpm8`P4?xoD z=J>uzfXjyP0x*}knVsGF-FKVWtiI+R3C@<_pNseX)8soXqr+T|B)lmc?UhLl4qcu* z*7C80IvyNQM8J@T#aojnh=C&B3+olSc(d(j39X?nmpF^%u)+3@JWwAX7g5|NozXnUR4D$V*Br&P)c1=`b-dC;%}BPzYTp07)B+;56I=OnWB4bOFNXX-@?x1WYxIptN@+52S#B0X;ne E0M{TJUH||9 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-103/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-103/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-103/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-103/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-103/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..2c5ed117a307a48d05cc8d4557709b7a87ec727a GIT binary patch literal 1016 zcmca|c+)~A1{MYcU}5+RE)lib3X;1I+^&0yYTEJPn|@01$)BTl?l`2LsS-W+4ACkOl!{bGm@$ zm;l8<7~NeeKp{N_MrLGpfy@DcPyhe_2hkw6Oaq#6fQbQ&(aiw4PltgC?3R7`ARP=~ zw}5D{8O)3fTtIgvB^GBU1I0KPxIt136+rW_=>z!ypFRgBCZHLNU?{@C3N{OwP=L!b qFo*!z0!$ziftEplP{k-1(IEgz&$EE(8I<-x7(G3U0EL**(lY?kfGf-Z literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-104/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-104/cmd.json new file mode 100644 index 000000000..238612211 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-104/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "w123-513", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\" at 0)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\" at 0)' classid 1:1", + "desc": "boundary: opt=plain cmd=w123-513:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"_at_0)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-104", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-104/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-104/dump.out new file mode 100644 index 000000000..b86b09899 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-104/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + nbyte(78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" at 0 layer 1) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-104/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-104/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-104/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-104/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-104/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-104/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..ea5a60ad249512c89b6fe51fe949f0e2710c4d52 GIT binary patch literal 884 zcmeH_tq#IK5QOKh2UiH9X$ZmKDiDYY1QH4FfZ)#%1SA+<2ZcxRBP*~7B=10ihLqWo zhNiColWcZ(viWkk%r)9=Gz`8ncya07EA!{xqRUwd#_32)6>{*Q(C1z1WxI<8N(!)W zFy*oEY6lB}B%mCxN#A1$?=m=VLAJv^Vi#pOx1+^UBdPqmhV)w~6tnLVj!+(P9K%s4 za~qFVvkARWYXmHpp4`+qSG7z8B~t$SuiyRw=HQbLmE_o*EZX#>^7#vBF*!=|=Pl#_ H$Y=5mRn-}# literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-104/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-104/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-104/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-104/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-104/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..51b20ebdebd16b69cb48b0f8e629c8b14b752358 GIT binary patch literal 1020 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$!s0W=R}2-qMr^E80s0zeEhuURzXJ_FEfW+4ACkOl!{bAABL zF#(E!FuJ=`fI@lpZ@><528VCVN&5{IKspL#^`2%+^5691a`~ge2@+X zuvnxk`jwElYwF!4BQ|oh8m!G*z|#XfKQ(b6BE!3Mlcj%UhB^f8J#NJ&CUt0sa->!)5ZUuH%ith_ise4b*VotvLaZg$&Sbh%c-nvO~oO)d&>&}Uzy#jA%R z(hl$ig9)3(OC2l(2|)>7je4FbUg_N1fNaD4j#Uxol*wsRQzm^?DK+4jxG!-O*B}T~ z<)u!>iECw&A%EX+Lob!N8W4I>4H?EkhQ3C_#dJ)~LsmyvGvD3Q1fT8=_%DwP?i%Iekiocl1`#oPX%qJP7~* literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-106/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-106/cmd.json new file mode 100644 index 000000000..465c3324f --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-106/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "w124-meta", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(\"d0abc\" eq dev) or nbyte(\"xy\" at 0)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(\"d0abc\" eq dev) or nbyte(\"xy\" at 0)' classid 1:1", + "desc": "corner: opt=plain cmd=w124-meta:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(\"d0abc\"_eq_dev)_or_nbyte(\"xy\"_at_0)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-106", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-106/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-106/dump.out new file mode 100644 index 000000000..b27e94bd5 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-106/dump.out @@ -0,0 +1,5 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + meta(xyabc eq dev) + OR nbyte(78 79 "xy" at 0 layer 1) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-106/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-106/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-106/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-106/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-106/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-106/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..f8e09b8da4199d2f57adc4645298ad4bf16b20b7 GIT binary patch literal 408 zcmZ9HtqKBB5QWd)-SrQ{A_hTh27|$1Fc^$#w#%wTOk&YuGMkJRU%_Vf0W|m;A{Yf( z&$+O;?7-~YIWzNd_HjL*3_Se9!HRK&2 z3l}pki}xW<5DQB28q@=(c=zr82(n%FS5`%mbEz5}s43IFc9fd%Gf7|Ki1Lo22(E(y zyGgj3PpOSy&}ZhT8TMU%>vr3-ebK%FpR+ub^(LI?u572eP?%u7fn_+{*T3HAvCWAx R?Xj*4T9U`{QVT%Z_Yd%LEPMa} literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-106/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-106/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-106/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-106/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-106/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..72b884a75da14b92532fefb0c86481bba1217281 GIT binary patch literal 544 zcmaJ-v5o;z6g@L<#IOpHX}41-L==iG6k8(k5!ixA6f}H*&yer~3coNvpiudOO|}qv z8RtAZF(%?pZti{OoqOiocL;YI7aktr;mSk%R2Z+88GN%>!ZTkgan#wA;GjcZj3uj& zPvjgR3xgk$rMIP?M66IsuR^@YlwLIXJA>MW=a5yA)CsB6Af`QNSWR{AY?eFw~P0_ E0kYCSBLDyZ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-107/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-107/cmd.json new file mode 100644 index 000000000..172f359b7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-107/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "w131", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 6 0xff at nexthdr+ 4)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 6 0xff at nexthdr+ 4)' classid 1:1", + "desc": "corner: opt=plain cmd=w131:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u8_6_0xff_at_nexthdr+_4)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-107", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-107/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-107/dump.out new file mode 100644 index 000000000..ae1ffae46 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-107/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + u32(06000000/ff000000 at 4) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-107/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-107/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-107/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-107/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-107/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-107/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..bd3534ae4881718bd65143379c18b570775500eb GIT binary patch literal 380 zcmZ8dJq`g;7@YUsVu?alOQMiaC=?=FYB__(PeD|oaR4W914rNp_6qKxl<4J|S=rd^ zmrTCzo1Hgr-aeAs#UjAJ0(`hkU-extvY2od5V%+^t09L71~ck1F5g46Q8hpX4r_|# zH>RIVQlo-jpL~Om-|37i=C?5e!ay=ieIClqsSNDWXb=X1$NE^qHWoI#D-a&g$M w$i=YKTZH7K>2PkPlTHDiC==Nq`sqyio+opR_)RG0=#sL$RypQ-34mg@FNj1ZEdT%j literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-107/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-107/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-107/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-107/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-107/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..44f1feea2e859700346085344e6eb45817359119 GIT binary patch literal 516 zcmaKpy$%6E6ot>4#ri2klq3p;LPViZYKcxf0JaewrB!-AUV&2S8MG3;taDa2 z)QR13Nj9m zhJnv!@qF?G2|*UG&U%3o?`F;ikZrg>F)QMn6*+CzB->Ywr6wE`_a%cX{OLDIqD;SBUvO f2dZ3`*%vv|Kq)HvgPLv2+4LPGd$tlw#+vN~_mev- literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-108/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-108/cmd.json new file mode 100644 index 000000000..b898c3cc0 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-108/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "w132", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 6 0xff at nexthdr+abc)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 6 0xff at nexthdr+abc)' classid 1:1", + "desc": "corner: opt=plain cmd=w132:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u8_6_0xff_at_nexthdr+abc)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-108", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-108/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-108/dump.out new file mode 100644 index 000000000..34144f480 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-108/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + u32(06000000/ff000000 at nexthdr+0) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-108/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-108/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-108/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-108/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-108/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-108/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..eb5c75fff2850153e3cf29f9421393fbe0fb6c60 GIT binary patch literal 380 zcmZ8cI|{-;6rA0SF^Yv)D_B@qSO_YlwAIQh_$d?#A~s&b8z@*?c!gZSdkA7H>%5iV zvJZwgZ!(!o9{K&E5#c`(K0GGR+V-4jjL8LvOe(9GK1l-#Q~C&!^n~%-CbdXM(Uthmz)JrAM|G0}yum0u^X21^@s6 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-108/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-108/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-108/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-108/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-108/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..24b8eb71dae4b18f9ec842e455a04e0187f32edd GIT binary patch literal 516 zcmaKoy$%6U5QWdWi}h28C`l9wg@}Sgsn8I$LgyzD(eVTl&mr*&UO}r+NIZr_FYBCT zW8H|^OlEfO+;7j>%ki*}!Nn(BJowVPWtXjU93A#bxTdWVMuSZr4*J{+XVL1Rgp>m$ zVKC#ecwO=Y2|yOF%6X0{-e!8;fo#L~Bda3H8IsfFOlj+?a8!q5qPoOU+K(0xhGJ77%Dr4H(8jnz|Aj*R8)32+BLuK)l5 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-109/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-109/cmd.json new file mode 100644 index 000000000..0030defff --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-109/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "w132-q", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 6 0xff at \"nexthdr+4\")' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 6 0xff at \"nexthdr+4\")' classid 1:1", + "desc": "corner: opt=plain cmd=w132-q:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u8_6_0xff_at_\"nexthdr+4\")'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-109", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-109/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-109/dump.out new file mode 100644 index 000000000..1059d90f1 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-109/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + u32(06000000/ff000000 at nexthdr+4) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-109/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-109/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-109/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-109/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-109/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-109/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..33dc9e1088e7b81a5e9a3c08a6fe3e37ed290cb1 GIT binary patch literal 380 zcmZ8dD-Oay6rA0bQV4>eAweJz2n3=M3x^=#BOn+Erq|&LSU}Zaa9GYjf+b{`Y17d3 zC6o8wWOjCTAIa%x;p1OEzFa1+#`b=;7;_fjdy!gRLk=w%OsUJcVh_Y$+SWzs$ zC;eoS8kPL|+^!B(X?5d*APqz0%2#a!}{%iB2z&!En2F+XgU w**eP@0^w&gx!Rg^hTmkUse0^vDxfa!&VGSOsYw`BEUa}XXrXzeaZ{3rFd-rC1S4^Is o6cwTVg_xIfpu=^GbA=)qikSL?wCCh)OmF%QO5a<`mi4@y0p`;@JOBUy literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-110/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-110/cmd.json new file mode 100644 index 000000000..dc6225112 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-110/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "w133", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u16 0x1122 0xffff at 1)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u16 0x1122 0xffff at 1)' classid 1:1", + "desc": "corner: opt=plain cmd=w133:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u16_0x1122_0xffff_at_1)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-110", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-110/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-110/dump.out new file mode 100644 index 000000000..66d11d1e6 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-110/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + u32(00001122/0000ffff at 0) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-110/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-110/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-110/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-110/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-110/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-110/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..5e1cd1850676d26d1a47820b301343c73484fe8d GIT binary patch literal 380 zcmZ8cy$%6E7@XTZ+=&7;iHJg>P$;g{38h})rywfPh__K{y~6PZI**``=;h2D;<8`z z<(qGIc6Rm}pAH5-{^jGvW%wwq2eCn)SPkDs8o%liRN-Mn-H*%80Cj{OP=LjPV)>2f zCzI63@oSSWv*mZ6gh$ZZa*sJxS)a?NC~})kx2rk1 v2!?utfSfc9;#!JyOT{~=G(Q+$otOUS#vDB!sNEbbQijhe$9^LL;AVRR%1JAo literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-110/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-110/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-110/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-110/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-110/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..3792e3273cd8f20492f5006eefe4c1c3dca73baa GIT binary patch literal 516 zcmaKov1$TA5QhJ~J@qsxq8!*55J_PX#KOYTQY9~8Vk36mE96DQ(k`X#Szehcm2V&j zmU908g~Q7tnPr&S*_rSDx$pRE?ZL;*d|Y^$93Pk4aTz1#a`<+rkXxTg0|ry}<+WlA z@QkVfDzKQdS-c&2f@C0v*Jb^QF5Z6AJcDe@d(0>+auRX|tjS$nFD&(7Y*CjuvQwI- ziqi5!M#5a~GNkVnUZy2lsR5Z5#f)JMYSi^UixwZO1$fXCKI!-7w84LKZ~Rt3o=%98 kP=8F!-*=$Ryv4qoBJEV~^Z)<= literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-111/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-111/cmd.json new file mode 100644 index 000000000..1ed648578 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-111/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "w133-3", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u16 0x1122 0xffff at 3)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u16 0x1122 0xffff at 3)' classid 1:1", + "desc": "corner: opt=plain cmd=w133-3:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u16_0x1122_0xffff_at_3)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-111", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-111/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-111/dump.out new file mode 100644 index 000000000..66d11d1e6 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-111/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + u32(00001122/0000ffff at 0) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-111/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-111/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-111/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-111/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-111/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-111/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..69057e55a5c8aa8491ff2f79c8e70346a77a1a8e GIT binary patch literal 380 zcmZ8cI|{-;6rAivlZfC4O9c@N3kwU2l(u>WD?f!|B{nu5!9xh1z}hZXu<`_Ug1y9< zXfWi#~uf4O*b89&RLyJs;XR>QTSMp^@cIvh->OS$ay(L&$=9xRp= z%kM!ynIuLzzaIH2TYivIS!_T<$0Tq{z26pGng@{!9cj$>E{C2sTC zZoMEE!ccGElar=R+)R*esdxvq&KKjSbCUm@nPbQUbv{Rzl;N|=aokD(jaA5?NFrMNtZh2!TXFi9{2S3y#2F6Qv6+bXa$J3I6Fjd$_i+Jlda`8e^?KRo|bmJjGMm&3Omh0K~vUSTj`UslV< z05v=spa_c@o5gF9CrAo%cy-pxbn(7M`whspyvK~PJf}xan>D$s>w~2RjLqv3M|Mn- zL{VBIGPca+E<^f0;iXy@ziL3LMKNVqgD2{mjOX7|)&i9DgcbePoHn>O7x7yGc{(8q kLS31d|L?#X^D6r;inP95fDg7gW)tJ7(85|8pl0I@MM`O0h)cu zf579y70W}ybDVE=s zeljVH9KRm<1|h%8EjohUhI`JgD*MEl!GWCM=30^Jqf#yBl8;=T)>;@3F}L|_zh00_ u;ZyG;BqvRmbGw*yN@a=W?+<-+Uh$rUIfncyxH%G1KCe}db0z`cW_ttf!6-`r literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-112/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-112/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-112/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-112/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-112/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..870b15feac05c327d24ce83b81cb1728799adc30 GIT binary patch literal 516 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$!c1DXdi1Z)tRc^W`*0U!pMxAMZ{bqqkWnSuPnKpF&)&6xr; z#{?(_!szZ&0Sf6cFft>%3uF!meER?YKZpjoWiHT+Ge9;7qniP8pAG{P*ez3vKnfVZ zZUNC?Gng3}xPb0TN-WMy28wYoaD${6T7VdvK9CRa>GJ{F#Q`)A1VtEFK}MkfkeLv9 m1_lKnTL!2O;UbWi1mQ6V^4kKS-$3C2!svbz0SYmr`3(RBKt9g^ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-113/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-113/cmd.json new file mode 100644 index 000000000..c78869197 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-113/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "w134", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u32 0x100000001 0xffffffff at 0)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u32 0x100000001 0xffffffff at 0)' classid 1:1", + "desc": "boundary: opt=plain cmd=w134:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u32_0x100000001_0xffffffff_at_0)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-113", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-113/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-113/dump.out new file mode 100644 index 000000000..990b82b13 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-113/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + u32(00000001/ffffffff at 0) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-113/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-113/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-113/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-113/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-113/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-113/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..eeb58fbcabff45b98efb13720127e8e95bfcf6b2 GIT binary patch literal 380 zcmZ9HEe^s!5QX3F7ARx|K|_K-AP@*dB^DG{;761YR1G&k5GS^O0!5ZL zZ5o>0WHK`^Z@#>}rI)itfd32dmvatAp}}o2 zPu5Fn5j6c8AvN)IIk&S(t^l4mwmbxf+^4et?3rUkP0G*FqojE!Io^pF06*IghJ`L& literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-113/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-113/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-113/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-113/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-113/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..6b18cbcac8fab93f08dbd123685f8babf03dc618 GIT binary patch literal 516 zcmaKoy$%6E6ot>473-%EQIaSW3fU+WI$A%KH}I2)C~5Rcr5ErDUO}t$2ofdH%Q|Oe zV@<@}+}t~NX1+aV&d0+(0T-We@#La+%PssX&|$BHYg#H%G}sj2pwDyBEM7g7k#>L- z45mCRUYk5YLXgF)ah_+2ckk}DAlq<#WL3mDLvos&DQ#UY|@m!>cmgMRENNnV7O>cS!rR}ZAk+HnJ0HLBly8r+H literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-114/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-114/cmd.json new file mode 100644 index 000000000..e9ee20035 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-114/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "w134-at", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u32 1 0xffffffff at 0x100000000)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u32 1 0xffffffff at 0x100000000)' classid 1:1", + "desc": "boundary: opt=plain cmd=w134-at:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u32_1_0xffffffff_at_0x100000000)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-114", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-114/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-114/dump.out new file mode 100644 index 000000000..990b82b13 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-114/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + u32(00000001/ffffffff at 0) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-114/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-114/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-114/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-114/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-114/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-114/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..ed5fa484e0f17fd323503401787b886f6a7b1ab4 GIT binary patch literal 380 zcmZ9HtqKBB5QWeEQCD$cS+FS>3yh zSzPXgVP+0zKF+FuJOqc_r?US%m}5ju%FofGqn0%9q$KVW5VW#upU3u!HFE%plp zdx`fZ1mhsS@OW?D%$(dir|7URz{4Xv+_)HAJ{RHGpwC_j&-PTZ=&-55V90aXEMI-p zQ8qvc7Be0e?~gn|5|G3D;k?QeulXOILAK>OVpZfh8*;jwDP3LP9JOI=UY9tEYaGX_ z(y}Gv$X@9(q_2fS>TRV1NVKRX3~TT~UB8p%e9D=Ring$3zPcv|@9vHGFP}Vp0g6IB jg_!9+&|v??bD1JqlBe{M*vQ+C-t-Pi*IU4mb-djH(EdCG literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-115/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-115/cmd.json new file mode 100644 index 000000000..63d0d71db --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-115/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "w135-cmp", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 65536 eq 300)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 65536 eq 300)' classid 1:1", + "desc": "boundary: opt=plain cmd=w135-cmp:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_65536_eq_300)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-115", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-115/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-115/dump.out new file mode 100644 index 000000000..021840282 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-115/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + cmp(u8 at 0 layer 1 eq 300) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-115/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-115/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-115/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-115/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-115/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-115/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..9468266cc720193d9fdaf396d603852c273f0247 GIT binary patch literal 376 zcmZ9HJqp4=5QX1nqed|*7Ge=QkrXK`Ec|KG>MhhXVyPa;D|m%m!D9%5HZ~I9>=Fz+ zFwD$j=G(XT{C4%=;~zf09M;eFvAYP7vX_Lf=Tgd;vgt!%!@W|g)&L_k70`f2#%1A6 z$P3iL8i`VP3O|h~Mejuv9)Vgk8lA=?=p_oBtaDbd zCgN^x?$6x$_S`w`H!BZ5KIY@jqIbzocSC~?b2)t5Qg~T|Ngf7$&b@l^7@&-l0g|v7 zb6C71d4fbBhgW4kM;EWXT`xhlWxZ#V#W`nkn(WD4T@|+KFgC7B9N9GtLq%!1l5t=z zcNx-GgBNM><{ChxMKNMngEVyw2eZkDy#N^*z}>W`A_@vhN(83>(nKi{J!jwsT!9k0Y(aWxI0aHt zqvbs#!eSw2HJlhranh?|8taWgoUzP4+F9&3c)qwA5y5fYYMr7}lUbUE|U8bHZALqK+`9Kf0$0p55#7UlDows(4}d iy~Y3MK!f=!`}97t%c?9enybXQ^agT&t}08`o9hg)XgW*) literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-117/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-117/cmd.json new file mode 100644 index 000000000..e080335bd --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-117/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "w135-neg", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq -2)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq -2)' classid 1:1", + "desc": "boundary: opt=plain cmd=w135-neg:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_-2)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-117", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-117/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-117/dump.out new file mode 100644 index 000000000..a3da91f1f --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-117/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + cmp(u8 at 0 layer 1 eq -2) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-117/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-117/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-117/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-117/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-117/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-117/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..ced7bb53d4ccefaa7c0218ac876a87f800ea4bbf GIT binary patch literal 376 zcmZ9Hu?_)25QhJ~T^w>P~Lf-Lo2j6t&-hl wP0b=e%nYf?PM>|xb;Y}1x#L2qVn?~ZThDQK}Z1!5(!bbKqy5DN=gK$AkZKrnutDE$rW-1HynUF&>0D8 zaNe^pm=(%cqxsp{&u?}U{r-6HaWx-D7NcExv3>P0U@nJm`wE%8GpWL0%(<+Wj{#bE zG(Zs+GY*S)AWx7KcQB&E^%c0BuNyd z<(Z5%bGgfqzAn5}OM9gOq*@eHhBbJiuFuKWe9B&cl8*3Azjsd?{C982e+A^}tD(T@ jTMIAeK$Cf$b9x`y>AVwbqrG0Zm)=0`?p0&UI(z*AlYctx literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-118/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-118/cmd.json new file mode 100644 index 000000000..96e48ccd5 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-118/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "w135-shift", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority shift 256 eq 1)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority shift 256 eq 1)' classid 1:1", + "desc": "boundary: opt=plain cmd=w135-shift:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(priority_shift_256_eq_1)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-118", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-118/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-118/dump.out new file mode 100644 index 000000000..3637e91d5 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-118/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + meta(priority eq 1) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-118/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-118/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-118/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-118/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-118/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-118/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..1b066e97a29400275e5152ceabf0e1e6824d9142 GIT binary patch literal 392 zcmZ8dI|{-;6r4?>ZX^V;62#6TMGy-MOA#Brg`Y+&^#~rq)&p4R1uSv}3vVHat;Csx zV90~v&6|BY%6 z<#(ZdOX(3!E`AW8%f3e~nJvo5 z20#V|V>XMoBTo)|NNK82-Qb!g5L=hT}>{+uP2j5p^E?W{UR literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-119/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-119/cmd.json new file mode 100644 index 000000000..0f60e0503 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-119/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "w135-mmask", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority mask 0x100000000 eq 1)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority mask 0x100000000 eq 1)' classid 1:1", + "desc": "boundary: opt=plain cmd=w135-mmask:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(priority_mask_0x100000000_eq_1)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-119", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-119/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-119/dump.out new file mode 100644 index 000000000..3637e91d5 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-119/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + meta(priority eq 1) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-119/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-119/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-119/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-119/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-119/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-119/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..6c47db5510311641d4d4850226c701403a8a2bc9 GIT binary patch literal 392 zcmZ8dI|{-;6r9b*7$pR;7aNNdDMS=4EG%sF7JeGB)Faq?23rdYuaGNv1#87#;!Hv? z~5QX1N4@)l~HUx`9j3Ap82m}HR7g)=WAxJ_v0ul@%NRm}ZuD}%#+yF^} zC&PP9fT2USCNI@pUH#3g-tV^S5D}gc;lfSpR2WW{A(~uEh)iAS9zR?Z5unY!do7(U z%J>X`EDZW=7H>+PAP(g5V%EPX@usuI5o8uX z$TDy;GBB_+Ff*h86@$$42bu>m1Z)tRc^W`*0U!pM_iMlYJO-fI%s~EOAPoY@<`hlh zV<-TMfiSwe5`aQF46JO(?gE(uGUe0%|Nj}785y{Myrjh9%w(XL0Rt0*3J`Mu#XxE# zfNT*kiwVdB>0=T|Ok#k_GlKoG4rsp#P!5FA?Nn3Z+7Wr|^@AC`G67B;pOkE70mRUO^+#%Q|Oe zSsO7olbJhr=G!xSKJ2#+Tzt&MgO~oTIN#hIbePNG+O|S$O(ta+4A>XflF>sIIRj*2 zF=4ZKJMsjHKq+30^%7mY@pQEY*_QVMqb$iek<(&Lp4Jtx)PS)`UE;{@VHhe(%Y}?1 zb9tH}eRVjImflhgh_on13~P|5uF-HY8?)x2peL;8zvi^Tzqu~I<&mf3BO}z81@CvD g!rW&c7-a@dX*hcAbmdOkU!LB{XUTF#|0Uk(2{gSud;kCd literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-121/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-121/cmd.json new file mode 100644 index 000000000..5a7f2d282 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-121/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "w136-4095", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx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xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx_at_0)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-121", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-121/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-121/dump.out new file mode 100644 index 000000000..f6c9c6710 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-121/dump.out @@ -0,0 +1,3 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + nbyte( diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-121/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-121/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-121/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-121/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-121/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-121/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..5528dcd5ac7266aa55251b6ddcf7c205e73dfc3e GIT binary patch literal 4464 zcmeI0Jqp555QOI?QDd+OVk=q*Dx|Qmu(Z}I*!a_k7J?ui#zt&x)k6DR!An>P_7Z1< z!H^@!E(~vXS%$|~&OJQuEjajXgf!+*H{6zH}BP71g#{N@zT3TH+QLunK z3|4Fw??|2?F(|`pvtDJ2H=5l%kZrgRsfskmBd5=rGV80wQWus<`w~a-h@wa;FFqL; zu9aDa{B>Z*Ue0?pAoe1S8OB19z83TCddZrLl8&%r{<^0L{@ok$UoLt2>c|Q86^-|~ c-pEFoeV{5dOTbw)w=z3Roh8Fwy+<<33rQ_JApigX literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-122/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-122/cmd.json new file mode 100644 index 000000000..660cc92b0 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-122/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "w136-4096", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx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xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx_at_0)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-122", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-122/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-122/dump.out new file mode 100644 index 000000000..843cecc6f --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-122/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + nbyte("" at 0 layer 1) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-122/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-122/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-122/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-122/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-122/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-122/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..5a80751b29fb536bc2dedf965027e192db33640a GIT binary patch literal 4464 zcmeI0tqKBB5QWd(UH>kIi-=7y7z7OlgVC(7VDYDjHbHz0lNJrWg25NCn|ubVV9+G% znH6!_N01pf+?ioGT)ucNr^DVufL{f8ap>Oi)92cv!(N2IZ_D$oCYu5bdc6DY;%^pZ zzM&)ZmtNo17pt8wor@mn41SJ2z%eBvt=_jznBW;_-p|JCQNfmAyFFYytV zdl-iB4J@bOU_Kdf*Ki&xRF*rrDYAD?I**FVEwz+@5>Nt4KnW-TC7=Y9fD%vwNpN(-uviI_ zJtq*2L7Xtm+?lyw&fL>sx3%!_G!J(kzJDu=vk4F}m&0>Ih1B{?YA_gaF0Eywk2*>Q zD8gaJVexL{36g+vyf*7qx_Fz*^$4;Z&j&_XmJ`|l1J>kuT}_sHFfOZ09NAwS$BNR@ zBIAd-JkOB6E^MM@ztR8_Es6=l8GKRKWW1bDS@Tg=3v2qjd)naBy@>zv$RB g9(}NH`A#C*bf&6(I^0LQ%k%q$EIH2WP11e-0nGh5RR910 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-123/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-123/cmd.json new file mode 100644 index 000000000..5fc5318d2 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-123/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "w136-4097", + "json": "0", + "words": "filter add dev d0 ing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xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx_at_0)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-123", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-123/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-123/dump.out new file mode 100644 index 000000000..bc07f2d94 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-123/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + nbyte(78 "x" at 0 layer 1) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-123/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-123/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-123/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-123/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-123/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-123/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..ffc32965272f04d27e0039c317b40539cf8e40f7 GIT binary patch literal 4468 zcmeI0Jqp555QOI?QDd+OVqs&K!onhjg?6^;4Xpf0BQ}Dd9z?8cyn=vDu<16P8U(OaB{K~0F>U#Yy$?&x97W9j0*rqntpmGl1+A8~ml zNdnuz<2IjdmJ4d3Zy{j2)a0hgx#7!Xv89Z^*HQvXKnW-TC7=Y9fD%vwNtQDmiHs0EXrw;(`8K_*Hve!4P&Fa#F5>6-&d5DE*U50 z@;F2KT1W(14r?_a(4rVHtU-plrjylT#+r+)p0K6=n$rgV=7#*1OP-F0q)=a0f4>7| e<{taN_%c)2Fwssu?xg+Y@tr)DENApz!kwO#Za6yt literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-124/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-124/cmd.json new file mode 100644 index 000000000..0c6678679 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-124/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "w137", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 layer nonsense eq 1)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 layer nonsense eq 1)' classid 1:1", + "desc": "corner: opt=plain cmd=w137:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_layer_nonsense_eq_1)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-124", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-124/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-124/dump.out new file mode 100644 index 000000000..8a6c0afdd --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-124/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + cmp(u8 at 0 layer 1 eq 1) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-124/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-124/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-124/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-124/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-124/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-124/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..1f18f3ad82f2bbd20060f2b6a336d77fc362f6f2 GIT binary patch literal 376 zcmZ9HAr8Vo5JmrX3zP;yz#zaODk=~aNP+~x8Gsssgm53Oz!hpyqzMiI2Oz zg|{M4AQt5D66#&1@LrGW6J%@71*=4z(=THjsY&|2a!M&0&AKn)2<2mpfmVn)ZPtg~ wmRg1Y2{WQ5J45yZ+qwU`lOLdz+fnu{DLrKNJ`e9LV@d%ph===$1HF8LZQ?VUcz4^qEcw}67O&u58xFf=y?x`UXHa! zxaUs9KH0PP?Ai03wdcIs{w5IM&jQ@I>0Ywaem{p6b2$RrRCrpQ$u|so?0eSYF+>?D z1AM_^%x3Xs|eK>(^%l(c~7UwLHq)$ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-125/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-125/cmd.json new file mode 100644 index 000000000..89940a99b --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-125/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "w137-tcp", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 layer tcp eq 1) and nbyte(a at 0 layer lnk)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 layer tcp eq 1) and nbyte(a at 0 layer lnk)' classid 1:1", + "desc": "corner: opt=plain cmd=w137-tcp:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_layer_tcp_eq_1)_and_nbyte(a_at_0_layer_lnk)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-125", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-125/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-125/dump.out new file mode 100644 index 000000000..48472501f --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-125/dump.out @@ -0,0 +1,5 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + cmp(u8 at 0 layer 2 eq 1) + AND nbyte(61 "a" at 0 layer 0) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-125/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-125/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-125/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-125/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-125/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-125/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..89e73dde3f63a85443dc90f56cdfdd1476dd14ce GIT binary patch literal 396 zcmZ8cF%AJy6r8`iSXLpT(C8Ej#TE*Mgs6l##G(<6L?SLAaSfG9Brc%XBX9+^L@#S* zV`H=LXWsj7GJi7v5nhiL9Q@0{hs*d?US0Yg2D}S!?5;*qJ}*@mOsGq^^mNfc(EtV5 zSWqm#8~tPw8)f`j!8Ryy zn+2QYoZJW&dW1{P;_kE8W3~Bpl5rWU7AvGu83gQlr=$O!nX5xi$mVL2;!C4k&#eSN GHtQGAcqxkj literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-125/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-125/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-125/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-125/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-125/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..235afb4b1ee5d0c3b8569554f158edeec6e8fdb3 GIT binary patch literal 532 zcmaKoziI+O5XQf~J;@nGBwS%*XJH}1Lc~HLb@B=}{%O?G!WZ!ce1brFD=V?J62V6h z1Utj!`&JLnLo&zg%ziujyP4gteij~l+|9=?H=oD+WVtEegSi~OZ7IZ7XYvMvFV@9c zG6pCkYk(J63|TDRnmj=qD8;K%FVe*ucbeZI+j75RlqER_avId+>AotI-eGLAFL7k2 zD2f!-%bAQlb9tJf{%Y`CFT0rv;CfMX3~TVpzWTlCXh1DMPDhy2pWV|0|K02IUjcdg xLS%$`u=efTqgrQPVx8XSy2ho(3wZ|T(hPcBHS2}5>RsgNSwl*ecl2KItbaKkKPLbH literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-126/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-126/cmd.json new file mode 100644 index 000000000..d40121c9f --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-126/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "w130-vv", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(\"a\" eq \"b\")' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(\"a\" eq \"b\")' classid 1:1", + "desc": "corner: opt=plain cmd=w130-vv:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(\"a\"_eq_\"b\")'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-126", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-126/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-126/dump.out new file mode 100644 index 000000000..665320f89 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-126/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + meta(b eq b) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-126/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-126/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-126/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-126/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-126/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-126/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..17ff26f8a1766aa699b37b933c2d03861c410b48 GIT binary patch literal 392 zcmZ8dI|{-;6r9~nG@2A*Z)cGrpoN8{MJffaAbvnXN<}K&f5?S z``|J2=Di&zc^3DZhKGN7_;Q%PqCDS+n2}4vGgE=O#w2|xEO=LIO$;zVM*(dZ?077G zXZneWHFEr7>OHpjtSi$l*nt*O}tgqTvQ)8@?y3iacjUPM0&K>+6%FHawH}C63~n zrm3pDY{@vXSGo-OYoTDhoaPe1dQr6ut%vp$vj<96Dx~C1^-5c;*A$fY5 r2!wiy`2RfPN7T`@)l_Yt$ph*}Yy-Mg)t)=l;dee! literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-127/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-127/cmd.json new file mode 100644 index 000000000..547d96d3f --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-127/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "w142", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"a\nb\" at 0)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"a\nb\" at 0)' classid 1:1", + "desc": "corner: opt=plain cmd=w142:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(\"a\nb\"_at_0)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-127", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-127/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-127/dump.out new file mode 100644 index 000000000..f4914dd01 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-127/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + nbyte(61 62 "ab" at 0 layer 1) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-127/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-127/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-127/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-127/ip.out new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-127/ip.out @@ -0,0 +1 @@ + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-127/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-127/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..fb2dcc42e0a9543cb7c067adf9042a422fd117ed GIT binary patch literal 372 zcmZ9HJqp555QOLbsL@yiv9PgAVPTQN!qQq>50FF~u@MBp8(2urpjXHhas}@pSPBwn zgTY4@hTWaF`F8Ut^1Ft`KP*0Mme2nFeD$$lErK<3Np(al22faWuJ+vQVT`TEMFPJ4|>WS7kj<7q8t~T|lO%|%8}SkQmXX@h@rU4F|YPsc+-s4uI$ i-+>}?k9}Z#nVlaDUppPRllGU#ck);=oY8*?cX|TqZ93Kf literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-128/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-128/cmd.json new file mode 100644 index 000000000..223c96b2d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-128/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "w144", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 12abc eq 1zz) and u32(u8 1 0xff at 4x)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 12abc eq 1zz) and u32(u8 1 0xff at 4x)' classid 1:1", + "desc": "corner: opt=plain cmd=w144:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_12abc_eq_1zz)_and_u32(u8_1_0xff_at_4x)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-128", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-128/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-128/dump.out new file mode 100644 index 000000000..0ceb61a31 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-128/dump.out @@ -0,0 +1,5 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + cmp(u8 at 12 layer 1 eq 1) + AND u32(01000000/ff000000 at 4) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-128/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-128/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-128/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-128/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-128/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-128/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..380435693d1a02eac2c99d52936aee1095f24ab8 GIT binary patch literal 404 zcmZ9IEe^s!6ohBH1q!VoCrXX#at1sK1$_$E^$P8B}oEnP-C}T z>^3WUGdLJi9zBQskZUuYHoui7D}XVrbV4*Bp~TGooSxUE@0>GV$a_*TUxyaoW0Wu0 KYXFF-eC98Cv?|U3 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-128/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-128/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-128/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-128/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-128/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..a21930a2c02c66011f23dc5ba1b21eac77adf88c GIT binary patch literal 540 zcmaJ;F>b;@5S;TFaAFrEvIqs~C@4@wLE(~uj(h@egHoo*XK46Beh~Q!JRvPYqCr7I zX2x*BSP^TjcW-uYJiA_J-zyJ3uIA&&!(OXss+wz<-%E~-p8yFIkS9Ns>y}{VBF7e2Ad7dju zON$)8%;i-M>FdKQv>d+FfI^F6!C?&^scSa)9M_!#dCS-YEdvi0N0D?<8!2kdN literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-129/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-129/cmd.json new file mode 100644 index 000000000..29650b033 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-129/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "w145", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'canid(sff 0x80000123 sff 0x12g eff -1)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'canid(sff 0x80000123 sff 0x12g eff -1)' classid 1:1", + "desc": "corner: opt=plain cmd=w145:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'canid(sff_0x80000123_sff_0x12g_eff_-1)'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-129", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-129/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-129/dump.out new file mode 100644 index 000000000..3f71c63e7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-129/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + canid(eff 0x123:0x7FF eff 0x1FFFFFFF sff 0x12) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-129/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-129/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-129/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-129/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-129/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-129/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..59e471d087bfe65104b11042cf7e38b32427f898 GIT binary patch literal 388 zcmZ9HJqp4=5QX1nV-m$e(hH&iQwXt0VVPbp;ZGxJ0#5M2fM(Ad!| zyf=9QsX-PmraoW`Z<-_*kga)FoKkI0G4@bWleTjelxFC7?OehU%F7r7t6X|X1`a|J9lU~Fru&mtc)tU-=*4F~h-h&3O19brv-yVV;rzgFCwcNtfCBcw_S-f<=XMc9rYfPyJMLp>+E;~+t5Zv literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-130/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-130/cmd.json new file mode 100644 index 000000000..2d16e4f86 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-130/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "w140-400", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'canid(' sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 ')' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'canid(' sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 ')' classid 1:1", + "desc": "boundary: opt=plain cmd=w140-400:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'canid('_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_')'_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-130", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-130/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-130/dump.out new file mode 100644 index 000000000..b68d0aad2 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-130/dump.out @@ -0,0 +1,4 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + canid(sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-130/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-130/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-130/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-130/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-130/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-130/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..5aa91fd9246cde339c5cc364061084c0819e53f4 GIT binary patch literal 3564 zcmeHKtqQ_m6g~TKo3bEgO&SaagP=+5^92NpKShkDHLGCo0ak2A@fG$81|PvTu**Dm zG92r+`@!Mfd$=4vKDGnr9^cL;Z2XRmH-{kcx8s?E33~x-Ya}Hp{MUic`Fo=!nWI zO;cC~YMhpf-DXAZ;+u#FkDTnB*dKlATmopbOO1Inp#OpTfck*?fck*?fck*? mfcn6{ec+o*j4VG5nR^DzB!Y78>5wuRb0qhKp)3I9Ec5|PCdB{% literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-130/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-130/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-130/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-130/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-130/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..4332ff9c015272c1ea17a3183a2f70f71546b2ef GIT binary patch literal 3700 zcmca|c+)~A1{MYcU}5+R0EFgD?XNvjvEP0RtdIh=Gy82dEAvhD>uX z$TDy;GBB_+Ff*h86@$!60GbCf1Z)tRc^W`*0U!pMS1FwGiUDXgGmw86NP_^fIYmHo zOn_n_jP5QKppYH|BQvtQK<0qJr~m)|gJ_Uj8i8im@G^igx)~t%=`b*X-I81d(!l_B z3y21r!OY0O1$0+ZVsU0NP>h3t8zjZ>g$KJnkPqPxi&`%<8O7YL*Gr9^;2%xHZn03`I*3;+NC literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-131/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-131/cmd.json new file mode 100644 index 000000000..696da0585 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-131/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "w147", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 08 basic classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 08 basic classid 1:1", + "desc": "corner: opt=plain cmd=w147:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_08_basic_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-131", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-131/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-131/dump.out new file mode 100644 index 000000000..5e1bd8a7d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-131/dump.out @@ -0,0 +1,2 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-131/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-131/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-131/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-131/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-131/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-131/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..4628321f2fdabe0e09edde03cec932161cdb53a0 GIT binary patch literal 336 zcmZ9GJqp4=6ohAgj8RgEy`6=Hf<-_J3roSAK(O$qk(5^Ug6HrGULjZT9)i8BGeR)z zTZZ>`c>C=RyoZJ#DIZN25$mVeh*qLdh{$FOg;LK;_$i1)qw^$MZy;X5D<~A+L84HRb>>^Mt4 zL-{($rCFA19YC5zJ!M#f5_645tNDapfU>qQqki4f3;x}U`LBRHeKq8T`l|4?FVk^W Q{)qYYR>{v_qh-DPPh|`{0RR91 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-132/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-132/cmd.json new file mode 100644 index 000000000..6b0c855dc --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-132/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "w147-colon", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1:2 basic classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1:2 basic classid 1:1", + "desc": "corner: opt=plain cmd=w147-colon:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1:2_basic_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-132", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-132/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-132/dump.out new file mode 100644 index 000000000..5e1bd8a7d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-132/dump.out @@ -0,0 +1,2 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-132/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-132/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-132/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-132/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-132/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-132/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..a25a05e2bd6dedd2d2b1f54c5051ccb4e1fc56e7 GIT binary patch literal 336 zcmZ9Gtq#IK5QL|_auiZQ@J$d11OkCTAn^1h_%Wms#Z&MMyaE>4z!TsRSP~K}A;%0! z!{zoe*`3MeyS-M&LyQFfO7NkXKeO_7wwQ62keG>DT_X-%L@2mdXMRtSqZI*77_7N0 z-h(_rexQIiVBVp`>z&?rkZtHIc9qXD7mI?K6y7yuG(^MtcZnm)%Q*)Vp-s13Y&R=r c8DgaLdb%+ud(2!4*?mSaQDX0RS^&cTzCXh#&Hw-a literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-132/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-132/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-132/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-132/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-132/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..1ce25189c13e89419e8b8f39af3aeef4a5e20a36 GIT binary patch literal 488 zcmaKnEe^s!6ojYU5=uc3Qj0?%2&q8ezypR8@F(~&BseTb-~>1%!6JJF?m>blWu}2p zHiXwq-rL#Tud~B#jDdVQ{o-XWe>6q*D<>)%Ndc=q9@t8YP6bgOg5J|s(X?o>dLYt81k5!VZx&N}K8o7HoceW7FZg#a;=g?I^o7U?^;PB9zD$p^ R@~@d+Z#1EjFna#_4C zd4l{v5pTe}MT>XpJZ>P{axPh=kTW7DXC}vY%@_?)tA}@q^PyfetU;5^Vtv?cn0qA1 aIP2-g1=$nka?I{CN_d#qm!lSd_`ffxE-6|7 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-133/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-133/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-133/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-133/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-133/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..cd9129e1590255ffc45a04c44f4b88830839bdc8 GIT binary patch literal 488 zcmaKny$%6E6ot?3tXMyV$hIm9g@{6-)bkR43Zm3`6rE@lqTO=e01u#3N~mR>Ga)t; zaW{AFoilg7IeShH8y^9_5#Y(q;8tGj>Lv8qD-oEU$|pK(s_-!6+(*mS5H%D$AP<8n zhsBG@6U2fXUXyx-Dc<(@h(WgDK4Dd4IVWtB_w|A>-t{J#Lb2R^<4 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-134/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-134/cmd.json new file mode 100644 index 000000000..c6269b5f7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-134/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "w147-foo", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle foo basic classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle foo basic classid 1:1", + "desc": "corner: opt=plain cmd=w147-foo:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_foo_basic_classid_1:1", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-134", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-134/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-134/dump.out new file mode 100644 index 000000000..5e1bd8a7d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-134/dump.out @@ -0,0 +1,2 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-134/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-134/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-134/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-134/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-134/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-134/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..68759009f89eb40bf04f7a286880a12fcaf94d85 GIT binary patch literal 336 zcmZ9GF$%&!6hvpUtBDdpECo9Y3kyLD3kz$_B{Vi-DHa~Z(kqBJ$Q7(}1;IY7GeR)z zET8}X@OeA0;&G4Q@RviyW&2J~y-SQWXBC`Xs@0lt7{DOoUF|h{f)P3fh+%Qyv3NuB z1o?pi-h_UiC0=zaOOS237wl4#GbbmbrwVheXid>-H*<+2eZ2Ru23<1uyYn%pmm)&K ZT~8S|WH0EeLiU(e#9(4SuQ~w2|Gqn3Ck6lj literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-134/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-134/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-134/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-134/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-134/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..b571641e3b7b8f714d69d831b65203bdacbe1161 GIT binary patch literal 488 zcmaKnKMnyw7{%Y370W6%qSYxBB3mewTHzA@6hx_W1hwc$+&~<`9ze6#5Q$D9>%9%J zCgR(?eBZp8`R$uHI_`6D@hKM%F8bH3Q(Ag(>yxo?h_pUdVrWN&yP#FtD;Ay9;Cv$du3j|Nm!TW@O+7@{-ew@=FUC7)%(L7z}`X9U$fe w;`GF1u(2`>Obrr1Icxyr7ki)^On{OgjP3>%pb$_eBghRqD?thv7|`7X00C+&^8f$< literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-135/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-135/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-135/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-135/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-135/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..f298f15ae9f7ce69f92b5d1816fe87c454ce5762 GIT binary patch literal 620 zcmaKpv1$TA6h-ek16kb^B3l?Cokc(iDNZ@-&^LI)7{FSeDcBoXX^f>9i$BJG|o# RwQtGaVa%4{J$;94hbQdIKsW#Z literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-136/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-136/cmd.json new file mode 100644 index 000000000..2acc5a7d2 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-136/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "w95", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic classid 1:1 classid 1:2 match 'cmp(u8 at 0 eq 1)' match 'cmp(u8 at 0 eq 2)' action drop" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic classid 1:1 classid 1:2 match 'cmp(u8 at 0 eq 1)' match 'cmp(u8 at 0 eq 2)' action drop", + "desc": "corner: opt=plain cmd=w95:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_classid_1:1_classid_1:2_match_'cmp(u8_at_0_eq_1)'_match_'cmp(u8_at_0_eq_2)'_action_drop", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-136", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-136/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-136/dump.out new file mode 100644 index 000000000..a40702d62 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-136/dump.out @@ -0,0 +1,8 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:2 + cmp(u8 at 0 layer 1 eq 2) + + action order 1: gact action drop + random type none pass val 0 + index 1 ref 1 bind 1 + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-136/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-136/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-136/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-136/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-136/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-136/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..36fd1f3648ee0988ec3cc30c7e6b0a88289d5d2f GIT binary patch literal 472 zcmaKou@1p-5XQgzw^YR-CIg$n(4m9DXy+ZINJQ9JY`g;x;1w+FY}USq#4hz+n?Fql z*L=OZua{r$8sE+*0~fz=@n$o8)|TV9hXHF9T&J(eM#!Q8!H9F#%jXK(@CESTV8&tP zt;kbI3M%lr^y`%J_LuMhvK{s}W{o`OhzeqQs^VUES^-Ms{9ejY$}33{ID#s>Nwi)} z=^bE5ll0MSsP5MTTCAJ&GJ<`xg~-1-qa$gEguEmm!>8uabfY%8yC&H-epU9buH34} UkE-I09a@|hy)oYE08qU91F&l?`Tzg` literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-136/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-136/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-136/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-136/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-136/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..8f8149f23ba3bd9ee294dd16d8886aa6e07b4e45 GIT binary patch literal 672 zcmaKpu}%U(5QhJ~J>mgZ5OW14USdH(L5u~3C50Wn0tH|q#zv!+Z((l%uV81*BVc1` zXJ=w!NzVUY+~eFBCYhU^nVoOuW?z@jiwH5c5@Stg_?ce6-=rAuEJbWjWxSm5un&WC z-t)1lO^~B*fIV1T@UnQ{zi2I)*i9aIVSt?rO?df~Hb9BJ008wb)hn z!Cnb@5j8{2v8taryFW2kr(TYy_sX5|%`*C-WZYCJ?Q;6RnS_5K8L)HPb>HM88j+

*pD-!E7g zOoSQ07~NeeKye)gRyJgJfy`kBo5IMz!Jxpv2{bb;C%+sd^hJmXD8|UZ1Z2Mu;)b*D z0L61a9st@5l2ZmU|FbhRjMAgwFq#fV^TB92Fj@|bmII^Zz-T!@opKX^M2N2}|Xl!r#OW+t9u&o8c7-MKaAz*8a5j2LT NPy<+xAaN!k zWZ4gs+01?(vswDM1_)74h#!A8-`4(~#8~kxA+$?bH8UPMFi5ypWv)l)AvQn*7TbBr zdy*$e0rGew=50#6OEUR@Y_&@18kh4TXTePJdkq;)VXWJ$eqG7Z+umfXxhwe$^&2B7 oy7bRl;7V!y8blZ%rtc2Nli~=?;#S;@Ty>CqZkLgDxVJpd|E<(24gdfE literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-138/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-138/cmd.json new file mode 100644 index 000000000..b46b89852 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-138/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "out-police", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' police rate 1mbit burst 10k drop" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' police rate 1mbit burst 10k drop", + "desc": "positive: opt=plain cmd=out-police:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1)'_police_rate_1mbit_burst_10k_drop", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-138", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-138/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-138/dump.out new file mode 100644 index 000000000..fd63afae7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-138/dump.out @@ -0,0 +1,7 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 + cmp(u8 at 0 layer 1 eq 1) + + police 0x1 rate 1Mbit burst 10Kb mtu 2Kb action drop overhead 0b linklayer ethernet + ref 1 bind 1 + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-138/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-138/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-138/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-138/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-138/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-138/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..161d097458cd0c5bb86d24b587b15dc9a5cc3268 GIT binary patch literal 1460 zcmZA14QP``9LMqB-6dlTs`oYoOUH9%MFJ#P8pHI!B@5HSCOJ@3Lhp-~L z;?;ZK7@IQI`mm}jrc@^lOqTLfCGYFWnNrJa_W5Bc{22T2q%=HFs?3*)3;3N2rQ9MZ zy;$m4A|;lwhtEi%=cK?3Qf-Y?UMCecNPTTmc9WFqlv=m2o~=^kO)0pYRlFlr)A)Pv zGx$CDS^NX|IsA|D^Y~xjAHqL^e+>Tw{we%3_~-Bk@xRCa3I7-T3-}lDFX3Oozlwhy z{|5d|{M-0{;{StBa+QqHfZr%jf@G!`C8rs+%rJ`0G78T%s(-|2xWT9rHYzq6^+$|y zO-AXcQAe{;B4!j_Y7~ka1y&f0V? zgkQ$LY_z?Ce+{2}i2RCQ!~Y%sFZ_S;NAR6hrp_uk*{Wr#Rct!BIMb?rw$<=MR+UGs ziceVe&$G(Sw@NRt>R4!%SY#DlY!zBU-Y&DMEw?JKv?@Gr)wjkfyUr@L!K$^*D!$1o z(n(HlA!E0ae{WcoQdR>yt@3I7J@^^?9{eo+0sI{PNBE!Ne~y0${|Npu{1f=6@Xz3% z!ym-|4*y5|pYbo?U&OzJe+B<4{&oBt_&4!y;s1gEH~t-bqiObE=== zG#qrQ%yBA)ocbG_a$%=*qf1IaObED!uMB@Rn14hf`)3{%-tk{Jr@5@b}}thyMZoC-}Yi2k{T% zAH_e8e-i&R{#mD61^jRDi}>g9OZY?hWvAtr@heWVuHkd|y?d~m`>ToL;MIxuR|7-r Sl=1Gb$9H-YIHwctwEqA%bS5DH literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-138/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-138/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-138/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-138/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-138/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..79f98d74b2680e3613e3b6df167860bc88312cb0 GIT binary patch literal 648 zcmaKpJx;?w5QX1*4Ou4?h(sbq=q$xWgeX!_P*743i7NnU5M|QRa}A`NAXmr{;1Hog zq9O${?`^!!$^u3j&(C_k8O^+{mM;lX>?FlEgX@oj$IUFmC4DJUdoB~?jLs1ZCj2kt zV(V~%%m6J|O!>2TZk|C94{GoV<`1djz4kZnAlout(Mn>@F*#%Aq|LclxOd&AIMwXAk$xIdt>{N7iq3YVlv)g1vg! z^Njd2#Xw2Q)w*)Fp-+cQj(uKXE5TM_Z3>cI)nh=v9}xnF&CICY aKwbK$qx}xKU)@65+;5L5%U-%s*zXS&Sv$G_ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-139/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-139/cmd.json new file mode 100644 index 000000000..d04bbfc83 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-139/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "out-police-act", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic police rate 1mbit burst 10k drop action pass" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic police rate 1mbit burst 10k drop action pass", + "desc": "positive: opt=plain cmd=out-police-act:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_police_rate_1mbit_burst_10k_drop_action_pass", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-139", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-139/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-139/dump.out new file mode 100644 index 000000000..fa72256d0 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-139/dump.out @@ -0,0 +1,5 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 + police 0x1 rate 1Mbit burst 10Kb mtu 2Kb action drop overhead 0b linklayer ethernet + ref 1 bind 1 + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-139/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-139/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-139/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-139/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-139/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-139/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..33bf63d7dd4a3b82f604608333f4321baf4dced0 GIT binary patch literal 1468 zcmZwH4QP``9LMqR-KA?fC#@4P;>)tF%pgUA6bVu!IB{{)*(qX0#CDyurMT7UwkS@5 zhy)P{;zrzS$|goctP?RJVn+9pZL$R^5=113NN}TzvX^c{y5G|&>&gy}d!Bpl{-6Kz zJa;!V_*uWj$G^qLeci11`LW(3)DYFRSMj-s*E}p?T|ACqrN%w%8{hhwO`U;S9It4w z7cZ-LUXZas6XJ!`-=ONntDo~@4#jr5A5`m=@o|cZlT*rGotRfveNEInGCnUaju++L z=;$cU@Tl%y?%3ATslK?+vef6J<$+_>H&&8U#~KYsvxrsx$>YJ(|1>_us0b<6DyK=1 zsRwU*-*jl3sqgm$gr3&>&4rP9P@WHk1u(D>(u*Lm7`m50>oR?t=OOqa_*X-9EtJ+n zej{W%AhlWf_CWg<<+BySZ$My&Qh6IH3Hf{FC*>cIpOSxAep>zq@-y;3m48hB3Hhhw zpOJq~{ssA$|qc&DMg%Mj}|gkLiRw&}mTWvJ{l6nD$tBY&U#{qhgWKP3NM`R~d9 zNPfTkqwSn^k$+773HhhwpOJq~{ssA$^ff{uYkM>^z4G&#D% zj@D*JB;p9RIQ&sZ^;t*hIY<5lM|PDXwZ;)&=V;&Hh;4F&I~{>8ZMb%0Djur2NzJ&&oe9|Dxk=Uj7&I3-T|^ zFUlX1UvezJF2C%UaZA27e;B88$55x*)zP_KyMkHRL;!uC|0&*iIIMH5SSZ Tmu4F89Gkn#8=yTn;cWXGEW|0# literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-139/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-139/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-139/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-139/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-139/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..b9ae58a960ca986d78e1c1f412776adef0ea8c2d GIT binary patch literal 624 zcmaKpF>b;@5JkVePB4%H1xn~#P#~0of+7X!D99l~kRn7$O;5okxB^!|)HLJ{C=F2x zL<7$M8?WP7Nk$sY%=gaQ@$7EBTKWj^Z2`_K28Wx;=B0=pb2$RjRd9C43SGR*!`l{Q8`f(^S(dXWr$bGipDUu&hG(*Ki6i@n z<5*F%95oBk@;pQHwcy)XqM15iXHm2a-m z4;%4a?s<>;efMQv#i_tTBCWqqlCRRrPKj`hdZN3Slxe7t944@Uc`NX0Fa3^`=TvBb{OT!}alak6BSVV;(CipeD+ zmxx@$;`+Z);zY!mh#Mj<)}K{UhYUGH`z2EP7 zp27Z4J3S%(DdvqlN^*|yr9WJ zymrM4f{X>45HG6nO4T6V-?!f=q1dK=zuKUTkJGC-S*0A*iFu_pRzul+wr<{*f@H|ENVV>+<27%rWT%ZanvPbH9QrqpyTAUg32FV1kU}~1R6xfR z<)-DS8PGUO@9$xVKBoWo1dPmq(p(sr2i@}_zW_1|p|u_w7VF(S4UuOd{5%Y=gyL%G zTMJ$5A-4h28=+~F^4S8hZBVscsk{b58TotUXXWpgpOb%3eqR3j@;l^zBLA@bqwRC z7O)kIO$P|Frxw^3Tcdm;a^wZ{&X`|APFB@-NB1 zBLAxV>+)~NzbXHg{9on&A^(niXQaxE#z{tEvJstXR8BWWs*KWu#z4gAt~T;fBU59v z#*BtqBOW&*bw)U03_ocUpECNMF}ju;xfMowmC>}uNUk$t%|=y=4qlrv^rBJNYV^Ef zbnGy)yX5bdzgPY~`3K~;%YRG$JMuq}-zoo){3G&@$v+|gl>A=#XN_BZ@;{e9ApgAl yg8V`GMPtcj`6XlKHTgRH!Tt7w?xk8ChoDZpm#Q_SH|2tRseWfLL1$^gUG)!Z-zrG} literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-140/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-140/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-140/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-140/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-140/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..811841ec0a2047277cadfdb58749b4dda97dd1bc GIT binary patch literal 604 zcmaKov1$TQ5Jm6qTjGi-L~YY8Vj&?#ihvfD7Wxl?2mvh=K@dXv)cFGoA&@5c1%kg| z=?A2uJq}CgFqb1R4+_rim{j1Q z&pxMRV~86RJ)i)C0h`5}lP8D;<#-M1Wx9AD%a=9CHmo;{vMlGFoO^2W{9X~ITX-hB zmpHOR9LI{<<&%tvXnCHY{hILYF0EHh!0w`G8OB42dp$i*$Fm6#vXbrSf6eKMOLKF+ zHK4c2RIg9B_EyEQz)T{o`<*1erIno$;R^LccQGl`Q06bf1Qzg>X8NnN<=;d%`_j$W QA b.txt" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + }, + { + "cmd": "printf '%s\\n' 'filter add dev d0 ingress pref 1 protocol all handle 1 basic match \"cmp(u8 at 0 eq 1)\" classid 1:1' 'filter add dev d0 ingress pref 2 protocol all handle 2 basic match '\\''nbyte(\"ab\" at 0) and u32(u8 1 0xff at 0)'\\'' classid 1:2' > b.txt", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-141/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-141/dump.out new file mode 100644 index 000000000..16ccccdc7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-141/dump.out @@ -0,0 +1,9 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + cmp(u8 at 0 layer 1 eq 1) + +filter protocol all pref 2 basic chain 0 +filter protocol all pref 2 basic chain 0 handle 0x2 flowid 1:2 + nbyte(61 62 "ab" at 0 layer 1) + AND u32(01000000/ff000000 at 0) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-141/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-141/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-141/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-141/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-141/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-141/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..501ddb415acbaba41de0074ec777fc39e12b5d3c GIT binary patch literal 768 zcmah{yH3ME5S+U+COnD=rJ#V0B1H<2Qlz9s3gjCSA|yme3Mlymeu596LHPmXk^%&X z-$0@VGjki1_ypplU9WfN)-$_)E$(hSGR#kgPrh{D*UxUBa&#EWkcIeAsMDlvz=cEN zVj^)hY-7b)pMrg+tjm7uQ-_E8oLm`z*Kh!NU>O0U3D9C(#dU&b?tX?_BW^r8pNw~n zTNUeA1&W29!#{AELhRH%QN2GfeVVFHNt^3KoPp5d P_Cjv|=@YjfeJS5>**#bE literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-141/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-141/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-141/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-141/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-141/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..607bcf72076fd9ea065afe6d60db30143c55da3e GIT binary patch literal 720 zcmah`F>b;@5S+Vn6bB~~ia<(1x)d%DB2o%UN{a9RIv{DHl&K@-8MM5>5?|m8`~!)E z5;-&H7>s4eTI=20+nt-cSuGcHivR};u;b!+ef|FZ6QR#sj==R4a_cg=g~5=0d94^j z+~djsmvDGxv+#m#1c7*<5?;)Doi4oOrkQ})j_W0(tccSh&J%0$GOq`gIxw!tOE|Jk znx=~4(k8}?(DE{d__bj@m(iyt;JGMz3};Xyuj%CD?S-`vk+$$fubR^l=jH}HD b.txt" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 egress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + }, + { + "cmd": "printf '%s\\n' 'filter add dev d0 egress pref 1 protocol all handle 1 cgroup match \"cmp(u8 at 0 eq 1)\" action pass' 'filter replace dev d0 egress pref 1 protocol all handle 1 cgroup match '\\''meta(priority eq 2)'\\'' action drop' 'filter add dev d0 egress pref 2 protocol all handle 2 basic match \"canid(sff 1)\" action pass' > b.txt", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-142/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-142/dump.out new file mode 100644 index 000000000..7aaef86fa --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-142/dump.out @@ -0,0 +1,16 @@ +filter protocol all pref 1 cgroup chain 0 +filter protocol all pref 1 cgroup chain 0 handle 0x1 + meta(priority eq 2) + + action order 1: gact action drop + random type none pass val 0 + index 2 ref 1 bind 1 + +filter protocol all pref 2 basic chain 0 +filter protocol all pref 2 basic chain 0 handle 0x2 + canid(sff 0x1) + + action order 1: gact action pass + random type none pass val 0 + index 3 ref 1 bind 1 + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-142/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-142/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-142/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-142/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-142/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-142/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..cd39b557cac69e30f12d0e845eff9dda65d4ab8b GIT binary patch literal 1076 zcmb7CJxc>Y6r9V&%f+M!5+Q|lDNjcQgC))W5q@}h*b`Itx6F@2WV=bm+8RG$J;P@nFZA@CYjp&iJ;MXLh@jFY^Yn_}*9 zz{`=>ZXI^oRiiD*byx-Zv7UQ>@bnT1-h%P4LJwuu1lvQADL3K4+?jp#aK)Nn-??Ba zz?8QUdp~KE>(4L@;X26i)My@ePLF^c_OI|OK6B#C@mz``^G;@G0gh8;J|MD0v)(vS zmi%6ccSbGEdWl*WSrlxo^30o#w3-T&bo;gXUB+y6OJn)jCFUpmaZ wQ<$cw-FkPw!Q3`Im5JfJHM?TuKf|i|pM)9os`UKdSwB$cIIq$<^lEGW0n`t89{>OV literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-142/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-142/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-142/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-142/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-142/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..d9bc9f8f241adfba2d88461c8a866b69385c94f7 GIT binary patch literal 992 zcmcgqyH3ME5FGmqxx^_Vj z0#nr`9@%T2=kn6BMULAL4nBwUts!(;_AYe-PK&(bFacuf%0{Qh7bk$_PL@#WymNZN zZ|9zP*O+|QM4cE7vvcw7urCSsz9p=NZ|yIIvwtiaF3{&4ZGumBCNE|o<+npG>$vaF zPmlbTdCJ!tyKYs?O_S?oHIJ~LH(2KDj>WYMsW8C)@a!;S{-Ronv#90#bE;*6C1%aq zn0o%BzU8dxcGXJwOMO%7F6*m46@4%IERMW}E6wdT=T b.txt" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d1 parent 1:", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + }, + { + "cmd": "printf '%s\\n' 'filter add dev d1 parent 1: pref 2 protocol ip handle 2 basic match \"cmp(u8 at 0 eq 1)\" classid 1:1' 'filter add dev d1 parent 1: pref 30 protocol ip handle 1 flow keys dst divisor 8 match '\\''\"'\\'' hash' > b.txt", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-143/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-143/dump.out new file mode 100644 index 000000000..e6b46d31a --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-143/dump.out @@ -0,0 +1,8 @@ +filter protocol ip pref 2 basic chain 0 +filter protocol ip pref 2 basic chain 0 handle 0x2 flowid 1:1 + cmp(u8 at 0 layer 1 eq 1) + +filter protocol ip pref 30 flow chain 0 +filter protocol ip pref 30 flow chain 0 handle 0x1 hash keys dst divisor 8 baseclass 1:1 + cmp(u8 at 0 layer 1 eq 1) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-143/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-143/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-143/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-143/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-143/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-143/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..0d380f9c3445b3022025f82d191ad7bc2624dc06 GIT binary patch literal 760 zcma)4yG{c!5FDQ`7l%+FL_q;GP^3r!QY2DQ(M00$4L}qLapVd>G?e@Zzkv7wlwaUK z=;$Jt@g^c?fxxG=*X!B!%=+FY&rcb0e2*McZjRoUuePTJ`t)VUeO%;fbZDz^{+PHJ zNTz^Iw4Bx1XPpWVz8<*GBc-Oeq zv5u#}WTEEp7o0j#!|j=d18UgenJm??#*nXRu$;kXfm@!*(wrefT{Mc5h5qSoX##l$ zdP`i-&u%U+80m4}p#{d&nGO2u(X&3;9CMvvTztb3IrL&ar{oQ#h4(peu-*eHFZ~A} ze1%71WoZp*laA9w$DCEb7Fy&vDyw^?AI>yLXNaHPtNl-1SyU`e4cGirmpILJr98g? D&H73! literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-143/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-143/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-143/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-143/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-143/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..1f3b9b33a500f5fd95e2cfc2237c536621e1290e GIT binary patch literal 700 zcmah`yG{Z@6g{)E#sMr0fy6?nD7H`|2?Zr~nm}tW5E37Wg@u)gG5mg|pgb6%xI4Dq`{;<-G2@j{6)9Aj1T8b5tJPZ)Ek`J8X=Wp#;<8s?SP-P7-gr`5oT z&yKh35C<-4UocPqBguDfng4mWQDMdG?fp{~f%lwt8Sn6dLwVhB&rAKOH|0CObXwjG dGX728+uz(ZlLyX3^OF{5(xA)o4b3&oWCsEDI7R>f literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-144/b.txt b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-144/b.txt new file mode 100644 index 000000000..c91bea012 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-144/b.txt @@ -0,0 +1,2 @@ +filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte("cmp" at 0)' classid 1:1 +filter add dev d0 ingress pref 2 protocol all handle 2 basic match '"cmp"(u8 at 0 eq 1)' classid 1:2 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-144/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-144/cmd.json new file mode 100644 index 000000000..bfadadac2 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-144/cmd.json @@ -0,0 +1,91 @@ +{ + "axes": { + "batch": "strbuf-kind", + "fix": "w124-batch", + "json": "0", + "words": "-batch b.txt" + }, + "cmd": "tc -batch b.txt", + "desc": "corner: opt=plain cmd=w124-batch:batch:strbuf-kind", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 0, + "refused_by": "none" + }, + "id": "tcematch/ec-144", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact", + "printf '%s\\n' 'filter add dev d0 ingress pref 1 protocol all handle 1 basic match '\\''nbyte(\"cmp\" at 0)'\\'' classid 1:1' 'filter add dev d0 ingress pref 2 protocol all handle 2 basic match '\\''\"cmp\"(u8 at 0 eq 1)'\\'' classid 1:2' > b.txt" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc -d filter show dev d0 ingress", + "name": "dump" + } + ], + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + }, + { + "cmd": "printf '%s\\n' 'filter add dev d0 ingress pref 1 protocol all handle 1 basic match '\\''nbyte(\"cmp\" at 0)'\\'' classid 1:1' 'filter add dev d0 ingress pref 2 protocol all handle 2 basic match '\\''\"cmp\"(u8 at 0 eq 1)'\\'' classid 1:2' > b.txt", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-144/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-144/dump.out new file mode 100644 index 000000000..fd809bb45 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-144/dump.out @@ -0,0 +1,8 @@ +filter protocol all pref 1 basic chain 0 +filter protocol all pref 1 basic chain 0 handle 0x1 flowid 1:1 + nbyte(63 6d 70 "cmp" at 0 layer 1) + +filter protocol all pref 2 basic chain 0 +filter protocol all pref 2 basic chain 0 handle 0x2 flowid 1:2 + cmp(u8 at 0 layer 1 eq 1) + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-144/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-144/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-144/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-144/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-144/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ec-144/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..33d2675a19008ebb2659dc0e7ff10647f703c22d GIT binary patch literal 740 zcmah{yGjE=6g{)Ey75s2Ns&Uk6e)s4ND)B#gA!Pq`| z&Jk@D>|o9KI!CPY%((DdohlNj&i$PyFb&7h4rH*H%z+l|kk_>deXj*?gS^>fI-j-u zY$4Y$3M@-C$A9p269I3}Yv@r!gE1l2P@~HR8hp;fL52lmLYykThOxA(R5M7jeEZr_U|wv#Qmj%nMVEny#qt~ z$}{O7I6KU6OTQ4;7#IB0NP{Nw8j?UmhaHxk$20*um7eEMY%DA!2wGUCNMWHbV5g=L5d>QUzDiQ2^c8#s-$O`e zA?N?Eo;i=xIfj{?o%#0XX208hd+_mZK2AIg4yAehP{ccPIegnwh^@_}0)rv@;#x8W zsG(qhJS;xhEMA8^K^!Q>YqDOZi}(ApI)ZG=^NvxL6t>4|4^AABnyPhW_f zP>1:1<< ... +Usage: EXPR +where: EXPR := TERM [ { and | or } EXPR ] + TERM := [ not ] { MATCH | '(' EXPR ')' } + MATCH := module '(' ARGS ')' + ARGS := ARG1 ARG2 ... + +Example: a(x y) and not (b(x) or c(x y z)) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-001/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-001/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-001/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-001/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..218055a9c0300ef6065245a42602bcdfafb06082 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RE)lib3Wz0L=p#0yYTEJPn|@01$)B+cjzJOa`FY%s~EOAPoXAa{vRy B6CD5m literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-001/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-001/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-001/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-002/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-002/cmd.json new file mode 100644 index 000000000..ebe8f7a3b --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-002/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "g-noargs", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp()' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp()' classid 1:1", + "desc": "negative: opt=plain cmd=ng:g-noargs:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp()'_classid_1:1: args need one ATTRIBUTE: Parse error", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-002", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-002/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-002/ip.err new file mode 100644 index 000000000..78df9c4ac --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-002/ip.err @@ -0,0 +1,10 @@ +Parse error: syntax error +... >>cmp()<< ... +Usage: EXPR +where: EXPR := TERM [ { and | or } EXPR ] + TERM := [ not ] { MATCH | '(' EXPR ')' } + MATCH := module '(' ARGS ')' + ARGS := ARG1 ARG2 ... + +Example: a(x y) and not (b(x) or c(x y z)) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-002/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-002/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-002/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-002/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..a94d0d73508e8d52156c8db0f896ca5e397cbf0b GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$!s1vC$22-qMr^E80s0zeEhuY6>and cmp(u8 at 0 eq 1)<< ... +Usage: EXPR +where: EXPR := TERM [ { and | or } EXPR ] + TERM := [ not ] { MATCH | '(' EXPR ')' } + MATCH := module '(' ARGS ')' + ARGS := ARG1 ARG2 ... + +Example: a(x y) and not (b(x) or c(x y z)) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-003/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-003/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-003/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-003/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..0efab0e62422e562327b26d95bda0f02f2bed874 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RE)lib3XO0nGy$0yYTEJPn|@01$)BYqvZ4f&pkYGmw86NP_^(8~_eH B6C(fs literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-003/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-003/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-003/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-004/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-004/cmd.json new file mode 100644 index 000000000..946ec9912 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-004/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "g-trail-and", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1) and' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1) and' classid 1:1", + "desc": "negative: opt=plain cmd=ng:g-trail-and:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1)_and'_classid_1:1: a trailing AND reads classid as a kind: Parse error", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-004", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-004/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-004/ip.err new file mode 100644 index 000000000..ab7975b19 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-004/ip.err @@ -0,0 +1,10 @@ +Parse error: syntax error +... cmp(u8 at 0 eq 1) and classid >>1:1<< ... +Usage: EXPR +where: EXPR := TERM [ { and | or } EXPR ] + TERM := [ not ] { MATCH | '(' EXPR ')' } + MATCH := module '(' ARGS ')' + ARGS := ARG1 ARG2 ... + +Example: a(x y) and not (b(x) or c(x y z)) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-004/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-004/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-004/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-004/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..fe609138c5b2320bb6bc9b055e2dca7340c09cb7 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$z(1DXdi1Z)tRc^W`*0U!pM7cwztI|I;cW+4ACkOl#mIRGRY B69)hQ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-004/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-004/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-004/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-005/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-005/cmd.json new file mode 100644 index 000000000..2248a7dc6 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-005/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "g-paren", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match '(cmp(u8 at 0 eq 1)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match '(cmp(u8 at 0 eq 1)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:g-paren:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'(cmp(u8_at_0_eq_1)'_classid_1:1: an unclosed parenthesis: Parse error", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-005", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-005/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-005/ip.err new file mode 100644 index 000000000..3ee222122 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-005/ip.err @@ -0,0 +1,10 @@ +Parse error: syntax error +... (cmp(u8 at 0 eq 1) >>classid<< ... +Usage: EXPR +where: EXPR := TERM [ { and | or } EXPR ] + TERM := [ not ] { MATCH | '(' EXPR ')' } + MATCH := module '(' ARGS ')' + ARGS := ARG1 ARG2 ... + +Example: a(x y) and not (b(x) or c(x y z)) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-005/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-005/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-005/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-005/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..10f7451330e84728c3c20ba6f6587195fd4cef69 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RtqI?*~~!xVIU0xFmnKr C>l2>< literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-005/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-005/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-005/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-006/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-006/cmd.json new file mode 100644 index 000000000..3b03b87c0 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-006/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "g-empty-paren", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match '()' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match '()' classid 1:1", + "desc": "negative: opt=plain cmd=ng:g-empty-paren:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'()'_classid_1:1: an empty parenthesis: Parse error", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-006", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-006/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-006/ip.err new file mode 100644 index 000000000..29a1fa710 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-006/ip.err @@ -0,0 +1,10 @@ +Parse error: syntax error +... >>()<< ... +Usage: EXPR +where: EXPR := TERM [ { and | or } EXPR ] + TERM := [ not ] { MATCH | '(' EXPR ')' } + MATCH := module '(' ARGS ')' + ARGS := ARG1 ARG2 ... + +Example: a(x y) and not (b(x) or c(x y z)) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-006/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-006/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-006/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-006/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..18958456faee7c4d9c9d9447d9bf96b6210db7d8 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+R0EFgD?XNvjvEP0RtdIh=Gy852y|%hD>uX z$TDy;GBB_+Ff*h86@$#>not not cmp(u8 at 0 eq 1)<< ... +Usage: EXPR +where: EXPR := TERM [ { and | or } EXPR ] + TERM := [ not ] { MATCH | '(' EXPR ')' } + MATCH := module '(' ARGS ')' + ARGS := ARG1 ARG2 ... + +Example: a(x y) and not (b(x) or c(x y z)) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-007/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-007/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-007/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-007/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..43af68bead0980613d6395071a0d0fab438911e3 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+R0EFgD?XNvjvEP0RtdIh=Gy852y|%hD>uX z$TDy;GBB_+Ff*h86@$!M2{aF62-qMr^E80s0zeEhFErV50t3)&W+4ACkOl#mIRM9Y B5yAif literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-007/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-007/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-007/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-008/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-008/cmd.json new file mode 100644 index 000000000..613366014 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-008/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "g-kw-arg", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(or at 0)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(or at 0)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:g-kw-arg:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(or_at_0)'_classid_1:1: or is a token, even inside args: Parse error", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-008", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-008/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-008/ip.err new file mode 100644 index 000000000..ef198d61a --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-008/ip.err @@ -0,0 +1,10 @@ +Parse error: syntax error +... >>nbyte(or at 0)<< ... +Usage: EXPR +where: EXPR := TERM [ { and | or } EXPR ] + TERM := [ not ] { MATCH | '(' EXPR ')' } + MATCH := module '(' ARGS ')' + ARGS := ARG1 ARG2 ... + +Example: a(x y) and not (b(x) or c(x y z)) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-008/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-008/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-008/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-008/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..8d8ce5520e0882eea37e74b05d5b7905c684f37e GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+R0EFgD?XNvjvEP0RtdIh=Gy852y|%hD>uX z$TDy;GBB_+Ff*h86@$#X2s9652-qMr^E80s0zeEhkHuYZ7X#32W+4ACkOl#mIRN_v B5$yl~ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-008/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-008/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-008/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-009/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-009/cmd.json new file mode 100644 index 000000000..cc4946866 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-009/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "g-nokind", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match '(u8 at 0)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match '(u8 at 0)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:g-nokind:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'(u8_at_0)'_classid_1:1: a parenthesis of words is not an expr: Parse error", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-009", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-009/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-009/ip.err new file mode 100644 index 000000000..a2a5e4864 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-009/ip.err @@ -0,0 +1,10 @@ +Parse error: syntax error +... >>(u8 at 0)<< ... +Usage: EXPR +where: EXPR := TERM [ { and | or } EXPR ] + TERM := [ not ] { MATCH | '(' EXPR ')' } + MATCH := module '(' ARGS ')' + ARGS := ARG1 ARG2 ... + +Example: a(x y) and not (b(x) or c(x y z)) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-009/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-009/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-009/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-009/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..b4fc0948ef990c921ea34fe5b8c41c7ec1b51223 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$#{1)2vk1Z)tRc^W`*0U!pMcRb$gGXv0UW+4ACkOl#mIRJVx B6bk?V literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-009/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-009/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-009/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-010/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-010/cmd.json new file mode 100644 index 000000000..3414469c4 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-010/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "g-two", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' 'cmp(u8 at 1 eq 2)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' 'cmp(u8 at 1 eq 2)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:g-two:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1)'_'cmp(u8_at_1_eq_2)'_classid_1:1: two matches with no relation: the second is look-ahead, then What is \"cmp(u8 at 1 eq 2)\"?", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-010", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-010/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-010/ip.err new file mode 100644 index 000000000..c86bc274d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-010/ip.err @@ -0,0 +1,9 @@ +What is "cmp(u8 at 1 eq 2)"? +Usage: ... basic [ match EMATCH_TREE ] + [ action ACTION_SPEC ] [ classid CLASSID ] + +Where: SELECTOR := SAMPLE SAMPLE ... + FILTERID := X:Y:Z + ACTION_SPEC := ... look at individual actions + +NOTE: CLASSID is parsed as hexadecimal input. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-010/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-010/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-010/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-010/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..2076b901fb86156ab1f6fca29d5047ce9887c29a GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RE)lib3W{1I+^&0yYTEJPn|@01$)BTfK?3hXH6dGmw86NP_^(8~|_E B5k&w1 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-010/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-010/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-010/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-011/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-011/cmd.json new file mode 100644 index 000000000..ec1b39097 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-011/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "g-same-word", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1) cmp(u8 at 1 eq 2)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1) cmp(u8 at 1 eq 2)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:g-same-word:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1)_cmp(u8_at_1_eq_2)'_classid_1:1: the look-ahead came from the tree's own word, so the undo points at the tree: What is", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-011", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-011/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-011/ip.err new file mode 100644 index 000000000..52ba15d92 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-011/ip.err @@ -0,0 +1,9 @@ +What is "cmp(u8 at 0 eq 1) cmp(u8 at 1 eq 2)"? +Usage: ... basic [ match EMATCH_TREE ] + [ action ACTION_SPEC ] [ classid CLASSID ] + +Where: SELECTOR := SAMPLE SAMPLE ... + FILTERID := X:Y:Z + ACTION_SPEC := ... look at individual actions + +NOTE: CLASSID is parsed as hexadecimal input. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-011/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-011/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-011/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-011/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..1606651392c1d2f25a445f50188241c860ac8a9f GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+R>1:1<< ... +Usage: EXPR +where: EXPR := TERM [ { and | or } EXPR ] + TERM := [ not ] { MATCH | '(' EXPR ')' } + MATCH := module '(' ARGS ')' + ARGS := ARG1 ARG2 ... + +Example: a(x y) and not (b(x) or c(x y z)) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-012/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-012/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-012/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-012/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..80ad4d23ac6904b5acd1c2b646e9e07654bd2afe GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RysjlluP24MykW(yDn0|r2b5CbDa08kxF44LL& zkY(UxWME)tU}i`GDh8Q%0%#t{5U@dL=4k-M1%Mc2UV_huH4H$rnSuPnKpF&K<^TZ1 CFch=^ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-012/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-012/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-012/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-013/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-013/cmd.json new file mode 100644 index 000000000..bb7dc4177 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-013/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "g-nomatch", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match", + "desc": "negative: opt=plain cmd=ng:g-nomatch:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match: match with no value: NEXT_ARG, rc 255 (W149)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 255, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-013", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 255, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-013/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-013/ip.err new file mode 100644 index 000000000..f7d546177 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-013/ip.err @@ -0,0 +1 @@ +Command line is not complete. Try option "help" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-013/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-013/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-013/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-013/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..e58f14b81a4d336dd99ee9135419f67909349d57 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RE)lib3X;0L=p#0yYTEJPn|@01$)BYp4@g%K$W+8OT2jq(J~?4gkl< B5%2&2 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-013/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-013/ip.rc new file mode 100644 index 000000000..ace9d0362 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-013/ip.rc @@ -0,0 +1 @@ +255 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-014/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-014/cmd.json new file mode 100644 index 000000000..936ee2d66 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-014/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "unknown", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'foo(bar)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'foo(bar)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:unknown:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'foo(bar)'_classid_1:1: a kind not in the map: Unknown ematch", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-014", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-014/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-014/ip.err new file mode 100644 index 000000000..965cc4c66 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-014/ip.err @@ -0,0 +1,2 @@ +Unknown ematch "foo" +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-014/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-014/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-014/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-014/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..4a7518f61bae656b958cc961281a0c45c8e704fd GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+R0EFgD?XNvjvEP0RtdIh=GwI0H_WohD>uX z$TDy;GBB_+Ff*h86@$zZQRQR+83Hy4%{&dDxBw7?%)6)gcNGKBY-S+;FpvfTm^lCu C@Dlp~ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-014/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-014/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-014/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-015/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-015/cmd.json new file mode 100644 index 000000000..49eb26a7c --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-015/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "text", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'text(kmp \"abc\" from 0 to 10)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'text(kmp \"abc\" from 0 to 10)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:text:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'text(kmp_\"abc\"_from_0_to_10)'_classid_1:1: tc has no text module: Unknown ematch", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-015", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-015/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-015/ip.err new file mode 100644 index 000000000..326f10b90 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-015/ip.err @@ -0,0 +1,2 @@ +Unknown ematch "text" +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-015/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-015/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-015/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-015/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..6ccddaee0e250429ca83cc5e5e5bfbf1ed2b5a07 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+Ry-*WN-koL70Js*#bntfB}#p#K6c908|GPL#8E)lib3Xy1I+^&0yYTEJPn|@01$)BQw;xmk^yKoGmw86NP_^(8~~4V B5zhbs literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-015/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-015/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-015/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-016/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-016/cmd.json new file mode 100644 index 000000000..44d1f76f4 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-016/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "w126", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(x)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(x)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:w126:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(x)'_classid_1:1: a 64-byte kind is read unterminated (W126; gotc refuses)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-016", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-016/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-016/ip.err new file mode 100644 index 000000000..ea4e40465 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-016/ip.err @@ -0,0 +1,2 @@ +Unknown ematch "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-016/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-016/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-016/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-016/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..439ec46dd3ded5a32d6890edc1339e69f1eb2e2d GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RE)lib3Wr0GbCf1Z)tRc^W`*0U!pMcjv^6ZU&&)%s~EOAPoXAa{w=O B6R-dP literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-016/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-016/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-016/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-017/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-017/cmd.json new file mode 100644 index 000000000..bf0251e84 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-017/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "w126-63", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(x)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(x)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:w126-63:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(x)'_classid_1:1: a 63-byte kind is read unterminated (W126; gotc refuses)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-017", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-017/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-017/ip.err new file mode 100644 index 000000000..ea4e40465 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-017/ip.err @@ -0,0 +1,2 @@ +Unknown ematch "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-017/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-017/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-017/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-017/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..18f8b6664f38d1cd1ca665b048539f7610406d58 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$$42bu>m1Z)tRc^W`*0U!pMC%xvuCI+C{%s~EOAPoXAa{vTP B68QiC literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-017/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-017/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-017/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-018/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-018/cmd.json new file mode 100644 index 000000000..147da68f4 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-018/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "w126-62", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(x)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(x)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:w126-62:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(x)'_classid_1:1: a 62-byte kind fits: Unknown ematch", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-018", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-018/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-018/ip.err new file mode 100644 index 000000000..3de5f6a21 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-018/ip.err @@ -0,0 +1,2 @@ +Unknown ematch "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-018/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-018/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-018/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-018/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..c5af51c3f86de54408f4d1beb1a5a73ee7c3309d GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$#P1DXdi1Z)tRc^W`*0U!pMXMg2Z7X#32W+4ACkOl#mIRF-T B6FdL_ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-019/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-019/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-019/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-020/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-020/cmd.json new file mode 100644 index 000000000..7e4aa129e --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-020/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "f25-cg", + "json": "0", + "words": "filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 1)'" + }, + "cmd": "tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 1)'", + "desc": "negative: opt=plain cmd=ng:f25-cg:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_cgroup_match_'cmp(u8_at_0_eq_1)': cgroup's F25", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-020", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-020/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-020/ip.err new file mode 100644 index 000000000..2b2ef4575 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-020/ip.err @@ -0,0 +1,3 @@ +What is "cmp(u8 at 0 eq 1)"? +Usage: ... cgroup [ match EMATCH_TREE ] + [ action ACTION_SPEC ] diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-020/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-020/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-020/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-020/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..65f88a699947d3fe3f14f5fb3d20804427c47d01 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$zx0GbCf1Z)tRc^W`*0U!pM_fTc?UIw7q%s~EOAPoXAa{y-5 B6ZZfB literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-020/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-020/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-020/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-021/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-021/cmd.json new file mode 100644 index 000000000..19d3377f7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-021/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "f25-flow", + "json": "0", + "words": "filter add dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys dst divisor 8 match 'cmp(u8 at 0 eq 1)'" + }, + "cmd": "tc filter add dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys dst divisor 8 match 'cmp(u8 at 0 eq 1)'", + "desc": "negative: opt=plain cmd=ng:f25-flow:filter_add_dev_d1_parent_1:_pref_30_protocol_ip_handle_1_flow_hash_keys_dst_divisor_8_match_'cmp(u8_at_0_eq_1)': flow's F25: What is", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-021", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-021/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-021/ip.err new file mode 100644 index 000000000..d6106d43c --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-021/ip.err @@ -0,0 +1,16 @@ +What is "cmp(u8 at 0 eq 1)"? +Usage: ... flow ... + + [mapping mode]: map key KEY [ OPS ] ... + [hashing mode]: hash keys KEY-LIST ... [ perturb SECS ] + + [ divisor NUM ] [ baseclass ID ] [ match EMATCH_TREE ] + [ action ACTION_SPEC ] + +KEY-LIST := [ KEY-LIST , ] KEY +KEY := [ src | dst | proto | proto-src | proto-dst | iif | priority | + mark | nfct | nfct-src | nfct-dst | nfct-proto-src | + nfct-proto-dst | rt-classid | sk-uid | sk-gid | + vlan-tag | rxhash ] +OPS := [ or NUM | and NUM | xor NUM | rshift NUM | addend NUM ] +ID := X:Y diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-021/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-021/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-021/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-021/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..de518bcfd698633e235848b76101bfb2fd3aa283 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+R%hB0FTfV AK>z>% literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-021/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-021/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-021/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-022/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-022/cmd.json new file mode 100644 index 000000000..329160a1f --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-022/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "cmp-align", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u64 at 0 eq 1)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u64 at 0 eq 1)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:cmp-align:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u64_at_0_eq_1)'_classid_1:1: cmp: invalid alignment", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-022", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-022/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-022/ip.err new file mode 100644 index 000000000..66ad02430 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-022/ip.err @@ -0,0 +1,10 @@ +cmp: invalid alignment +... >>cmp(u64 at 0 eq 1)<< ... +... cmp(>>u64<< at 0 eq 1)... +Usage: cmp(ALIGN at OFFSET [ ATTRS ] { eq | lt | gt } VALUE) +where: ALIGN := { u8 | u16 | u32 } + ATTRS := [ layer LAYER ] [ mask MASK ] [ trans ] + LAYER := { link | network | transport | 0..2 } + +Example: cmp(u16 at 3 layer 2 mask 0xff00 gt 20) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-022/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-022/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-022/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-022/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..9d72bd8d0b4441045553556d2ce2356a10c2af80 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+R!EzV{ibnL70Js*#bntfB}#p#K6c92vi3XL#8E)lib3Yd0L=p#0yYTEJPn|@01$)B^Ln$WmjP%tGmw86NP_^(8~}tY B5zqht literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-022/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-022/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-022/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-023/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-023/cmd.json new file mode 100644 index 000000000..4f4cf71b4 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-023/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "cmp-at", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:cmp-at:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at)'_classid_1:1: cmp: missing argument", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-023", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-023/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-023/ip.err new file mode 100644 index 000000000..b69c12885 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-023/ip.err @@ -0,0 +1,10 @@ +cmp: missing argument +... >>cmp(u8 at)<< ... +... cmp(u8 >>at<<)... +Usage: cmp(ALIGN at OFFSET [ ATTRS ] { eq | lt | gt } VALUE) +where: ALIGN := { u8 | u16 | u32 } + ATTRS := [ layer LAYER ] [ mask MASK ] [ trans ] + LAYER := { link | network | transport | 0..2 } + +Example: cmp(u16 at 3 layer 2 mask 0xff00 gt 20) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-023/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-023/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-023/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-023/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..8e80d5034c2eff09ae48dbc09578064fbf4c94b1 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RE)lib3Y}0nGy$0yYTEJPn|@01$)BQ$KcYHUrRXW+4ACkOl#mIRM7Q B5@P@W literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-023/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-023/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-023/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-024/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-024/cmd.json new file mode 100644 index 000000000..280ad6ed9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-024/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "cmp-off", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at x eq 1)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at x eq 1)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:cmp-off:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_x_eq_1)'_classid_1:1: cmp: invalid offset, must be numeric", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-024", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-024/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-024/ip.err new file mode 100644 index 000000000..e836840b8 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-024/ip.err @@ -0,0 +1,10 @@ +cmp: invalid offset, must be numeric +... >>cmp(u8 at x eq 1)<< ... +... cmp(u8 at >>x<< eq 1)... +Usage: cmp(ALIGN at OFFSET [ ATTRS ] { eq | lt | gt } VALUE) +where: ALIGN := { u8 | u16 | u32 } + ATTRS := [ layer LAYER ] [ mask MASK ] [ trans ] + LAYER := { link | network | transport | 0..2 } + +Example: cmp(u16 at 3 layer 2 mask 0xff00 gt 20) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-024/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-024/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-024/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-024/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..d4e3a7272ff4e8cda7653929892ac1387d0198ce GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$#>cmp(u8 at 0 layer 3 eq 1)<< ... +... cmp(u8 at 0 layer >>3<< eq 1)... +Usage: cmp(ALIGN at OFFSET [ ATTRS ] { eq | lt | gt } VALUE) +where: ALIGN := { u8 | u16 | u32 } + ATTRS := [ layer LAYER ] [ mask MASK ] [ trans ] + LAYER := { link | network | transport | 0..2 } + +Example: cmp(u16 at 3 layer 2 mask 0xff00 gt 20) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-025/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-025/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-025/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-025/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..e8784b04ae500417c9e6b10f7ca78ff5c0c4dbf5 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$#%2s9652-qMr^E80s0zeEh&#dYEM+TtT%s~EOAPoXAa{&H) B69WJM literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-025/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-025/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-025/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-026/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-026/cmd.json new file mode 100644 index 000000000..4201d8fc2 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-026/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "cmp-layer-x", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 layer x eq 1)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 layer x eq 1)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:cmp-layer-x:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_layer_x_eq_1)'_classid_1:1: cmp: invalid layer", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-026", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-026/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-026/ip.err new file mode 100644 index 000000000..937b5d5b7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-026/ip.err @@ -0,0 +1,10 @@ +cmp: invalid layer +... >>cmp(u8 at 0 layer x eq 1)<< ... +... cmp(u8 at 0 layer >>x<< eq 1)... +Usage: cmp(ALIGN at OFFSET [ ATTRS ] { eq | lt | gt } VALUE) +where: ALIGN := { u8 | u16 | u32 } + ATTRS := [ layer LAYER ] [ mask MASK ] [ trans ] + LAYER := { link | network | transport | 0..2 } + +Example: cmp(u16 at 3 layer 2 mask 0xff00 gt 20) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-026/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-026/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-026/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-026/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..cdcf63200898946f1afa3b26225e01098d5d7a35 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RE)lib3X;0?h*%0yYTEJPn|@01$)BTm9$oNd}>cmp(u8 at 0 mask zz eq 1)<< ... +... cmp(u8 at 0 mask >>zz<< eq 1)... +Usage: cmp(ALIGN at OFFSET [ ATTRS ] { eq | lt | gt } VALUE) +where: ALIGN := { u8 | u16 | u32 } + ATTRS := [ layer LAYER ] [ mask MASK ] [ trans ] + LAYER := { link | network | transport | 0..2 } + +Example: cmp(u16 at 3 layer 2 mask 0xff00 gt 20) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-027/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-027/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-027/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-027/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..c68242c004638336eda2073072d4074d3d99097a GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+R>cmp(u8 at 0 eq zz)<< ... +... cmp(u8 at 0 eq >>zz<<)... +Usage: cmp(ALIGN at OFFSET [ ATTRS ] { eq | lt | gt } VALUE) +where: ALIGN := { u8 | u16 | u32 } + ATTRS := [ layer LAYER ] [ mask MASK ] [ trans ] + LAYER := { link | network | transport | 0..2 } + +Example: cmp(u16 at 3 layer 2 mask 0xff00 gt 20) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-028/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-028/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-028/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-028/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..31cc49f00f38e60b3a5f16a21d1851f395b21847 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$#12Q&|42-qMr^E80s0zeEhZ{I${_Y6R@nSuPnKpF&K<^TXu C-xK5j literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-028/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-028/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-028/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-029/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-029/cmd.json new file mode 100644 index 000000000..1d9654d2a --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-029/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "cmp-noval", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:cmp-noval:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0)'_classid_1:1: cmp: offset and value required", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-029", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-029/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-029/ip.err new file mode 100644 index 000000000..ac110dcab --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-029/ip.err @@ -0,0 +1,10 @@ +cmp: offset and value required +... >>cmp(u8 at 0)<< ... +... cmp(u8 at 0)... +Usage: cmp(ALIGN at OFFSET [ ATTRS ] { eq | lt | gt } VALUE) +where: ALIGN := { u8 | u16 | u32 } + ATTRS := [ layer LAYER ] [ mask MASK ] [ trans ] + LAYER := { link | network | transport | 0..2 } + +Example: cmp(u16 at 3 layer 2 mask 0xff00 gt 20) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-029/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-029/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-029/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-029/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..562942b8d44d7fdcddc5d6da8ec9a9d10d994393 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RE)lib3YZ0L=p#0yYTEJPn|@01$)B>uGS?$^bN*8OT2jq(J~?4gdi! B60`sS literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-029/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-029/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-029/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-030/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-030/cmd.json new file mode 100644 index 000000000..dea1455c9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-030/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "cmp-nooff", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 eq 1)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 eq 1)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:cmp-nooff:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_eq_1)'_classid_1:1: cmp: offset and value required", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-030", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-030/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-030/ip.err new file mode 100644 index 000000000..909638ff2 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-030/ip.err @@ -0,0 +1,10 @@ +cmp: offset and value required +... >>cmp(u8 eq 1)<< ... +... cmp(u8 eq 1)... +Usage: cmp(ALIGN at OFFSET [ ATTRS ] { eq | lt | gt } VALUE) +where: ALIGN := { u8 | u16 | u32 } + ATTRS := [ layer LAYER ] [ mask MASK ] [ trans ] + LAYER := { link | network | transport | 0..2 } + +Example: cmp(u16 at 3 layer 2 mask 0xff00 gt 20) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-030/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-030/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-030/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-030/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..58a2e73af16321caffca8fb331baa82ad082daac GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$#n0-6Uh1Z)tRc^W`*0U!pMcjvDC4F;gu%s~EOAPoXAa{zDg B6jT5J literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-030/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-030/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-030/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-031/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-031/cmd.json new file mode 100644 index 000000000..7b4374899 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-031/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "cmp-eq", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:cmp-eq:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq)'_classid_1:1: cmp: missing argument", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-031", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-031/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-031/ip.err new file mode 100644 index 000000000..362262cef --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-031/ip.err @@ -0,0 +1,10 @@ +cmp: missing argument +... >>cmp(u8 at 0 eq)<< ... +... cmp(u8 at 0 >>eq<<)... +Usage: cmp(ALIGN at OFFSET [ ATTRS ] { eq | lt | gt } VALUE) +where: ALIGN := { u8 | u16 | u32 } + ATTRS := [ layer LAYER ] [ mask MASK ] [ trans ] + LAYER := { link | network | transport | 0..2 } + +Example: cmp(u16 at 3 layer 2 mask 0xff00 gt 20) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-031/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-031/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-031/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-031/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..9554cc01c26858d9344d8283a98f629b730cc855 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$#n0h$Lg1Z)tRc^W`*0U!pMXF4}&4Fk|@W+4ACkOl#mIRIig B6Mz5! literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-031/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-031/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-031/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-032/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-032/cmd.json new file mode 100644 index 000000000..8e32f6e42 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-032/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "w135-m1", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq -1)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq -1)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:w135-m1:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_-1)'_classid_1:1: -1 is ULONG_MAX: cmp: invalid value (W135)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-032", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-032/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-032/ip.err new file mode 100644 index 000000000..76047eb34 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-032/ip.err @@ -0,0 +1,10 @@ +cmp: invalid value +... >>cmp(u8 at 0 eq -1)<< ... +... cmp(u8 at 0 eq >>-1<<)... +Usage: cmp(ALIGN at OFFSET [ ATTRS ] { eq | lt | gt } VALUE) +where: ALIGN := { u8 | u16 | u32 } + ATTRS := [ layer LAYER ] [ mask MASK ] [ trans ] + LAYER := { link | network | transport | 0..2 } + +Example: cmp(u16 at 3 layer 2 mask 0xff00 gt 20) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-032/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-032/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-032/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-032/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..3de954394d67250c4bde0514739aa2eff2546523 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$#H2bu>m1Z)tRc^W`*0U!pMckD~{S_Yum%s~EOAPoXAa{!Ft B6qx`3 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-032/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-032/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-032/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-033/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-033/cmd.json new file mode 100644 index 000000000..352ce2a84 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-033/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "w138", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 foo 1 eq 1)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 foo 1 eq 1)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:w138:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_foo_1_eq_1)'_classid_1:1: cmp's error says nbyte: unknown parameter (W138)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-033", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-033/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-033/ip.err new file mode 100644 index 000000000..485e40ebc --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-033/ip.err @@ -0,0 +1,10 @@ +nbyte: unknown parameter +... >>cmp(u8 at 0 foo 1 eq 1)<< ... +... cmp(u8 at 0 >>foo<< 1 eq 1)... +Usage: cmp(ALIGN at OFFSET [ ATTRS ] { eq | lt | gt } VALUE) +where: ALIGN := { u8 | u16 | u32 } + ATTRS := [ layer LAYER ] [ mask MASK ] [ trans ] + LAYER := { link | network | transport | 0..2 } + +Example: cmp(u16 at 3 layer 2 mask 0xff00 gt 20) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-033/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-033/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-033/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-033/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..f4de62770287fba3980f2266e9fb79976477dd8d GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$#v1)2vk1Z)tRc^W`*0U!pMx9aYUQw%_}nSuPnKpF&K<^TXx CxfCV< literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-033/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-033/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-033/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-034/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-034/cmd.json new file mode 100644 index 000000000..b166723d4 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-034/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "nbyte-empty", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"\" at 0)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"\" at 0)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:nbyte-empty:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(\"\"_at_0)'_classid_1:1: nbyte: needle length is 0", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-034", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-034/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-034/ip.err new file mode 100644 index 000000000..97c2182e9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-034/ip.err @@ -0,0 +1,10 @@ +nbyte: needle length is 0 +... >>nbyte("" at 0)<< ... +... nbyte(>><< at 0)... +Usage: nbyte(NEEDLE at OFFSET [layer LAYER]) +where: NEEDLE := { string | "c-escape-sequence" } + OFFSET := int + LAYER := { link | network | transport | 0..2 } + +Example: nbyte("ababa" at 12 layer 1) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-034/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-034/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-034/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-034/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..ccca87e690e89facfbb295d54e5036cf3318d848 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RJlL70Js*#bntfB}#p#K6c91XKqTL#8E)lib3Wj0?h*%0yYTEJPn|@01$)Bd(q&&hXH6dGmw86NP_^(902pv B65#*< literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-034/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-034/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-034/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-035/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-035/cmd.json new file mode 100644 index 000000000..4b228c9b0 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-035/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "nbyte-noat", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(abc)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(abc)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:nbyte-noat:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(abc)'_classid_1:1: nbyte: offset required", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-035", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-035/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-035/ip.err new file mode 100644 index 000000000..8cc89827b --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-035/ip.err @@ -0,0 +1,10 @@ +nbyte: offset required +... >>nbyte(abc)<< ... +... nbyte(abc)... +Usage: nbyte(NEEDLE at OFFSET [layer LAYER]) +where: NEEDLE := { string | "c-escape-sequence" } + OFFSET := int + LAYER := { link | network | transport | 0..2 } + +Example: nbyte("ababa" at 12 layer 1) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-035/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-035/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-035/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-035/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..630d40ffaa9a562d85ef0a08b476ee822f506a86 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+R>nbyte(abc at 0 layer 9)<< ... +... nbyte(abc at 0 layer >>9<<)... +Usage: nbyte(NEEDLE at OFFSET [layer LAYER]) +where: NEEDLE := { string | "c-escape-sequence" } + OFFSET := int + LAYER := { link | network | transport | 0..2 } + +Example: nbyte("ababa" at 12 layer 1) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-036/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-036/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-036/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-036/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..87f21fcd4e17eedad8f4f5fe4d41b207992277b0 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$#11~d<32-qMr^E80s0zeEhZ`-W94;g@FGXwdDfiwuf%mDyu C*%WpF literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-036/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-036/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-036/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-037/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-037/cmd.json new file mode 100644 index 000000000..7de944792 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-037/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "nbyte-param", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(abc at 0 foo)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(abc at 0 foo)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:nbyte-param:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(abc_at_0_foo)'_classid_1:1: nbyte: unknown parameter", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-037", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-037/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-037/ip.err new file mode 100644 index 000000000..a6071c8d1 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-037/ip.err @@ -0,0 +1,10 @@ +nbyte: unknown parameter +... >>nbyte(abc at 0 foo)<< ... +... nbyte(abc at 0 >>foo<<)... +Usage: nbyte(NEEDLE at OFFSET [layer LAYER]) +where: NEEDLE := { string | "c-escape-sequence" } + OFFSET := int + LAYER := { link | network | transport | 0..2 } + +Example: nbyte("ababa" at 12 layer 1) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-037/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-037/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-037/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-037/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..22d7518daab4eaa2917cfbdab2841d4c7db2b94f GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$#%4KxpA2-qMr^E80s0zeEhuf6@)CkCL|%s~EOAPoXAa{w1@ B6M6su literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-037/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-037/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-037/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-038/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-038/cmd.json new file mode 100644 index 000000000..9f360b513 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-038/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "nbyte-off", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(abc at zz)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(abc at zz)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:nbyte-off:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(abc_at_zz)'_classid_1:1: nbyte: invalid offset", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-038", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-038/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-038/ip.err new file mode 100644 index 000000000..06f3635c3 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-038/ip.err @@ -0,0 +1,10 @@ +nbyte: invalid offset, must be numeric +... >>nbyte(abc at zz)<< ... +... nbyte(abc at >>zz<<)... +Usage: nbyte(NEEDLE at OFFSET [layer LAYER]) +where: NEEDLE := { string | "c-escape-sequence" } + OFFSET := int + LAYER := { link | network | transport | 0..2 } + +Example: nbyte("ababa" at 12 layer 1) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-038/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-038/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-038/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-038/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..c94761d118699d0aaba5bd5233808719a63e9678 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+R>nbyte(abc at)<< ... +... nbyte(abc >>at<<)... +Usage: nbyte(NEEDLE at OFFSET [layer LAYER]) +where: NEEDLE := { string | "c-escape-sequence" } + OFFSET := int + LAYER := { link | network | transport | 0..2 } + +Example: nbyte("ababa" at 12 layer 1) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-039/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-039/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-039/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-039/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..d9d408fede935d3fb2ac5dd9cf0a63bfdc948556 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$!M3^Wg92-qMr^E80s0zeEhZ^h2cDGWffnSuPnKpF&K<^TY1 C(G&gv literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-039/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-039/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-039/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-040/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-040/cmd.json new file mode 100644 index 000000000..366434c7d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-040/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "u32-align", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u64 1 1 at 0)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u64 1 1 at 0)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:u32-align:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u64_1_1_at_0)'_classid_1:1: u32: invalid alignment", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-040", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-040/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-040/ip.err new file mode 100644 index 000000000..203381569 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-040/ip.err @@ -0,0 +1,8 @@ +u32: invalid alignment +... >>u32(u64 1 1 at 0)<< ... +... u32(>>u64<< 1 1 at 0)... +Usage: u32(ALIGN VALUE MASK at [ nexthdr+ ] OFFSET) +where: ALIGN := { u8 | u16 | u32 } + +Example: u32(u16 0x1122 0xffff at nexthdr+4) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-040/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-040/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-040/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-040/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..9bb3caf5d00c4f5c9772a44223bdc25ae2ccd247 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RE)lib3Xi0?h*%0yYTEJPn|@01$)BOVrDn&Hyx<8OT2jq(J~?4gjk} B5sm-= literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-040/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-040/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-040/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-041/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-041/cmd.json new file mode 100644 index 000000000..70881efbc --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-041/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "u32-key", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:u32-key:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u8)'_classid_1:1: u32: missing key", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-041", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-041/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-041/ip.err new file mode 100644 index 000000000..5f5504e23 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-041/ip.err @@ -0,0 +1,8 @@ +u32: missing key +... >>u32(u8)<< ... +... u32(u8)... +Usage: u32(ALIGN VALUE MASK at [ nexthdr+ ] OFFSET) +where: ALIGN := { u8 | u16 | u32 } + +Example: u32(u16 0x1122 0xffff at nexthdr+4) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-041/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-041/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-041/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-041/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..98cbe6aee3aa95e59486ac48741a9f1e383a7017 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+R>u32(u8 zz 0xff at 0)<< ... +... u32(u8 >>zz<< 0xff at 0)... +Usage: u32(ALIGN VALUE MASK at [ nexthdr+ ] OFFSET) +where: ALIGN := { u8 | u16 | u32 } + +Example: u32(u16 0x1122 0xffff at nexthdr+4) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-042/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-042/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-042/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-042/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..e5cd9e8c3ce9d8af6ead9497a033998a2127c294 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RM(nSuPnKpF&K<^TY& C02EsQ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-042/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-042/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-042/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-043/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-043/cmd.json new file mode 100644 index 000000000..8c09d5b7e --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-043/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "u32-mask", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 1)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 1)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:u32-mask:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u8_1)'_classid_1:1: u32: missing mask", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-043", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-043/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-043/ip.err new file mode 100644 index 000000000..39a146a4e --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-043/ip.err @@ -0,0 +1,8 @@ +u32: missing mask +... >>u32(u8 1)<< ... +... u32(u8 1)... +Usage: u32(ALIGN VALUE MASK at [ nexthdr+ ] OFFSET) +where: ALIGN := { u8 | u16 | u32 } + +Example: u32(u16 0x1122 0xffff at nexthdr+4) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-043/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-043/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-043/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-043/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..7743419a623fb221c15e440c467bc9af10abcf9a GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RE)lib3X01eymj1Z)tRc^W`*0U!pMx3FIF3j@$>W+4ACkOl#mIRM7` B5<~z1 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-043/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-043/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-043/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-044/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-044/cmd.json new file mode 100644 index 000000000..ff9f72fb4 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-044/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "u32-badmask", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 1 zz at 0)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 1 zz at 0)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:u32-badmask:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u8_1_zz_at_0)'_classid_1:1: u32: invalid mask, must be numeric", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-044", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-044/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-044/ip.err new file mode 100644 index 000000000..57201c0b9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-044/ip.err @@ -0,0 +1,8 @@ +u32: invalid mask, must be numeric +... >>u32(u8 1 zz at 0)<< ... +... u32(u8 1 >>zz<< at 0)... +Usage: u32(ALIGN VALUE MASK at [ nexthdr+ ] OFFSET) +where: ALIGN := { u8 | u16 | u32 } + +Example: u32(u16 0x1122 0xffff at nexthdr+4) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-044/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-044/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-044/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-044/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..7e43513f9e7ca82c7e45d283d7057d88bf27eda0 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$#%05lI|2-qMr^E80s0zeEhFF8tZE(6ePW+4ACkOl#mIRO54 B5;gz; literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-044/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-044/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-044/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-045/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-045/cmd.json new file mode 100644 index 000000000..fce8d9e72 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-045/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "u32-at", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 1 0xff)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 1 0xff)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:u32-at:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u8_1_0xff)'_classid_1:1: u32: missing \"at\"", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-045", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-045/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-045/ip.err new file mode 100644 index 000000000..9c4981128 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-045/ip.err @@ -0,0 +1,8 @@ +u32: missing "at" +... >>u32(u8 1 0xff)<< ... +... u32(u8 1 0xff)... +Usage: u32(ALIGN VALUE MASK at [ nexthdr+ ] OFFSET) +where: ALIGN := { u8 | u16 | u32 } + +Example: u32(u16 0x1122 0xffff at nexthdr+4) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-045/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-045/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-045/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-045/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..1f69a5cd6b53590d311628442c269b196221d3df GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RE)lib3XC1I+^&0yYTEJPn|@01$)Bn?6_K2?Nk>u32(u8 1 0xff of 0)<< ... +... u32(u8 1 0xff >>of<< 0)... +Usage: u32(ALIGN VALUE MASK at [ nexthdr+ ] OFFSET) +where: ALIGN := { u8 | u16 | u32 } + +Example: u32(u16 0x1122 0xffff at nexthdr+4) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-046/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-046/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-046/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-046/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..f9aa3a6f9c66357301c95f632b19c53d1bda8884 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RE)lib3Y70nGy$0yYTEJPn|@01$)Bt2ou&%>Xo;8OT2jq(J~?4gj?# B5<36@ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-046/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-046/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-046/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-047/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-047/cmd.json new file mode 100644 index 000000000..03e4198f1 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-047/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "u32-off", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 1 0xff at)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 1 0xff at)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:u32-off:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u8_1_0xff_at)'_classid_1:1: u32: missing offset", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-047", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-047/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-047/ip.err new file mode 100644 index 000000000..cd7ed6e00 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-047/ip.err @@ -0,0 +1,8 @@ +u32: missing offset +... >>u32(u8 1 0xff at)<< ... +... u32(u8 1 0xff at)... +Usage: u32(ALIGN VALUE MASK at [ nexthdr+ ] OFFSET) +where: ALIGN := { u8 | u16 | u32 } + +Example: u32(u16 0x1122 0xffff at nexthdr+4) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-047/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-047/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-047/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-047/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..80b2f253b0661b03b0ea00aa8023aa3eee91042f GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+R0EFgD?XNvjvEP0RtdIh=GwI7^n^=hD>uX z$TDy;GBB_+Ff*h86@$#X1vC$22-qMr^E80s0zeEh?^_3JD+ADMW+4ACkOl#mIRGoW B6BYmf literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-047/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-047/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-047/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-048/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-048/cmd.json new file mode 100644 index 000000000..77c3c12ed --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-048/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "u32-nhoff", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 1 0xff at nexthdr+)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 1 0xff at nexthdr+)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:u32-nhoff:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u8_1_0xff_at_nexthdr+)'_classid_1:1: u32: missing offset after nexthdr+", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-048", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-048/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-048/ip.err new file mode 100644 index 000000000..c03b87553 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-048/ip.err @@ -0,0 +1,8 @@ +u32: missing offset +... >>u32(u8 1 0xff at nexthdr+)<< ... +... u32(u8 1 0xff at nexthdr+)... +Usage: u32(ALIGN VALUE MASK at [ nexthdr+ ] OFFSET) +where: ALIGN := { u8 | u16 | u32 } + +Example: u32(u16 0x1122 0xffff at nexthdr+4) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-048/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-048/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-048/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-048/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..28a71f39cd22817e197d073d37a80e5ae7240d28 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RlfePV24MykW(yDn0|r2b5CbDaFi;,LL& zkY(UxWME)tU}i`GDh8Q%3}_z65U@dL=4k-M1%Mc29?!J?$qYcVnSuPnKpF&K<^TY1 C8xx8E literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-048/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-048/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-048/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-049/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-049/cmd.json new file mode 100644 index 000000000..56b1f1599 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-049/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "u32-badoff", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 1 0xff at zz)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 1 0xff at zz)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:u32-badoff:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u8_1_0xff_at_zz)'_classid_1:1: u32: invalid offset", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-049", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-049/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-049/ip.err new file mode 100644 index 000000000..12c390ed2 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-049/ip.err @@ -0,0 +1,8 @@ +u32: invalid offset +... >>u32(u8 1 0xff at zz)<< ... +... u32(u8 1 0xff at >>zz<<)... +Usage: u32(ALIGN VALUE MASK at [ nexthdr+ ] OFFSET) +where: ALIGN := { u8 | u16 | u32 } + +Example: u32(u16 0x1122 0xffff at nexthdr+4) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-049/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-049/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-049/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-049/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..1e323d638b9003aebc16cb5b1120f65475b761e3 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$zZ5MyKj83Hy4%{&dDxBw7?%u_VXS;GJ{n;FPI45UE-W)1+{ C{}GM= literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-049/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-049/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-049/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-050/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-050/cmd.json new file mode 100644 index 000000000..6e1f92851 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-050/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "u32-trailer", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 1 0xff at 0 x)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 1 0xff at 0 x)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:u32-trailer:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u8_1_0xff_at_0_x)'_classid_1:1: u32: unexpected trailer", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-050", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-050/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-050/ip.err new file mode 100644 index 000000000..6655d671f --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-050/ip.err @@ -0,0 +1,8 @@ +u32: unexpected trailer +... >>u32(u8 1 0xff at 0 x)<< ... +... u32(u8 1 0xff at 0 >>x<<)... +Usage: u32(ALIGN VALUE MASK at [ nexthdr+ ] OFFSET) +where: ALIGN := { u8 | u16 | u32 } + +Example: u32(u16 0x1122 0xffff at nexthdr+4) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-050/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-050/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-050/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-050/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..f3604266ab55629ab490a386bc39dcc01da63d70 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+R0xFF)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-051", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-051/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-051/ip.err new file mode 100644 index 000000000..ec91a6405 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-051/ip.err @@ -0,0 +1,8 @@ +Illegal key (>0xFF) +... >>u32(u8 0x100 0xff at 0)<< ... +... u32(u8 0x100 0xff at >>0<<)... +Usage: u32(ALIGN VALUE MASK at [ nexthdr+ ] OFFSET) +where: ALIGN := { u8 | u16 | u32 } + +Example: u32(u16 0x1122 0xffff at nexthdr+4) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-051/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-051/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-051/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-051/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..542def9a75f4bca55292210b5c9109139d7de3a4 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$!s2Q&|42-qMr^E80s0zeEhFF5hxTLz%n%s~EOAPoXAa{zkM B6f^(; literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-051/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-051/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-051/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-052/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-052/cmd.json new file mode 100644 index 000000000..67d1ae361 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-052/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "u32-mask8", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 1 0x100 at 0)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u8 1 0x100 at 0)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:u32-mask8:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u8_1_0x100_at_0)'_classid_1:1: Illegal mask (>0xFF)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-052", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-052/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-052/ip.err new file mode 100644 index 000000000..c66090212 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-052/ip.err @@ -0,0 +1,8 @@ +Illegal mask (>0xFF) +... >>u32(u8 1 0x100 at 0)<< ... +... u32(u8 1 0x100 at >>0<<)... +Usage: u32(ALIGN VALUE MASK at [ nexthdr+ ] OFFSET) +where: ALIGN := { u8 | u16 | u32 } + +Example: u32(u16 0x1122 0xffff at nexthdr+4) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-052/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-052/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-052/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-052/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..16029b089aed890b7b2d66f543dcf402496857a4 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$!U&thZ%83Hy4%{&dDxBw7?%16<#%?#up2GSq^GY0?~ C)e;>5 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-052/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-052/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-052/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-053/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-053/cmd.json new file mode 100644 index 000000000..dd0d590cd --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-053/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "u32-key16", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u16 0x10000 0xffff at 0)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u16 0x10000 0xffff at 0)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:u32-key16:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u16_0x10000_0xffff_at_0)'_classid_1:1: Illegal key (>0xFFFF)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-053", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-053/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-053/ip.err new file mode 100644 index 000000000..c51e0056e --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-053/ip.err @@ -0,0 +1,8 @@ +Illegal key (>0xFFFF) +... >>u32(u16 0x10000 0xffff at 0)<< ... +... u32(u16 0x10000 0xffff at >>0<<)... +Usage: u32(ALIGN VALUE MASK at [ nexthdr+ ] OFFSET) +where: ALIGN := { u8 | u16 | u32 } + +Example: u32(u16 0x1122 0xffff at nexthdr+4) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-053/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-053/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-053/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-053/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..c83cb9864b2ef0b5808d11a96e1e0e8205d0f8f0 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+R literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-053/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-053/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-053/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-054/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-054/cmd.json new file mode 100644 index 000000000..fc78cf5db --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-054/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "u32-mask16", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u16 1 0x10000 at 0)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u16 1 0x10000 at 0)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:u32-mask16:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u16_1_0x10000_at_0)'_classid_1:1: Illegal mask (>0xFFFF)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-054", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-054/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-054/ip.err new file mode 100644 index 000000000..d0e9bf2b9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-054/ip.err @@ -0,0 +1,8 @@ +Illegal mask (>0xFFFF) +... >>u32(u16 1 0x10000 at 0)<< ... +... u32(u16 1 0x10000 at >>0<<)... +Usage: u32(ALIGN VALUE MASK at [ nexthdr+ ] OFFSET) +where: ALIGN := { u8 | u16 | u32 } + +Example: u32(u16 0x1122 0xffff at nexthdr+4) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-054/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-054/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-054/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-054/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dc3318c5731c11830e5c01d4b32418a658113a56 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$#X3N#O72-qMr^E80s0zeEhPknymY6hU$%s~EOAPoXAa{&2$ B5^?|l literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-054/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-054/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-054/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-055/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-055/cmd.json new file mode 100644 index 000000000..2e9cb616f --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-055/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "u32-align32", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u32 1 0xffffffff at 2)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'u32(u32 1 0xffffffff at 2)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:u32-align32:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'u32(u32_1_0xffffffff_at_2)'_classid_1:1: u32: invalid offset alignment", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-055", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-055/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-055/ip.err new file mode 100644 index 000000000..92bef4ee0 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-055/ip.err @@ -0,0 +1,8 @@ +u32: invalid offset alignment, must be aligned to 4. +... >>u32(u32 1 0xffffffff at 2)<< ... +... u32(u32 1 0xffffffff at >>2<<)... +Usage: u32(ALIGN VALUE MASK at [ nexthdr+ ] OFFSET) +where: ALIGN := { u8 | u16 | u32 } + +Example: u32(u16 0x1122 0xffff at nexthdr+4) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-055/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-055/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-055/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-055/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..ea989d189bb6d48cff6fd0f00578fd6b14cc24d3 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$#X0yGa~2-qMr^E80s0zeEhFQ9wFZU&&)%s~EOAPoXAa{y(G B6Vm_y literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-055/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-055/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-055/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-056/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-056/cmd.json new file mode 100644 index 000000000..6332e7382 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-056/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "meta-none", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta()' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta()' classid 1:1", + "desc": "negative: opt=plain cmd=ng:meta-none:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta()'_classid_1:1: args need one ATTRIBUTE: Parse error", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-056", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-056/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-056/ip.err new file mode 100644 index 000000000..fa3ace937 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-056/ip.err @@ -0,0 +1,10 @@ +Parse error: syntax error +... >>meta()<< ... +Usage: EXPR +where: EXPR := TERM [ { and | or } EXPR ] + TERM := [ not ] { MATCH | '(' EXPR ')' } + MATCH := module '(' ARGS ')' + ARGS := ARG1 ARG2 ... + +Example: a(x y) and not (b(x) or c(x y z)) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-056/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-056/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-056/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-056/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..eb3d4cab7d08600f3c07b65ef06bcd7e70b9b009 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$!k1eymj1Z)tRc^W`*0U!pM_af)QIR>EF%s~EOAPoXAa{xsK B6bAqR literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-056/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-056/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-056/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-057/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-057/cmd.json new file mode 100644 index 000000000..07ce013de --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-057/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "meta-list", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(list)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(list)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:meta-list:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(list)'_classid_1:1: meta(list) prints the table and fails", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-057", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-057/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-057/ip.err new file mode 100644 index 000000000..0966ddcae --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-057/ip.err @@ -0,0 +1,53 @@ +-------------------------------------------------------- + ID Type Description +-------------------------------------------------------- +Generic: + random INT Random value (32 bit) + loadavg_1 INT Load average in last minute + loadavg_5 INT Load average in last 5 minutes + loadavg_15 INT Load average in last 15 minutes + +Interfaces: + dev INT,VAR Device the packet is on + +Packet attributes: + priority INT Priority of packet + protocol INT Link layer protocol + pkt_type INT Packet type (uni|multi|broad|...)cast + pkt_len INT Length of packet + data_len INT Length of data in packet + mac_len INT Length of link layer header + +Netfilter: + nf_mark INT Netfilter mark + fwmark INT Alias for nf_mark + +Traffic Control: + tc_index INT TC Index + +Routing: + rt_classid INT Routing ClassID (cls_route) + rt_iif INT Incoming interface index + vlan INT Vlan tag + +Sockets: + sk_family INT Address family + sk_state INT State + sk_reuse INT Reuse Flag + sk_bind_if INT,VAR Bound interface + sk_refcnt INT Reference counter + sk_shutdown INT Shutdown mask + sk_proto INT Protocol + sk_type INT Type + sk_rcvbuf INT Receive buffer size + sk_rmem INT RMEM + sk_wmem INT WMEM + sk_omem INT OMEM + sk_wmem_queue INT WMEM queue + sk_snd_queue INT Send queue length + sk_rcv_queue INT Receive queue length + sk_err_queue INT Error queue length + sk_fwd_alloc INT Forward allocations + sk_sndbuf INT Send buffer size +-------------------------------------------------------- +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-057/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-057/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-057/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-057/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..a8cbcc64c3a12475da4f4c47eb89eb21e7088c33 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+R0EFgD?XNvjvEP0RtdIh=GwI1gH)shD>uX z$TDy;GBB_+Ff*h86@$!M0yGa~2-qMr^E80s0zeEh?;Oj7FAPAlnSuPnKpF&K<^TXy C3KO~j literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-057/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-057/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-057/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-058/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-058/cmd.json new file mode 100644 index 000000000..4871179fa --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-058/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "meta-op", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:meta-op:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(priority)'_classid_1:1: meta: missing operand", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-058", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-058/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-058/ip.err new file mode 100644 index 000000000..c3f9606ce --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-058/ip.err @@ -0,0 +1,13 @@ +meta: missing operand +... >>meta(priority)<< ... +... meta(>>priority<<)... +Usage: meta(OBJECT { eq | lt | gt } OBJECT) +where: OBJECT := { META_ID | VALUE } + META_ID := id [ shift SHIFT ] [ mask MASK ] + +Example: meta(nf_mark gt 24) + meta(indev shift 1 eq "ppp") + meta(tcindex mask 0xf0 eq 0xf0) + +For a list of meta identifiers, use meta(list). +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-058/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-058/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-058/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-058/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..f1a8c3559be9f344f690765071d169202b713edf GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+R0EFgD?XNvjvEP0RtdIh=GwI1gH)shD>uX z$TDy;GBB_+Ff*h86@$zZ0h$Lg1Z)tRc^W`*0U!pMceQ%gaR#8-%s~EOAPoXAa{%ah B6B7Uc literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-058/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-058/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-058/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-059/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-059/cmd.json new file mode 100644 index 000000000..fac78edb4 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-059/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "meta-ne", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority ne 1)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority ne 1)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:meta-ne:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(priority_ne_1)'_classid_1:1: meta: invalid operand", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-059", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-059/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-059/ip.err new file mode 100644 index 000000000..bb287c1d7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-059/ip.err @@ -0,0 +1,13 @@ +meta: invalid operand +... >>meta(priority ne 1)<< ... +... meta(priority >>ne<< 1)... +Usage: meta(OBJECT { eq | lt | gt } OBJECT) +where: OBJECT := { META_ID | VALUE } + META_ID := id [ shift SHIFT ] [ mask MASK ] + +Example: meta(nf_mark gt 24) + meta(indev shift 1 eq "ppp") + meta(tcindex mask 0xf0 eq 0xf0) + +For a list of meta identifiers, use meta(list). +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-059/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-059/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-059/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-059/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..06b7fe32dc57bc546f5235d601c5a456640c479b GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+R*%s~EOAPoXAa{!#0 B6ej=x literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-059/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-059/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-059/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-060/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-060/cmd.json new file mode 100644 index 000000000..98996cf6d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-060/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "meta-rval", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority eq)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority eq)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:meta-rval:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(priority_eq)'_classid_1:1: meta: missing rvalue", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-060", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-060/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-060/ip.err new file mode 100644 index 000000000..38ada64aa --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-060/ip.err @@ -0,0 +1,13 @@ +meta: missing rvalue +... >>meta(priority eq)<< ... +... meta(>>priority<< eq)... +Usage: meta(OBJECT { eq | lt | gt } OBJECT) +where: OBJECT := { META_ID | VALUE } + META_ID := id [ shift SHIFT ] [ mask MASK ] + +Example: meta(nf_mark gt 24) + meta(indev shift 1 eq "ppp") + meta(tcindex mask 0xf0 eq 0xf0) + +For a list of meta identifiers, use meta(list). +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-060/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-060/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-060/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-060/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..adccfeebc30ad1db30ffbbb6f3d06f58b9865873 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+R0EFgD?XNvjvEP0RtdIh=GwI1gH)shD>uX z$TDy;GBB_+Ff*h86@$!61DXdi1Z)tRc^W`*0U!pMC)!&3hyiFeGmw86NP_^(8~`T| B69oVO literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-060/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-060/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-060/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-061/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-061/cmd.json new file mode 100644 index 000000000..92c050659 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-061/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "meta-trailer", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority eq 1 2)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority eq 1 2)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:meta-trailer:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(priority_eq_1_2)'_classid_1:1: meta: unexpected trailer", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-061", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-061/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-061/ip.err new file mode 100644 index 000000000..aff7b1ffe --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-061/ip.err @@ -0,0 +1,13 @@ +meta: unexpected trailer +... >>meta(priority eq 1 2)<< ... +... meta(priority eq 1 >>2<<)... +Usage: meta(OBJECT { eq | lt | gt } OBJECT) +where: OBJECT := { META_ID | VALUE } + META_ID := id [ shift SHIFT ] [ mask MASK ] + +Example: meta(nf_mark gt 24) + meta(indev shift 1 eq "ppp") + meta(tcindex mask 0xf0 eq 0xf0) + +For a list of meta identifiers, use meta(list). +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-061/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-061/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-061/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-061/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..9e6a133842ffc5e8ff295c89373a77d692a56761 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RVh$>0EFgD?XNvjvEP0RtdIh=GwI1gH)shD>uX z$TDy;GBB_+Ff*h86@$#{1)2vk1Z)tRc^W`*0U!pM_pR{p4F;gu%s~EOAPoXAa{#8z B6%zme literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-061/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-061/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-061/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-062/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-062/cmd.json new file mode 100644 index 000000000..f71e6e762 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-062/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "meta-shift", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority shift)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority shift)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:meta-shift:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(priority_shift)'_classid_1:1: meta: missing argument", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-062", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-062/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-062/ip.err new file mode 100644 index 000000000..a71d68621 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-062/ip.err @@ -0,0 +1,13 @@ +meta: missing argument +... >>meta(priority shift)<< ... +... meta(priority >>shift<<)... +Usage: meta(OBJECT { eq | lt | gt } OBJECT) +where: OBJECT := { META_ID | VALUE } + META_ID := id [ shift SHIFT ] [ mask MASK ] + +Example: meta(nf_mark gt 24) + meta(indev shift 1 eq "ppp") + meta(tcindex mask 0xf0 eq 0xf0) + +For a list of meta identifiers, use meta(list). +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-062/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-062/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-062/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-062/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..202b7bcc7a70ccd29cfbbc02dcf56089d6140310 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+R0EFgD?XNvjvEP0RtdIh=GwI1gH)shD>uX z$TDy;GBB_+Ff*h86@$zR0-6Uh1Z)tRc^W`*0U!pM_q0v+8w1d6W+4ACkOl#mIRI}U B6cPXc literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-062/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-062/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-062/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-063/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-063/cmd.json new file mode 100644 index 000000000..0e4d6a58c --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-063/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "meta-badshift", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority shift zz eq 1)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority shift zz eq 1)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:meta-badshift:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(priority_shift_zz_eq_1)'_classid_1:1: meta: invalid shift, must be numeric", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-063", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-063/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-063/ip.err new file mode 100644 index 000000000..fdc1689ef --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-063/ip.err @@ -0,0 +1,13 @@ +meta: invalid shift, must be numeric +... >>meta(priority shift zz eq 1)<< ... +... meta(priority shift >>zz<< eq 1)... +Usage: meta(OBJECT { eq | lt | gt } OBJECT) +where: OBJECT := { META_ID | VALUE } + META_ID := id [ shift SHIFT ] [ mask MASK ] + +Example: meta(nf_mark gt 24) + meta(indev shift 1 eq "ppp") + meta(tcindex mask 0xf0 eq 0xf0) + +For a list of meta identifiers, use meta(list). +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-063/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-063/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-063/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-063/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..0cb49e7cee1349bb046ca8421b2ae5158decbcb3 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$#v2AT&l1Z)tRc^W`*0U!pM_fulWItHNG%s~EOAPoXAa{vrJ B6CwZr literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-063/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-063/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-063/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-064/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-064/cmd.json new file mode 100644 index 000000000..bb08cf411 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-064/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "meta-badmask", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority mask zz eq 1)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(priority mask zz eq 1)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:meta-badmask:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(priority_mask_zz_eq_1)'_classid_1:1: meta: invalid mask, must be numeric", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-064", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-064/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-064/ip.err new file mode 100644 index 000000000..8b30c983f --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-064/ip.err @@ -0,0 +1,13 @@ +meta: invalid mask, must be numeric +... >>meta(priority mask zz eq 1)<< ... +... meta(priority mask >>zz<< eq 1)... +Usage: meta(OBJECT { eq | lt | gt } OBJECT) +where: OBJECT := { META_ID | VALUE } + META_ID := id [ shift SHIFT ] [ mask MASK ] + +Example: meta(nf_mark gt 24) + meta(indev shift 1 eq "ppp") + meta(tcindex mask 0xf0 eq 0xf0) + +For a list of meta identifiers, use meta(list). +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-064/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-064/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-064/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-064/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..08d698f373a69b810f9f989a131803062acbf8d7 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RE)lib3Yh2bu>m1Z)tRc^W`*0U!pMw>meta(foo eq 1)<< ... +... meta(>>foo<< eq 1)... +Usage: meta(OBJECT { eq | lt | gt } OBJECT) +where: OBJECT := { META_ID | VALUE } + META_ID := id [ shift SHIFT ] [ mask MASK ] + +Example: meta(nf_mark gt 24) + meta(indev shift 1 eq "ppp") + meta(tcindex mask 0xf0 eq 0xf0) + +For a list of meta identifiers, use meta(list). +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-065/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-065/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-065/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-065/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..c9467cf42bd4e3ffbc7a05c885054694aa3a22ca GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+R5HKiGW=a~G zUVuqn-n`kjli9tTPg?^AKR9@E=-i{pYiH0RSHZEHYB?GtHCX6!FV~7aKpmk4_^>hJ zvi!omflM-^l3z@{%95XdJ#9d5oAa4nDEjmc1`BGca;_Pr1g=-iB_Fvw(=>%`p~7j< zpN@yr+E6BgfSPs^@;GDPKZ(da1tS8U2`-b(vsrhn>}^M8T2oV%Gc76UrZPQNz>PWn Gk@Eux?>E>0 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-066/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-066/ip.rc new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-066/ip.rc @@ -0,0 +1 @@ +2 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-067/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-067/cmd.json new file mode 100644 index 000000000..2f814343e --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-067/cmd.json @@ -0,0 +1,80 @@ +{ + "axes": { + "fix": "w130", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(dev eq \"d0\")' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(dev eq \"d0\")' classid 1:1", + "desc": "negative: opt=plain cmd=ng:w130:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(dev_eq_\"d0\")'_classid_1:1: the usage's own form sends INT|DEV against VAR|VALUE (W130)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "errno": "EINVAL", + "rc": 2, + "refused_by": "kernel" + }, + "id": "tcematch/ng-067", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 2, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-067/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-067/ip.err new file mode 100644 index 000000000..b699adac0 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-067/ip.err @@ -0,0 +1,2 @@ +RTNETLINK answers: Invalid argument +We have an error talking to the kernel diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-067/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-067/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-067/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-067/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..c588c8fa7c060c823d2da76358376cce493638a3 GIT binary patch literal 492 zcmca|c+)~A1{MYcU}5+RDgg@VFtD;Ay9;Cv$dph2|Nm!TW@O+3@{$sZGn0X0E({x1kwp|)2AK=hF3s$ H41_xYcVIa; literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-067/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-067/ip.rc new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-067/ip.rc @@ -0,0 +1 @@ +2 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-068/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-068/cmd.json new file mode 100644 index 000000000..c50a266c3 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-068/cmd.json @@ -0,0 +1,80 @@ +{ + "axes": { + "fix": "w125", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(\"x\" eq priority)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(\"x\" eq priority)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:w125:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(\"x\"_eq_priority)'_classid_1:1: is_compatible walks past priority's mask into .rodata and finds a v: VAR priority, Operation not supported (W125; gotc refuses)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "errno": "ENOTSUP", + "rc": 2, + "refused_by": "kernel" + }, + "id": "tcematch/ng-068", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 2, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-068/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-068/ip.err new file mode 100644 index 0000000000000000000000000000000000000000..156f2dda740c5a54dae8abf7ed6a666a526f1b11 GIT binary patch literal 5166 zcmeH~!A`?45JWlWE0#l*6F-n+5kd$k5^BZSq=r-pw&l3=_vr^j^A1s^BIP{s?#}Ma z+F9=&8{36G#8a>zm#pnvc5U(5>YKV+3;0#TPQyvVrr}z{D-DkthTu>d1ot}kpy4kK z-)XqjaHnCY9D?^cI5ZV_gVvy_Ky0roztwQ1;VbsoQCAKIhOWWHip~ua`@dppG;bib z(x+iF%~R^V&JFVp`ZT~%p9V2OQz1Cm0F(;EpfngLR6cKE12O3NqVvfY7svqy3Oxrg zfgB(=R1PqR2}+yC8%_gnXzIL;ytw4*TmmZ>gbX%-HxpY@< z`PA>Vi@M~ZN(B?aT>{q}{6WL&0p811GpSUNA`BFI4m&k#m%zNwVtU_h9=0z}n`d)j zJo!8}_Lh8hcd;-e*O7F^EtEGcs@ic}a=InaMyg8wMr@10d!Aihn~z-$HvHlQ3UP_6<Y{qzy&mI**H5Jq=P15k(wh(T`o+QY!G5NJO= G-3I{wI5-0U literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-068/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-068/ip.rc new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-068/ip.rc @@ -0,0 +1 @@ +2 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-069/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-069/cmd.json new file mode 100644 index 000000000..cbc04d2ec --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-069/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "w139", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(indev eq 1)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(indev eq 1)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:w139:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(indev_eq_1)'_classid_1:1: the usage's indev is no id (W139)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-069", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-069/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-069/ip.err new file mode 100644 index 000000000..b8932a1ff --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-069/ip.err @@ -0,0 +1,14 @@ +meta: unknown meta id + +... >>meta(indev eq 1)<< ... +... meta(>>indev<< eq 1)... +Usage: meta(OBJECT { eq | lt | gt } OBJECT) +where: OBJECT := { META_ID | VALUE } + META_ID := id [ shift SHIFT ] [ mask MASK ] + +Example: meta(nf_mark gt 24) + meta(indev shift 1 eq "ppp") + meta(tcindex mask 0xf0 eq 0xf0) + +For a list of meta identifiers, use meta(list). +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-069/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-069/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-069/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-069/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..8f4b07db524a55dcff5c6ffe3bcf16c4744f3e81 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$$C2Q&|42-qMr^E80s0zeEh&nC!d9Rtv8W+4ACkOl#mIRH82 B6374m literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-069/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-069/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-069/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-070/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-070/cmd.json new file mode 100644 index 000000000..fe1b41766 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-070/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "w139-tc", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(tcindex mask 0xf0 eq 0xf0)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(tcindex mask 0xf0 eq 0xf0)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:w139-tc:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(tcindex_mask_0xf0_eq_0xf0)'_classid_1:1: the usage's tcindex is no id (W139)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-070", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-070/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-070/ip.err new file mode 100644 index 000000000..067fb3088 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-070/ip.err @@ -0,0 +1,14 @@ +meta: unknown meta id + +... >>meta(tcindex mask 0xf0 eq 0xf0)<< ... +... meta(>>tcindex<< mask 0xf0 eq 0xf0)... +Usage: meta(OBJECT { eq | lt | gt } OBJECT) +where: OBJECT := { META_ID | VALUE } + META_ID := id [ shift SHIFT ] [ mask MASK ] + +Example: meta(nf_mark gt 24) + meta(indev shift 1 eq "ppp") + meta(tcindex mask 0xf0 eq 0xf0) + +For a list of meta identifiers, use meta(list). +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-070/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-070/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-070/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-070/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..8d58f6f11ff397d7222c93218b8eeed4a7baecd0 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$#%12hk02-qMr^E80s0zeEhFDp>@00Yo$W+4ACkOl#mIRNz5 B5>EgC literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-070/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-070/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-070/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-071/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-071/cmd.json new file mode 100644 index 000000000..3c0aeb3d2 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-071/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "meta-ids-bad", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(dev eq priority shift 1 mask 2 3)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'meta(dev eq priority shift 1 mask 2 3)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:meta-ids-bad:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'meta(dev_eq_priority_shift_1_mask_2_3)'_classid_1:1: meta: unexpected trailer", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-071", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-071/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-071/ip.err new file mode 100644 index 000000000..dde0356fb --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-071/ip.err @@ -0,0 +1,13 @@ +meta: unexpected trailer +... >>meta(dev eq priority shift 1 mask 2 3)<< ... +... meta(dev eq priority shift 1 mask 2 >>3<<)... +Usage: meta(OBJECT { eq | lt | gt } OBJECT) +where: OBJECT := { META_ID | VALUE } + META_ID := id [ shift SHIFT ] [ mask MASK ] + +Example: meta(nf_mark gt 24) + meta(indev shift 1 eq "ppp") + meta(tcindex mask 0xf0 eq 0xf0) + +For a list of meta identifiers, use meta(list). +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-071/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-071/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-071/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-071/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..1bb602f17c6f538f8997e479bb0f1390c032a735 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$#X2s9652-qMr^E80s0zeEhZ+A@7I|iWH%s~EOAPoXAa{vs4 B6D|M% literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-071/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-071/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-071/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-072/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-072/cmd.json new file mode 100644 index 000000000..9a46eed4f --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-072/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "canid-none", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'canid()' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'canid()' classid 1:1", + "desc": "negative: opt=plain cmd=ng:canid-none:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'canid()'_classid_1:1: args need one ATTRIBUTE: Parse error", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-072", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-072/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-072/ip.err new file mode 100644 index 000000000..a9c813435 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-072/ip.err @@ -0,0 +1,10 @@ +Parse error: syntax error +... >>canid()<< ... +Usage: EXPR +where: EXPR := TERM [ { and | or } EXPR ] + TERM := [ not ] { MATCH | '(' EXPR ')' } + MATCH := module '(' ARGS ')' + ARGS := ARG1 ARG2 ... + +Example: a(x y) and not (b(x) or c(x y z)) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-072/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-072/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-072/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-072/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..801de28c2907cb11e046dec74200257ff3122499 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+R>canid(xff 1)<< ... +... canid(>>xff<< 1)... +Usage: canid(IDLIST) +where: IDLIST := IDSPEC [ IDLIST ] + IDSPEC := { ’sff’ CANID | ’eff’ CANID } + CANID := ID[:MASK] + ID, MASK := hexadecimal number (i.e. 0x123) +Example: canid(sff 0x123 sff 0x124 sff 0x125:0xf) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-073/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-073/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-073/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-073/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..642e06c429ecfc74b4d34e093b66b0abb1b9b6d7 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RE)lib3Z21I+^&0yYTEJPn|@01$)BljX?VzyLIx8OT2jq(J~?4gl`O B5%d56 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-073/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-073/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-073/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-074/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-074/cmd.json new file mode 100644 index 000000000..c4f36f06f --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-074/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "canid-arg", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'canid(sff)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'canid(sff)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:canid-arg:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'canid(sff)'_classid_1:1: canid: missing argument", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-074", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-074/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-074/ip.err new file mode 100644 index 000000000..c1ff86c2a --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-074/ip.err @@ -0,0 +1,9 @@ +canid: missing argument +... >>canid(sff)<< ... +Usage: canid(IDLIST) +where: IDLIST := IDSPEC [ IDLIST ] + IDSPEC := { ’sff’ CANID | ’eff’ CANID } + CANID := ID[:MASK] + ID, MASK := hexadecimal number (i.e. 0x123) +Example: canid(sff 0x123 sff 0x124 sff 0x125:0xf) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-074/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-074/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-074/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-074/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..02ba0ad5d40db429e13ce84c25d2628fe429a2ac GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+R>canid(sff zz)<< ... +... canid(>>zz<<)... +Usage: canid(IDLIST) +where: IDLIST := IDSPEC [ IDLIST ] + IDSPEC := { ’sff’ CANID | ’eff’ CANID } + CANID := ID[:MASK] + ID, MASK := hexadecimal number (i.e. 0x123) +Example: canid(sff 0x123 sff 0x124 sff 0x125:0xf) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-075/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-075/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-075/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-075/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..f973a904834e529fc61b3186ee2f73a856d0ec5b GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+R;Nq^9(?>)<< ... +... canid(>>0x123<<)... +Usage: canid(IDLIST) +where: IDLIST := IDSPEC [ IDLIST ] + IDSPEC := { ’sff’ CANID | ’eff’ CANID } + CANID := ID[:MASK] + ID, MASK := hexadecimal number (i.e. 0x123) +Example: canid(sff 0x123 sff 0x124 sff 0x125:0xf) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-076/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-076/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-076/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-076/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..8995f9d2cfa5ae1b86e56f36876b7df4b98274eb GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+R>nbyte("\400" at 0)<< ... +Usage: EXPR +where: EXPR := TERM [ { and | or } EXPR ] + TERM := [ not ] { MATCH | '(' EXPR ')' } + MATCH := module '(' ARGS ')' + ARGS := ARG1 ARG2 ... + +Example: a(x y) and not (b(x) or c(x y z)) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-077/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-077/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-077/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-077/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..34156137b0c6c70e0a0fd3ee68dc242080ec310d GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+R>nbyte("\9" at 0)<< ... +Usage: EXPR +where: EXPR := TERM [ { and | or } EXPR ] + TERM := [ not ] { MATCH | '(' EXPR ')' } + MATCH := module '(' ARGS ')' + ARGS := ARG1 ARG2 ... + +Example: a(x y) and not (b(x) or c(x y z)) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-078/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-078/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-078/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-078/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..88d0366ca548929e3155861b54616ddfbc79c34c GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RE)lib3Y-0?h*%0yYTEJPn|@01$)B)7<^IkpXBnGmw86NP_^(900%< B5=;O9 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-078/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-078/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-078/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-079/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-079/cmd.json new file mode 100644 index 000000000..e74fe38e7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-079/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "w141-0123", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"\\0123\" at 0)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"\\0123\" at 0)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:w141-0123:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(\"\\0123\"_at_0)'_classid_1:1: \\0123 is the longer \\\\[0-9]+ match (W141)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-079", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-079/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-079/ip.err new file mode 100644 index 000000000..6cc3b7da6 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-079/ip.err @@ -0,0 +1,11 @@ +error: invalid octale escape sequence +Parse error: syntax error +... >>nbyte("\0123" at 0)<< ... +Usage: EXPR +where: EXPR := TERM [ { and | or } EXPR ] + TERM := [ not ] { MATCH | '(' EXPR ')' } + MATCH := module '(' ARGS ')' + ARGS := ARG1 ARG2 ... + +Example: a(x y) and not (b(x) or c(x y z)) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-079/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-079/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-079/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-079/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..fd046bf608cf25ec8dcd738bd5b2a2be77c8ec89 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$zZ2AT&l1Z)tRc^W`*0U!pMx75gC3Iot=W+4ACkOl#mIRFZz B5{Cc) literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-079/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-079/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-079/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-080/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-080/cmd.json new file mode 100644 index 000000000..d94be7e1c --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-080/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "str-open", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"abc at 0)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"abc at 0)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:str-open:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(\"abc_at_0)'_classid_1:1: an unterminated string eats the line: Parse error", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-080", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-080/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-080/ip.err new file mode 100644 index 000000000..cf46a52e0 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-080/ip.err @@ -0,0 +1,10 @@ +Parse error: syntax error +... nbyte("abc at 0) classid >>1:1<< ... +Usage: EXPR +where: EXPR := TERM [ { and | or } EXPR ] + TERM := [ not ] { MATCH | '(' EXPR ')' } + MATCH := module '(' ARGS ')' + ARGS := ARG1 ARG2 ... + +Example: a(x y) and not (b(x) or c(x y z)) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-080/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-080/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-080/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-080/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..39118a35ed708c146dcedd1c857e0bb7fca1c5a1 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$!60h$Lg1Z)tRc^W`*0U!pM$HTRIIRnsaW+4ACkOl#mIRFm> B5^Mkf literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-080/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-080/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-080/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-081/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-081/cmd.json new file mode 100644 index 000000000..315d38d65 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-081/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "w135-nbyte-neg", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(ab at -1)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(ab at -1)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:w135-nbyte-neg:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(ab_at_-1)'_classid_1:1: nbyte: invalid offset", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-081", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-081/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-081/ip.err new file mode 100644 index 000000000..cc87f90d9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-081/ip.err @@ -0,0 +1,10 @@ +nbyte: invalid offset, must be numeric +... >>nbyte(ab at -1)<< ... +... nbyte(ab at >>-1<<)... +Usage: nbyte(NEEDLE at OFFSET [layer LAYER]) +where: NEEDLE := { string | "c-escape-sequence" } + OFFSET := int + LAYER := { link | network | transport | 0..2 } + +Example: nbyte("ababa" at 12 layer 1) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-081/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-081/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-081/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-081/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..807a984f3a72606730ef73672c871a295f97861d GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$#<)MaJ>83Hy4%{&dDxBw7?%=?gd>^}q0Y-S+;FpvfTm^lC< C%M)?{ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-081/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-081/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-081/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-082/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-082/cmd.json new file mode 100644 index 000000000..cacde3eb4 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-082/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "w136-0", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"\"\"\"at 0)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"\"\"\"at 0)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:w136-0:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(\"\"\"\"at_0)'_classid_1:1: two empty strings: nbyte: needle length is 0", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-082", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-082/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-082/ip.err new file mode 100644 index 000000000..13ebe8ff5 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-082/ip.err @@ -0,0 +1,10 @@ +nbyte: needle length is 0 +... >>nbyte(""""at 0)<< ... +... nbyte(>><< at 0)... +Usage: nbyte(NEEDLE at OFFSET [layer LAYER]) +where: NEEDLE := { string | "c-escape-sequence" } + OFFSET := int + LAYER := { link | network | transport | 0..2 } + +Example: nbyte("ababa" at 12 layer 1) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-082/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-082/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-082/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-082/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..50145358a123bbd874a6103a4ef817881c8286e4 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RE)lib3WD1I+^&0yYTEJPn|@01$)B`+A`1Cj-!IW+4ACkOl#mIRMQD B6BYmf literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-082/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-082/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-082/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-083/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-083/cmd.json new file mode 100644 index 000000000..71c2aa6ba --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-083/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "w146", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' and 0xff" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' and 0xff", + "desc": "negative: opt=plain cmd=ng:w146:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'cmp(u8_at_0_eq_1)'_and_0xff: and after a tree is AND: Parse error (W146)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-083", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-083/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-083/ip.err new file mode 100644 index 000000000..030fa3c36 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-083/ip.err @@ -0,0 +1,10 @@ +Parse error: syntax error +... cmp(u8 at 0 eq 1) and >>0xff<< ... +Usage: EXPR +where: EXPR := TERM [ { and | or } EXPR ] + TERM := [ not ] { MATCH | '(' EXPR ')' } + MATCH := module '(' ARGS ')' + ARGS := ARG1 ARG2 ... + +Example: a(x y) and not (b(x) or c(x y z)) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-083/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-083/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-083/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-083/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..bb82537f92e005862ee9cb4b79d52e158b6c8fab GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$#X0yGa~2-qMr^E80s0zeEhFZo;j3I?Fr%s~EOAPoXAa{y3w B6UhJo literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-083/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-083/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-083/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-084/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-084/cmd.json new file mode 100644 index 000000000..8d6058aa1 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-084/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "w146-flow", + "json": "0", + "words": "filter add dev d1 parent 1: pref 31 protocol ip handle 2 flow map key mark divisor 16 match 'cmp(u8 at 0 eq 1)' and 0xff" + }, + "cmd": "tc filter add dev d1 parent 1: pref 31 protocol ip handle 2 flow map key mark divisor 16 match 'cmp(u8 at 0 eq 1)' and 0xff", + "desc": "negative: opt=plain cmd=ng:w146-flow:filter_add_dev_d1_parent_1:_pref_31_protocol_ip_handle_2_flow_map_key_mark_divisor_16_match_'cmp(u8_at_0_eq_1)'_and_0xff: flow's and after match is the grammar's AND: Parse error (W146)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-084", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-084/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-084/ip.err new file mode 100644 index 000000000..030fa3c36 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-084/ip.err @@ -0,0 +1,10 @@ +Parse error: syntax error +... cmp(u8 at 0 eq 1) and >>0xff<< ... +Usage: EXPR +where: EXPR := TERM [ { and | or } EXPR ] + TERM := [ not ] { MATCH | '(' EXPR ')' } + MATCH := module '(' ARGS ')' + ARGS := ARG1 ARG2 ... + +Example: a(x y) and not (b(x) or c(x y z)) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-084/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-084/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-084/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-084/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..0f9cac4b121bb88456f43ec53fd8af93fc8ff1e2 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RE(GA?7Io%>x+%HVDl;4WPIH5QEIC<_MV005luqs>47U1YqU>0GgZ; APyhe` literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-084/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-084/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-084/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-085/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-085/cmd.json new file mode 100644 index 000000000..511e26862 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-085/cmd.json @@ -0,0 +1,80 @@ +{ + "axes": { + "fix": "w148", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic", + "desc": "negative: opt=plain cmd=ng:w148:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic: basic with no words sends no TCA_OPTIONS (W148)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "errno": "EINVAL", + "rc": 2, + "refused_by": "kernel" + }, + "id": "tcematch/ng-085", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 2, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-085/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-085/ip.err new file mode 100644 index 000000000..b699adac0 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-085/ip.err @@ -0,0 +1,2 @@ +RTNETLINK answers: Invalid argument +We have an error talking to the kernel diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-085/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-085/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-085/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-085/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..0f4bae1b3422c7a0f5f5e25bf31f8df0f6d2fa68 GIT binary patch literal 356 zcmca|c+)~A1{MYcU}5+RE)lib3YJ1I+^&0yYTEJPn|@01$)BD|meVECbMNW+4ACkOl!{b7m88 zmkt9f8?w7V=73E3^#A{V24+SEE+8){u{bjsC C9TWWk literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-086/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-086/ip.rc new file mode 100644 index 000000000..ace9d0362 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-086/ip.rc @@ -0,0 +1 @@ +255 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-087/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-087/cmd.json new file mode 100644 index 000000000..656373c53 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-087/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "w149-act", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic action" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic action", + "desc": "negative: opt=plain cmd=ng:w149-act:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_action: action with no value: NEXT_ARG (W149)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 255, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-087", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 255, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-087/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-087/ip.err new file mode 100644 index 000000000..f7d546177 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-087/ip.err @@ -0,0 +1 @@ +Command line is not complete. Try option "help" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-087/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-087/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-087/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-087/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..4e756b88dd1c492a0d0b65b4a215f32f99da8002 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$#%3^Wg92-qMr^E80s0zeEhuX3Y&9|O>AW+4ACkOl#mIRGca B66*i} literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-087/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-087/ip.rc new file mode 100644 index 000000000..ace9d0362 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-087/ip.rc @@ -0,0 +1 @@ +255 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-088/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-088/cmd.json new file mode 100644 index 000000000..b4f3b43c5 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-088/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "w149-cg", + "json": "0", + "words": "filter add dev d0 egress pref 1 protocol all handle 1 cgroup match" + }, + "cmd": "tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup match", + "desc": "negative: opt=plain cmd=ng:w149-cg:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_cgroup_match: cgroup's match with no value (W149)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 255, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-088", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 255, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-088/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-088/ip.err new file mode 100644 index 000000000..f7d546177 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-088/ip.err @@ -0,0 +1 @@ +Command line is not complete. Try option "help" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-088/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-088/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-088/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-088/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..39c73377fc53544cec2d7748e696a28419992ede GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RE)lib3X;0L=p#0yYTEJPn|@01$)B+cGQmCj-!IW+4ACkOl#mIRL!+ B5{Cc) literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-088/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-088/ip.rc new file mode 100644 index 000000000..ace9d0362 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-088/ip.rc @@ -0,0 +1 @@ +255 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-089/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-089/cmd.json new file mode 100644 index 000000000..b8cd6eafd --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-089/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "w149-flow", + "json": "0", + "words": "filter add dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys dst divisor 8 match" + }, + "cmd": "tc filter add dev d1 parent 1: pref 30 protocol ip handle 1 flow hash keys dst divisor 8 match", + "desc": "negative: opt=plain cmd=ng:w149-flow:filter_add_dev_d1_parent_1:_pref_30_protocol_ip_handle_1_flow_hash_keys_dst_divisor_8_match: flow's match with no value (W149)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 255, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-089", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 255, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-089/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-089/ip.err new file mode 100644 index 000000000..f7d546177 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-089/ip.err @@ -0,0 +1 @@ +Command line is not complete. Try option "help" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-089/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-089/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-089/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-089/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..624d3a6e3cd39f6cf7097b1c74f7afba67118fc6 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*hWLd>fKng=ojY!I4x8bEOYAO@MYYkK@#2B6s>R~-h@AOJH50C+?c A2LJ#7 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-089/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-089/ip.rc new file mode 100644 index 000000000..ace9d0362 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-089/ip.rc @@ -0,0 +1 @@ +255 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-090/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-090/cmd.json new file mode 100644 index 000000000..7060faa13 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-090/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "w150", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic help" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic help", + "desc": "negative: opt=plain cmd=ng:w150:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_help: basic explain, copied from u32 (W150)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-090", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-090/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-090/ip.err new file mode 100644 index 000000000..d1c9ee7bc --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-090/ip.err @@ -0,0 +1,8 @@ +Usage: ... basic [ match EMATCH_TREE ] + [ action ACTION_SPEC ] [ classid CLASSID ] + +Where: SELECTOR := SAMPLE SAMPLE ... + FILTERID := X:Y:Z + ACTION_SPEC := ... look at individual actions + +NOTE: CLASSID is parsed as hexadecimal input. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-090/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-090/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-090/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-090/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..8afef418c156ddbb24ee836085f593f76c7b19e4 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$z>4KxpA2-qMr^E80s0zeEhuhQLhJ_FEfW+4ACkOl#mIRO3n B5@7%U literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-090/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-090/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-090/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-091/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-091/cmd.json new file mode 100644 index 000000000..1ab1691eb --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-091/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "w150-h", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic h" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic h", + "desc": "negative: opt=plain cmd=ng:w150-h:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_h: help is exact: What is \"h\"? (W150)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-091", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-091/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-091/ip.err new file mode 100644 index 000000000..366448721 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-091/ip.err @@ -0,0 +1,9 @@ +What is "h"? +Usage: ... basic [ match EMATCH_TREE ] + [ action ACTION_SPEC ] [ classid CLASSID ] + +Where: SELECTOR := SAMPLE SAMPLE ... + FILTERID := X:Y:Z + ACTION_SPEC := ... look at individual actions + +NOTE: CLASSID is parsed as hexadecimal input. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-091/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-091/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-091/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-091/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..36484a222966402477603139a3f5b98129e14501 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$#X3N#O72-qMr^E80s0zeEh@A`l7Ck#NdnSuPnKpF&K<^TX1 C#}kJD literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-091/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-091/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-091/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-092/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-092/cmd.json new file mode 100644 index 000000000..0016e824a --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-092/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "w150-cg", + "json": "0", + "words": "filter add dev d0 egress pref 1 protocol all handle 1 cgroup help" + }, + "cmd": "tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup help", + "desc": "negative: opt=plain cmd=ng:w150-cg:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_cgroup_help: cgroup explain (W150)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-092", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-092/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-092/ip.err new file mode 100644 index 000000000..cd3bdcd99 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-092/ip.err @@ -0,0 +1,2 @@ +Usage: ... cgroup [ match EMATCH_TREE ] + [ action ACTION_SPEC ] diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-092/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-092/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-092/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-092/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..71052b1ef64fef966084d500c0c08b41686813ec GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$!s4>S*C2-qMr^E80s0zeEhFHNjz3j@$>W+4ACkOl#mIRHEa B69E7K literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-092/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-092/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-092/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-093/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-093/cmd.json new file mode 100644 index 000000000..ccae0218f --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-093/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "w150-cls", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic classid zz" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic classid zz", + "desc": "negative: opt=plain cmd=ng:w150-cls:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_classid_zz: Illegal \"classid\"", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-093", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-093/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-093/ip.err new file mode 100644 index 000000000..d0f9a5721 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-093/ip.err @@ -0,0 +1 @@ +Illegal "classid" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-093/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-093/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-093/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-093/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..c01ddf8bc8a09bea22e777d852cba78083ab6571 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$z(1DXdi1Z)tRc^W`*0U!pMx1)XPV+Nqv%s~EOAPoXAa{w$* B6QuwE literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-093/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-093/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-093/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-094/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-094/cmd.json new file mode 100644 index 000000000..a8b8b9bcb --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-094/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "w150-cg-cls", + "json": "0", + "words": "filter add dev d0 egress pref 1 protocol all handle 1 cgroup classid 1:1" + }, + "cmd": "tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup classid 1:1", + "desc": "negative: opt=plain cmd=ng:w150-cg-cls:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_cgroup_classid_1:1: cgroup has no classid: What is \"classid\"?", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-094", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-094/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-094/ip.err new file mode 100644 index 000000000..23ab505bc --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-094/ip.err @@ -0,0 +1,3 @@ +What is "classid"? +Usage: ... cgroup [ match EMATCH_TREE ] + [ action ACTION_SPEC ] diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-094/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-094/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-094/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-094/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..30095af7beba62075849b1414fd70aba2f6a1412 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RJlL70Js*#bntfB}#p#K6c922=+VL#8E)lib3X;1I+^&0yYTEJPn|@01$)B6FZalfdObXGmw86NP_^(900@} B5>NmD literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-094/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-094/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-094/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-095/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-095/cmd.json new file mode 100644 index 000000000..457fc8da2 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-095/cmd.json @@ -0,0 +1,80 @@ +{ + "axes": { + "fix": "w151", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'canid(' sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 ')' or 'canid(' sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 ')' or 'canid(' sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 ')' or 'canid(' sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 ')' or 'canid(' sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 ')' or 'canid(' sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 ')' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'canid(' sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 ')' or 'canid(' sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 ')' or 'canid(' sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 ')' or 'canid(' sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 ')' or 'canid(' sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 ')' or 'canid(' sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 sff 0x123 ')' classid 1:1", + "desc": "negative: opt=plain cmd=ng:w151:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'canid('_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_')'_or_'canid('_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_')'_or_'canid('_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_')'_or_'canid('_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_')'_or_'canid('_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_')'_or_'canid('_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_sff_0x123_')'_classid_1:1: a tree past MAX_MSG: addraw errors, truncated matches sent (W151)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "errno": "EINVAL", + "rc": 2, + "refused_by": "kernel" + }, + "id": "tcematch/ng-095", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 2, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-095/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-095/ip.err new file mode 100644 index 000000000..2271cfa15 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-095/ip.err @@ -0,0 +1,3 @@ +addraw_l ERROR: message exceeded bound of 16384 +RTNETLINK answers: Invalid argument +We have an error talking to the kernel diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-095/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-095/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-095/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-095/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..b536e7e8f8f7e8cf8fceac8fa551aa137d51d85e GIT binary patch literal 32556 zcmeI(txm&G7{>9pA6o}Gf)FeU#KZ&=1>6L9KFl(SMPNWx01h0tz%9%o5nRC33<(ZF z%JVi^Xd7%v+WecGwLNLxEZsT3=4^Z3<}c5&rS`j}_N|lSk1)Hv33jAoZueu-Ewyi~GnI(3ii@n~x>Uoi}P@~>h{Tpgt@9J)`G}TUYKG)v2YMrmg zV7rG_w&wfVQvbvT!|MC;I$q_oC<;p=Ti4my>E-lXeT#$G-ql9x8|wU3$9eFpGmG`Q zqr)PzYxdj+#sTvH2XFufZ~zBz00(fOZ3pt;s}R;A%r)j(+jEWjJkxOoXK(-qZ~zBz zpzc5({FfBgBG`Zp*ig5D`@#LdMO?%I9KZn_Xxo82_hny;8JxiZ z9KZn_z=660c^I%3Atyslh@2ETF&w}F9KZn_zyTcicLze5V$ZZ5u`<&hDcA1V`^l5C z_sYh5Yi8!h>hqL|XXa-QW=rMd$c&vH3AAI-4cV9Sw12}*KIDi8<&>aWJ(Rb&w z!d7g>R^}@X-~bNb01n_lpBx}Zk7<~OX?-${@yvK;Jo8+`0UW@A?l?e>zB`{4wqh%` tGGB232XFufZ~zDTyv4WXT~$*ndce~-~bME$AQ0c^gp42Lg)Yh literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-095/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-095/ip.rc new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-095/ip.rc @@ -0,0 +1 @@ +2 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-096/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-096/cmd.json new file mode 100644 index 000000000..055bdd6b3 --- /dev/null +++ b/pkg/xtcpnl/testdata/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xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx_classid_1:1: match argument too long. for the look-ahead word: EOF, then What is \"cmp(...)\"? (W127)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-096", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-096/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-096/ip.err new file mode 100644 index 000000000..6589beecf --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-096/ip.err @@ -0,0 +1,10 @@ +match argument too long. +What is "cmp(u8 at 0 eq 1)"? +Usage: ... basic [ match EMATCH_TREE ] + [ action ACTION_SPEC ] [ classid CLASSID ] + +Where: SELECTOR := SAMPLE SAMPLE ... + FILTERID := X:Y:Z + ACTION_SPEC := ... look at individual actions + +NOTE: CLASSID is parsed as hexadecimal input. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-096/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-096/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-096/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-096/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..91144a7feb9592905bd4e5a5f2ec5588a2ccc1aa GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$z>0yGa~2-qMr^E80s0zeEh&)>mjDg)4LW+4ACkOl#mIRNs) B5)=Rc literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-096/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-096/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-096/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-097/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-097/cmd.json new file mode 100644 index 000000000..dc157331b --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-097/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "w127-8190", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx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xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx_classid_1:1: an 8190-byte look-ahead word is read: What is \"xxx...\"? (W127's contrast)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-097", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-097/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-097/ip.err new file mode 100644 index 000000000..5fc620fd9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-097/ip.err @@ -0,0 +1,9 @@ +What is "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx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xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"? +Usage: ... basic [ match EMATCH_TREE ] + [ action ACTION_SPEC ] [ classid CLASSID ] + +Where: SELECTOR := SAMPLE SAMPLE ... + FILTERID := X:Y:Z + ACTION_SPEC := ... look at individual actions + +NOTE: CLASSID is parsed as hexadecimal input. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-097/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-097/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-097/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-097/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..f24ef6cad6e66c9fac845de09ce49fcdbe994768 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+R>cmp("u8" at "0" eq "1")<< ... +... cmp(>>18<< at 1 eq 1)... +Usage: cmp(ALIGN at OFFSET [ ATTRS ] { eq | lt | gt } VALUE) +where: ALIGN := { u8 | u16 | u32 } + ATTRS := [ layer LAYER ] [ mask MASK ] [ trans ] + LAYER := { link | network | transport | 0..2 } + +Example: cmp(u16 at 3 layer 2 mask 0xff00 gt 20) +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-098/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-098/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-098/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-098/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..2d5d3f85d8fd230ca63d01158f18d1e14ad2eaa8 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RE)lib3YJ1I+^&0yYTEJPn|@01$)Bn=1Qd9Rtv8W+4ACkOl#mIRNIK B60!gQ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-098/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-098/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-098/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-099/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-099/cmd.json new file mode 100644 index 000000000..6dfa1ed9f --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-099/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "w124-kind", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"cmpzz\" at 0) or \"cmp\"(u8 at 0 eq 1)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"cmpzz\" at 0) or \"cmp\"(u8 at 0 eq 1)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:w124-kind:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(\"cmpzz\"_at_0)_or_\"cmp\"(u8_at_0_eq_1)'_classid_1:1: the quoted kind is read to strbuf's NUL: Unknown ematch \"cmpzz\" (W124)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-099", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-099/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-099/ip.err new file mode 100644 index 000000000..657d7d203 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-099/ip.err @@ -0,0 +1,2 @@ +Unknown ematch "cmpzz" +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-099/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-099/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-099/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-099/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..d1a03bee8ab915a570255cd11fe2d27fef9d381a GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$zR0GbCf1Z)tRc^W`*0U!pM_oghUhXH6dGmw86NP_^(8~|8+ B6R`jQ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-099/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-099/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-099/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-100/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-100/cmd.json new file mode 100644 index 000000000..d7b822b30 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-100/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "w123-esc", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\\x41yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\" at 0)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx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yyyyyyyyyyyyyyyyyy\"_at_0)'_classid_1:1: an escape at 511 then a 40-byte run: memcpy past strbuf, malloc(): invalid size, SIGABRT (W123; gotc refuses)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 134, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-100", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 134, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-100/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-100/ip.err new file mode 100644 index 000000000..3e6c8fdf0 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-100/ip.err @@ -0,0 +1 @@ +malloc(): invalid size (unsorted) diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-100/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-100/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-100/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-100/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..be566663901a01fd66c4653dbd8f67be7a0b309a GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$!M3p5X82-qMr^E80s0zeEh&u$S@2LsS-W+4ACkOl#mIRF>R B5_13m literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-100/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-100/ip.rc new file mode 100644 index 000000000..405e2afe8 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-100/ip.rc @@ -0,0 +1 @@ +134 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-101/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-101/cmd.json new file mode 100644 index 000000000..89b693ce3 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-101/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "w124-realloc", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'nbyte(\"abc\" at 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xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\" at 0)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:w124-realloc:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'nbyte(\"abc\"_at_0)_or_nbyte(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"_at_0)'_classid_1:1: a 600-byte string past strbuf: SIGSEGV (W123, W124; gotc refuses)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 139, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-101", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 139, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-101/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-101/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-101/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-101/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-101/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-101/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..2ca07001e620f48abea1b15ab4c09520436335e9 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+R6mB9hX24MykW(yDn0|r2b5CbDaI8Yr-44LL& zkY(UxWME)tU}i`GDh8Ryx{{RvWC++GH1jlo;sQVnGOx_8>uX z$TDy;GBB_+Ff*h86@$!M1~d<32-qMr^E80s0zeEh&)96wLhFxiGc&iX98l78_xjE zUI7#bVRW-+0EL)<2;@eCDGUt%faXzRpDWN#ztq$eg{1tF427T&-*`XQ@DMjopAgp| ug~YrR1wS9(c(-`xAXmo_SA~*%h2)~t#FA8nM1{Q6a)q?aoRZWckTU_6C`Zo# literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-102/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-102/ip.rc new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-102/ip.rc @@ -0,0 +1 @@ +2 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-103/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-103/cmd.json new file mode 100644 index 000000000..62a333fa4 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-103/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "c-change", + "json": "0", + "words": "filter change dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 2)' action drop" + }, + "cmd": "tc filter change dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 2)' action drop", + "desc": "negative: opt=plain cmd=ng:c-change:filter_change_dev_d0_egress_pref_1_protocol_all_handle_1_cgroup_match_'cmp(u8_at_0_eq_2)'_action_drop: cgroup's get returns NULL, so change finds nothing (K2)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "errno": "ENOENT", + "rc": 2, + "refused_by": "kernel" + }, + "id": "tcematch/ng-103", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact", + "tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 1)' action pass" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + }, + { + "cmd": "tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 1)' action pass", + "rc": 0 + } + ], + "rc": 2, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-103/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-103/ip.err new file mode 100644 index 000000000..b9d46bfc5 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-103/ip.err @@ -0,0 +1,2 @@ +Error: Need both RTM_NEWTFILTER and NLM_F_CREATE to create a new filter. +We have an error talking to the kernel diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-103/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-103/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-103/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-103/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..ec4361ce6375e8b4a90ddcb60ccfa42c71532f17 GIT binary patch literal 612 zcmca|c+)~A1{MYcU}5+R1XaH^E0E&Us z$N>2gU>3w)CZHGuFftkd#dUy~6Nu9jlS@G2K=ln0Ks_*kU_t!+7wFa>KuHirck2tF z5Kui6$j>%Y7#RKm-8Y!r?+Wy%UutTKLQ;N7hC)z?Z@iytc!-;)Pl#)fLSkNuf}f9X myj#3;kgH>et3pY>LUK`RVo9n(qC#G3xk6fIPDyGJ$lCx*GgP+# literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-103/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-103/ip.rc new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-103/ip.rc @@ -0,0 +1 @@ +2 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-104/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-104/cmd.json new file mode 100644 index 000000000..a9c8c3411 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-104/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "c-del", + "json": "0", + "words": "filter del dev d0 egress pref 1 protocol all handle 1 cgroup" + }, + "cmd": "tc filter del dev d0 egress pref 1 protocol all handle 1 cgroup", + "desc": "negative: opt=plain cmd=ng:c-del:filter_del_dev_d0_egress_pref_1_protocol_all_handle_1_cgroup: cgroup's get returns NULL: Specified filter handle not found (K2)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "errno": "ENOENT", + "rc": 2, + "refused_by": "kernel" + }, + "id": "tcematch/ng-104", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact", + "tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 1)' action pass" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + }, + { + "cmd": "tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 1)' action pass", + "rc": 0 + } + ], + "rc": 2, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-104/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-104/ip.err new file mode 100644 index 000000000..31b085aee --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-104/ip.err @@ -0,0 +1,2 @@ +Error: Specified filter handle not found. +We have an error talking to the kernel diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-104/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-104/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-104/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-104/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..d95e754be1f32027467e62adff4fc1db7c875fe9 GIT binary patch literal 404 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$!62bu>m1Z)tRc^W`*0U!pMm$IVeD+ADMW+4ACkOl!{bE<&m zxB$gK7~NeaKp|ZQRup%E%mJD5`Tzg_49tuS+(2G(dQpC90Z=;w6WDE;&)66mfNDS( z-Ate|pehC?klTEwFfjZBnnR8~YCwB~3sRFa(=t<26w)$tN>YmyG7|Gra#9uY@=Fxb L@=NnlfOY`@wPitV literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-104/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-104/ip.rc new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-104/ip.rc @@ -0,0 +1 @@ +2 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-105/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-105/cmd.json new file mode 100644 index 000000000..66b5fee23 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-105/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "fix": "c-add-again", + "json": "0", + "words": "filter add dev d0 egress pref 1 protocol all handle 2 cgroup action drop" + }, + "cmd": "tc filter add dev d0 egress pref 1 protocol all handle 2 cgroup action drop", + "desc": "negative: opt=plain cmd=ng:c-add-again:filter_add_dev_d0_egress_pref_1_protocol_all_handle_2_cgroup_action_drop: a second cgroup handle in one prio (K2)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "errno": "ENOENT", + "rc": 2, + "refused_by": "kernel" + }, + "id": "tcematch/ng-105", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact", + "tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 1)' action pass" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + }, + { + "cmd": "tc filter add dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 1)' action pass", + "rc": 0 + } + ], + "rc": 2, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-105/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-105/ip.err new file mode 100644 index 000000000..6534f223b --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-105/ip.err @@ -0,0 +1,2 @@ +RTNETLINK answers: No such file or directory +We have an error talking to the kernel diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-105/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-105/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-105/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-105/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..1777a327d7eb870a78979d0d9c7c9a6ca51f7a12 GIT binary patch literal 460 zcmca|c+)~A1{MYcU}5+R1u};Th(G`T|DS=Gk%1d%W^#H_erW*%g9%W^0La$?Voo4V zPfP|IE5pFlAOY3|)CdG1{V)LX%O9W{I)DNojP8aCpb$ts$PH_!GBErD+Di|20RTZB BJYoO< literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-105/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-105/ip.rc new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-105/ip.rc @@ -0,0 +1 @@ +2 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-106/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-106/cmd.json new file mode 100644 index 000000000..512bb4d4f --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-106/cmd.json @@ -0,0 +1,80 @@ +{ + "axes": { + "fix": "c-nohandle", + "json": "0", + "words": "filter add dev d0 egress pref 2 protocol all cgroup action pass" + }, + "cmd": "tc filter add dev d0 egress pref 2 protocol all cgroup action pass", + "desc": "negative: opt=plain cmd=ng:c-nohandle:filter_add_dev_d0_egress_pref_2_protocol_all_cgroup_action_pass: cgroup needs a handle", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "errno": "EINVAL", + "rc": 2, + "refused_by": "kernel" + }, + "id": "tcematch/ng-106", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 2, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-106/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-106/ip.err new file mode 100644 index 000000000..b699adac0 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-106/ip.err @@ -0,0 +1,2 @@ +RTNETLINK answers: Invalid argument +We have an error talking to the kernel diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-106/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-106/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-106/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-106/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..01674be7c67f1ba7f2e59b019fc3be129c10ec45 GIT binary patch literal 460 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$#%3p5X82-qMr^E80s0zeEh&+Cr=cLt!@%s~EOAPoY@=3F7* zE*%C|He`2!%mIN<|NsAIU}j|C0-BkWSe%&*6a%^I9?-lHARC0y{pkV}Vgh22dFQ7x OFuVeq0rER3b^rh+7Bb-g literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-107/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-107/ip.rc new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-107/ip.rc @@ -0,0 +1 @@ +2 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-108/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-108/cmd.json new file mode 100644 index 000000000..c2d8d633f --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-108/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "w152", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'ipt(-m mark --mark 1)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'ipt(-m mark --mark 1)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:w152:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'ipt(-m_mark_--mark_1)'_classid_1:1: ipt: free(): invalid size, SIGABRT (W152; refused by name)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 134, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-108", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 134, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-108/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-108/ip.err new file mode 100644 index 000000000..501871c11 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-108/ip.err @@ -0,0 +1 @@ +free(): invalid size diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-108/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-108/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-108/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-108/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..940a038eefc3973faac2f28546fdd5803fdf85d2 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+R>ipset(foo src)<< ... +... ipset(>>foo<< src)... +Usage: ipset(SETNAME FLAGS) +where: SETNAME:= string + FLAGS := { FLAG[,FLAGS] } + FLAG := { src | dst } + +Example: 'ipset(bulk src,dst)' +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-109/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-109/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-109/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-109/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..21d99407e33b98ba832302df34dc670a054f0789 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$$C1T+t12-qMr^E80s0zeEhk8|s-{R}{}nSuPnKpF&K<^TXm CuoIpD literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-109/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-109/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-109/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-110/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-110/cmd.json new file mode 100644 index 000000000..249f1e4f6 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-110/cmd.json @@ -0,0 +1,79 @@ +{ + "axes": { + "fix": "w155-ok", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'ipset(foo src,dst)' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol all handle 1 basic match 'ipset(foo src,dst)' classid 1:1", + "desc": "negative: opt=plain cmd=ng:w155-ok:filter_add_dev_d0_ingress_pref_1_protocol_all_handle_1_basic_match_'ipset(foo_src,dst)'_classid_1:1: an unknown set (refused by name)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-110", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-110/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-110/ip.err new file mode 100644 index 000000000..0257b2751 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-110/ip.err @@ -0,0 +1,10 @@ +ipset: unknown set name 'foo' +... >>ipset(foo src,dst)<< ... +... ipset(>>foo<< src,dst)... +Usage: ipset(SETNAME FLAGS) +where: SETNAME:= string + FLAGS := { FLAG[,FLAGS] } + FLAG := { src | dst } + +Example: 'ipset(bulk src,dst)' +Illegal "ematch" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-110/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-110/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-110/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-110/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..cc062bf6f1da600819dc523a6a4f21c4937395fb GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RE)lib3X;1I+^&0yYTEJPn|@01$)B+m*8MDFe`KW+4ACkOl#mIRFab B6HfpD literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-110/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-110/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-110/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-111/b.txt b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-111/b.txt new file mode 100644 index 000000000..6d8f36b02 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-111/b.txt @@ -0,0 +1,2 @@ +filter add dev d0 ingress pref 1 protocol all handle 1 basic match "cmp(u8 at 0 eq 1)" "x not" +filter add dev d0 ingress pref 2 protocol all handle 2 basic match "cmp(u8 at 0 eq 2)" classid 1:1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-111/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-111/cmd.json new file mode 100644 index 000000000..3ecbbbcc8 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-111/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "batch": "leftover", + "fix": "w129", + "json": "0", + "words": "-force -batch b.txt" + }, + "cmd": "tc -force -batch b.txt", + "desc": "negative: opt=plain cmd=ng:w129:batch:leftover: line 1's look-ahead word leaves \" not\" in flex's buffer: line 2 is sent inverted (W129)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-111", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact", + "printf '%s\\n' 'filter add dev d0 ingress pref 1 protocol all handle 1 basic match \"cmp(u8 at 0 eq 1)\" \"x not\"' 'filter add dev d0 ingress pref 2 protocol all handle 2 basic match \"cmp(u8 at 0 eq 2)\" classid 1:1' > b.txt" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + }, + { + "cmd": "printf '%s\\n' 'filter add dev d0 ingress pref 1 protocol all handle 1 basic match \"cmp(u8 at 0 eq 1)\" \"x not\"' 'filter add dev d0 ingress pref 2 protocol all handle 2 basic match \"cmp(u8 at 0 eq 2)\" classid 1:1' > b.txt", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-111/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-111/ip.err new file mode 100644 index 000000000..d0b78bc1d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-111/ip.err @@ -0,0 +1,10 @@ +What is "x not"? +Usage: ... basic [ match EMATCH_TREE ] + [ action ACTION_SPEC ] [ classid CLASSID ] + +Where: SELECTOR := SAMPLE SAMPLE ... + FILTERID := X:Y:Z + ACTION_SPEC := ... look at individual actions + +NOTE: CLASSID is parsed as hexadecimal input. +Command failed b.txt:1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-111/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-111/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-111/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-111/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..6e63580d6557a54eb616a91557232b74e874bac9 GIT binary patch literal 544 zcmca|c+)~A1{MYcU}5+RIzTq6Itykd zpx8mEI&Pr4yqw(pJOhZ^P}MR5Wf>R_Bbk|kLmen2P}CVh{BQ&42Nj?k2&4N!1SrIe z;s=PH-FNvIN`P`8jIJjID5S%{$`*kXejqo3{PgMn|Njg?-*Exmo0M3bnG6&&0m^6q zF$Yi#6f!bEwgi~P2#!6FJ_ulBgs5Qz$Kgew8%%%_AdKz?kY9lM7(s4;ggpZTy1M`# Cp+3w2 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-111/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-111/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-111/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-112/b.txt b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-112/b.txt new file mode 100644 index 000000000..1d3f8488a --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-112/b.txt @@ -0,0 +1,2 @@ +filter add dev d0 ingress pref 1 protocol all handle 1 basic match '"abc' +filter add dev d0 ingress pref 2 protocol all handle 2 basic match "cmp(u8 at 0 eq 2)" classid 1:1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-112/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-112/cmd.json new file mode 100644 index 000000000..0e407159d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-112/cmd.json @@ -0,0 +1,85 @@ +{ + "axes": { + "batch": "open-string", + "fix": "w129-str", + "json": "0", + "words": "-force -batch b.txt" + }, + "cmd": "tc -force -batch b.txt", + "desc": "negative: opt=plain cmd=ng:w129-str:batch:open-string: line 1 ends inside a string: line 2 starts in (W129)", + "env": { + "iproute2": "ip utility, iproute2-7.2.0, libbpf 1.8.0", + "kconfig": [ + "CONFIG_IPV6_IOAM6_LWTUNNEL=y", + "CONFIG_IPV6_RPL_LWTUNNEL=y", + "CONFIG_IPV6_SEG6_LWTUNNEL=y", + "CONFIG_LWTUNNEL=y", + "CONFIG_LWTUNNEL_BPF=y" + ], + "kernel": "7.3.1" + }, + "expect": { + "rc": 1, + "refused_by": "ack-then-fail" + }, + "id": "tcematch/ng-112", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "em_canid", + "em_cmp", + "em_ipset", + "em_meta", + "em_nbyte", + "em_u32", + "act_gact", + "act_police" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "tc qdisc add dev d1 ingress_block 10 clsact", + "printf '%s\\n' 'filter add dev d0 ingress pref 1 protocol all handle 1 basic match '\\''\"abc'\\''' 'filter add dev d0 ingress pref 2 protocol all handle 2 basic match \"cmp(u8 at 0 eq 2)\" classid 1:1' > b.txt" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + }, + { + "cmd": "printf '%s\\n' 'filter add dev d0 ingress pref 1 protocol all handle 1 basic match '\\''\"abc'\\''' 'filter add dev d0 ingress pref 2 protocol all handle 2 basic match \"cmp(u8 at 0 eq 2)\" classid 1:1' > b.txt", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-112/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-112/ip.err new file mode 100644 index 000000000..5de9234f8 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-112/ip.err @@ -0,0 +1,20 @@ +What is ""abc"? +Usage: ... basic [ match EMATCH_TREE ] + [ action ACTION_SPEC ] [ classid CLASSID ] + +Where: SELECTOR := SAMPLE SAMPLE ... + FILTERID := X:Y:Z + ACTION_SPEC := ... look at individual actions + +NOTE: CLASSID is parsed as hexadecimal input. +Command failed b.txt:1 +What is "1:1"? +Usage: ... basic [ match EMATCH_TREE ] + [ action ACTION_SPEC ] [ classid CLASSID ] + +Where: SELECTOR := SAMPLE SAMPLE ... + FILTERID := X:Y:Z + ACTION_SPEC := ... look at individual actions + +NOTE: CLASSID is parsed as hexadecimal input. +Command failed b.txt:2 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-112/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-112/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-112/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-112/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..d0a04ac8967e9cc72ea83e3dee2ed184ecbf94b7 GIT binary patch literal 344 zcmca|c+)~A1{MYcU}5+RIzTq6Itykd zpx8mEI&Pr4yqw(pJOhZ^P}MR5Wf>R_Bbk|kLmen2P}CVh{O}Oy2Nj?k2&4N!1SrIe I;s*u>08 b.txt" + ], + "proto": "route", + "result": { + "pre": [ + { + "cmd": "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d0 clsact", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 root handle 1: htb", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:1 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc class add dev d1 parent 1: classid 1:2 htb rate 1mbit", + "rc": 0 + }, + { + "cmd": "tc qdisc add dev d1 ingress_block 10 clsact", + "rc": 0 + }, + { + "cmd": "printf '%s\\n' 'filter add dev d0 ingress pref 1 protocol all handle 1 basic match \"cmp(u8 at 0 eq 1)\" \"x not\"' 'filter add dev d0 ingress pref 2 protocol all handle 2 basic match \"cmp(u8 at 0 eq 2)\" classid 1:1' > b.txt", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-113/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-113/ip.err new file mode 100644 index 000000000..d0b78bc1d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-113/ip.err @@ -0,0 +1,10 @@ +What is "x not"? +Usage: ... basic [ match EMATCH_TREE ] + [ action ACTION_SPEC ] [ classid CLASSID ] + +Where: SELECTOR := SAMPLE SAMPLE ... + FILTERID := X:Y:Z + ACTION_SPEC := ... look at individual actions + +NOTE: CLASSID is parsed as hexadecimal input. +Command failed b.txt:1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-113/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-113/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-113/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcematch/ng-113/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..de9efda2ae2bbd78b758a9785f4907539bae54fa GIT binary patch literal 344 zcmca|c+)~A1{MYcU}5+R.c, at v7.2.0. The kernel's side is net/sched/cls_basic.c, +// cls_cgroup.c, cls_flow.c, ematch.c and em_.c. +// +// Each write is the captured command, its setup in Pre, and a readback +// (`tc -d filter show`) records what the kernel kept. The rows pin the +// plan's leads (docs/netlink/upstream/iproute2-tc-ematch-write.md, +// W123-W155): a quoted run past strbuf's 512 bytes (W123), every quoted +// token sharing strbuf (W124), meta's mask walk testing the pointer +// (W125), a 63-byte kind left unterminated (W126), a word of 8191 bytes +// (W127; the hang itself is pinned in gotc's tests, a capture cannot end), +// the root kept from the previous line (W128), the lexer's leftover text +// and start condition carried to the next line (W129), meta's value on +// the right skipping the type adoption (W130), u32's nexthdr+ as two +// words (W131) and with junk (W132), u16 at an odd offset (W133), u32's +// values with no range check (W134), cmp, nbyte and meta narrowing +// (W135), the 12-bit needle length (W136), parse_layer reading one +// character (W137), cmp's nbyte message (W138), meta's usage naming ids +// that don't exist (W139), the messages' trailing newlines and canid's +// 400-rule cap (W140), the escapes (W141), a raw newline in a string +// (W142), bstrtoul's trailing junk (W144), canid's unchecked ids (W145), +// flow's operators after match (W146), basic and cgroup's strtol handle +// (W147), basic with no words (W148), a trailing word with no value +// (W149), explain and help (W150), a tree past MAX_MSG (W151), ipt +// aborting tc (W152) and ipset's lookup (W155). F25 (the undo after a +// tree that ends the line), W95 (repeated attributes) and W97 (flow's +// 4096 bound) are extended here. +// +// gotc refuses by name what waits for a later increment: police, every +// action but gact, and the ematch kinds ipset and ipt. It refuses W123, +// W124's realloc, W125, W126 and W128's container case, where tc reads or +// writes memory it doesn't own or never ends. +// +// Writes are plain only. Determinism: explicit prefs and handles, fixed +// MACs, no packets. + +// tcEmatchModules are the qdisc, classifier, ematch and action modules +// the rows use. +var tcEmatchModules = []string{ + "sch_htb", "sch_ingress", + "cls_basic", "cls_cgroup", "cls_flow", + "em_canid", "em_cmp", "em_ipset", "em_meta", "em_nbyte", "em_u32", + "act_gact", "act_police", +} + +// The command heads: basic on d0's ingress, cgroup on d0's egress and +// flow on d1's htb, each pref 1 (flow 30) handle 1. +const ( + tcEmB = tcFwI + "pref 1 protocol all handle 1 basic " + tcEmC = tcFwE + "pref 1 protocol all handle 1 cgroup " + tcEmF = tcFwP + "pref 30 protocol ip handle 1 flow hash keys dst divisor 8 " +) + +// tcEmMetaAll is one meta match per id in em_meta.c's table, ANDed. +var tcEmMetaAll = func() string { + ids := []string{ + "random", "loadavg_1", "loadavg_5", "loadavg_15", "priority", "protocol", "pkt_type", "pkt_len", + "data_len", "mac_len", "nf_mark", "fwmark", "tc_index", "rt_classid", "rt_iif", "vlan", "sk_family", + "sk_state", "sk_reuse", "sk_refcnt", "sk_shutdown", "sk_proto", "sk_type", "sk_rcvbuf", "sk_rmem", + "sk_wmem", "sk_omem", "sk_wmem_queue", "sk_snd_queue", "sk_rcv_queue", "sk_err_queue", "sk_fwd_alloc", + "sk_sndbuf", "dev", "sk_bind_if", + } + m := make([]string, len(ids)) + for i, id := range ids { + m[i] = "meta(" + id + " eq " + strconv.Itoa(i) + ")" + } + return strings.Join(m, " and ") +}() + +// tcEmCanid is a canid match of n sff rules, as separate words, the +// parentheses quoted for the shell. +func tcEmCanid(n int) string { + return "'canid('" + strings.Repeat(" sff 0x123", n) + " ')'" +} + +// tcEmNbyte is an nbyte match of an n-byte quoted needle at offset 0. +func tcEmNbyte(n int) string { + return `nbyte("` + strings.Repeat("x", n) + `" at 0)` +} + +// tcEmNbyteBare is an nbyte match of an n-byte unquoted needle: a bare +// word is strdup'd, so it never touches strbuf (W123). +func tcEmNbyteBare(n int) string { + return "nbyte(" + strings.Repeat("x", n) + " at 0)" +} + +// tcematchSpace: basic, cgroup and flow's match over the ematch grammar +// and its five modules. +func tcematchSpace() *space { + var cmds []value + rb := map[string][]readback{} + add := func(kind brKind, fix string, r readback, words string, pre []string) { + val := bc(kind, fix, words, pre) + cmds = append(cmds, val) + rb[val.Name] = []readback{r} + } + // b is a basic row on d0's ingress: tcEmB, then "match 'tree'" and + // the tail. + b := func(kind brKind, fix, tree, tail string) { + add(kind, fix, tcFwRbI, strings.TrimSpace(tcEmB+"match '"+tree+"' "+tail), tcFwriteBase) + } + base := tcFwriteBase + + // The grammar: AND, OR, NOT in any case, nesting (the flatten order), + // a tree over several words, the tokens with no space between them, + // and a second match. + b(brPos, "g-and", "cmp(u8 at 0 eq 1) and cmp(u8 at 1 eq 2)", "classid 1:1") + b(brPos, "g-or", "cmp(u8 at 0 eq 1) or cmp(u8 at 1 eq 2)", "classid 1:1") + b(brPos, "g-not", "not cmp(u8 at 0 eq 1)", "classid 1:1") + b(brPos, "g-case", "cmp(u8 at 0 eq 1) AND cmp(u8 at 1 eq 2) oR NoT cmp(u8 at 2 eq 3)", "classid 1:1") + b(brPos, "g-chain", "cmp(u8 at 0 eq 1) and cmp(u8 at 1 eq 2) or cmp(u8 at 2 eq 3) and not cmp(u8 at 3 eq 4)", "classid 1:1") + b(brPos, "g-nest", "cmp(u8 at 0 eq 1) and (cmp(u8 at 1 eq 2) or not (cmp(u8 at 2 eq 3))) and (cmp(u8 at 3 eq 4))", + "classid 1:1") + b(brPos, "g-deep", "((((cmp(u8 at 0 eq 1)))))", "classid 1:1") + b(brPos, "g-first", "(cmp(u8 at 0 eq 1) or cmp(u8 at 1 eq 2)) and cmp(u8 at 2 eq 3)", "classid 1:1") + b(brPos, "g-notnest", "not (cmp(u8 at 0 eq 1) and cmp(u8 at 1 eq 2))", "action pass") + b(brPos, "g-tight", "cmp(u8 at 0 eq 1)and(cmp(u8 at 1 eq 2))or(not(cmp(u8 at 2 eq 3)))", "classid 1:1") + b(brPos, "g-space", " ( cmp ( u8 at 0 eq 1 ) ) ", "classid 1:1") + add(brPos, "g-words", tcFwRbI, tcEmB+"match 'cmp(u8' at 0 eq '1)' and not 'cmp(u8' at 1 eq '2)' classid 1:1", base) + add(brPos, "g-words2", tcFwRbI, tcEmB+"match '(' 'cmp(u8' at 0 eq '1)' or 'cmp(u8' at 1 eq '2)' ')' action pass", base) + add(brCorner, "g-two", tcFwRbI, tcEmB+"match 'cmp(u8 at 0 eq 1)' match 'cmp(u8 at 1 eq 2)' classid 1:1", base) + add(brPos, "g-first-word", tcFwRbI, tcEmB+"classid 1:1 match 'cmp(u8 at 0 eq 1)' action pass", base) + add(brPos, "g-flowid", tcFwRbI, tcEmB+"match 'cmp(u8 at 0 eq 1)' flowid 1:2", base) + add(brPos, "g-act", tcFwRbI, tcEmB+"match 'cmp(u8 at 0 eq 1)' action drop action pass", base) + add(brPos, "g-actcls", tcFwRbI, tcEmB+"match 'cmp(u8 at 0 eq 1)' action drop classid 1:1", base) + add(brCorner, "g-prefix", tcFwRbI, tcEmB+"m 'cmp(u8 at 0 eq 1)' c 1:1", base) + add(brCorner, "g-empty-word", tcFwRbI, tcEmB+`match "" 'cmp(u8 at 0 eq 1)' "" classid 1:1`, base) + add(brCorner, "g-quoted-kind", tcFwRbI, tcEmB+`match '"cmp"(u8 at 0 eq 1)' classid 1:1`, base) + add(brCorner, "g-mid-quote", tcFwRbI, tcEmB+`match 'cmp(u8 at 0 eq 1"2")' classid 1:1`, base) + + // cmp: each keyword. + b(brPos, "cmp-0", "cmp(u8 at 0 layer 1 eq 8)", "classid 1:1") + b(brPos, "cmp-u16", "cmp(u16 at 2 layer network mask 0xff00 trans gt 20)", "classid 1:1") + b(brPos, "cmp-u32", "cmp(u32 at 12 layer transport mask 0xffffffff lt 0x10000)", "action pass") + b(brPos, "cmp-link", "cmp(u8 at 0 layer link eq 2)", "flowid 1:2") + b(brPos, "cmp-l0", "cmp(u16 at 12 layer 0 eq 0x0800)", "classid 1:1") + b(brPos, "cmp-l2", "cmp(u8 at 9 layer 2 trans eq 6)", "classid 1:1") + b(brPos, "cmp-order", "cmp(u8 eq 1 at 3 trans mask 0xf layer 1)", "classid 1:1") + b(brPos, "cmp-again", "cmp(u8 at 1 at 2 eq 3 eq 4)", "classid 1:1") + b(brPos, "cmp-oct", "cmp(u8 at 010 eq 0x10)", "classid 1:1") + + // nbyte: needles bare and quoted, every escape, at and layer. + b(brPos, "nbyte-0", `nbyte("abc" at 0)`, "classid 1:1") + b(brPos, "nbyte-bare", "nbyte(abc at 4 layer transport)", "classid 1:1") + b(brPos, "nbyte-layer", `nbyte("ababa" at 12 layer 1)`, "classid 1:1") + b(brPos, "nbyte-esc", `nbyte("\x41\101\n\r\t\v\b\f\a\\\"\z\x4\7" at 0 layer 2)`, "classid 1:1") + b(brPos, "nbyte-oct", `nbyte("\0\00\000\377" at 0)`, "classid 1:1") + b(brPos, "nbyte-hex", `nbyte("\xff\x0\xAb\x7fz" at 0)`, "classid 1:1") + b(brPos, "nbyte-space", `nbyte("a b c" at 0)`, "classid 1:1") + b(brPos, "nbyte-paren", `nbyte("(and)" at 0)`, "classid 1:1") + add(brPos, "nbyte-words", tcFwRbI, tcEmB+`match 'nbyte("a' 'b"' at '1)' classid 1:1`, base) + + // u32: each alignment, nexthdr+, a negative offset. + b(brPos, "u32-0", "u32(u32 0x0a000001 0xffffffff at 12)", "classid 1:1") + b(brPos, "u32-u16", "u32(u16 0x1122 0xffff at 2)", "classid 1:1") + b(brPos, "u32-u16-0", "u32(u16 0x1122 0xffff at 4)", "classid 1:1") + b(brPos, "u32-u8", "u32(u8 0x11 0xff at 3)", "classid 1:1") + b(brPos, "u32-u8-0", "u32(u8 0x11 0xf0 at 8)", "classid 1:1") + b(brPos, "u32-nh", "u32(u16 0x1122 0xffff at nexthdr+4)", "classid 1:1") + b(brPos, "u32-nh8", "u32(u8 6 0xff at nexthdr+9)", "classid 1:1") + b(brPos, "u32-mask", "u32(u32 0xffffffff 0x0000ff00 at 0)", "classid 1:1") + + // meta: every id, shift and mask, VAR and INT on each side. + b(brPos, "meta-all", tcEmMetaAll, "classid 1:1") + b(brPos, "meta-0", "meta(priority eq 5)", "classid 1:1") + b(brPos, "meta-gt", "meta(nf_mark gt 24)", "classid 1:1") + b(brPos, "meta-mask", "meta(fwmark mask 0xff lt 3)", "classid 1:1") + b(brPos, "meta-shift", "meta(priority shift 1 mask 0xf0 eq 3)", "classid 1:1") + b(brPos, "meta-var", `meta("d0" eq dev)`, "classid 1:1") + b(brPos, "meta-var-bind", `meta("d1" eq sk_bind_if)`, "classid 1:1") + b(brPos, "meta-devint", "meta(dev eq 2)", "classid 1:1") + b(brPos, "meta-ids", "meta(priority eq nf_mark)", "classid 1:1") + b(brPos, "meta-idmask", "meta(priority mask 0xff eq tc_index shift 2 mask 0xf)", "classid 1:1") + b(brPos, "meta-left", "meta(5 lt priority)", "classid 1:1") + b(brPos, "meta-devs", "meta(dev eq sk_bind_if)", "classid 1:1") + b(brPos, "meta-shift8", "meta(priority shift 8 eq 1)", "action pass") + + // canid: sff and eff, with and without masks. + b(brPos, "canid-0", "canid(sff 0x123 sff 0x124 sff 0x125:0xf)", "classid 1:1") + b(brPos, "canid-eff", "canid(eff 0x1234567 eff 0x1:0x1fffffff)", "classid 1:1") + b(brPos, "canid-mix", "canid(sff 0x7ff:0x700 eff 0x12345678 sff 0)", "classid 1:1") + + // Modules mixed in one tree. + b(brPos, "mixed", `cmp(u8 at 0 eq 1) and nbyte("ab" at 2) or u32(u8 1 0xff at 3) and not meta(priority eq 1) or canid(sff 0x1)`, + "classid 1:1") + + // basic: every verb, a block, htb, the handle forms. + bPre := tcFwritePre("tc " + tcEmB + "match 'cmp(u8 at 0 eq 1)' classid 1:1") + for _, verb := range []string{"change", "replace"} { + add(brPos, "b-"+verb, tcFwRbI, "filter "+verb+" dev d0 ingress pref 1 protocol all handle 1 basic"+ + " match 'cmp(u8 at 0 eq 2)' classid 1:2", bPre) + } + for _, verb := range []string{"del", "delete"} { + add(brPos, "b-"+verb, tcFwRbI, "filter "+verb+" dev d0 ingress pref 1 protocol all handle 1 basic", bPre) + } + add(brPos, "b-replace-new", tcFwRbI, "filter replace dev d0 ingress pref 2 protocol all handle 2 basic"+ + " match 'cmp(u8 at 0 eq 2)' classid 1:2", bPre) + add(brPos, "b-nohandle", tcFwRbI, tcFwI+"pref 1 protocol all basic match 'cmp(u8 at 0 eq 1)' classid 1:1", base) + add(brPos, "b-cls", tcFwRbI, tcEmB+"classid 1:1", base) + add(brPos, "b-act", tcFwRbI, tcEmB+"action pass", base) + add(brPos, "b-block", tcFwRbBlock, "filter add block 10 pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' classid 1:1", base) + add(brPos, "b-htb", tcFwRbP, tcFwP+"pref 2 protocol ip handle 2 basic match 'u32(u8 6 0xff at 9)' classid 1:1", base) + add(brPos, "b-egress", tcFwRbE, tcFwE+"pref 3 protocol ip handle 3 basic match 'meta(priority eq 1)' action drop", base) + add(brPos, "b-chain", tcFwRbC7, tcFwI+"chain 7 pref 1 protocol all handle 1 basic match 'cmp(u8 at 0 eq 1)' action pass", base) + add(brPos, "b-hex", tcFwRbI, tcFwI+"pref 1 protocol all handle 0x10 basic classid 1:1", base) + + // cgroup: every verb, each module, an empty nest. + c := func(kind brKind, fix, words string, pre []string) { add(kind, fix, tcFwRbE, tcEmC+words, pre) } + c(brPos, "c-0", "action pass", base) + c(brPos, "c-cmp", "match 'cmp(u8 at 0 eq 1)' action drop", base) + c(brPos, "c-u32", "match 'u32(u16 0x1122 0xffff at 2)' action pass", base) + c(brPos, "c-nbyte", `match 'nbyte("abc" at 0 layer 2)' action pass`, base) + c(brPos, "c-meta", "match 'meta(priority eq 1) or meta(nf_mark gt 2)' action pass", base) + c(brPos, "c-canid", "match 'canid(sff 0x123 eff 0x1234)' action pass", base) + c(brPos, "c-nest", "match 'not (cmp(u8 at 0 eq 1) or u32(u8 1 0xff at 1))' action pass", base) + c(brPos, "c-empty", "", base) + c(brPos, "c-match-only", "match 'cmp(u8 at 0 eq 1)' action pass action drop", base) + cPre := tcFwritePre("tc " + tcEmC + "match 'cmp(u8 at 0 eq 1)' action pass") + add(brPos, "c-replace", tcFwRbE, "filter replace dev d0 egress pref 1 protocol all handle 1 cgroup"+ + " match 'cmp(u8 at 0 eq 2)' action drop", cPre) + add(brPos, "c-delpref", tcFwRbE, "filter del dev d0 egress pref 1", cPre) + add(brCorner, "c-readd", tcFwRbE, tcFwE+"pref 1 protocol all handle 1 cgroup action drop", cPre) + add(brPos, "c-block", tcFwRbBlock, "filter add block 10 pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 1)' action pass", base) + + // flow's match. + fl := func(kind brKind, fix, words string, pre []string) { add(kind, fix, tcFwRbP, tcEmF+words, pre) } + fl(brPos, "f-0", "match 'cmp(u8 at 0 layer 1 eq 8)' action drop", base) + fl(brPos, "f-meta", "match 'meta(priority eq 1)' baseclass 1:1", base) + fl(brPos, "f-u32", "match 'u32(u16 0x1122 0xffff at 2) and not canid(sff 1)' perturb 10", base) + fl(brPos, "f-first", "baseclass 1:1 match 'nbyte(\"ab\" at 0)' action pass", base) + add(brPos, "f-map", tcFwRbP, tcFwP+"pref 31 protocol ip handle 2 flow map key mark divisor 16"+ + " match 'cmp(u8 at 0 eq 1)' baseclass 1:1", base) + add(brPos, "f-ops", tcFwRbP, tcFwP+"pref 31 protocol ip handle 2 flow map key mark and 0xff"+ + " match 'cmp(u8 at 0 eq 1)' divisor 16", base) + fPre := tcFwritePre("tc " + tcEmF + "match 'cmp(u8 at 0 eq 1)' baseclass 1:1") + for _, verb := range []string{"change", "replace"} { + add(brPos, "f-"+verb, tcFwRbP, "filter "+verb+" dev d1 parent 1: pref 30 protocol ip handle 1 flow"+ + " hash keys src divisor 8 match 'cmp(u8 at 0 eq 2)' baseclass 1:2", fPre) + } + add(brCorner, "f-change-nomatch", tcFwRbP, "filter change dev d1 parent 1: pref 30 protocol ip handle 1 flow"+ + " hash keys src divisor 8 baseclass 1:2", fPre) + add(brPos, "f-del", tcFwRbP, "filter del dev d1 parent 1: pref 30 protocol ip handle 1 flow", fPre) + + // The plan's leads that tc sends. + b(brBoundary, "w123-511", tcEmNbyte(511), "classid 1:1") + b(brBoundary, "w123-512", tcEmNbyte(512), "classid 1:1") + b(brBoundary, "w123-513", tcEmNbyte(513), "classid 1:1") + b(brCorner, "w124", `nbyte("abc" at 0) or nbyte("xy" at 0)`, "classid 1:1") + b(brCorner, "w124-meta", `meta("d0abc" eq dev) or nbyte("xy" at 0)`, "classid 1:1") + b(brCorner, "w131", "u32(u8 6 0xff at nexthdr+ 4)", "classid 1:1") + b(brCorner, "w132", "u32(u8 6 0xff at nexthdr+abc)", "classid 1:1") + b(brCorner, "w132-q", `u32(u8 6 0xff at "nexthdr+4")`, "classid 1:1") + b(brCorner, "w133", "u32(u16 0x1122 0xffff at 1)", "classid 1:1") + b(brCorner, "w133-3", "u32(u16 0x1122 0xffff at 3)", "classid 1:1") + b(brCorner, "w133-u8", "u32(u8 0x11 0xff at 6)", "classid 1:1") + b(brBoundary, "w134", "u32(u32 0x100000001 0xffffffff at 0)", "classid 1:1") + b(brBoundary, "w134-at", "u32(u32 1 0xffffffff at 0x100000000)", "classid 1:1") + b(brBoundary, "w135-cmp", "cmp(u8 at 65536 eq 300)", "classid 1:1") + b(brBoundary, "w135-mask", "cmp(u16 at 0 mask 0x100000000 eq 1)", "classid 1:1") + b(brBoundary, "w135-neg", "cmp(u8 at 0 eq -2)", "classid 1:1") + b(brBoundary, "w135-shift", "meta(priority shift 256 eq 1)", "classid 1:1") + b(brBoundary, "w135-mmask", "meta(priority mask 0x100000000 eq 1)", "classid 1:1") + b(brBoundary, "w135-nbyte", "nbyte(ab at 65537)", "classid 1:1") + b(brBoundary, "w136-4095", tcEmNbyteBare(4095), "classid 1:1") + b(brBoundary, "w136-4096", tcEmNbyteBare(4096), "classid 1:1") + b(brBoundary, "w136-4097", tcEmNbyteBare(4097), "classid 1:1") + b(brCorner, "w137", "cmp(u8 at 0 layer nonsense eq 1)", "classid 1:1") + b(brCorner, "w137-tcp", "cmp(u8 at 0 layer tcp eq 1) and nbyte(a at 0 layer lnk)", "classid 1:1") + b(brCorner, "w130-vv", `meta("a" eq "b")`, "classid 1:1") + b(brCorner, "w142", "nbyte(\"a\nb\" at 0)", "classid 1:1") + b(brCorner, "w144", "cmp(u8 at 12abc eq 1zz) and u32(u8 1 0xff at 4x)", "classid 1:1") + b(brCorner, "w145", "canid(sff 0x80000123 sff 0x12g eff -1)", "classid 1:1") + add(brBoundary, "w140-400", tcFwRbI, tcEmB+"match "+tcEmCanid(400)+" classid 1:1", base) + add(brCorner, "w147", tcFwRbI, tcFwI+"pref 1 protocol all handle 08 basic classid 1:1", base) + add(brCorner, "w147-colon", tcFwRbI, tcFwI+"pref 1 protocol all handle 1:2 basic classid 1:1", base) + add(brCorner, "w147-neg", tcFwRbI, tcFwI+"pref 1 protocol all handle -1 basic classid 1:1", base) + add(brCorner, "w147-foo", tcFwRbI, tcFwI+"pref 1 protocol all handle foo basic classid 1:1", base) + two := tcFwritePre("tc "+tcEmB+"classid 1:1", "tc "+tcFwI+"pref 1 protocol all handle 2 basic classid 1:2") + add(brCorner, "w147-cg", tcFwRbE, tcFwE+"pref 1 protocol all handle 0x1zz cgroup action pass", base) + add(brCorner, "w95", tcFwRbI, tcEmB+"classid 1:1 classid 1:2 match 'cmp(u8 at 0 eq 1)' match 'cmp(u8 at 0 eq 2)'"+ + " action drop", base) + add(brCorner, "w97", tcFwRbP, tcFwP+"pref 32 protocol ip handle 3 flow hash keys dst match "+tcEmCanid(300)+" or "+ + tcEmCanid(300)+" divisor 8 baseclass 1:1", base) + + // What gotc refuses by name; tc's answer is recorded. + add(brPos, "out-police", tcFwRbI, tcEmB+"match 'cmp(u8 at 0 eq 1)' police rate 1mbit burst 10k drop", base) + add(brPos, "out-police-act", tcFwRbI, tcEmB+"police rate 1mbit burst 10k drop action pass", base) + add(brPos, "out-cg-police", tcFwRbE, tcEmC+"police rate 1mbit burst 10k drop", base) + + // Batches: two filters; the lexer's leftover NOT (W129); the root + // kept for an empty tree (W128); strbuf read by the next line's + // quoted kind (W124). + batch := func(kind brKind, fix, name string, r readback, opts string, lines ...string) { + cmds = append(cmds, bb(kind, fix, name, opts, false, batchFile(lines...), base)) + rb[cmds[len(cmds)-1].Name] = []readback{r} + } + batch(brPos, "batch", "two", tcFwRbI, "", + tcEmB+`match "cmp(u8 at 0 eq 1)" classid 1:1`, + tcFwI+`pref 2 protocol all handle 2 basic match 'nbyte("ab" at 0) and u32(u8 1 0xff at 0)' classid 1:2`) + batch(brPos, "batch3", "three", tcFwRbE, "", + tcEmC+`match "cmp(u8 at 0 eq 1)" action pass`, + "filter replace dev d0 egress pref 1 protocol all handle 1 cgroup match 'meta(priority eq 2)' action drop", + tcFwE+`pref 2 protocol all handle 2 basic match "canid(sff 1)" action pass`) + batch(brCorner, "w128", "stale-root", tcFwRbP, "", + tcFwP+`pref 2 protocol ip handle 2 basic match "cmp(u8 at 0 eq 1)" classid 1:1`, + tcFwP+`pref 30 protocol ip handle 1 flow keys dst divisor 8 match '"' hash`) + batch(brCorner, "w124-batch", "strbuf-kind", tcFwRbI, "", + tcEmB+`match 'nbyte("cmp" at 0)' classid 1:1`, + tcFwI+`pref 2 protocol all handle 2 basic match '"cmp"(u8 at 0 eq 1)' classid 1:2`) + + // tc looks the device up before parse_fopt, so its own refusals come + // after an acknowledged request. + ack1 := expect{RC: intp(1), RefusedBy: refAckThenFail} + ack255 := expect{RC: intp(255), RefusedBy: refAckThenFail} + k := func(errno string) expect { return expect{RC: intp(2), Errno: errno, RefusedBy: refKernel} } + // tcCrash is tc killed by a signal (128 plus the signal) after its + // device lookup was acknowledged. + tcCrash := func(rc int) expect { return expect{RC: intp(rc), RefusedBy: refAckThenFail} } + bB := func(fix, tree, tail string, exp expect, why string) badValue { + return brBad(fix, strings.TrimSpace(tcEmB+"match '"+tree+"' "+tail), base, exp, why) + } + bad := []badValue{ + // The grammar's refusals: Parse error, then Illegal "ematch". + bB("g-open", "cmp(u8 at 0 eq 1", "classid 1:1", ack1, "an unclosed match: Parse error, Illegal \"ematch\""), + bB("g-noargs", "cmp()", "classid 1:1", ack1, "args need one ATTRIBUTE: Parse error"), + bB("g-lead-and", "and cmp(u8 at 0 eq 1)", "classid 1:1", ack1, "a leading AND: Parse error"), + bB("g-trail-and", "cmp(u8 at 0 eq 1) and", "classid 1:1", ack1, "a trailing AND reads classid as a kind: Parse error"), + bB("g-paren", "(cmp(u8 at 0 eq 1)", "classid 1:1", ack1, "an unclosed parenthesis: Parse error"), + bB("g-empty-paren", "()", "classid 1:1", ack1, "an empty parenthesis: Parse error"), + bB("g-notnot", "not not cmp(u8 at 0 eq 1)", "classid 1:1", ack1, "invert takes one NOT: Parse error"), + bB("g-kw-arg", "nbyte(or at 0)", "classid 1:1", ack1, "or is a token, even inside args: Parse error"), + bB("g-nokind", "(u8 at 0)", "classid 1:1", ack1, "a parenthesis of words is not an expr: Parse error"), + bB("g-two", "cmp(u8 at 0 eq 1)", "'cmp(u8 at 1 eq 2)' classid 1:1", ack1, + "two matches with no relation: the second is look-ahead, then What is \"cmp(u8 at 1 eq 2)\"?"), + bB("g-same-word", "cmp(u8 at 0 eq 1) cmp(u8 at 1 eq 2)", "classid 1:1", ack1, + "the look-ahead came from the tree's own word, so the undo points at the tree: What is"), + brBad("g-empty", tcEmB+`match "" classid 1:1`, base, ack1, "an empty word is skipped: classid is a kind, Parse error"), + brBad("g-nomatch", tcEmB+"match", base, ack255, "match with no value: NEXT_ARG, rc 255 (W149)"), + bB("unknown", "foo(bar)", "classid 1:1", ack1, "a kind not in the map: Unknown ematch"), + bB("text", `text(kmp "abc" from 0 to 10)`, "classid 1:1", ack1, "tc has no text module: Unknown ematch"), + bB("w126", strings.Repeat("a", 64)+"(x)", "classid 1:1", ack1, "a 64-byte kind is read unterminated (W126; gotc refuses)"), + bB("w126-63", strings.Repeat("a", 63)+"(x)", "classid 1:1", ack1, "a 63-byte kind is read unterminated (W126; gotc refuses)"), + bB("w126-62", strings.Repeat("a", 62)+"(x)", "classid 1:1", ack1, "a 62-byte kind fits: Unknown ematch"), + // F25: a tree that ends the line. + brBad("f25", tcEmB+"match 'cmp(u8 at 0 eq 1)'", base, ack1, "the undo puts the tree back: What is \"cmp(...)\"? (F25)"), + brBad("f25-cg", tcEmC+"match 'cmp(u8 at 0 eq 1)'", base, ack1, "cgroup's F25"), + brBad("f25-flow", tcEmF+"match 'cmp(u8 at 0 eq 1)'", base, ack1, "flow's F25: What is"), + // cmp. + bB("cmp-align", "cmp(u64 at 0 eq 1)", "classid 1:1", ack1, "cmp: invalid alignment"), + bB("cmp-at", "cmp(u8 at)", "classid 1:1", ack1, "cmp: missing argument"), + bB("cmp-off", "cmp(u8 at x eq 1)", "classid 1:1", ack1, "cmp: invalid offset, must be numeric"), + bB("cmp-layer", "cmp(u8 at 0 layer 3 eq 1)", "classid 1:1", ack1, "cmp: illegal layer, must be in 0..2"), + bB("cmp-layer-x", "cmp(u8 at 0 layer x eq 1)", "classid 1:1", ack1, "cmp: invalid layer"), + bB("cmp-mask", "cmp(u8 at 0 mask zz eq 1)", "classid 1:1", ack1, "cmp: invalid mask"), + bB("cmp-val", "cmp(u8 at 0 eq zz)", "classid 1:1", ack1, "cmp: invalid value"), + bB("cmp-noval", "cmp(u8 at 0)", "classid 1:1", ack1, "cmp: offset and value required"), + bB("cmp-nooff", "cmp(u8 eq 1)", "classid 1:1", ack1, "cmp: offset and value required"), + bB("cmp-eq", "cmp(u8 at 0 eq)", "classid 1:1", ack1, "cmp: missing argument"), + bB("w135-m1", "cmp(u8 at 0 eq -1)", "classid 1:1", ack1, "-1 is ULONG_MAX: cmp: invalid value (W135)"), + bB("w138", "cmp(u8 at 0 foo 1 eq 1)", "classid 1:1", ack1, "cmp's error says nbyte: unknown parameter (W138)"), + // nbyte. + bB("nbyte-empty", `nbyte("" at 0)`, "classid 1:1", ack1, "nbyte: needle length is 0"), + bB("nbyte-noat", "nbyte(abc)", "classid 1:1", ack1, "nbyte: offset required"), + bB("nbyte-layer", "nbyte(abc at 0 layer 9)", "classid 1:1", ack1, "nbyte: illegal layer"), + bB("nbyte-param", "nbyte(abc at 0 foo)", "classid 1:1", ack1, "nbyte: unknown parameter"), + bB("nbyte-off", "nbyte(abc at zz)", "classid 1:1", ack1, "nbyte: invalid offset"), + bB("nbyte-at", "nbyte(abc at)", "classid 1:1", ack1, "nbyte: missing argument"), + // u32. + bB("u32-align", "u32(u64 1 1 at 0)", "classid 1:1", ack1, "u32: invalid alignment"), + bB("u32-key", "u32(u8)", "classid 1:1", ack1, "u32: missing key"), + bB("u32-badkey", "u32(u8 zz 0xff at 0)", "classid 1:1", ack1, "u32: invalid key, must be numeric"), + bB("u32-mask", "u32(u8 1)", "classid 1:1", ack1, "u32: missing mask"), + bB("u32-badmask", "u32(u8 1 zz at 0)", "classid 1:1", ack1, "u32: invalid mask, must be numeric"), + bB("u32-at", "u32(u8 1 0xff)", "classid 1:1", ack1, "u32: missing \"at\""), + bB("u32-noat", "u32(u8 1 0xff of 0)", "classid 1:1", ack1, "u32: missing \"at\""), + bB("u32-off", "u32(u8 1 0xff at)", "classid 1:1", ack1, "u32: missing offset"), + bB("u32-nhoff", "u32(u8 1 0xff at nexthdr+)", "classid 1:1", ack1, "u32: missing offset after nexthdr+"), + bB("u32-badoff", "u32(u8 1 0xff at zz)", "classid 1:1", ack1, "u32: invalid offset"), + bB("u32-trailer", "u32(u8 1 0xff at 0 x)", "classid 1:1", ack1, "u32: unexpected trailer"), + bB("u32-key8", "u32(u8 0x100 0xff at 0)", "classid 1:1", ack1, "Illegal key (>0xFF)"), + bB("u32-mask8", "u32(u8 1 0x100 at 0)", "classid 1:1", ack1, "Illegal mask (>0xFF)"), + bB("u32-key16", "u32(u16 0x10000 0xffff at 0)", "classid 1:1", ack1, "Illegal key (>0xFFFF)"), + bB("u32-mask16", "u32(u16 1 0x10000 at 0)", "classid 1:1", ack1, "Illegal mask (>0xFFFF)"), + bB("u32-align32", "u32(u32 1 0xffffffff at 2)", "classid 1:1", ack1, "u32: invalid offset alignment"), + // meta. + bB("meta-none", "meta()", "classid 1:1", ack1, "args need one ATTRIBUTE: Parse error"), + bB("meta-list", "meta(list)", "classid 1:1", ack1, "meta(list) prints the table and fails"), + bB("meta-op", "meta(priority)", "classid 1:1", ack1, "meta: missing operand"), + bB("meta-ne", "meta(priority ne 1)", "classid 1:1", ack1, "meta: invalid operand"), + bB("meta-rval", "meta(priority eq)", "classid 1:1", ack1, "meta: missing rvalue"), + bB("meta-trailer", "meta(priority eq 1 2)", "classid 1:1", ack1, "meta: unexpected trailer"), + bB("meta-shift", "meta(priority shift)", "classid 1:1", ack1, "meta: missing argument"), + bB("meta-badshift", "meta(priority shift zz eq 1)", "classid 1:1", ack1, "meta: invalid shift, must be numeric"), + bB("meta-badmask", "meta(priority mask zz eq 1)", "classid 1:1", ack1, "meta: invalid mask, must be numeric"), + bB("meta-id", "meta(foo eq 1)", "classid 1:1", ack1, "meta: unknown meta id, with its own newline (W140)"), + bB("meta-compat", `meta(priority eq "x" )`, "classid 1:1", k("EINVAL"), + "a value on the right skips the adoption: INT against VAR (W130)"), + bB("w130", `meta(dev eq "d0")`, "classid 1:1", k("EINVAL"), + "the usage's own form sends INT|DEV against VAR|VALUE (W130)"), + bB("w125", `meta("x" eq priority)`, "classid 1:1", k("ENOTSUP"), + "is_compatible walks past priority's mask into .rodata and finds a v: VAR priority, Operation not supported (W125; gotc refuses)"), + bB("w139", "meta(indev eq 1)", "classid 1:1", ack1, "the usage's indev is no id (W139)"), + bB("w139-tc", "meta(tcindex mask 0xf0 eq 0xf0)", "classid 1:1", ack1, "the usage's tcindex is no id (W139)"), + bB("meta-ids-bad", "meta(dev eq priority shift 1 mask 2 3)", "classid 1:1", ack1, "meta: unexpected trailer"), + // canid. + bB("canid-none", "canid()", "classid 1:1", ack1, "args need one ATTRIBUTE: Parse error"), + bB("canid-key", "canid(xff 1)", "classid 1:1", ack1, "canid: invalid key"), + bB("canid-arg", "canid(sff)", "classid 1:1", ack1, "canid: missing argument"), + bB("w140-canid", "canid(sff zz)", "classid 1:1", ack1, "Improperly formed CAN ID & mask, with its own newline (W140)"), + brBad("w140-401", tcEmB+"match "+tcEmCanid(401)+" classid 1:1", base, ack1, + "canid: Too many arguments on input, at 401 rules (W140)"), + // The escapes. + bB("w141-oct", `nbyte("\400" at 0)`, "classid 1:1", ack1, "octal escape sequence out of range"), + bB("w141-9", `nbyte("\9" at 0)`, "classid 1:1", ack1, "invalid octale escape sequence (W141)"), + bB("w141-0123", `nbyte("\0123" at 0)`, "classid 1:1", ack1, "\\0123 is the longer \\\\[0-9]+ match (W141)"), + bB("str-open", `nbyte("abc at 0)`, "classid 1:1", ack1, "an unterminated string eats the line: Parse error"), + // The leads tc refuses. + bB("w135-nbyte-neg", "nbyte(ab at -1)", "classid 1:1", ack1, "nbyte: invalid offset"), + bB("w136-0", `nbyte(""""at 0)`, "classid 1:1", ack1, "two empty strings: nbyte: needle length is 0"), + bB("w146", "cmp(u8 at 0 eq 1)", "and 0xff", ack1, "and after a tree is AND: Parse error (W146)"), + brBad("w146-flow", tcFwP+"pref 31 protocol ip handle 2 flow map key mark divisor 16 match 'cmp(u8 at 0 eq 1)' and 0xff", + base, ack1, "flow's and after match is the grammar's AND: Parse error (W146)"), + brBad("w148", tcFwI+"pref 1 protocol all handle 1 basic", base, k("EINVAL"), + "basic with no words sends no TCA_OPTIONS (W148)"), + brBad("w149-cls", tcEmB+"classid", base, ack255, "classid with no value: NEXT_ARG (W149)"), + brBad("w149-act", tcEmB+"action", base, ack255, "action with no value: NEXT_ARG (W149)"), + brBad("w149-cg", tcEmC+"match", base, ack255, "cgroup's match with no value (W149)"), + brBad("w149-flow", tcEmF+"match", base, ack255, "flow's match with no value (W149)"), + brBad("w150", tcEmB+"help", base, ack1, "basic explain, copied from u32 (W150)"), + brBad("w150-h", tcEmB+"h", base, ack1, "help is exact: What is \"h\"? (W150)"), + brBad("w150-cg", tcEmC+"help", base, ack1, "cgroup explain (W150)"), + brBad("w150-cls", tcEmB+"classid zz", base, ack1, "Illegal \"classid\""), + brBad("w150-cg-cls", tcEmC+"classid 1:1", base, ack1, "cgroup has no classid: What is \"classid\"?"), + brBad("w151", tcEmB+"match "+strings.Repeat(tcEmCanid(400)+" or ", 5)+tcEmCanid(400)+" classid 1:1", base, k("EINVAL"), + "a tree past MAX_MSG: addraw errors, truncated matches sent (W151)"), + brBad("w127-late", tcEmB+"match 'cmp(u8 at 0 eq 1)' "+strings.Repeat("x", 8191)+" classid 1:1", base, ack1, + "match argument too long. for the look-ahead word: EOF, then What is \"cmp(...)\"? (W127)"), + brBad("w127-8190", tcEmB+"match 'cmp(u8 at 0 eq 1)' "+strings.Repeat("x", 8190)+" classid 1:1", base, ack1, + "an 8190-byte look-ahead word is read: What is \"xxx...\"? (W127's contrast)"), + bB("w124-args", `cmp("u8" at "0" eq "1")`, "classid 1:1", ack1, + "each quoted arg overwrites strbuf: \"u8\" reads \"18\", cmp: invalid alignment (W124)"), + bB("w124-kind", `nbyte("cmpzz" at 0) or "cmp"(u8 at 0 eq 1)`, "classid 1:1", ack1, + "the quoted kind is read to strbuf's NUL: Unknown ematch \"cmpzz\" (W124)"), + bB("w123-esc", `nbyte("`+strings.Repeat("x", 510)+`\x41`+strings.Repeat("y", 40)+`" at 0)`, "classid 1:1", tcCrash(134), + "an escape at 511 then a 40-byte run: memcpy past strbuf, malloc(): invalid size, SIGABRT (W123; gotc refuses)"), + bB("w124-realloc", `nbyte("abc" at 0) or `+tcEmNbyte(600), "classid 1:1", tcCrash(139), + "a 600-byte string past strbuf: SIGSEGV (W123, W124; gotc refuses)"), + brBad("b-change-new", "filter change dev d0 ingress pref 1 protocol all handle 3 basic classid 1:2", bPre, k("ENOENT"), + "change of a handle that doesn't exist: Need both RTM_NEWTFILTER and NLM_F_CREATE"), + brBad("c-change", "filter change dev d0 egress pref 1 protocol all handle 1 cgroup match 'cmp(u8 at 0 eq 2)' action drop", + cPre, k("ENOENT"), "cgroup's get returns NULL, so change finds nothing (K2)"), + brBad("c-del", "filter del dev d0 egress pref 1 protocol all handle 1 cgroup", cPre, k("ENOENT"), + "cgroup's get returns NULL: Specified filter handle not found (K2)"), + brBad("c-add-again", tcFwE+"pref 1 protocol all handle 2 cgroup action drop", cPre, k("ENOENT"), + "a second cgroup handle in one prio (K2)"), + brBad("c-nohandle", tcFwE+"pref 2 protocol all cgroup action pass", base, k("EINVAL"), "cgroup needs a handle"), + brBad("w147-del", tcFwI+"pref 1 protocol all handle 08 basic", two, k("EINVAL"), + "handle 08 is 0: a delete of the whole prio with a kind, refused (W147)"), + brBad("w152", tcEmB+"match 'ipt(-m mark --mark 1)' classid 1:1", base, tcCrash(134), + "ipt: free(): invalid size, SIGABRT (W152; refused by name)"), + brBad("w155", tcEmB+"match 'ipset(foo src)' classid 1:1", base, ack1, "an unknown set (W155; refused by name)"), + brBad("w155-ok", tcEmB+"match 'ipset(foo src,dst)' classid 1:1", base, ack1, "an unknown set (refused by name)"), + bbBad("w129", "leftover", "-force", false, batchFile( + tcEmB+`match "cmp(u8 at 0 eq 1)" "x not"`, + tcFwI+`pref 2 protocol all handle 2 basic match "cmp(u8 at 0 eq 2)" classid 1:1`), base, ack1, + "line 1's look-ahead word leaves \" not\" in flex's buffer: line 2 is sent inverted (W129)"), + bbBad("w129-str", "open-string", "-force", false, batchFile( + tcEmB+`match '"abc'`, + tcFwI+`pref 2 protocol all handle 2 basic match "cmp(u8 at 0 eq 2)" classid 1:1`), base, ack1, + "line 1 ends inside a string: line 2 starts in (W129)"), + bbBad("w129-stop", "no-force", "", false, batchFile( + tcEmB+`match "cmp(u8 at 0 eq 1)" "x not"`, + tcFwI+`pref 2 protocol all handle 2 basic match "cmp(u8 at 0 eq 2)" classid 1:1`), base, ack1, + "without -force the batch stops at line 1"), + } + sp := &space{ + Name: "tcematch", + Axes: []axis{{Name: "opt", Values: []value{v("plain", "", f("json", "0"))}}, {Name: "cmd", Values: cmds}}, + Bad: slices.Clone(bad), + } + sp.NegBase = func([]value) bool { return true } + sp.Build = func(vals []value) row { + r := tcBuildMods(tcEmatchModules, vals) + r.Readback = rb[vals[len(vals)-1].Name] + return r + } + return sp +} diff --git a/tools/nlcapgen/matrix_tcematch_test.go b/tools/nlcapgen/matrix_tcematch_test.go new file mode 100644 index 000000000..8c26d6115 --- /dev/null +++ b/tools/nlcapgen/matrix_tcematch_test.go @@ -0,0 +1,195 @@ +package main + +import ( + "bytes" + "strings" + "testing" +) + +// TestTcEmatchSpace pins the ematch write rows (gotc 21C): basic and +// cgroup's verbs, flow's match, each grammar form and module keyword, the +// leads, the refusals by name and the batches. +// +// go test ./tools/nlcapgen/ -run TestTcEmatchSpace +func TestTcEmatchSpace(t *testing.T) { + rows, err := matrixRows(families["tcematch"](), matrixOpts{Seed: 1}) + if err != nil { + t.Fatal(err) + } + if err := checkRows(rows); err != nil { + t.Fatal(err) + } + if len(rows) != 257 { + t.Errorf("%d rows, want 257 (144 commands plain, 113 negatives)", len(rows)) + } + byCmd := map[string]row{} + fixes := map[string]bool{} + for _, r := range rows { + if !strings.HasPrefix(r.ID, "tcematch/") { + t.Errorf("%s: not in tcematch/", r.ID) + } + if r.InitNS || r.Serial || r.Proto != "route" { + t.Errorf("%s: initns %t serial %t proto %q", r.ID, r.InitNS, r.Serial, r.Proto) + } + for _, m := range r.Modules { + if !tdcGuestModules[m] { + t.Errorf("%s: module %s is not one the guest has", r.ID, m) + } + } + // Every write targets d0, d1 or block 10, made in the row's own + // namespace. + if w := tcAwriteWords(r); strings.Contains(w, "dev lo") || strings.Contains(r.Cmd, "-netns") { + t.Errorf("%s: writes outside its dummies: %q", r.ID, r.Cmd) + } + if r.Expect.RefusedBy == refNone && len(r.Readback) == 0 { + t.Errorf("%s: a positive write with no readback", r.ID) + } + // A capture cannot end on a row that hangs tc (W127, W128's + // container case): no word of 8191 bytes or more is the first + // word of a tree. + if strings.Contains(r.Cmd, "match '"+strings.Repeat("x", 8191)) { + t.Errorf("%s: a tree's first word of 8191 bytes hangs tc", r.ID) + } + k := r.Cmd + "|" + r.Axes["fix"] + if _, dup := byCmd[k]; dup { + t.Errorf("%s: %q twice", r.ID, k) + } + byCmd[k] = r + fixes[r.Axes["fix"]] = true + } + has := func(sub string) bool { + for _, r := range rows { + if strings.Contains(r.Cmd, sub) || strings.Contains(strings.Join(preCmds(r), "\n"), sub) { + return true + } + } + return false + } + + tests := []struct { + description string + sub string // a substring some row's command (or batch file) holds + expected bool + }{ + {"positive: and", "cmp(u8 at 0 eq 1) and cmp(u8 at 1 eq 2)", true}, + {"positive: or", "cmp(u8 at 0 eq 1) or cmp(u8 at 1 eq 2)", true}, + {"positive: not", "'not cmp(u8 at 0 eq 1)'", true}, + {"positive: any case", "AND cmp(u8 at 1 eq 2) oR NoT", true}, + {"positive: nesting", "and (cmp(u8 at 1 eq 2) or not (cmp(u8 at 2 eq 3))) and (cmp(u8 at 3 eq 4))", true}, + {"positive: deep nesting", "((((cmp(u8 at 0 eq 1)))))", true}, + {"positive: no spaces", "cmp(u8 at 0 eq 1)and(cmp(u8 at 1 eq 2))or(not(", true}, + {"positive: a tree over words", "'cmp(u8' at 0 eq '1)' and not", true}, + {"positive: a second match", "match 'cmp(u8 at 0 eq 1)' match 'cmp(u8 at 1 eq 2)'", true}, + {"positive: an empty word skipped", `match "" 'cmp(u8 at 0 eq 1)' ""`, true}, + {"positive: a quoted kind", `'"cmp"(u8 at 0 eq 1)'`, true}, + {"positive: cmp every keyword", "cmp(u16 at 2 layer network mask 0xff00 trans gt 20)", true}, + {"positive: cmp lt and transport", "layer transport mask 0xffffffff lt 0x10000", true}, + {"positive: cmp link", "layer link eq 2", true}, + {"positive: nbyte bare", "nbyte(abc at 4 layer transport)", true}, + {"positive: nbyte escapes", `\x41\101\n\r\t\v\b\f\a\\\"\z`, true}, + {"positive: nbyte octal", `\0\00\000\377`, true}, + {"positive: u32 u8", "u32(u8 0x11 0xff at 3)", true}, + {"positive: u32 u16", "u32(u16 0x1122 0xffff at 2)", true}, + {"positive: u32 u32", "u32(u32 0x0a000001 0xffffffff at 12)", true}, + {"positive: u32 nexthdr+", "at nexthdr+4", true}, + {"positive: meta every id", "meta(sk_fwd_alloc eq 31) and meta(sk_sndbuf eq 32) and meta(dev eq 33) and meta(sk_bind_if eq 34)", true}, + {"positive: meta shift and mask", "meta(priority shift 1 mask 0xf0 eq 3)", true}, + {"positive: meta var left", `meta("d0" eq dev)`, true}, + {"positive: meta two ids", "meta(priority mask 0xff eq tc_index shift 2 mask 0xf)", true}, + {"positive: meta int left", "meta(5 lt priority)", true}, + {"positive: canid sff", "canid(sff 0x123 sff 0x124 sff 0x125:0xf)", true}, + {"positive: canid eff", "canid(eff 0x1234567 eff 0x1:0x1fffffff)", true}, + {"positive: basic in a block", "filter add block 10 pref 1 protocol all handle 1 basic", true}, + {"positive: basic on htb", "handle 2 basic match 'u32(u8 6 0xff at 9)' classid 1:1", true}, + {"positive: basic in chain 7", "chain 7 pref 1 protocol all handle 1 basic", true}, + {"positive: cgroup empty", "handle 1 cgroup", true}, + {"positive: flow match", "flow hash keys dst divisor 8 match", true}, + {"positive: flow map with match", "flow map key mark divisor 16 match", true}, + {"lead: W123 513-byte run", `nbyte("` + strings.Repeat("x", 513) + `"`, true}, + {"lead: W123 escape then run", `\x41` + strings.Repeat("y", 40), true}, + {"lead: W124 shared strbuf", `nbyte("abc" at 0) or nbyte("xy" at 0)`, true}, + {"lead: W124 quoted args", `cmp("u8" at "0" eq "1")`, true}, + {"lead: W124 realloc", `nbyte("abc" at 0) or nbyte("` + strings.Repeat("x", 600), true}, + {"lead: W125 mask walk", `meta("x" eq priority)`, true}, + {"lead: W126 64-byte kind", strings.Repeat("a", 64) + "(x)", true}, + {"lead: W127 too long", strings.Repeat("x", 8191) + " classid", true}, + {"lead: W128 stale root", `match '\''"'\'' hash`, true}, // shq's quoting in the batch file + {"lead: W129 leftover", `"x not"`, true}, + {"lead: W129 open string", `match '\''"abc'\''`, true}, + {"lead: W130 value on the right", `meta(dev eq "d0")`, true}, + {"lead: W131 nexthdr+ two words", "at nexthdr+ 4", true}, + {"lead: W132 nexthdr+ junk", "at nexthdr+abc", true}, + {"lead: W133 u16 at 1", "u32(u16 0x1122 0xffff at 1)", true}, + {"lead: W134 key over 32 bits", "0x100000001", true}, + {"lead: W135 cmp narrowing", "cmp(u8 at 65536 eq 300)", true}, + {"lead: W135 meta shift", "shift 256", true}, + {"lead: W136 4096-byte needle", "nbyte(" + strings.Repeat("x", 4096) + " at 0)", true}, + {"lead: W137 parse_layer", "layer nonsense", true}, + {"lead: W138 nbyte message", "cmp(u8 at 0 foo 1 eq 1)", true}, + {"lead: W139 indev", "meta(indev eq 1)", true}, + {"lead: W140 400 canid rules", strings.Repeat(" sff 0x123", 400) + " ')'", true}, + {"lead: W140 401 canid rules", strings.Repeat(" sff 0x123", 401) + " ')'", true}, + {"lead: W141 octal", `\0123`, true}, + {"lead: W142 raw newline", "\"a\nb\"", true}, + {"lead: W144 trailing junk", "at 12abc eq 1zz", true}, + {"lead: W145 canid ids", "sff 0x80000123", true}, + {"lead: W146 and after match", "match 'cmp(u8 at 0 eq 1)' and 0xff", true}, + {"lead: W147 handle 08", "handle 08 basic", true}, + {"lead: W148 no words", "pref 1 protocol all handle 1 basic", true}, + {"lead: W149 trailing classid", "handle 1 basic classid", true}, + {"lead: W150 h", "handle 1 basic h", true}, + {"lead: W151 past MAX_MSG", strings.Repeat(" sff 0x123", 400) + " ')' or 'canid('", true}, + {"lead: W152 ipt", "ipt(-m mark --mark 1)", true}, + {"lead: W155 ipset", "ipset(foo src)", true}, + {"lead: F25 tree at the end", "basic match 'cmp(u8 at 0 eq 1)'", true}, + {"lead: W95 repeated classid and match", "classid 1:1 classid 1:2 match", true}, + {"lead: W97 flow bound", "' or 'canid(' sff 0x123", true}, + {"refused by name: police", "police rate 1mbit", true}, + {"refused: text", "text(kmp", true}, + {"negative: no show command is captured", "filter show", false}, + {"negative: no first tree word of 8191 bytes", "match '" + strings.Repeat("x", 8191), false}, + } + for _, tc := range tests { + t.Run(tc.description, func(t *testing.T) { + if got := has(tc.sub); got != tc.expected { + t.Errorf("a row with %q: %t, want %t", tc.sub, got, tc.expected) + } + }) + } + + // basic and cgroup have add, change, replace and delete; flow match + // its verbs. + for _, fix := range []string{ + "cmp-0", "b-change", "b-replace", "b-del", "b-delete", + "c-0", "ng:c-change", "c-replace", "ng:c-del", "c-delpref", + "f-0", "f-change", "f-replace", "f-del", + } { + if !fixes[strings.TrimPrefix(fix, "ng:")] { + t.Errorf("no %s row", fix) + } + } + + // Generation is deterministic. + var a, b bytes.Buffer + for i, buf := range []*bytes.Buffer{&a, &b} { + rs, err := matrixRows(families["tcematch"](), matrixOpts{Seed: 1}) + if err != nil { + t.Fatalf("run %d: %v", i, err) + } + if err := writeRows(buf, nil, rs); err != nil { + t.Fatal(err) + } + } + if !bytes.Equal(a.Bytes(), b.Bytes()) { + t.Error("two generations differ") + } +} + +// preCmds are r's setup commands. +func preCmds(r row) []string { + out := make([]string, len(r.Pre)) + for i, p := range r.Pre { + out[i] = p.Cmd + } + return out +} From 6f751869f99fcc7b12f0c701c78ab6a62e0599e8 Mon Sep 17 00:00:00 2001 From: "randomizedcoder dave.seddon.ca@gmail.com" Date: Sun, 29 Nov 2026 19:50:48 -0800 Subject: [PATCH 2/7] gotc 21P: the ematch encoders and AttrBuilder.PutRaw Append for the ematch tree and match headers and the cmp, nbyte, canid and meta structs, laid out as the v7.4-rc4 uapi headers have them, and PutRaw, iproute2's addraw_l. TestBuildTcEmatchWrite builds fifteen tcematch requests and matches tc's captured bytes, including the flattened nested tree, W136's 4096-byte needle and W124's shared strbuf. Co-Authored-By: Claude Opus 5.5 --- docs/netlink/gotc-status.md | 3 + pkg/xtcpnl/xtcpnl_rtattr_encode.go | 20 ++ pkg/xtcpnl/xtcpnl_tc_ematch_write_test.go | 213 ++++++++++++++++++++++ pkg/xtcpnl/xtcpnl_tc_emencode.go | 60 ++++++ pkg/xtcpnl/xtcpnl_tc_emencode_test.go | 168 +++++++++++++++++ 5 files changed, 464 insertions(+) create mode 100644 pkg/xtcpnl/xtcpnl_tc_ematch_write_test.go create mode 100644 pkg/xtcpnl/xtcpnl_tc_emencode.go create mode 100644 pkg/xtcpnl/xtcpnl_tc_emencode_test.go diff --git a/docs/netlink/gotc-status.md b/docs/netlink/gotc-status.md index ab20fc437..c092fddcc 100644 --- a/docs/netlink/gotc-status.md +++ b/docs/netlink/gotc-status.md @@ -282,6 +282,8 @@ tc's ematch grammar and the cmp, nbyte, u32, meta and canid modules; ipset, ipt - **21C (captures): done.** `tcematch`: 257 rows (144 writes, 113 refusals), each write with a `filter show` readback. Two batches on one boot agree on every row (V055). +- **21P (encoders): done.** `Append` for the ematch tree and match headers and the cmp, nbyte, canid and meta structs, + and `AttrBuilder.PutRaw` (addraw_l). Fifteen requests equal tc's captured bytes (V056). ## Ledger @@ -351,6 +353,7 @@ tc's ematch grammar and the cmp, nbyte, u32, meta and canid modules; ipset, ipt | V053 | 20W | **Writes** (`internal/gotc`, gotc_write): `fwrite.go` is tc_filter_modify (the verbs' flags: add EXCL\|CREATE, change 0, replace CREATE alone, delete DELTFILTER, chain add NEWCHAIN EXCL\|CREATE and delete DELCHAIN; ETH_P_ALL only for NEWTFILTER with CREATE; filter.go's shared words in tc_filter_get's form, then estimator and help; the device looked up before parse_fopt (W70), ll_init_map without one; a block over the parent (W67); `We have an error talking to the kernel` after a kernel error), with `fops` recording each parse_fopt's addattr calls in order, their maxlen checked when replayed (W97 refused). `fw_simple.go` (fw, route, matchall, and rtnl_rtrealm_a2n with its one-entry cache, W122), `fw_flow.go`, `fw_u32.go` (every selector, pack_key, offset, hashkey, sample, ht, link, order), `act_parse.go` (parse_action, action_a2n, parse_action_control, parse_gact with CONFIG_GACT_PROB), `inet.go` (get_prefix_1, get_addr_1, get_netmask). `fwrite_off.go` keeps the untagged build's refusal. Each follows its C at v7.2.0, leads included: W64–W96, W98–W109, W111–W122. Refused by name: `police` in any kind, every action but gact, the basic, cgroup, flower and bpf kinds, flow's `match`, and W110 (tc prints an uninitialised `tc_gact_p`). W81's `success` is sent as zero; ec-012's capture happened to hold zero there too. `getU32Handle` now narrows each field to 32 bits before its range test (W76), on the get path too. **Corpus:** `TestGotcCorpus` replays `tcfwrite` (183 rows; 9 refused by name, in `corpusRefused`); tcfilter ng-024 and tcflower ng-009 now answer as tc does (`Cannot find device`, rc 1); 1524 tc rows pass with gotc_write, 942 without. `corpusRow` splits a row's command with `shellWords`, which now takes double quotes too. **tdc:** new `TestGotcTdcFilterWrites` splits rows as sh would (the basic and cgroup ematches are quoted) and pins 134 exact matches and the refusals by name (basic 60, cgroup 55, bpf 4, flower 2, flow match 1, and 46 non-gact actions); `tdcWritesSent` stays 409. **Tests:** `TestGotcFilterWrite` (35 rows: each kind and verb, chain add, delete with no kind, the refusals, the ETH_P_ALL default, pref 0xffff and 0x10000, offset plus 70000, route order 200, W64, W67, W78, W81, W82, W91, W102, W103, W104, W110, W111, W112, W114, W116). **Lint:** the comprehensive config's goconst findings fixed with shared word constants (`util.go`) and route's loop split out (funlen); both configs report 0 issues on gotc, xtcpnl and nlcapgen with gotc_write. **Mutants:** 8 of 8 killed, each under `systemd-run --user --scope -q -p MemoryMax=6G` with `-timeout=180s`: pack_key16 shifting every offset, offset plus range-checked, the ht check testing ht, the addend test using key bits, the cookie reset per action, ETH_P_ALL on change, replace sending REPLACE, and route's order masked with 0xFF00. **Coverage:** `internal/gotc` 84.1% with gotc_write. | | V054 | 20L | **Live diff** on the workbench (kernel 7.3.1, tc 7.2.0 `/nix/store/x1pwsbz5cm23hk58b7fcpn3hhg9j7gwh-iproute2-7.2.0`). gotc was built with `-tags gotc_write` at 20W (`/nix/store/qk9dyfv0kl2l5fv68jcn1qlmiad7x9s6-gotc-write-20l`), with `GOTC_CONF_USR_DIR` and `TC_LIB_DIR` set to tc's. V049's method: each row of `tcfwrite.rows.jsonl` runs its pre steps in a fresh named namespace, then gotc with `GOTC_WRITE_OUT`, then tc; requests (RTM_NEW/DELTFILTER, RTM_NEW/DELCHAIN) are compared with tc's from the corpus pcaps, seq, pid and the tcmsg ifindex zeroed (gotc saw ifindexes 0, 1, 2, 3 and the block's ffffffff). **Result: 173/183 identical**, 22 of them rows where the request is identical and only tc hears the kernel's refusal. **Named exceptions:** the nine refusals by name (ec-111..118: police, mirred, basic, cgroup, flower, bpf, flow `match`; ng-033: W110), and ec-032, `route fromif d0`, whose request differs only in d0's ifindex inside TCA_ROUTE4_IIF and in the handle tc computes from it (3 in the capture's namespace, which holds nlmon0; 2 live). **tc against the corpus:** stdout, stderr and rc match `ws/tcfwrite` on all 183 rows. **VM:** pre-checked (`free -g`: 64G available; port 12061 free; no workbench process), booted from off with `up`; the baseline was 86 modules, no namespace, no core files. After the captures and the live run, `modprobe -r` of the 15 sch_/cls_/act_/em_ modules left lsmod at 91 (as after 19C), so the VM was powered off with `down`; port 12061 free, no workbench process. No namespace was left, there were no core files, and `/tmp/t20l` was removed by the script. | | V055 | 21C | **Captures**: `tools/nlcapgen/matrix_tcematch.go` (`tcematch`, 257 rows: 144 writes and 113 refusals, on 20C's fixture: d0 with clsact, d1 with an htb root, two classes and ingress block 10), corpus `pkg/xtcpnl/testdata/7_3_1/ws/tcematch/`. Rows: basic's add, change, replace and delete (and in block 10, on htb, in chain 7); cgroup's add, replace and delete-by-prio, with its change, delete-by-handle, second handle and missing handle refused by the kernel (ENOENT, ENOENT, ENOENT, EINVAL: K2's one filter per prio); flow's `match` in hash and map modes, change and replace. The grammar: AND, OR and NOT in any case, nesting (the flatten order), a tree over several words, tokens with no spaces, a second `match`, empty words, quoted kinds, and 12 Parse error forms. Every cmp, nbyte, u32, meta and canid keyword and error message, one meta match per id, and every escape. Rows for W123–W155 except W143 (the map files; no capture) and W153/W154 (ipt's hook and optind: tc aborts first, W152), plus F25, W95 and W97. W127's hang (a first tree word of 8191 bytes) and W128's container case can't end in a capture, so gotc's tests pin them, and `TestTcEmatchSpace` keeps such a word out of every row. Three rows crash tc in the guest: W123's escape-then-run (SIGABRT, rc 134), W124's realloc (SIGSEGV, 139) and W152's ipt (SIGABRT). Every expected rc was first checked on the host tc 7.2.0 under `unshare -rn`, with `strace -e inject=sendmsg` for the rows whose em module the host hasn't loaded (nbyte, meta, canid, ipset). The workbench then disagreed on two rows: a cgroup change in a batch (ENOENT; made a replace) and `meta("a" eq "b")` (accepted; made a write). Four rows' `expect` (refused_by for the crashes, ENOTSUP for W125) were corrected in the rows file and copied into their `cmd.json`; the captures are unchanged. **Kernel:** 7.3.1's tcf_em_tree_dump ignores nla_put_nohdr's failure, so W136's 4095-byte needle is dumped with its header alone and tc prints `NByte header size mismatch` (K56; fixed by v7.4-rc1's 528de6832b21). `TestWsTcFilterKinds` accepts such a match. W151's refusal echoes its 16 KiB request with no extended ack, so it's now `ParseNlMsgErr`'s largest pick (0 allocations). **Batches:** two on one boot, 257/257 each, identical with pcaps excluded, and the pcaps' requests identical with seq and pid masked (only the readbacks' action timestamps differ). **Test:** `TestTcEmatchSpace` (row count 257, each grammar form, module keyword and lead, the verbs, no hanging word, determinism). **VM:** pre-checked (`free -g`: 60G available; port 12061 free; no workbench process), booted from off; no core files at boot; the nine tc cores from the three crashing rows were removed, then the VM was powered off with `down`. | +| V056 | 21P | **Encoders** (`pkg/xtcpnl/xtcpnl_tc_emencode.go`, untagged: laying out a struct sends nothing): `Append` for `TcfEmatchTreeHdr`, `TcfEmatchHdr`, `TcfEmCmp` (align\|flags and layer\|opnd packed low nibble first, each keeping its low four bits as a C bitfield does), `TcfEmNbyte` (len:12\|layer:4 in one u16, then the needle as given, so W136's 4096-byte needle is len 0 with all 4096 bytes), `CanFilter` and `TcfMetaVal` (tcf_meta_hdr is left then right), each cited to the v7.4-rc4 uapi header and line. `AttrBuilder.PutRaw` is addraw_l (lib/libnetlink.c:1395 at v7.2.0): the bytes with no header, zero-padded to four, and a refusal that writes nothing (ErrAttrNoSpace). **Tests:** `TestBuildTcEmatchWrite` (gotc_write) builds 15 tcematch requests through `BuildTcWriteRequest` and matches tc's captured bytes: cmp with every keyword, nbyte's escapes, u32's u16 at 2 and nexthdr+4, meta's INT id with shift and mask and its VAR adoption, canid's masks, the nested tree's pre-order flatten with children at the tail and their refs, cgroup's tree and action, flow's EMATCHES in argv order with MODE last, W136's 4096-byte needle, 400 canid rules, cgroup's empty TCA_OPTIONS, basic's none (W148) and W124's `xyc`. Two negative rows (the needle as typed, a breadth-first flatten) differ from the capture. `TestTcEmatchAppend` (11 rows: each layout's bytes and its round trip through the read side's decoder, nbyte len 4095/4096/4097, bitfield truncation), `TestAttrBuilderPutRaw` (9 rows: padding of 1, 2 and 3 bytes, exact room, refusals leave the buffer and length unchanged), `TestTcEmatchAppendAllocs` (0), `BenchmarkTcEmatchAppend` (28 ns/op, 0 allocs). netlink-audit and kernel-citation-audit: no findings. | | DOC009 | 16B | **Write-up:** `docs/netlink/upstream/iproute2-tc-aqm.md`: status header, reachability, contents, 24 summary rows, six sections, and K32–K43. Not submitted to netdev. **At HEAD** (GitHub mirror, `5d13122576d6`, 2026-11-26): none of the thirteen printers, `tc_red.c`, `tc_qevent.c` or `tc_qdisc.c` has a commit since v7.2.0, so all are present. **Confirmed in the corpus:** Q66 (ec-007), Q73 (ec-021, pw-021), Q79 (ec-038), Q80/Q81 (pw-035, ec-040, pw-040, pw-042), Q83 (pw-052), Q84 (pw-052, ec-055, pw-055), Q86 (ec-053), Q87 (ec-001, pw-005). **Latent, with unit rows:** Q67–Q72, Q74–Q78, Q82, Q85, Q88, Q89. **Dropped:** none. **New leads:** Q88 (gred_parse_vqs's plain parse_rtattr misses a VQ_ENTRY flagged NLA_F_NESTED), Q89 (an unknown dualpi2 ECN mask warns twice and prints an empty word). **Kernel notes:** K32–K42 confirmed at v7.4-rc4, refined: red's qevents only when bound; idle cake MIN_NETLEN 65535; cake_mq no dump_stats; plug no .dump; skbprio 64 classes; dualpi2 rejects both step_thresh forms (sch_dualpi2.c:812). **K43 (new):** codel times lose 1 µs (target 4ms dumps 3999, pw-024). **Unit rows:** TestGotcAqm adds Q88 (44 rows). **Bug classes:** none new; Q88 and Q89 fit C3/C15 and C10. | | DOC010 | 17B | **Write-up:** `docs/netlink/upstream/iproute2-tc-write.md`: status header, reachability, contents, 25 summary rows, eight sections, K44–K45. Not submitted to netdev. **At HEAD** (GitHub mirror, `35033e4713fe`, 2026-11-27): no tc file in scope has a commit since v7.2.0; `lib/utils.c`'s one (`552d9842b1f4`, resolve_address's cache) touches none of it, so all are present. **Confirmed in the corpus:** W1 (ec-088, ec-099), W2 (ec-079, ng-011), W3 (ec-089), W4 (ng-004, ng-005, ng-019), W9 (ng-013), W17 (ec-092), W22 (ec-062). **Latent, with unit rows:** W5, W6, W8, W10–W16, W18–W21, W23–W25. **Dropped:** W7. **Kernel notes:** K44 (each verb's errno and extack, ng-001–003, 007, 014, 020–025), K45 (extack errors and warnings printed in place of RTNETLINK answers). **Bug classes:** candidates for the user: a wrong option named in a copied error message (W15, W20) and a divide by a user-given zero (W21). | | V033 | 16C | **Captures** `tcaqm`: `tools/nlcapgen/matrix_tcaqm.go` (+ `TestTcAqmSpace`), rows in `nix/microvms/workbench/tcaqm.rows.jsonl`, corpus in `pkg/xtcpnl/testdata/7_3_1/ws/tcaqm/` (132 rows, 2.7M). Modules: sch_cake (with cake_mq), sch_choke, sch_codel, sch_dualpi2, sch_fq_pie, sch_gred, sch_hhf, sch_pie, sch_plug, sch_red, sch_sfb, sch_skbprio. **Fixtures (26):** red default and `ecn harddrop adaptive qevent early_drop block 10`; choke with ecn; gred `setup vqs 4 default 0 grio` with VQs 0 and 1 changed in, and gred with no VQ configured; sfb default and `rehash 5000000 db 5000000` (Q73); codel, pie, fq_pie and hhf defaults plus an option variant each; cake default, plus four variants covering every diffserv mode, the flow modes, nat/wash/ingress, both ack-filters, no-split-gso, rtt, atm overhead mpu, memlimit, fwmark 0xff, autorate-ingress and docsis; cake_mq on a four-queue dummy; dualpi2 default, step_thresh in packets with drop_enqueue/drop_on_overload/any_ect/no_split_gso, and step_thresh in time; plug; skbprio (with `class show`). Each gets `qdisc show` plus `-s`/`-d`/`-o` forms; batches: cake `-s` qdisc/class/qdisc and red `-d` twice. **Refusals:** ng-001 cake_mq under plug (ENOTSUP, "Parent qdisc is not classful"), ng-002 cake_mq autorate-ingress (ENOTSUP, K39), ng-003 gred change over plug (EINVAL), ng-004 `show dev nosuch` (rc 1). **Notes:** batch lines take no options, so the batches pass `-s`/`-d` on tc's own command line; hhf's `admit_bytes 64Kb` is not accepted, so the fixture uses 65536. Q66 is confirmed live (`Scell_log 15qevent early_drop block 10`), and Q73 (sfb prints `rehash 705s`), Q80, Q81, Q83 and Q84 show in the captures. misspell flags dualpi2's `any_ect`; a scoped exclusion in both golangci configs covers the tcaqm and dualpi2 files. **Gate:** two batches on one boot, 132/132 OK, stdout, stderr and rc identical; `TestTcAqmSpace` pins 132 rows, 26 fixtures and 21 cases; no row sends packets. | diff --git a/pkg/xtcpnl/xtcpnl_rtattr_encode.go b/pkg/xtcpnl/xtcpnl_rtattr_encode.go index 7e755b597..a21742a28 100644 --- a/pkg/xtcpnl/xtcpnl_rtattr_encode.go +++ b/pkg/xtcpnl/xtcpnl_rtattr_encode.go @@ -231,6 +231,26 @@ func (a *AttrBuilder) PutBytes(atype uint16, v []byte) error { return nil } +// PutRaw appends v with no attribute header, iproute2's addraw_l +// (lib/libnetlink.c:1395 at v7.2.0): the bytes, then zeros to the next +// four-byte boundary. tc's ematch tree carries each match's header and +// payload this way, inside the match's nest. Like every Put, one that +// doesn't fit writes nothing and is ErrAttrNoSpace. +func (a *AttrBuilder) PutRaw(v []byte) error { + adv := len(v) + FourByteAlignPadding(len(v)) + // Written as a subtraction so a large v cannot overflow the sum. + if adv > len(a.buf)-a.n { + return ErrAttrNoSpace + } + b := a.buf[a.n : a.n+adv] + n := copy(b, v) + for i := n; i < adv; i++ { + b[i] = 0 + } + a.n += adv + return nil +} + // NestMark is an open nest: the offset of its header in the builder. It is // returned by BeginNest and consumed by EndNest. type NestMark struct { diff --git a/pkg/xtcpnl/xtcpnl_tc_ematch_write_test.go b/pkg/xtcpnl/xtcpnl_tc_ematch_write_test.go new file mode 100644 index 000000000..ba23b52b1 --- /dev/null +++ b/pkg/xtcpnl/xtcpnl_tc_ematch_write_test.go @@ -0,0 +1,213 @@ +//go:build gotc_write + +package xtcpnl + +import ( + "bytes" + "encoding/hex" + "testing" + + "golang.org/x/sys/unix" +) + +const tdTcematch = "testdata/7_3_1/ws/tcematch/" + +// emMatch is one match of a tree as m_ematch.c's parse_tree lays it out: +// the index nest, then the header and payload through addraw_l. +type emMatch struct { + hdr TcfEmatchHdr + payload []byte // addraw_l'd after the header + attrs func(*AttrBuilder) error // meta's attributes after the header +} + +// emTree is an ematch tree nest: TCA_EMATCH_TREE_HDR, then the list nest +// of matches 1..n. +func emTree(atype uint16, ms ...emMatch) func(*AttrBuilder) error { + return tcNest(atype, func(ab *AttrBuilder) error { + hdr := TcfEmatchTreeHdr{NMatches: uint16(len(ms))} + if err := ab.PutBytes(TcaEmatchTreeHdr, hdr.Append(nil)); err != nil { + return err + } + return tcNest(TcaEmatchTreeList, func(ab *AttrBuilder) error { + for i, m := range ms { + if err := tcNest(uint16(i+1), func(ab *AttrBuilder) error { + if err := ab.PutRaw(m.hdr.Append(nil)); err != nil { + return err + } + if m.payload != nil { + if err := ab.PutRaw(m.payload); err != nil { + return err + } + } + if m.attrs != nil { + return m.attrs(ab) + } + return nil + })(ab); err != nil { + return err + } + } + return nil + })(ab) + }) +} + +// emCmp is a cmp match of a byte at off equal to val, tc's defaults +// otherwise (layer network, no mask). +func emCmp(flags uint16, off uint16, val uint32) emMatch { + return emMatch{hdr: TcfEmatchHdr{Kind: TcfEmKindCmp, Flags: flags}, + payload: TcfEmCmp{Val: val, Off: off, Align: TcfEmAlignU8, Layer: 1}.Append(nil)} +} + +// emContainer is a container match pointing at the match of index ref. +func emContainer(flags uint16, ref uint32) emMatch { + return emMatch{hdr: TcfEmatchHdr{Kind: TcfEmKindContainer, Flags: flags}, payload: appendU32(nil, ref)} +} + +// emCanid is a canid match of rules. +func emCanid(rules []CanFilter) emMatch { + var p []byte + for _, r := range rules { + p = r.Append(p) + } + return emMatch{hdr: TcfEmatchHdr{Kind: TcfEmKindCanid}, payload: p} +} + +// emMeta is a meta match: META_HDR, then each value tc's dump_value sends. +func emMeta(left, right TcfMetaVal, lv, rv []byte) emMatch { + return emMatch{hdr: TcfEmatchHdr{Kind: TcfEmKindMeta}, attrs: func(ab *AttrBuilder) error { + if err := ab.PutBytes(TcaEmMetaHdr, right.Append(left.Append(nil))); err != nil { + return err + } + if lv != nil { + if err := ab.PutBytes(TcaEmMetaLvalue, lv); err != nil { + return err + } + } + if rv != nil { + return ab.PutBytes(TcaEmMetaRvalue, rv) + } + return nil + }} +} + +// TestBuildTcEmatchWrite is the ematch tree (gotc 21P): each module's +// payload, the flatten order and container refs, and basic, cgroup and +// flow's options, through BuildTcWriteRequest, against the requests tc +// sent for tcematch rows: tc/m_ematch.c, em_{cmp,nbyte,u32,meta,canid}.c +// and f_{basic,cgroup,flow}.c at v7.2.0. +// +// go test -tags gotc_write ./pkg/xtcpnl/ -run TestBuildTcEmatchWrite +func TestBuildTcEmatchWrite(t *testing.T) { + basic := func(opts func(*AttrBuilder) error) TcWrite { + return TcWrite{MsgType: unix.RTM_NEWTFILTER, Flags: tcAdd, Parent: tcIngress, Info: 1<<16 | tcInfoAll, Handle: 1, + Kind: "basic", Opts: opts} + } + // basicCls is basic's options: the tree, then CLASSID 1:1. + basicCls := func(ms ...emMatch) TcWrite { + return basic(tcNest(TcaOptions, func(ab *AttrBuilder) error { + if err := emTree(TcaBasicEmatches, ms...)(ab); err != nil { + return err + } + return ab.PutU32(TcaBasicClassid, 0x10001) + })) + } + rules := func(n int, r CanFilter) []CanFilter { + out := make([]CanFilter, n) + for i := range out { + out[i] = r + } + return out + } + tests := []struct { + description string + id string + w TcWrite + expected string // "match" or "differ" + }{ + {"positive: cmp with every keyword: u16, layer, mask, trans, gt", "ec-024", basicCls(emMatch{ + hdr: TcfEmatchHdr{Kind: TcfEmKindCmp}, + payload: TcfEmCmp{Val: 20, Mask: 0xff00, Off: 2, Align: TcfEmAlignU16, Flags: TcfEmCmpTrans, Layer: 1, + Opnd: TcfEmOpndGt}.Append(nil)}), "match"}, + {"positive: nbyte's escapes, the needle padded by addraw_l", "ec-035", basicCls(emMatch{ + hdr: TcfEmatchHdr{Kind: TcfEmKindNbyte}, + payload: TcfEmNbyte{Len: 14, Layer: 2, Needle: []byte("AA\n\r\t\v\b\f\a\\\"z\x04\x07")}.Append(nil)}), "match"}, + {"positive: u32's u16 at 2: no shift, offset 0", "ec-042", basicCls(emMatch{ + hdr: TcfEmatchHdr{Kind: TcfEmKindU32}, payload: TcU32Key{Mask: 0xffff, Val: 0x1122}.Append(nil)}), "match"}, + {"positive: u32's nexthdr+4: offmask -1, shifted at an aligned offset", "ec-046", basicCls(emMatch{ + hdr: TcfEmatchHdr{Kind: TcfEmKindU32}, + payload: TcU32Key{Mask: 0xffff0000, Val: 0x11220000, Off: 4, Offmask: -1}.Append(nil)}), "match"}, + {"positive: meta INT id with shift and mask, INT value", "ec-053", basicCls(emMeta( + TcfMetaVal{Kind: TcfMetaTypeInt<<12 | 6, Shift: 1}, TcfMetaVal{Kind: TcfMetaTypeInt << 12}, + appendU32(nil, 0xf0), appendU32(nil, 3))), "match"}, + {"positive: meta VAR value on the left adopts dev as VAR", "ec-054", basicCls(emMeta( + TcfMetaVal{Kind: TcfMetaTypeVar << 12}, TcfMetaVal{Kind: TcfMetaTypeVar<<12 | 5}, + []byte("d0"), nil)), "match"}, + {"positive: canid's sff rules, default and given masks with EFF_FLAG", "ec-062", basicCls(emCanid([]CanFilter{ + {ID: 0x123, Mask: CanSffMask | CanEffFlag}, {ID: 0x124, Mask: CanSffMask | CanEffFlag}, + {ID: 0x125, Mask: 0xf | CanEffFlag}})), "match"}, + {"positive: nesting flattened pre-order, children at the tail, refs to them", "ec-006", basicCls( + emCmp(TcfEmRelAnd, 0, 1), emContainer(TcfEmRelAnd, 3), emContainer(0, 6), emCmp(TcfEmRelOr, 1, 2), + emContainer(TcfEmInvert, 5), emCmp(0, 2, 3), emCmp(0, 3, 4)), "match"}, + {"positive: cgroup's tree, then its action", "ec-080", TcWrite{MsgType: unix.RTM_NEWTFILTER, Flags: tcAdd, + Parent: tcEgress, Info: 1<<16 | tcInfoAll, Handle: 1, Kind: "cgroup", + Opts: tcNest(TcaOptions, func(ab *AttrBuilder) error { + if err := emTree(TcaCgroupEmatches, emCmp(0, 0, 1))(ab); err != nil { + return err + } + return tcNest(TcaCgroupAct, func(ab *AttrBuilder) error { return tcGactOne(ab, 1, 2, nil) })(ab) + })}, "match"}, + {"positive: flow's EMATCHES in argv order, MODE last", "ec-092", TcWrite{MsgType: unix.RTM_NEWTFILTER, Flags: tcAdd, + Parent: 0x10000, Info: 30<<16 | tcInfoIP, Handle: 1, Kind: "flow", + Opts: tcNest(TcaOptions, func(ab *AttrBuilder) error { + if err := tcU32s(ab, tcKV{TcaFlowKeys, 2}, tcKV{TcaFlowDivisor, 8}); err != nil { + return err + } + if err := emTree(TcaFlowEmatches, emCmp(0, 0, 8))(ab); err != nil { + return err + } + if err := tcNest(TcaFlowAct, func(ab *AttrBuilder) error { return tcGactOne(ab, 1, 2, nil) })(ab); err != nil { + return err + } + return ab.PutU32(TcaFlowMode, FlowModeHash) + })}, "match"}, + {"boundary: a 4096-byte needle sends len 0 and the whole needle (W136)", "ec-122", basicCls(emMatch{ + hdr: TcfEmatchHdr{Kind: TcfEmKindNbyte}, + payload: TcfEmNbyte{Len: 4096, Layer: 1, Needle: bytes.Repeat([]byte("x"), 4096)}.Append(nil)}), "match"}, + {"boundary: canid's 400 rules, tc's cap", "ec-130", + basicCls(emCanid(rules(400, CanFilter{ID: 0x123, Mask: CanSffMask | CanEffFlag}))), "match"}, + {"corner: cgroup with no words sends an empty TCA_OPTIONS", "ec-086", TcWrite{MsgType: unix.RTM_NEWTFILTER, + Flags: tcAdd, Parent: tcEgress, Info: 1<<16 | tcInfoAll, Handle: 1, Kind: "cgroup", + Opts: tcNest(TcaOptions, func(*AttrBuilder) error { return nil })}, "match"}, + {"corner: basic with no words sends no TCA_OPTIONS (W148)", "ng-085", basic(nil), "match"}, + {"corner: the shared strbuf: the first needle is xyc (W124)", "ec-105", basicCls( + emMatch{hdr: TcfEmatchHdr{Kind: TcfEmKindNbyte, Flags: TcfEmRelOr}, + payload: TcfEmNbyte{Len: 3, Layer: 1, Needle: []byte("xyc")}.Append(nil)}, + emMatch{hdr: TcfEmatchHdr{Kind: TcfEmKindNbyte}, + payload: TcfEmNbyte{Len: 2, Layer: 1, Needle: []byte("xy")}.Append(nil)}), "match"}, + {"negative: the first needle as typed (abc) is not what tc sent", "ec-105", basicCls( + emMatch{hdr: TcfEmatchHdr{Kind: TcfEmKindNbyte, Flags: TcfEmRelOr}, + payload: TcfEmNbyte{Len: 3, Layer: 1, Needle: []byte("abc")}.Append(nil)}, + emMatch{hdr: TcfEmatchHdr{Kind: TcfEmKindNbyte}, + payload: TcfEmNbyte{Len: 2, Layer: 1, Needle: []byte("xy")}.Append(nil)}), "differ"}, + {"negative: a breadth-first flatten differs", "ec-006", basicCls( + emCmp(TcfEmRelAnd, 0, 1), emContainer(TcfEmRelAnd, 3), emContainer(0, 5), emCmp(TcfEmRelOr, 1, 2), + emContainer(TcfEmInvert, 6), emCmp(0, 3, 4), emCmp(0, 2, 3)), "differ"}, + } + for _, tc := range tests { + t.Run(tc.description, func(t *testing.T) { + want := tcWriteCapturedIn(t, tdTcematch, tc.id) + w := tc.w + if w.Ifindex == 0 { + w.Ifindex = tcCapturedIfindex(want) + } + got, err := BuildTcWriteRequest(&w, 0) + if err != nil { + t.Fatal(err) + } + if same := tcSameRequest(got, want); same != (tc.expected == "match") { + t.Errorf("expected %s\n got %s\nwant %s", tc.expected, hex.EncodeToString(got), hex.EncodeToString(want)) + } + }) + } +} diff --git a/pkg/xtcpnl/xtcpnl_tc_emencode.go b/pkg/xtcpnl/xtcpnl_tc_emencode.go new file mode 100644 index 000000000..2b7f40003 --- /dev/null +++ b/pkg/xtcpnl/xtcpnl_tc_emencode.go @@ -0,0 +1,60 @@ +package xtcpnl + +// This file is the encode half of an ematch tree, as a `tc filter` write +// of basic, cgroup or flow carries it: an Append per struct, laid out field +// for field as include/uapi/linux/pkt_cls.h, tc_ematch/tc_em_cmp.h, +// tc_em_nbyte.h, tc_em_meta.h and can.h have them at v7.4-rc4, so +// decode(Append(x)) is x for every value a field can hold. Which nest each +// goes in, and the order, are tc/m_ematch.c's business and each module's +// parse_eopt (tc/em_*.c, iproute2 v7.2.0). +// +// The match headers and payloads go through addraw_l rather than addattr_l +// (AttrBuilder.PutRaw). Like xtcpnl_tc_fencode.go these are not behind a +// write tag: laying out a struct sends nothing. + +// Append lays out h, struct tcf_ematch_tree_hdr (pkt_cls.h:724): +// nmatches and progid, host order. +func (h TcfEmatchTreeHdr) Append(b []byte) []byte { + return appendU16(appendU16(b, h.NMatches), h.ProgID) +} + +// Append lays out h, struct tcf_ematch_hdr (pkt_cls.h:737): matchid, +// kind, flags and pad, host order. +func (h TcfEmatchHdr) Append(b []byte) []byte { + return appendU16(appendU16(appendU16(appendU16(b, h.MatchID), h.Kind), h.Flags), h.Pad) +} + +// Append lays out c, struct tcf_em_cmp (tc_em_cmp.h:8): val, mask, off, +// then the four 4-bit fields two to a byte, the first in the low nibble +// (align|flags, layer|opnd), as GCC packs them on a little-endian target. +// A field wider than four bits keeps its low nibble, as a C bitfield +// assignment does. +func (c TcfEmCmp) Append(b []byte) []byte { + b = appendU32(appendU32(b, c.Val), c.Mask) + b = appendU16(b, c.Off) + return append(b, c.Align&0xF|c.Flags<<4, c.Layer&0xF|c.Opnd<<4) +} + +// Append lays out n, struct tcf_em_nbyte (tc_em_nbyte.h:8), and its +// needle: off, then len:12 and layer:4 in one little-endian u16 (len the +// low twelve bits), then Needle as given. em_nbyte.c assigns the needle's +// length to the 12-bit field, so a caller passes Len as tc computes it and +// Append keeps its low twelve bits (W136: a 4096-byte needle is len 0). +func (n TcfEmNbyte) Append(b []byte) []byte { + b = appendU16(b, n.Off) + b = appendU16(b, n.Len&0xFFF|uint16(n.Layer&0xF)<<12) + return append(b, n.Needle...) +} + +// Append lays out f, struct can_filter (can.h:288): can_id and can_mask, +// host order. +func (f CanFilter) Append(b []byte) []byte { + return appendU32(appendU32(b, f.ID), f.Mask) +} + +// Append lays out v, struct tcf_meta_val (tc_em_meta.h:17): kind, shift +// and op. struct tcf_meta_hdr (tc_em_meta.h:88) is the left value and +// then the right. +func (v TcfMetaVal) Append(b []byte) []byte { + return append(appendU16(b, v.Kind), v.Shift, v.Op) +} diff --git a/pkg/xtcpnl/xtcpnl_tc_emencode_test.go b/pkg/xtcpnl/xtcpnl_tc_emencode_test.go new file mode 100644 index 000000000..3b0897a1a --- /dev/null +++ b/pkg/xtcpnl/xtcpnl_tc_emencode_test.go @@ -0,0 +1,168 @@ +package xtcpnl + +import ( + "bytes" + "encoding/hex" + "errors" + "testing" +) + +// TestTcEmatchAppend lays out each ematch struct (gotc 21P) and decodes it +// back with the read side's decoder: the bytes are the uapi layout at +// v7.4-rc4, and decode(Append(x)) is x for every value a field can hold. +// +// go test ./pkg/xtcpnl/ -run TestTcEmatchAppend +func TestTcEmatchAppend(t *testing.T) { + tests := []struct { + description string + got []byte + expected string // hex + roundTrip func([]byte) (any, error) + value any // what roundTrip decodes back; nil when the layout is lossy + }{ + {"positive: tree header", TcfEmatchTreeHdr{NMatches: 7, ProgID: 0}.Append(nil), "07000000", nil, nil}, + {"positive: match header", TcfEmatchHdr{MatchID: 1, Kind: TcfEmKindNbyte, Flags: TcfEmRelOr | TcfEmInvert}.Append(nil), + "0100020006000000", func(b []byte) (any, error) { h, _, err := DecodeTcfEmatch(b); return h, err }, + TcfEmatchHdr{MatchID: 1, Kind: TcfEmKindNbyte, Flags: TcfEmRelOr | TcfEmInvert}}, + {"positive: cmp, every field and both packed bytes", + TcfEmCmp{Val: 20, Mask: 0xff00, Off: 2, Align: TcfEmAlignU16, Flags: TcfEmCmpTrans, Layer: 2, Opnd: TcfEmOpndLt}.Append(nil), + "1400000000ff0000020012" + "22", func(b []byte) (any, error) { return DecodeTcfEmCmp(b) }, + TcfEmCmp{Val: 20, Mask: 0xff00, Off: 2, Align: TcfEmAlignU16, Flags: TcfEmCmpTrans, Layer: 2, Opnd: TcfEmOpndLt}}, + {"positive: nbyte with its needle", TcfEmNbyte{Off: 12, Len: 5, Layer: 1, Needle: []byte("ababa")}.Append(nil), + "0c000510" + "6162616261", func(b []byte) (any, error) { return DecodeTcfEmNbyte(b) }, + TcfEmNbyte{Off: 12, Len: 5, Layer: 1, Needle: []byte("ababa")}}, + {"positive: can_filter", CanFilter{ID: 0x80000123, Mask: CanEffMask | CanEffFlag}.Append(nil), "23010080ffffff9f", + func(b []byte) (any, error) { return DecodeCanFilters(b)[0], nil }, CanFilter{ID: 0x80000123, Mask: 0x9fffffff}}, + {"positive: tcf_meta_hdr, left then right", + TcfMetaVal{Kind: TcfMetaTypeInt << 12}.Append(TcfMetaVal{Kind: TcfMetaTypeInt<<12 | 6, Shift: 1, Op: TcfEmOpndGt}.Append(nil)), + "0610010100100000", nil, nil}, + {"boundary: nbyte len 4095 fills the 12 bits (W136)", TcfEmNbyte{Len: 4095, Layer: 1}.Append(nil), "0000ff1f", nil, nil}, + {"boundary: nbyte len 4096 keeps its low 12 bits, 0 (W136)", TcfEmNbyte{Len: 4096, Layer: 1}.Append(nil), "00000010", nil, nil}, + {"boundary: nbyte len 4097 is 1 (W136)", TcfEmNbyte{Len: 4097, Layer: 1}.Append(nil), "00000110", nil, nil}, + {"corner: a cmp field past four bits keeps its low nibble, as a bitfield does", + TcfEmCmp{Align: 0x11, Layer: 0x13}.Append(nil), "000000000000000000000103", nil, nil}, + {"corner: nbyte layer past four bits keeps its low nibble", TcfEmNbyte{Layer: 0x1f}.Append(nil), "000000f0", nil, nil}, + } + for _, tc := range tests { + t.Run(tc.description, func(t *testing.T) { + if got := hex.EncodeToString(tc.got); got != tc.expected { + t.Fatalf("got %s, expected %s", got, tc.expected) + } + if tc.roundTrip == nil { + return + } + v, err := tc.roundTrip(tc.got) + if err != nil { + t.Fatal(err) + } + if hex.EncodeToString(appendAny(v)) != hex.EncodeToString(appendAny(tc.value)) { + t.Errorf("decoded %+v, expected %+v", v, tc.value) + } + }) + } +} + +// appendAny is an ematch value laid out again, so values holding slices +// compare. +func appendAny(v any) []byte { + switch x := v.(type) { + case TcfEmatchHdr: + return x.Append(nil) + case TcfEmCmp: + return x.Append(nil) + case TcfEmNbyte: + return x.Append(nil) + case CanFilter: + return x.Append(nil) + } + return nil +} + +// TestAttrBuilderPutRaw is addraw_l: the bytes with no header, zero padding +// to four, and a refusal that writes nothing. +// +// go test ./pkg/xtcpnl/ -run TestAttrBuilderPutRaw +func TestAttrBuilderPutRaw(t *testing.T) { + tests := []struct { + description string + room int + v []byte + expected string // the buffer after, hex; or the error + }{ + {"positive: four bytes, no padding", 8, []byte{1, 2, 3, 4}, "01020304"}, + {"positive: eight bytes", 8, []byte{1, 2, 3, 4, 5, 6, 7, 8}, "0102030405060708"}, + {"boundary: exactly the room", 4, []byte{9, 9, 9, 9}, "09090909"}, + {"boundary: nothing to append", 4, nil, ""}, + {"corner: one byte padded with three zeros", 8, []byte{1}, "01000000"}, + {"corner: two bytes padded with two zeros", 8, []byte{1, 2}, "01020000"}, + {"corner: three bytes padded with one zero", 8, []byte{1, 2, 3}, "01020300"}, + {"negative: five bytes need eight", 4, []byte{1, 2, 3, 4, 5}, "no space"}, + {"negative: three bytes need four", 3, []byte{1, 2, 3}, "no space"}, + } + for _, tc := range tests { + t.Run(tc.description, func(t *testing.T) { + buf := bytes.Repeat([]byte{0xaa}, tc.room) + ab := NewAttrBuilder(buf) + err := ab.PutRaw(tc.v) + if tc.expected == "no space" { + if !errors.Is(err, ErrAttrNoSpace) { + t.Fatalf("err %v, expected ErrAttrNoSpace", err) + } + if ab.Len() != 0 || !bytes.Equal(buf, bytes.Repeat([]byte{0xaa}, tc.room)) { + t.Errorf("a refused PutRaw wrote: len %d, buf %x", ab.Len(), buf) + } + return + } + if err != nil { + t.Fatal(err) + } + if got := hex.EncodeToString(ab.Bytes()); got != tc.expected { + t.Errorf("got %s, expected %s", got, tc.expected) + } + }) + } +} + +// TestTcEmatchAppendAllocs pins the encoders and PutRaw at no allocation +// into a buffer with room. +func TestTcEmatchAppendAllocs(t *testing.T) { + buf := make([]byte, 0, 64) + raw := make([]byte, 64) + needle := []byte("ababa") + n := testing.AllocsPerRun(1_000, func() { + b := TcfEmatchHdr{Kind: TcfEmKindCmp}.Append(buf[:0]) + b = TcfEmCmp{Val: 1, Align: TcfEmAlignU8, Layer: 1}.Append(b) + b = TcfEmNbyte{Len: 5, Needle: needle}.Append(b) + b = CanFilter{ID: 1, Mask: CanSffMask}.Append(b) + b = TcfMetaVal{Kind: 6}.Append(b) + ab := NewAttrBuilder(raw) + if err := ab.PutRaw(b[:3]); err != nil { + t.Fatal(err) + } + }) + if n != 0 { + t.Errorf("%v allocations, expected 0", n) + } +} + +// BenchmarkTcEmatchAppend lays out a cmp match and an nbyte match through +// PutRaw, as parse_tree writes them. +func BenchmarkTcEmatchAppend(b *testing.B) { + buf := make([]byte, 0, 64) + raw := make([]byte, 128) + needle := []byte("ababa") + b.ReportAllocs() + for b.Loop() { + ab := NewAttrBuilder(raw) + p := TcfEmatchHdr{Kind: TcfEmKindCmp, Flags: TcfEmRelAnd}.Append(buf[:0]) + p = TcfEmCmp{Val: 8, Align: TcfEmAlignU8, Layer: 1}.Append(p) + if err := ab.PutRaw(p); err != nil { + b.Fatal(err) + } + p = TcfEmatchHdr{Kind: TcfEmKindNbyte}.Append(buf[:0]) + p = TcfEmNbyte{Off: 12, Len: 5, Layer: 1, Needle: needle}.Append(p) + if err := ab.PutRaw(p); err != nil { + b.Fatal(err) + } + } +} From aebc340e2e8050b412d1636c3a54feded5706ff2 Mon Sep 17 00:00:00 2001 From: "randomizedcoder dave.seddon.ca@gmail.com" Date: Sun, 29 Nov 2026 20:58:41 -0800 Subject: [PATCH 3/7] gotc 21W: ematch writes for basic, cgroup and flow match tc's ematch lexer and parser (flex's buffer, bison's LALR tables, the state a batch carries between lines), the cmp, nbyte, u32, meta and canid modules, and basic's and cgroup's parse_fopt with flow's match arm. ipset, ipt and police are refused by name, and so are the leads where tc reads or writes memory it doesn't own, or hangs (W123-W128, W132). Fixes the read side's meta vlan id (46, not 48). 243 of 257 tcematch rows replay byte for byte (14 refused by name); tcfwrite ec-114/115/118 now match; 245 tdc filter writes match. Co-Authored-By: Claude Opus 5.5 --- docs/netlink/gotc-status.md | 5 + internal/gotc/corpus_test.go | 22 +- internal/gotc/ematch.go | 18 +- internal/gotc/ematch_readback_test.go | 80 +++ internal/gotc/filter_test.go | 4 +- internal/gotc/fw_basic.go | 165 +++++ internal/gotc/fw_ematch.go | 863 ++++++++++++++++++++++++++ internal/gotc/fw_ematch_test.go | 283 +++++++++ internal/gotc/fw_emkinds.go | 719 +++++++++++++++++++++ internal/gotc/fw_flow.go | 4 +- internal/gotc/fwrite.go | 25 +- internal/gotc/fwrite_fuzz_test.go | 58 +- internal/gotc/fwrite_off.go | 4 + internal/gotc/gotc.go | 1 + internal/gotc/qw_cake.go | 2 +- internal/gotc/qw_netem.go | 2 +- internal/gotc/qwrite_tdc_test.go | 21 +- internal/gotc/unit_test.go | 4 +- internal/gotc/util.go | 9 + 19 files changed, 2256 insertions(+), 33 deletions(-) create mode 100644 internal/gotc/ematch_readback_test.go create mode 100644 internal/gotc/fw_basic.go create mode 100644 internal/gotc/fw_ematch.go create mode 100644 internal/gotc/fw_ematch_test.go create mode 100644 internal/gotc/fw_emkinds.go diff --git a/docs/netlink/gotc-status.md b/docs/netlink/gotc-status.md index c092fddcc..f8e8e8969 100644 --- a/docs/netlink/gotc-status.md +++ b/docs/netlink/gotc-status.md @@ -284,6 +284,10 @@ tc's ematch grammar and the cmp, nbyte, u32, meta and canid modules; ipset, ipt Two batches on one boot agree on every row (V055). - **21P (encoders): done.** `Append` for the ematch tree and match headers and the cmp, nbyte, canid and meta structs, and `AttrBuilder.PutRaw` (addraw_l). Fifteen requests equal tc's captured bytes (V056). +- **21W (writes): done.** tc's ematch lexer and parser (flex's buffer and bison's tables, with the state a batch + carries between lines), the cmp, nbyte, u32, meta and canid modules, and the parse_fopt of basic and cgroup, plus + flow's `match`. 243 of the 257 tcematch rows replay byte for byte and 14 are refused by name. tcfwrite's three + basic, cgroup and flow-match rows now match, and so do 111 more tdc filter writes (245 in all) (V057). ## Ledger @@ -354,6 +358,7 @@ tc's ematch grammar and the cmp, nbyte, u32, meta and canid modules; ipset, ipt | V054 | 20L | **Live diff** on the workbench (kernel 7.3.1, tc 7.2.0 `/nix/store/x1pwsbz5cm23hk58b7fcpn3hhg9j7gwh-iproute2-7.2.0`). gotc was built with `-tags gotc_write` at 20W (`/nix/store/qk9dyfv0kl2l5fv68jcn1qlmiad7x9s6-gotc-write-20l`), with `GOTC_CONF_USR_DIR` and `TC_LIB_DIR` set to tc's. V049's method: each row of `tcfwrite.rows.jsonl` runs its pre steps in a fresh named namespace, then gotc with `GOTC_WRITE_OUT`, then tc; requests (RTM_NEW/DELTFILTER, RTM_NEW/DELCHAIN) are compared with tc's from the corpus pcaps, seq, pid and the tcmsg ifindex zeroed (gotc saw ifindexes 0, 1, 2, 3 and the block's ffffffff). **Result: 173/183 identical**, 22 of them rows where the request is identical and only tc hears the kernel's refusal. **Named exceptions:** the nine refusals by name (ec-111..118: police, mirred, basic, cgroup, flower, bpf, flow `match`; ng-033: W110), and ec-032, `route fromif d0`, whose request differs only in d0's ifindex inside TCA_ROUTE4_IIF and in the handle tc computes from it (3 in the capture's namespace, which holds nlmon0; 2 live). **tc against the corpus:** stdout, stderr and rc match `ws/tcfwrite` on all 183 rows. **VM:** pre-checked (`free -g`: 64G available; port 12061 free; no workbench process), booted from off with `up`; the baseline was 86 modules, no namespace, no core files. After the captures and the live run, `modprobe -r` of the 15 sch_/cls_/act_/em_ modules left lsmod at 91 (as after 19C), so the VM was powered off with `down`; port 12061 free, no workbench process. No namespace was left, there were no core files, and `/tmp/t20l` was removed by the script. | | V055 | 21C | **Captures**: `tools/nlcapgen/matrix_tcematch.go` (`tcematch`, 257 rows: 144 writes and 113 refusals, on 20C's fixture: d0 with clsact, d1 with an htb root, two classes and ingress block 10), corpus `pkg/xtcpnl/testdata/7_3_1/ws/tcematch/`. Rows: basic's add, change, replace and delete (and in block 10, on htb, in chain 7); cgroup's add, replace and delete-by-prio, with its change, delete-by-handle, second handle and missing handle refused by the kernel (ENOENT, ENOENT, ENOENT, EINVAL: K2's one filter per prio); flow's `match` in hash and map modes, change and replace. The grammar: AND, OR and NOT in any case, nesting (the flatten order), a tree over several words, tokens with no spaces, a second `match`, empty words, quoted kinds, and 12 Parse error forms. Every cmp, nbyte, u32, meta and canid keyword and error message, one meta match per id, and every escape. Rows for W123–W155 except W143 (the map files; no capture) and W153/W154 (ipt's hook and optind: tc aborts first, W152), plus F25, W95 and W97. W127's hang (a first tree word of 8191 bytes) and W128's container case can't end in a capture, so gotc's tests pin them, and `TestTcEmatchSpace` keeps such a word out of every row. Three rows crash tc in the guest: W123's escape-then-run (SIGABRT, rc 134), W124's realloc (SIGSEGV, 139) and W152's ipt (SIGABRT). Every expected rc was first checked on the host tc 7.2.0 under `unshare -rn`, with `strace -e inject=sendmsg` for the rows whose em module the host hasn't loaded (nbyte, meta, canid, ipset). The workbench then disagreed on two rows: a cgroup change in a batch (ENOENT; made a replace) and `meta("a" eq "b")` (accepted; made a write). Four rows' `expect` (refused_by for the crashes, ENOTSUP for W125) were corrected in the rows file and copied into their `cmd.json`; the captures are unchanged. **Kernel:** 7.3.1's tcf_em_tree_dump ignores nla_put_nohdr's failure, so W136's 4095-byte needle is dumped with its header alone and tc prints `NByte header size mismatch` (K56; fixed by v7.4-rc1's 528de6832b21). `TestWsTcFilterKinds` accepts such a match. W151's refusal echoes its 16 KiB request with no extended ack, so it's now `ParseNlMsgErr`'s largest pick (0 allocations). **Batches:** two on one boot, 257/257 each, identical with pcaps excluded, and the pcaps' requests identical with seq and pid masked (only the readbacks' action timestamps differ). **Test:** `TestTcEmatchSpace` (row count 257, each grammar form, module keyword and lead, the verbs, no hanging word, determinism). **VM:** pre-checked (`free -g`: 60G available; port 12061 free; no workbench process), booted from off; no core files at boot; the nine tc cores from the three crashing rows were removed, then the VM was powered off with `down`. | | V056 | 21P | **Encoders** (`pkg/xtcpnl/xtcpnl_tc_emencode.go`, untagged: laying out a struct sends nothing): `Append` for `TcfEmatchTreeHdr`, `TcfEmatchHdr`, `TcfEmCmp` (align\|flags and layer\|opnd packed low nibble first, each keeping its low four bits as a C bitfield does), `TcfEmNbyte` (len:12\|layer:4 in one u16, then the needle as given, so W136's 4096-byte needle is len 0 with all 4096 bytes), `CanFilter` and `TcfMetaVal` (tcf_meta_hdr is left then right), each cited to the v7.4-rc4 uapi header and line. `AttrBuilder.PutRaw` is addraw_l (lib/libnetlink.c:1395 at v7.2.0): the bytes with no header, zero-padded to four, and a refusal that writes nothing (ErrAttrNoSpace). **Tests:** `TestBuildTcEmatchWrite` (gotc_write) builds 15 tcematch requests through `BuildTcWriteRequest` and matches tc's captured bytes: cmp with every keyword, nbyte's escapes, u32's u16 at 2 and nexthdr+4, meta's INT id with shift and mask and its VAR adoption, canid's masks, the nested tree's pre-order flatten with children at the tail and their refs, cgroup's tree and action, flow's EMATCHES in argv order with MODE last, W136's 4096-byte needle, 400 canid rules, cgroup's empty TCA_OPTIONS, basic's none (W148) and W124's `xyc`. Two negative rows (the needle as typed, a breadth-first flatten) differ from the capture. `TestTcEmatchAppend` (11 rows: each layout's bytes and its round trip through the read side's decoder, nbyte len 4095/4096/4097, bitfield truncation), `TestAttrBuilderPutRaw` (9 rows: padding of 1, 2 and 3 bytes, exact room, refusals leave the buffer and length unchanged), `TestTcEmatchAppendAllocs` (0), `BenchmarkTcEmatchAppend` (28 ns/op, 0 allocs). netlink-audit and kernel-citation-audit: no findings. | +| V057 | 21W | **Code** (`gotc_write`; each file matches no-write-encoders' `fw_[a-z0-9]+`): `fw_ematch.go` is emp_ematch.l and emp_ematch.y at v7.2.0 plus m_ematch.c's parse side. **Lexer:** flex 2.6.4's buffer (YY_INPUT feeds one word and a space per read, skips empty words, and prints `match argument too long.` at max_size; at EOF it restarts, keeping the start condition) and strbuf (calloc 512, grown by 512, quoted tokens kept as lengths into it). **Parser:** bison 3.8.2's LALR tables for the grammar's 21 states (only state 3 shifts `error`, so a complete tree followed by junk is accepted), and the unconditional undo of the look-ahead (F25). flatten_tree is ported literally, with child lists appended at the tail of the whole chain. **Process state** lives on `runner.em`: the leftover buffer, the start condition, strbuf and ematch_root, all carried across parses and batch lines (W124, W128, W129). **Messages:** em_parse_error's block word for word. `fw_emkinds.go` holds the five modules (meta's type-mask table and its adopt and compatibility rules; canid's 25→400 array) and the name-to-id map lookup (case-insensitive, first match, the second file only on ENOENT). ipset and ipt are refused by name. `fw_basic.go` holds basic (no words: no TCA_OPTIONS, W148) and cgroup (the nest always), each with strtol's handle (W147), and flow's `match` arm. `fops` gains `raw`, replayed through `PutRaw` with addraw_l's bound. **Refused** as `not implemented: tc ematch …`, each where tc reads or writes memory it doesn't own, or hangs: W123's run past strbuf, W124's realloc under a quoted token, W125's mask walk, W126's 63-byte kind, W127's parse that ends back on `match`, W128's stale root holding a container, and W132's reads past strbuf. **Read side:** `metaNames`' vlan id was 48 and is now 46 (TCF_META_ID_VLAN_TAG); ec-049's readback found it. **Corpus:** `tcematch`, 257 rows: 243 replay byte for byte, and 14 are refused by name (W123 ×3, W125, W126 ×2, police ×3, ipt, ipset ×2, and two trees past their bound: ec-137's 4096 and ng-095's 16384). tcfwrite ec-114, ec-115 and ec-118 come off `corpusRefused`. `TestGotcEmatchReadbacks` (untagged) replays the 144 readbacks through the read side, stdout identical; ec-137's dump ends in the kernel's EMSGSIZE for tc and gotc alike. **tdc:** 245 filter and chain writes match exactly (134 + 111). Kind basic, kind cgroup and flow match leave `tdcFilterSkips`, and five rows move to `action skbedit` (now 7). **Unit:** `TestGotcEmatchWrite`, 33 rows. Positive: basic cmp+classid, cgroup u32+gact, flow's EMATCHES in argv order with MODE last, each module's full keyword set, and the nested tree's flatten (A P P B notP C D, refs 3, 6 and 5). Negative: ipt and ipset by name, the Parse error block, an unknown kind, F25's `What is`. Boundary: quoted runs of 511, 512 (sent) and 513 (W123); an escape after 512 grows strbuf (513 sent, checked on the host tc 7.2.0); needles of 4095 and 4096 (len 0), and 4097 at layer link (len 1, layer 0); canid with 400 and 401 rules. Corner: W124's `xyc`, W124's realloc (on the host tc 7.2.0 it sends the freed block as the first needle), W133, W137, W130, W128 and W129 in a batch, W148, W147's del of handle 08, W146. **Fuzz:** `FuzzGotcFilterWrite` gains ten ematch seeds and the ematch_map sys (60 s, 833k execs); new `FuzzGotcEmatchBatch` runs two lines as a `-force -batch` (60 s, 536k execs). Neither found anything. **Mutants** (each under `systemd-run --user --scope -p MemoryMax=6G`, `go test -timeout=180s`), all 10 killed: each quoted string copied (W124), the undo made conditional (F25), u16 shifted at an odd offset (W133), the needle len's 12-bit mask dropped (W136), parse_layer comparing the whole word (W137), a breadth-first flatten, the INVERT bit dropped, the type adopted with the value on the right (W130), basic sending an empty nest (W148), and the lexer reset per line (W129). Mutant 4 survived at first, for two reasons: emNbyteParse masked Len again before the encoder did, and the 4096 row's overflow bit coincides with layer 1. The caller's mask was dropped (Append keeps the low twelve bits, as its comment says) and the 4097-at-layer-link row was added. **Coverage:** 85.1% of `internal/gotc`. **Gates:** `go test ./internal/gotc/ ./pkg/xtcpnl/ ./tools/nlcapgen/ ./internal/wsreplay/`, with and without `-tags gotc_write`; `CGO_ENABLED=0 go build ./...`; `gofmt -s`; lint-baseline (tiers 0-2), no-write-encoders and `nix build .#gotc` at `?rev=`. The first lint run found gocyclo on `emAction` (now bison's two tables, look-ahead actions and yydefact), funlen on `emU32Parse` (the offset forms moved to `emU32Offset`), goconst on the ematch kind and meta-id names (now constants shared with the read side and two qdisc parsers) and one prealloc; all were fixed in the code. | | DOC009 | 16B | **Write-up:** `docs/netlink/upstream/iproute2-tc-aqm.md`: status header, reachability, contents, 24 summary rows, six sections, and K32–K43. Not submitted to netdev. **At HEAD** (GitHub mirror, `5d13122576d6`, 2026-11-26): none of the thirteen printers, `tc_red.c`, `tc_qevent.c` or `tc_qdisc.c` has a commit since v7.2.0, so all are present. **Confirmed in the corpus:** Q66 (ec-007), Q73 (ec-021, pw-021), Q79 (ec-038), Q80/Q81 (pw-035, ec-040, pw-040, pw-042), Q83 (pw-052), Q84 (pw-052, ec-055, pw-055), Q86 (ec-053), Q87 (ec-001, pw-005). **Latent, with unit rows:** Q67–Q72, Q74–Q78, Q82, Q85, Q88, Q89. **Dropped:** none. **New leads:** Q88 (gred_parse_vqs's plain parse_rtattr misses a VQ_ENTRY flagged NLA_F_NESTED), Q89 (an unknown dualpi2 ECN mask warns twice and prints an empty word). **Kernel notes:** K32–K42 confirmed at v7.4-rc4, refined: red's qevents only when bound; idle cake MIN_NETLEN 65535; cake_mq no dump_stats; plug no .dump; skbprio 64 classes; dualpi2 rejects both step_thresh forms (sch_dualpi2.c:812). **K43 (new):** codel times lose 1 µs (target 4ms dumps 3999, pw-024). **Unit rows:** TestGotcAqm adds Q88 (44 rows). **Bug classes:** none new; Q88 and Q89 fit C3/C15 and C10. | | DOC010 | 17B | **Write-up:** `docs/netlink/upstream/iproute2-tc-write.md`: status header, reachability, contents, 25 summary rows, eight sections, K44–K45. Not submitted to netdev. **At HEAD** (GitHub mirror, `35033e4713fe`, 2026-11-27): no tc file in scope has a commit since v7.2.0; `lib/utils.c`'s one (`552d9842b1f4`, resolve_address's cache) touches none of it, so all are present. **Confirmed in the corpus:** W1 (ec-088, ec-099), W2 (ec-079, ng-011), W3 (ec-089), W4 (ng-004, ng-005, ng-019), W9 (ng-013), W17 (ec-092), W22 (ec-062). **Latent, with unit rows:** W5, W6, W8, W10–W16, W18–W21, W23–W25. **Dropped:** W7. **Kernel notes:** K44 (each verb's errno and extack, ng-001–003, 007, 014, 020–025), K45 (extack errors and warnings printed in place of RTNETLINK answers). **Bug classes:** candidates for the user: a wrong option named in a copied error message (W15, W20) and a divide by a user-given zero (W21). | | V033 | 16C | **Captures** `tcaqm`: `tools/nlcapgen/matrix_tcaqm.go` (+ `TestTcAqmSpace`), rows in `nix/microvms/workbench/tcaqm.rows.jsonl`, corpus in `pkg/xtcpnl/testdata/7_3_1/ws/tcaqm/` (132 rows, 2.7M). Modules: sch_cake (with cake_mq), sch_choke, sch_codel, sch_dualpi2, sch_fq_pie, sch_gred, sch_hhf, sch_pie, sch_plug, sch_red, sch_sfb, sch_skbprio. **Fixtures (26):** red default and `ecn harddrop adaptive qevent early_drop block 10`; choke with ecn; gred `setup vqs 4 default 0 grio` with VQs 0 and 1 changed in, and gred with no VQ configured; sfb default and `rehash 5000000 db 5000000` (Q73); codel, pie, fq_pie and hhf defaults plus an option variant each; cake default, plus four variants covering every diffserv mode, the flow modes, nat/wash/ingress, both ack-filters, no-split-gso, rtt, atm overhead mpu, memlimit, fwmark 0xff, autorate-ingress and docsis; cake_mq on a four-queue dummy; dualpi2 default, step_thresh in packets with drop_enqueue/drop_on_overload/any_ect/no_split_gso, and step_thresh in time; plug; skbprio (with `class show`). Each gets `qdisc show` plus `-s`/`-d`/`-o` forms; batches: cake `-s` qdisc/class/qdisc and red `-d` twice. **Refusals:** ng-001 cake_mq under plug (ENOTSUP, "Parent qdisc is not classful"), ng-002 cake_mq autorate-ingress (ENOTSUP, K39), ng-003 gred change over plug (EINVAL), ng-004 `show dev nosuch` (rc 1). **Notes:** batch lines take no options, so the batches pass `-s`/`-d` on tc's own command line; hhf's `admit_bytes 64Kb` is not accepted, so the fixture uses 65536. Q66 is confirmed live (`Scell_log 15qevent early_drop block 10`), and Q73 (sfb prints `rehash 705s`), Q80, Q81, Q83 and Q84 show in the captures. misspell flags dualpi2's `any_ect`; a scoped exclusion in both golangci configs covers the tcaqm and dualpi2 files. **Gate:** two batches on one boot, 132/132 OK, stdout, stderr and rc identical; `TestTcAqmSpace` pins 132 rows, 26 fixtures and 21 cases; no row sends packets. | diff --git a/internal/gotc/corpus_test.go b/internal/gotc/corpus_test.go index 4007ffdc2..40fbf3ee3 100644 --- a/internal/gotc/corpus_test.go +++ b/internal/gotc/corpus_test.go @@ -41,12 +41,26 @@ var corpusRefused = map[string]string{ "tcfwrite/ec-111": "not implemented: tc filter fw police", "tcfwrite/ec-112": "not implemented: tc filter u32 police", "tcfwrite/ec-113": "not implemented: tc filter action kind mirred", - "tcfwrite/ec-114": "not implemented: tc filter write of kind basic", - "tcfwrite/ec-115": "not implemented: tc filter write of kind cgroup", "tcfwrite/ec-116": "not implemented: tc filter write of kind flower", "tcfwrite/ec-117": "not implemented: tc filter write of kind bpf", - "tcfwrite/ec-118": "not implemented: tc filter flow match", "tcfwrite/ng-033": "uninitialised tc_gact_p (W110)", + // 21W: where tc writes or reads memory it does not own, police and the + // two ematch kinds refused by name, and trees past their bound, which + // tc truncates and sends (W97, W151). + "tcematch/ec-104": "quoted run past strbuf (W123)", + "tcematch/ng-100": "quoted run past strbuf (W123)", + "tcematch/ng-101": "quoted run past strbuf (W123)", + "tcematch/ng-068": "meta mask walk past its NUL (W125)", + "tcematch/ng-016": "kind of 63 bytes or more (W126)", + "tcematch/ng-017": "kind of 63 bytes or more (W126)", + "tcematch/ec-138": "not implemented: tc filter basic police", + "tcematch/ec-139": "not implemented: tc filter basic police", + "tcematch/ec-140": "not implemented: tc filter cgroup police", + "tcematch/ng-108": "not implemented: tc filter write of ematch kind ipt", + "tcematch/ng-109": "not implemented: tc filter write of ematch kind ipset", + "tcematch/ng-110": "not implemented: tc filter write of ematch kind ipset", + "tcematch/ec-137": "addattr_l exceeded its bound of 4096", + "tcematch/ng-095": "addraw_l exceeded its bound of 16384", } // qwriteSent are the corpusWrites rows the gotc_write build sends and @@ -259,6 +273,8 @@ func TestGotcCorpus(t *testing.T) { corpusRows["tcawrite"] = 160 spaces = append(spaces, "tcfwrite") corpusRows["tcfwrite"] = 183 + spaces = append(spaces, "tcematch") + corpusRows["tcematch"] = 257 } for _, sp := range spaces { more, err := filepath.Glob("../../pkg/xtcpnl/testdata/*/ws/" + sp) diff --git a/internal/gotc/ematch.go b/internal/gotc/ematch.go index ebee76405..5e4991571 100644 --- a/internal/gotc/ematch.go +++ b/internal/gotc/ematch.go @@ -33,11 +33,11 @@ type emPrinter func(r *runner, data []byte) int // ematchUtils are the ematches tc links (tc/Makefile) by kind name. var ematchUtils = map[string]emPrinter{ - "cmp": printEmCmp, - "nbyte": printEmNbyte, - wordU32: printEmU32, - "meta": printEmMeta, - "canid": printEmCanid, + emNameCmp: printEmCmp, + emNameNbyte: printEmNbyte, + wordU32: printEmU32, + emNameMeta: printEmMeta, + emNameCanid: printEmCanid, } // printEmatch is print_ematch. Its return is ignored by every filter @@ -145,7 +145,7 @@ func (r *runner) ematchKind(kind uint16) (string, emPrinter, error) { if err != nil { return "", nil, nil } - if name == "ipset" || name == "ipt" { + if name == emNameIpset || name == emNameIpt { return "", nil, fmt.Errorf("%w: ematch %q", errNotImplemented, name) } return name, ematchUtils[name], nil @@ -312,11 +312,11 @@ var metaNames = []struct { id uint16 name string }{ - {0, "Generic"}, {1, "random"}, {2, "loadavg_1"}, {3, "loadavg_5"}, {4, "loadavg_15"}, + {0, "Generic"}, {1, wordRandom}, {2, "loadavg_1"}, {3, "loadavg_5"}, {4, "loadavg_15"}, {0, "Interfaces"}, {5, "dev"}, {0, "Packet attributes"}, {6, wordPriority}, {7, wordProtocol}, {8, "pkt_type"}, {9, "pkt_len"}, {10, "data_len"}, {11, "mac_len"}, {0, "Netfilter"}, - {12, "nf_mark"}, {12, "fwmark"}, {0, "Traffic Control"}, {13, "tc_index"}, {0, "Routing"}, - {14, "rt_classid"}, {15, "rt_iif"}, {48, "vlan"}, {0, "Sockets"}, {16, "sk_family"}, + {12, "nf_mark"}, {12, wordFwmark}, {0, "Traffic Control"}, {13, "tc_index"}, {0, "Routing"}, + {14, "rt_classid"}, {15, "rt_iif"}, {46, "vlan"}, {0, "Sockets"}, {16, "sk_family"}, {17, "sk_state"}, {18, "sk_reuse"}, {19, "sk_bind_if"}, {20, "sk_refcnt"}, {21, "sk_shutdown"}, {22, "sk_proto"}, {23, "sk_type"}, {24, "sk_rcvbuf"}, {25, "sk_rmem"}, {26, "sk_wmem"}, {27, "sk_omem"}, {28, "sk_wmem_queue"}, {30, "sk_snd_queue"}, {29, "sk_rcv_queue"}, diff --git a/internal/gotc/ematch_readback_test.go b/internal/gotc/ematch_readback_test.go new file mode 100644 index 000000000..3cc9e64a1 --- /dev/null +++ b/internal/gotc/ematch_readback_test.go @@ -0,0 +1,80 @@ +package gotc + +import ( + "bytes" + "encoding/json" + "os" + "path/filepath" + "strings" + "testing" +) + +// TestGotcEmatchReadbacks replays each tcematch row's readback (`tc -d +// filter show`, captured after the write) through gotc's read side and +// holds its stdout to tc's: every tree tc wrote and the kernel kept prints +// as tc prints it (21W). +// +// go test ./internal/gotc/ -run TestGotcEmatchReadbacks +func TestGotcEmatchReadbacks(t *testing.T) { + dirs, err := filepath.Glob("../../pkg/xtcpnl/testdata/*/ws/tcematch/*") + if err != nil { + t.Fatal(err) + } + if len(dirs) == 0 { + t.Fatal("no tcematch corpus") + } + pschedContent = readFile(t, pschedRow) + n := 0 + for _, dir := range dirs { + dir, err := filepath.Abs(dir) + if err != nil { + t.Fatal(err) + } + b, err := os.ReadFile(filepath.Join(dir, "cmd.json")) + if err != nil { + t.Fatal(err) + } + var c struct { + ID string `json:"id"` + Readback []struct { + Cmd string `json:"cmd"` + Name string `json:"name"` + } `json:"readback"` + } + if err := json.Unmarshal(b, &c); err != nil { + t.Fatal(err) + } + if len(c.Readback) != 1 { + continue + } + pcap := filepath.Join(dir, "netlink_route_"+c.Readback[0].Name+".pcap") + if _, err := os.Stat(pcap); err != nil { + continue + } + n++ + t.Run(c.ID, func(t *testing.T) { + src, err := NewReplaySource(pcap) + if err != nil { + t.Fatal(err) + } + args := shellWords(c.Readback[0].Cmd)[1:] + var out, errb bytes.Buffer + t.Chdir(dir) + rc := run(config{src: src, sys: testSys(t, dir)}, args, &out, &errb) + want := readFile(t, filepath.Join(dir, c.Readback[0].Name+".out")) + // stdout only: dump.out holds no stderr or rc. ec-137's dump + // ends in the kernel's "Buffer too small for object" (EMSGSIZE), + // rc 1, for tc and gotc alike. + if out.String() != want { + t.Fatalf("%s: rc %d stderr %q\n got %q\n want %q", c.Readback[0].Cmd, rc, errb.String(), out.String(), want) + } + if strings.Contains(errb.String(), "not implemented") { + t.Fatalf("refused: %s", errb.String()) + } + }) + } + if n == 0 { + t.Fatal("no readbacks") + } + t.Logf("replayed %d readbacks", n) +} diff --git a/internal/gotc/filter_test.go b/internal/gotc/filter_test.go index c2a003e9c..e95a6140e 100644 --- a/internal/gotc/filter_test.go +++ b/internal/gotc/filter_test.go @@ -78,7 +78,7 @@ func ematchTree(matches ...[]byte) []byte { } // shareSys is a root whose CONF_USR_DIR has the workbench tc's ematch_map. -func shareSys(t *testing.T) sysFS { +func shareSys(t testing.TB) sysFS { t.Helper() s := emptySys(t) b, err := os.ReadFile(filepath.Join("testdata", "share-iproute2", ematchMapName)) @@ -120,7 +120,7 @@ func TestGotcFilterUnit(t *testing.T) { description string args []string stdin string - sys func(*testing.T) sysFS + sys func(testing.TB) sysFS replies []Reply info uint32 // when non-zero, the last request's tcm_info expected result diff --git a/internal/gotc/fw_basic.go b/internal/gotc/fw_basic.go new file mode 100644 index 000000000..169d3d226 --- /dev/null +++ b/internal/gotc/fw_basic.go @@ -0,0 +1,165 @@ +//go:build gotc_write + +package gotc + +import ( + "errors" + "math" + + "github.com/randomizedcoder/xtcp2/pkg/cint" + "github.com/randomizedcoder/xtcp2/pkg/xtcpnl" +) + +// The parse_fopt of basic (tc/f_basic.c) and cgroup (tc/f_cgroup.c) at +// iproute2 v7.2.0: an ematch tree, actions, and for basic a classid. + +// basicExplain is f_basic.c explain, u32's SELECTOR and FILTERID copied in +// and police and flowid left out (W150). +func (r *runner) basicExplain() { + r.errf("%s", "Usage: ... basic [ match EMATCH_TREE ]\n"+ + " [ action ACTION_SPEC ] [ classid CLASSID ]\n"+ + "\n"+ + "Where:\tSELECTOR := SAMPLE SAMPLE ...\n"+ + "\tFILTERID := X:Y:Z\n"+ + "\tACTION_SPEC := ... look at individual actions\n"+ + "\n"+ + "NOTE: CLASSID is parsed as hexadecimal input.\n") +} + +// cgroupExplain is f_cgroup.c explain. +func (r *runner) cgroupExplain() { + r.errf("%s", "Usage: ... cgroup [ match EMATCH_TREE ]\n"+ + " [ action ACTION_SPEC ]\n") +} + +// emHandle is basic's and cgroup's handle: strtol base 0 with only +// LONG_MIN and LONG_MAX refused, so junk is 0 and the long is narrowed to +// the u32 (W147). +func (r *runner) emHandle(m *fmod) error { + if !m.a.hasHandle { + return nil + } + h := strtol(m.handle) + if h == math.MinInt64 || h == math.MaxInt64 { + r.errf("Illegal handle \"%s\", must be numeric.\n", m.handle) + return errKindParse + } + m.w.Handle = cint.LongBits(h) + return nil +} + +// emMatchArm is the match arm both share, and flow's: NEXT_ARG, then +// parse_ematch, whose failure is `Illegal "ematch"`. +func (r *runner) emMatchArm(m *fmod, args []string, tcaID uint16) ([]string, error) { + if _, err := r.nextArg(args); err != nil { + return nil, err + } + rest, err := r.parseEmatch(m, args, tcaID) + if errors.Is(err, errEmatch) { + r.errf("Illegal \"ematch\"\n") + return nil, errKindParse + } + return rest, err +} + +// emActionArm is the action arm: NEXT_ARG, then parse_action. +func (r *runner) emActionArm(m *fmod, args []string, tcaID uint16) ([]string, error) { + v, err := r.nextArg(args) + if err != nil { + return nil, err + } + rest, ok, err := r.parseAction(m, v, tcaID) + if err != nil { + return nil, err + } + if !ok { + r.errf("Illegal \"action\"\n") + return nil, errKindParse + } + return rest, nil +} + +// parseBasicFopt is f_basic.c basic_parse_opt. With no words it sends no +// TCA_OPTIONS at all, which the kernel refuses (W148). +func parseBasicFopt(r *runner, m *fmod) error { + if err := r.emHandle(m); err != nil { + return err + } + args := m.rest + if len(args) == 0 { + return nil + } + tail := m.ops.begin(maxMsg, xtcpnl.TcaOptions) + for len(args) > 0 { + a := args[0] + var err error + switch { + case matches(a, "match"): + if args, err = r.emMatchArm(m, args, xtcpnl.TcaBasicEmatches); err != nil { + return err + } + continue + case matches(a, wordClassid) || a == wordFlowid: + if args, err = r.nextArg(args); err != nil { + return err + } + c, ok := tcClassid(args[0]) + if !ok { + r.errf("Illegal \"classid\"\n") + return errKindParse + } + m.ops.u32(maxMsg, xtcpnl.TcaBasicClassid, c) + case matches(a, wordAction): + if args, err = r.emActionArm(m, args, xtcpnl.TcaBasicAct); err != nil { + return err + } + continue + case matches(a, "police"): + return errPolice(xtcpnl.TcFKindBasic) + case a == helpWord: // strcmp: "h" is not help (W150) + r.basicExplain() + return errKindParse + default: + r.errf("What is \"%s\"?\n", a) + r.basicExplain() + return errKindParse + } + args = args[1:] + } + m.ops.end(tail) + return nil +} + +// parseCgroupFopt is f_cgroup.c cgroup_parse_opt: the nest always, even +// empty. +func parseCgroupFopt(r *runner, m *fmod) error { + if err := r.emHandle(m); err != nil { + return err + } + tail := m.ops.begin(maxMsg, xtcpnl.TcaOptions) + args := m.rest + for len(args) > 0 { + a := args[0] + var err error + switch { + case matches(a, "match"): + args, err = r.emMatchArm(m, args, xtcpnl.TcaCgroupEmatches) + case matches(a, wordAction): + args, err = r.emActionArm(m, args, xtcpnl.TcaCgroupAct) + case matches(a, "police"): + return errPolice(xtcpnl.TcFKindCgroup) + case a == helpWord: + r.cgroupExplain() + return errKindParse + default: + r.errf("What is \"%s\"?\n", a) + r.cgroupExplain() + return errKindParse + } + if err != nil { + return err + } + } + m.ops.end(tail) + return nil +} diff --git a/internal/gotc/fw_ematch.go b/internal/gotc/fw_ematch.go new file mode 100644 index 000000000..2035dcb40 --- /dev/null +++ b/internal/gotc/fw_ematch.go @@ -0,0 +1,863 @@ +//go:build gotc_write + +package gotc + +import ( + "encoding/binary" + "errors" + "fmt" + "io/fs" + + "github.com/randomizedcoder/xtcp2/pkg/xtcpnl" +) + +// tc's ematch tree at iproute2 v7.2.0: the flex lexer (tc/emp_ematch.l), +// the bison grammar (tc/emp_ematch.y) and m_ematch.c's parse side +// (parse_ematch, flatten_tree, parse_tree, em_parse_error). The kinds' +// parse_eopt are fw_emkinds.go. +// +// tc keeps the lexer's and the parser's state in statics that nothing +// resets: flex's buffer and start condition, the strbuf every quoted +// string points into, and ematch_root. gotc keeps them on the runner +// (r.em), so a later `match` on the line, or a later batch line, sees what +// tc's does (W124, W128, W129). Where tc writes or reads memory it does +// not own, or loops forever, gotc refuses instead. + +// emState is tc's ematch statics. +type emState struct { + buf []byte // flex's buffer: what YY_INPUT read that no token has taken + bufSize int // yy_buf_size, 0 before the first read (YY_BUF_SIZE) + eofPending bool // YY_BUFFER_EOF_PENDING + lexstr bool // the start condition is lexstr, inside a quoted string + strbuf []byte // strbuf, len(strbuf) its size; nil before the first '"' + strIdx int // strbuf_index + strKnown int // strbuf's bytes calloc set or a string wrote; past them is realloc's garbage + quoted bool // a quoted token points into strbuf + root *emNode // ematch_root +} + +// The flex buffer's sizes (flex 2.6.4's skeleton): YY_BUF_SIZE and +// YY_READ_BUF_SIZE, the most one YY_INPUT call may return. +const ( + emYYBufSize = 16384 + emYYReadBufSize = 8192 + emStrbufStep = 512 // strbuf_enlarge's step, and calloc's first size + emYYMaxDepth = 10000 + emKindBufSize = 64 // parse_tree's char buf[64] +) + +// emArg is struct bstr. An unquoted word owns its bytes (bstr_alloc); a +// quoted string is a length into the shared strbuf (bstr_new does not +// copy), so it reads whatever strbuf holds when it is used (W124). +type emArg struct { + data []byte + n int + quoted bool + next *emArg +} + +// emNode is struct ematch. +type emNode struct { + args *emArg + index int + inverted bool + relation uint16 + childRef int + child *emNode + next *emNode + flattened bool // flatten_tree has linked this root's children already +} + +// errEmatch is parse_ematch's nonzero return: the kind prints +// `Illegal "ematch"` and fails. +var errEmatch = errors.New("gotc: ematch parse failed") + +// emRefuse is a refusal of what tc does with memory it does not own. +func emRefuse(what string) error { + return fmt.Errorf("%w: tc ematch %s", errNotImplemented, what) +} + +// The tokens (emp_ematch.y's %token, then the two literal characters). +const ( + emTokEOF = iota + emTokError + emTokAttr + emTokAnd + emTokOr + emTokNot + emTokLParen + emTokRParen +) + +// emLexer is one parse_ematch's ematch_argc and ematch_argv: words[i] is +// the next word YY_INPUT reads. +type emLexer struct { + words []string + i int +} + +// emBytes is b's data as tc reads it: a quoted string's strbuf prefix. +func (r *runner) emBytes(b *emArg) []byte { + if b.quoted { + return r.em.strbuf[:b.n] + } + return b.data +} + +// emCString is b->data as a C string function reads it: an unquoted word +// to its end; a quoted string to strbuf's first NUL, which may lie past +// its length (W124). With no NUL in what strbuf holds, tc reads past it. +func (r *runner) emCString(b *emArg) (string, error) { + if !b.quoted { + return string(b.data), nil + } + for i, c := range r.em.strbuf[:r.em.strKnown] { + if c == 0 { + return string(r.em.strbuf[:i]), nil + } + } + return "", emRefuse("string read past strbuf (W124)") +} + +// emRefill is yy_get_next_buffer and YY_INPUT: the next non-empty word and +// a space appended to the buffer, pending the length of the token being +// matched. false is end of input: with nothing pending flex restarts (the +// buffer emptied, the start condition kept); with a token pending it is +// matched first and the next read is the end. +func (r *runner) emRefill(l *emLexer, pending int) bool { + st := &r.em + if st.bufSize == 0 { + st.bufSize = emYYBufSize + } + got := false + if !st.eofPending { + maxSize := st.bufSize - pending - 1 + for maxSize <= 0 { + st.bufSize *= 2 + maxSize = st.bufSize - pending - 1 + } + maxSize = min(maxSize, emYYReadBufSize) + for l.i < len(l.words) && l.words[l.i] == "" { + l.i++ // NEXT_EM_ARG past an empty word + } + if l.i < len(l.words) { + w := l.words[l.i] + if maxSize <= len(w)+1 { + r.errf("match argument too long.\n") // W127: the word is not taken + } else { + st.buf = append(append(st.buf, w...), ' ') + l.i++ + got = true + } + } + } + if got { + return true + } + if pending == 0 { + st.buf, st.eofPending = st.buf[:0], false // yyrestart + return false + } + st.eofPending = true + return false +} + +// emEnlarge is strbuf_enlarge: realloc by 512. Any quoted token already +// returned points into the old block (W124). +func (r *runner) emEnlarge() error { + st := &r.em + if st.quoted { + return emRefuse("strbuf realloc under a quoted token (W124)") + } + st.strbuf = append(st.strbuf, make([]byte, emStrbufStep)...) + return nil +} + +// emAppendChar is strbuf_append_char. +func (r *runner) emAppendChar(c byte) error { + st := &r.em + for st.strIdx >= len(st.strbuf) { + if err := r.emEnlarge(); err != nil { + return err + } + } + st.strbuf[st.strIdx] = c + st.strIdx++ + st.strKnown = max(st.strKnown, st.strIdx) + return nil +} + +// emAppendRun is strbuf_append_charp: one size test before a memcpy of the +// whole run, so a run past strbuf's end writes past the block (W123). +func (r *runner) emAppendRun(s []byte) error { + st := &r.em + for st.strIdx >= len(st.strbuf) { + if err := r.emEnlarge(); err != nil { + return err + } + } + if st.strIdx+len(s) > len(st.strbuf) { + return emRefuse("quoted run past strbuf (W123)") + } + copy(st.strbuf[st.strIdx:], s) + st.strIdx += len(s) + st.strKnown = max(st.strKnown, st.strIdx) + return nil +} + +// emSpace is the lexer's [ \t\r\n]. +func emSpace(c byte) bool { return c == ' ' || c == '\t' || c == '\r' || c == '\n' } + +// emLex is ematch_lex: the next token, and an ATTRIBUTE's bstr. +func (r *runner) emLex(l *emLexer) (int, *emArg, error) { + st := &r.em + for { + if len(st.buf) == 0 { + if !r.emRefill(l, 0) { + return emTokEOF, nil, nil + } + continue + } + if st.lexstr { + tok, a, done, err := r.emLexStr(l) + if err != nil || done { + return tok, a, err + } + continue + } + c := st.buf[0] + switch { + case emSpace(c): + r.emSkipSpace(l) + case c == '"': + if st.strbuf == nil { + st.strbuf = make([]byte, emStrbufStep) + st.strKnown = emStrbufStep + } + st.strIdx = 0 + st.lexstr = true + st.buf = st.buf[1:] + case c == '(': + st.buf = st.buf[1:] + return emTokLParen, nil, nil + case c == ')': + st.buf = st.buf[1:] + return emTokRParen, nil, nil + default: + // [^" \t\r\n()][^ \t\r\n()]*: every chunk ends in a space, so + // a word never runs to the buffer's end. + n := 1 + for n < len(st.buf) && !emSpace(st.buf[n]) && st.buf[n] != '(' && st.buf[n] != ')' { + n++ + } + w := st.buf[:n] + st.buf = st.buf[n:] + switch { + case emFold(w, "and"): + return emTokAnd, nil, nil + case emFold(w, "or"): + return emTokOr, nil, nil + case emFold(w, "not"): + return emTokNot, nil, nil + } + return emTokAttr, &emArg{data: append([]byte(nil), w...), n: n}, nil + } + } +} + +// emSkipSpace is [ \t\r\n]+, reading on while the run reaches the +// buffer's end. +func (r *runner) emSkipSpace(l *emLexer) { + st := &r.em + pending := 0 + for { + n := 0 + for n < len(st.buf) && emSpace(st.buf[n]) { + n++ + } + pending += n + if n < len(st.buf) { + st.buf = st.buf[n:] + return + } + st.buf = st.buf[:0] + if !r.emRefill(l, pending) { + return + } + } +} + +// emFold is [aA][nN][dD] and the like: w is word in any case. +func emFold(w []byte, word string) bool { + if len(w) != len(word) { + return false + } + for i := range w { + if w[i]|0x20 != word[i] { + return false + } + } + return true +} + +// emLexStr is one rule. done is a token returned: the closing +// quote's ATTRIBUTE, or ERROR. +func (r *runner) emLexStr(l *emLexer) (tok int, a *emArg, done bool, err error) { + st := &r.em + c := st.buf[0] + switch c { + case '"': + st.buf = st.buf[1:] + st.lexstr = false + st.quoted = true + return emTokAttr, &emArg{n: st.strIdx, quoted: true}, true, nil + case '\\': + return r.emEscape() + case '\n': + // No rule takes a raw newline: flex's default ECHOes it to + // stdout and the string goes on without it (W142). + st.buf = st.buf[1:] + r.o.raw("\n") + return 0, nil, false, nil + } + // [^\\\n\"]+, read on across words while it reaches the buffer's end. + var run []byte + for { + n := 0 + for n < len(st.buf) && st.buf[n] != '\\' && st.buf[n] != '\n' && st.buf[n] != '"' { + n++ + } + run = append(run, st.buf[:n]...) + if n < len(st.buf) { + st.buf = st.buf[n:] + break + } + st.buf = st.buf[:0] + if !r.emRefill(l, len(run)) { + break + } + } + return 0, nil, false, r.emAppendRun(run) +} + +// emEscape is the backslash rules, longest match first and the earlier +// rule on a tie: \[0-7]{1,3}, \[0-9]+ (refused), \x[0-9a-fA-F]{1,2}, the +// seven letters, then \(.|\n). A chunk ends in a space, so the backslash +// always has a character after it in the buffer. +func (r *runner) emEscape() (int, *emArg, bool, error) { + st := &r.em + rest := st.buf[1:] + dec, oct := 0, 0 + for dec < len(rest) && rest[dec] >= '0' && rest[dec] <= '9' { + dec++ + } + for oct < len(rest) && oct < 3 && rest[oct] >= '0' && rest[oct] <= '7' { + oct++ + } + switch { + case dec > 0 && oct == dec: + v := 0 + for _, d := range rest[:oct] { + v = v*8 + int(d-'0') + } + st.buf = st.buf[1+oct:] + if v > 0xFF { + r.errf("error: octal escape sequence out of range\n") + return emTokError, nil, true, nil + } + return 0, nil, false, r.emAppendChar(byte(v)) + case dec > 0: + st.buf = st.buf[1+dec:] // "\0123" too: [0-9]+ is the longer (W141) + r.errf("error: invalid octale escape sequence\n") + return emTokError, nil, true, nil + case rest[0] == 'x' && len(rest) > 1 && hexVal(rest[1]) >= 0: + h, v := 1, hexVal(rest[1]) + if len(rest) > 2 && hexVal(rest[2]) >= 0 { + h, v = 2, v*16+hexVal(rest[2]) + } + st.buf = st.buf[2+h:] + return 0, nil, false, r.emAppendChar(byte(v)) + } + c := rest[0] + switch c { + case 'n': + c = '\n' + case 'r': + c = '\r' + case 't': + c = '\t' + case 'v': + c = '\v' + case 'b': + c = '\b' + case 'f': + c = '\f' + case 'a': + c = '\a' + } + st.buf = st.buf[2:] + return 0, nil, false, r.emAppendChar(c) +} + +// emVal is a bison semantic value. +type emVal struct { + e *emNode + b *emArg + i uint16 +} + +// The parser's actions, from bison 3.8.2's tables for emp_ematch.y +// (bison -v's states 0-20). +const ( + emActErr = iota + emActShift + emActReduce + emActAccept +) + +// emNeedsLookahead are the states with a shift: bison reads a token +// there; the others take their default reduction without one. +var emNeedsLookahead = [21]bool{0: true, 2: true, 3: true, 4: true, 5: true, 10: true, + 11: true, 12: true, 14: true, 15: true, 16: true, 17: true} + +// emLookahead are the actions bison takes on a particular token: its +// shifts, and state 0's empty input and state 3's end of input. +var emLookahead = []struct{ state, tok, act, n int }{ + {0, emTokNot, emActShift, 1}, {10, emTokNot, emActShift, 1}, {12, emTokNot, emActShift, 1}, + {0, emTokEOF, emActReduce, 1}, + {2, emTokEOF, emActShift, 6}, + {3, emTokEOF, emActReduce, 2}, + {4, emTokAnd, emActShift, 8}, {4, emTokOr, emActShift, 9}, + {5, emTokAttr, emActShift, 11}, {5, emTokLParen, emActShift, 12}, + {11, emTokLParen, emActShift, 14}, + {14, emTokAttr, emActShift, 16}, {16, emTokAttr, emActShift, 16}, + {15, emTokRParen, emActShift, 18}, + {17, emTokRParen, emActShift, 20}, +} + +// emDefault is each state's default action (yydefact): a reduction, the +// accept, or (the zero value) an error. +var emDefault = [21]struct{ act, n int }{ + 0: {emActReduce, 12}, 10: {emActReduce, 12}, 12: {emActReduce, 12}, + 1: {emActReduce, 13}, 4: {emActReduce, 4}, 6: {emActAccept, 0}, + 7: {emActReduce, 3}, 8: {emActReduce, 10}, 9: {emActReduce, 11}, + 13: {emActReduce, 5}, 16: {emActReduce, 8}, + 18: {emActReduce, 7}, 19: {emActReduce, 9}, 20: {emActReduce, 6}, +} + +// emAction is the action in state for tok: a shift to n, a reduction by +// rule n, an error or accept. +func emAction(state, tok int) (int, int) { + for _, a := range emLookahead { + if a.state == state && a.tok == tok { + return a.act, a.n + } + } + d := emDefault[state] + return d.act, d.n +} + +// The nonterminals, and each rule's left side and length. +const ( + emNtInput = iota + emNtExpr + emNtMatch + emNtArgs + emNtRelation + emNtInvert +) + +var emRules = [14]struct{ lhs, n int }{ + 1: {emNtInput, 0}, 2: {emNtInput, 1}, 3: {emNtInput, 2}, + 4: {emNtExpr, 1}, 5: {emNtExpr, 3}, + 6: {emNtMatch, 5}, 7: {emNtMatch, 4}, + 8: {emNtArgs, 1}, 9: {emNtArgs, 2}, + 10: {emNtRelation, 1}, 11: {emNtRelation, 1}, + 12: {emNtInvert, 0}, 13: {emNtInvert, 1}, +} + +// emGoto is the goto table. +func emGoto(state, nt int) int { + switch nt { + case emNtInput: + return 2 + case emNtExpr: + switch state { + case 10: + return 13 + case 12: + return 15 + } + return 3 + case emNtMatch: + return 4 + case emNtInvert: + return 5 + case emNtRelation: + return 10 + } + if state == 16 { + return 19 + } + return 17 // args from 14 +} + +// emParse is ematch_parse, yacc.c's driver: 0 accepted, 1 aborted on a +// syntax error, 2 its stack past YYMAXDEPTH. msg is what yyerror kept. +// The one recovery the grammar has is `input: expr error`: an error with +// a whole tree read shifts error and accepts, the bad token read and +// dropped. +func (r *runner) emParse(l *emLexer) (rc int, msg string, err error) { + states := []int{0} + vals := []emVal{{}} + tok, haveTok := 0, false + var tokVal *emArg + push := func(s int, v emVal) bool { + states, vals = append(states, s), append(vals, v) + return len(states) < emYYMaxDepth + } + for { + st := states[len(states)-1] + if emNeedsLookahead[st] && !haveTok { + if tok, tokVal, err = r.emLex(l); err != nil { + return 0, "", err + } + haveTok = true + } + act, n := emAction(st, tok) + switch act { + case emActAccept: + return 0, "", nil + case emActShift: + v := emVal{b: tokVal} + if n == 6 { + return 0, "", nil // $end shifted: YYFINAL's accept + } + haveTok = false + if !push(n, v) { + return 2, "memory exhausted", nil + } + case emActReduce: + rule := emRules[n] + top := vals[len(vals)-rule.n:] + var v emVal + switch n { + case 2: + r.em.root = top[0].e + case 3: + r.em.root = top[0].e + return 0, "", nil // YYACCEPT in the action + case 4, 8: + v = top[0] + case 5: + top[0].e.relation, top[0].e.next = top[1].i, top[2].e + v = top[0] + case 6: + top[1].b.next = top[3].b + v.e = &emNode{args: top[1].b, inverted: top[0].i != 0} + case 7: + v.e = &emNode{inverted: top[0].i != 0, child: top[2].e} + case 9: + top[0].b.next = top[1].b + v = top[0] + case 10: + v.i = xtcpnl.TcfEmRelAnd + case 11: + v.i = xtcpnl.TcfEmRelOr + case 13: + v.i = 1 + } + states, vals = states[:len(states)-rule.n], vals[:len(vals)-rule.n] + if !push(emGoto(states[len(states)-1], rule.lhs), v) { + return 2, "memory exhausted", nil + } + default: + // yyerrlab: only state 3 shifts error, and nothing is ever + // above it, so the pops reach it or empty the stack. + if st != 3 { + return 1, "syntax error", nil + } + r.em.root = vals[len(vals)-1].e + return 0, "", nil + } + } +} + +// emCtx is one parse_ematch's view for em_parse_error: the words from +// begin_argv to ematch_argv. +type emCtx struct { + words []string + at int // ematch_argv's index into words +} + +// emParseError is em_parse_error: the message, the words read with the +// last marked, the kind's arguments with carg marked, then the usage. +func (r *runner) emParseError(c *emCtx, msg string, args, carg *emArg, e *emUtil, format string, a ...any) error { + r.errf(format, a...) + if msg != "" { + r.errf(": %s\n... ", msg) + } else { + r.errf("\n... ") + } + for i, w := range c.words[:max(c.at, 0)] { + if i == c.at-1 { + r.errf(">>%s<< ", w) + } else { + r.errf("%s ", w) + } + } + r.errf("...\n") + if args != nil { + r.errf("... %s(", e.kind) + for b := args; b != nil; b = b.next { + if b == carg { + r.errf(">>") + } + for _, ch := range r.emBytes(b) { + if ch < 0x20 || ch > 0x7e { + ch = '.' + } + r.errf("%c", ch) + } + if b == carg { + r.errf("<<") + } + if b.next != nil { + r.errf(" ") + } + } + r.errf(")...\n") + } + if e == nil { + r.errf("%s", "Usage: EXPR\n"+ + "where: EXPR := TERM [ { and | or } EXPR ]\n"+ + " TERM := [ not ] { MATCH | '(' EXPR ')' }\n"+ + " MATCH := module '(' ARGS ')'\n"+ + " ARGS := ARG1 ARG2 ...\n"+ + "\n"+ + "Example: a(x y) and not (b(x) or c(x y z))\n") + } else { + e.usage(r) + } + return errEmatch +} + +// parseEmatch is parse_ematch(&argc, &argv, tcaID, n): args[0] is the +// "match" NEXT_ARG stepped past. It returns where argv is left, after the +// look-ahead's undo: the word after the tree, or the tree's last word +// when the tree ends the line (F25). errEmatch is its nonzero return. +func (r *runner) parseEmatch(m *fmod, args []string, tcaID uint16) ([]string, error) { + l := &emLexer{words: args[1:]} + rc, msg, err := r.emParse(l) + if err != nil { + return nil, err + } + c := &emCtx{words: l.words, at: l.i} + if rc != 0 { + return nil, r.emParseError(c, msg, nil, nil, nil, "Parse error") + } + l.i-- // undo look ahead by parser + c.at = l.i + if l.i < 0 { + // argv is back on "match": the kind calls parse_ematch again on + // the same words, for ever when the first is too long (W127). + return nil, emRefuse("parse that ends back on match (W127)") + } + if root := r.em.root; root != nil { + if root.flattened && emHasContainer(root) { + // An empty tree resends the last root (W128); flattening it + // again links a child list into itself. + return nil, emRefuse("stale root with a container (W128)") + } + root.flattened = true + hdr := xtcpnl.TcfEmatchTreeHdr{NMatches: uint16(emFlatten(root, root) & 0xFFFF)} + tail := m.ops.begin(maxMsg, tcaID) + m.ops.put(maxMsg, xtcpnl.TcaEmatchTreeHdr, hdr.Append(nil)) + list := m.ops.begin(maxMsg, xtcpnl.TcaEmatchTreeList) + if err := r.emParseTree(m, c, root); err != nil { + return nil, err + } + m.ops.end(list) + m.ops.end(tail) + } + return args[1+l.i:], nil +} + +// emHasContainer is whether any match on root's chain is a container. +func emHasContainer(root *emNode) bool { + for t := root; t != nil; t = t.next { + if t.child != nil { + return true + } + } + return false +} + +// emFlatten is flatten_tree: each container's child list joins the tail +// of the whole chain, then every match is numbered along it and each +// container takes its child's number. +func emFlatten(head, tree *emNode) int { + count := 0 + for { + count++ + if tree.child != nil { + t := head + for t.next != nil { + t = t.next + } + t.next = tree.child + count += emFlatten(head, tree.child) + } + if tree.relation == 0 { + break + } + tree = tree.next + } + i := 0 + for t := head; t != nil; t = t.next { + t.index = i + i++ + } + for t := head; t != nil; t = t.next { + if t.child != nil { + t.childRef = t.child.index + } + } + return count +} + +// emParseTree is parse_tree: match nests 1..N along the chain, each a +// container's header and child number, or the kind's header and payload. +func (r *runner) emParseTree(m *fmod, c *emCtx, tree *emNode) error { + index := 1 + for t := tree; t != nil; t = t.next { + hdr := xtcpnl.TcfEmatchHdr{Flags: t.relation} + if t.inverted { + hdr.Flags |= xtcpnl.TcfEmInvert + } + nest := m.ops.begin(maxMsg, uint16(index&0xFFFF)) + index++ + if t.child != nil { + m.ops.raw(maxMsg, hdr.Append(nil)) + m.ops.raw(maxMsg, binary.LittleEndian.AppendUint32(nil, uint32(t.childRef)&0xFFFFFFFF)) + m.ops.end(nest) + continue + } + kind, err := r.emKindWord(t.args) + if err != nil { + return err + } + e := emUtils[kind] + if e == nil { + r.errf("Unknown ematch \"%s\"\n", kind) + return errEmatch + } + num, err := r.emLookupID(kind) + if err != nil { + if errors.Is(err, errMapNoent) { + r.errf("Error: Unable to find ematch \"%s\" in %s or %s\n"+ + "Please assign a unique ID to the ematch kind the suggested entry is:\n"+ + "\t%d\t%s\n", kind, confEtcDirCst+"/"+ematchMapName, r.sys.usrDir+"/"+ematchMapName, e.num, kind) + } + return errEmatch + } + hdr.Kind = uint16(num & 0xFFFF) + if err := e.parse(r, m, c, e, hdr, t.args.next); err != nil { + return err + } + m.ops.end(nest) + } + return nil +} + +// emKindWord is parse_tree's strncpy(buf, args->data, 63) into an +// uninitialised char buf[64]: up to the first NUL (an unquoted word's is +// at its end; a quoted one reads strbuf, W124), and a kind of 63 bytes or +// more is left unterminated and read past (W126). +func (r *runner) emKindWord(b *emArg) (string, error) { + s := b.data + if b.quoted { + s = r.em.strbuf // at least 512 bytes, all set + } + for i := 0; i < emKindBufSize-1; i++ { + if i == len(s) || s[i] == 0 { + return string(s[:i]), nil + } + } + return "", emRefuse("kind of 63 bytes or more (W126)") +} + +// emLookupID is lookup_map_id against CONF_ETC_DIR's ematch_map, then +// CONF_USR_DIR's when the first is missing or has no line for kind. +func (r *runner) emLookupID(kind string) (int32, error) { + id, err := r.emLookupIDIn(kind, confEtcDirCst+"/"+ematchMapName) + if errors.Is(err, errMapNoent) { + id, err = r.emLookupIDIn(kind, r.sys.usrDir+"/"+ematchMapName) + } + return id, err +} + +// errMapOpen is lookup_map_id's -errno for an fopen failure other than +// ENOENT: no fallback, and no message. +var errMapOpen = errors.New("ematch map: cannot open") + +// emLookupIDIn is lookup_map_id on one file: fgets lines, blanks and +// comments skipped, each "%d %s"; the first whose name is kind in any +// case gives its id. +func (r *runner) emLookupIDIn(kind, path string) (int32, error) { + content, err := r.sys.readFile(path) + if err != nil { + if errors.Is(err, fs.ErrNotExist) { + return 0, errMapNoent + } + return 0, errMapOpen + } + for _, line := range fgets(content) { + p := trimBlank(cstr(line)) + if p == "" || p[0] == '#' || p[0] == '\n' { + continue + } + id, rest, ok := scanDec(p) + var name string + if ok { + name, _, ok = scanStr(rest) + } + if !ok { + r.errf("ematch map %s corrupted at %s\n", path, p) + return 0, errMapCorrupt + } + if strcaseEqual(name, kind) { + return id, nil + } + } + return 0, errMapNoent +} + +// trimBlank is lookup_map_id's skip of leading spaces and tabs. +func trimBlank(s string) string { + i := 0 + for i < len(s) && (s[i] == ' ' || s[i] == '\t') { + i++ + } + return s[i:] +} + +// strcaseEqual is strcasecmp(a, b) == 0 in the C locale. +func strcaseEqual(a, b string) bool { + if len(a) != len(b) { + return false + } + for i := 0; i < len(a); i++ { + x, y := a[i], b[i] + if x >= 'A' && x <= 'Z' { + x += 'a' - 'A' + } + if y >= 'A' && y <= 'Z' { + y += 'a' - 'A' + } + if x != y { + return false + } + } + return true +} diff --git a/internal/gotc/fw_ematch_test.go b/internal/gotc/fw_ematch_test.go new file mode 100644 index 000000000..f6edf44b4 --- /dev/null +++ b/internal/gotc/fw_ematch_test.go @@ -0,0 +1,283 @@ +//go:build gotc_write + +package gotc + +import ( + "bytes" + "strings" + "testing" + + "github.com/randomizedcoder/xtcp2/pkg/xtcpnl" + "golang.org/x/sys/unix" +) + +// emRaw is addraw_l's bytes: zero padded to four, the padding inside the +// enclosing nest's length. +func emRaw(b []byte) []byte { + for len(b)%4 != 0 { + b = append(b, 0) + } + return b +} + +// emM is one match's payload: its tcf_ematch_hdr, then each raw part. +func emM(kind, flags uint16, parts ...[]byte) []byte { + b := xtcpnl.TcfEmatchHdr{Kind: kind, Flags: flags}.Append(nil) + for _, p := range parts { + b = append(b, emRaw(p)...) + } + return b +} + +// emCont is a container match pointing at ref. +func emCont(flags uint16, ref uint32) []byte { return emM(xtcpnl.TcfEmKindContainer, flags, le32(ref)) } + +// emCmpM is a cmp match. +func emCmpM(flags uint16, c xtcpnl.TcfEmCmp) []byte { + return emM(xtcpnl.TcfEmKindCmp, flags, c.Append(nil)) +} + +// emNbyteM is an nbyte match: the struct, then the needle as its own raw. +func emNbyteM(flags uint16, off, n uint16, layer uint8, needle []byte) []byte { + return emM(xtcpnl.TcfEmKindNbyte, flags, xtcpnl.TcfEmNbyte{Off: off, Len: n, Layer: layer}.Append(nil), needle) +} + +// emMetaM is a meta match: the raw header, then TCA_EM_META_HDR (left, +// right) and the two values as attributes. +func emMetaM(left, right xtcpnl.TcfMetaVal, lv, rv []byte) []byte { + return cat(emM(xtcpnl.TcfEmKindMeta, 0), attr(xtcpnl.TcaEmMetaHdr, right.Append(left.Append(nil))), + attr(xtcpnl.TcaEmMetaLvalue, lv), attr(xtcpnl.TcaEmMetaRvalue, rv)) +} + +// emTreeA is a tca_id nest: HDR with nmatches, then LIST with matches +// 1..n, none flagged NLA_F_NESTED (addattr_nest). +func emTreeA(tcaID uint16, ms ...[]byte) []byte { + list := make([]byte, 0, 64*len(ms)) + idx := uint16(0) + for _, m := range ms { + idx++ + list = append(list, attr(idx, m)...) + } + return attr(tcaID, cat(attr(xtcpnl.TcaEmatchTreeHdr, xtcpnl.TcfEmatchTreeHdr{NMatches: idx}.Append(nil)), + attr(xtcpnl.TcaEmatchTreeList, list))) +} + +// u8eq is cmp(u8 at off eq val): layer defaults to network. +func u8eq(off uint16, val uint32) xtcpnl.TcfEmCmp { + return xtcpnl.TcfEmCmp{Val: val, Off: off, Align: xtcpnl.TcfEmAlignU8, Layer: 1} +} + +// emExprUsage is m_ematch.c's EXPR usage. +const emExprUsage = "Usage: EXPR\n" + + "where: EXPR := TERM [ { and | or } EXPR ]\n" + + " TERM := [ not ] { MATCH | '(' EXPR ')' }\n" + + " MATCH := module '(' ARGS ')'\n" + + " ARGS := ARG1 ARG2 ...\n" + + "\n" + + "Example: a(x y) and not (b(x) or c(x y z))\n" + +// emBasicUsage is f_basic.c's explain. +const emBasicUsage = "Usage: ... basic [ match EMATCH_TREE ]\n" + + " [ action ACTION_SPEC ] [ classid CLASSID ]\n" + + "\n" + + "Where:\tSELECTOR := SAMPLE SAMPLE ...\n" + + "\tFILTERID := X:Y:Z\n" + + "\tACTION_SPEC := ... look at individual actions\n" + + "\n" + + "NOTE: CLASSID is parsed as hexadecimal input.\n" + +// TestGotcEmatchWrite is parse_ematch and its modules under basic, cgroup +// and flow (gotc 21W): the tree tc lays out, its messages, and each lead, +// with the state a batch carries from line to line. +// +// go test -tags gotc_write ./internal/gotc/ -run TestGotcEmatchWrite +func TestGotcEmatchWrite(t *testing.T) { + d0 := []Reply{rep(linkMsg(2, "d0")), rep(ack())} + d1 := []Reply{rep(linkMsg(3, "d1")), rep(ack())} + both := rep(linkMsg(2, "d0"), linkMsg(3, "d1"), done()) + basic := func(words ...string) []string { + return append([]string{"filter", "add", "dev", "d0", "ingress", "pref", "1", "protocol", "all", "handle", "1", "basic"}, words...) + } + flow := func(words ...string) []string { + return append([]string{"filter", "add", "dev", "d1", "parent", "1:", "pref", "30", "protocol", "ip", "handle", "1", "flow"}, words...) + } + const ingressAll = 0x00010300 // pref 1, htons(ETH_P_ALL) + bf := func(attrs ...[]byte) *sentFilter { + return &sentFilter{sentWrite{typ: unix.RTM_NEWTFILTER, flags: fAdd, ifindex: 2, handle: 1, parent: tcHClsactIngress, + attrs: cat(kind("basic"), opts(attrs...))}, ingressAll} + } + be := func(ms ...[]byte) []byte { return emTreeA(xtcpnl.TcaBasicEmatches, ms...) } + cls11 := u32a(xtcpnl.TcaBasicClassid, 0x10001) + xs := func(n int) string { return strings.Repeat("x", n) } + canid := func(n int) string { return "canid(" + strings.Repeat("sff 0x123 ", n) + ")" } + canidRules := func(n int) []byte { + var b []byte + for range n { + b = xtcpnl.CanFilter{ID: 0x123, Mask: xtcpnl.CanSffMask | xtcpnl.CanEffFlag}.Append(b) + } + return b + } + tests := []struct { + description string + args []string + stdin string + replies []Reply + stderr string // exact, or with errHas a substring + errHas bool + rc int + reqs int + expected *sentFilter // the last request + }{ + {"positive: basic cmp then classid, in argv order", + basic("match", "cmp(u8 at 0 layer 1 eq 8)", "classid", "1:1"), "", d0, "", false, 0, 2, + bf(be(emCmpM(0, xtcpnl.TcfEmCmp{Val: 8, Align: xtcpnl.TcfEmAlignU8, Layer: 1})), cls11)}, + {"positive: cgroup u32 then gact pass", + []string{"filter", "add", "dev", "d0", "egress", "pref", "1", "protocol", "all", "handle", "1", "cgroup", + "match", "u32(u16 0x1122 0xffff at 0)", "action", "pass"}, "", d0, "", false, 0, 2, + &sentFilter{sentWrite{typ: unix.RTM_NEWTFILTER, flags: fAdd, ifindex: 2, handle: 1, parent: tcHClsactEgress, + attrs: cat(kind("cgroup"), opts( + emTreeA(xtcpnl.TcaCgroupEmatches, emM(xtcpnl.TcfEmKindU32, 0, xtcpnl.TcU32Key{Mask: 0xffff0000, Val: 0x11220000}.Append(nil))), + attr(xtcpnl.TcaCgroupAct, fwGact(1, tcActOK))))}, ingressAll}}, + {"positive: flow match is EMATCHES(11) where argv puts it, MODE last", + flow("hash", "keys", "dst", "divisor", "8", "match", "cmp(u8 at 0 eq 1)", "action", "drop"), "", d1, "", false, 0, 2, + &sentFilter{sentWrite{typ: unix.RTM_NEWTFILTER, flags: fAdd, ifindex: 3, handle: 1, parent: 0x10000, + attrs: cat(kind("flow"), opts(u32a(xtcpnl.TcaFlowKeys, 2), u32a(xtcpnl.TcaFlowDivisor, 8), + emTreeA(xtcpnl.TcaFlowEmatches, emCmpM(0, u8eq(0, 1))), + attr(xtcpnl.TcaFlowAct, fwGact(1, tcActShot)), u32a(xtcpnl.TcaFlowMode, xtcpnl.FlowModeHash)))}, + 30<<16 | infoIPPref}}, + {"positive: cmp's full keyword set", + basic("match", "cmp(u16 at 3 layer 2 mask 0xff00 trans gt 20)", "classid", "1:1"), "", d0, "", false, 0, 2, + bf(be(emCmpM(0, xtcpnl.TcfEmCmp{Val: 20, Mask: 0xff00, Off: 3, Align: xtcpnl.TcfEmAlignU16, + Flags: xtcpnl.TcfEmCmpTrans, Layer: 2, Opnd: xtcpnl.TcfEmOpndGt})), cls11)}, + {"positive: nbyte, needle at offset and layer", + basic("match", `nbyte("ababa" at 12 layer 1)`, "classid", "1:1"), "", d0, "", false, 0, 2, + bf(be(emNbyteM(0, 12, 5, 1, []byte("ababa"))), cls11)}, + {"positive: u32 u8 at nexthdr+5: the byte shifted into place, offmask -1", + basic("match", "u32(u8 0x12 0xff at nexthdr+5)", "classid", "1:1"), "", d0, "", false, 0, 2, + bf(be(emM(xtcpnl.TcfEmKindU32, 0, xtcpnl.TcU32Key{Mask: 0x00ff0000, Val: 0x00120000, Off: 4, Offmask: -1}.Append(nil))), cls11)}, + {"positive: meta, id with shift and mask against a number", + basic("match", "meta(priority shift 1 mask 0xf gt 2)", "classid", "1:1"), "", d0, "", false, 0, 2, + bf(be(emMetaM(xtcpnl.TcfMetaVal{Kind: xtcpnl.TcfMetaTypeInt<<12 | 6, Shift: 1, Op: xtcpnl.TcfEmOpndGt}, + xtcpnl.TcfMetaVal{Kind: xtcpnl.TcfMetaTypeInt << 12}, le32(0xf), le32(2))), cls11)}, + {"positive: canid sff and eff with a mask", + basic("match", "canid(sff 0x123 eff 0x1234:0xffff)", "classid", "1:1"), "", d0, "", false, 0, 2, + bf(be(emM(xtcpnl.TcfEmKindCanid, 0, cat( + xtcpnl.CanFilter{ID: 0x123, Mask: xtcpnl.CanSffMask | xtcpnl.CanEffFlag}.Append(nil), + xtcpnl.CanFilter{ID: 0x1234 | xtcpnl.CanEffFlag, Mask: 0xffff | xtcpnl.CanEffFlag}.Append(nil)))), cls11)}, + {"positive: A and (B or not (C)) and (D): flatten's order, refs and flags", + basic("match", "cmp(u8 at 0 eq 1) and (cmp(u8 at 1 eq 2) or not (cmp(u8 at 2 eq 3))) and (cmp(u8 at 3 eq 4))", "classid", "1:1"), + "", d0, "", false, 0, 2, + bf(be(emCmpM(xtcpnl.TcfEmRelAnd, u8eq(0, 1)), emCont(xtcpnl.TcfEmRelAnd, 3), emCont(0, 6), + emCmpM(xtcpnl.TcfEmRelOr, u8eq(1, 2)), emCont(xtcpnl.TcfEmInvert, 5), + emCmpM(0, u8eq(2, 3)), emCmpM(0, u8eq(3, 4))), cls11)}, + {"negative: ipt is refused by name (W152)", + basic("match", "ipt(-m mark --mark 1)", "classid", "1:1"), "", d0, + "gotc: not implemented: tc filter write of ematch kind ipt\n", false, 255, 1, nil}, + {"negative: ipset is refused by name", + basic("match", "ipset(foo src)", "classid", "1:1"), "", d0, + "gotc: not implemented: tc filter write of ematch kind ipset\n", false, 255, 1, nil}, + {"negative: a syntax error: the Parse error block, then Illegal \"ematch\"", + basic("match", "cmp(", "classid", "1:1"), "", d0, + "Parse error: syntax error\n... cmp( classid >>1:1<< ...\n" + emExprUsage + "Illegal \"ematch\"\n", false, 1, 1, nil}, + {"negative: an unknown kind", + basic("match", "foo(x)", "classid", "1:1"), "", d0, "Unknown ematch \"foo\"\nIllegal \"ematch\"\n", false, 1, 1, nil}, + {"negative: a tree that ends the line is put back: What is (F25)", + basic("match", "cmp(u8 at 0 eq 1)"), "", d0, "What is \"cmp(u8 at 0 eq 1)\"?\n" + emBasicUsage, false, 1, 1, nil}, + {"boundary: a quoted run of 511 bytes is sent", + basic("match", `nbyte("`+xs(511)+`" at 0)`, "classid", "1:1"), "", d0, "", false, 0, 2, + bf(be(emNbyteM(0, 0, 511, 1, []byte(xs(511)))), cls11)}, + {"boundary: a quoted run of 512 bytes is sent", + basic("match", `nbyte("`+xs(512)+`" at 0)`, "classid", "1:1"), "", d0, "", false, 0, 2, + bf(be(emNbyteM(0, 0, 512, 1, []byte(xs(512)))), cls11)}, + {"boundary: a quoted run of 513 bytes writes past strbuf: refused (W123)", + basic("match", `nbyte("`+xs(513)+`" at 0)`, "classid", "1:1"), "", d0, + "gotc: not implemented: tc ematch quoted run past strbuf (W123)\n", false, 255, 1, nil}, + {"boundary: an escape after 512 bytes grows strbuf by 512: a 513-byte needle is sent", + basic("match", `nbyte("`+xs(512)+`\x41" at 0)`, "classid", "1:1"), "", d0, "", false, 0, 2, + bf(be(emNbyteM(0, 0, 513, 1, []byte(xs(512)+"A"))), cls11)}, + {"corner: growing strbuf under an earlier quoted token is refused (W124)", + basic("match", `nbyte("ab" at 0) or nbyte("`+xs(511)+`\x41\x42" at 0)`, "classid", "1:1"), "", d0, + "gotc: not implemented: tc ematch strbuf realloc under a quoted token (W124)\n", false, 255, 1, nil}, + {"boundary: a 4095-byte needle fills len's 12 bits", + basic("match", "nbyte("+xs(4095)+" at 0)", "classid", "1:1"), "", d0, "", false, 0, 2, + bf(be(emNbyteM(0, 0, 4095, 1, []byte(xs(4095)))), cls11)}, + {"boundary: a 4096-byte needle sends len 0, layer kept (W136)", + basic("match", "nbyte("+xs(4096)+" at 0)", "classid", "1:1"), "", d0, "", false, 0, 2, + bf(be(emNbyteM(0, 0, 0, 1, []byte(xs(4096)))), cls11)}, + {"boundary: a 4097-byte needle at layer link sends len 1, layer 0: the overflow stays out of layer (W136)", + basic("match", "nbyte("+xs(4097)+" at 0 layer link)", "classid", "1:1"), "", d0, "", false, 0, 2, + bf(be(emNbyteM(0, 0, 1, 0, []byte(xs(4097)))), cls11)}, + {"boundary: canid with 400 rules is sent", + basic("match", canid(400), "classid", "1:1"), "", d0, "", false, 0, 2, + bf(be(emM(xtcpnl.TcfEmKindCanid, 0, canidRules(400))), cls11)}, + {"boundary: canid with 401 rules is tc's refusal", + basic("match", canid(401), "classid", "1:1"), "", d0, + "canid: Too many arguments on input\n\n... >>canid(sff 0x123 sff 0x123 ", true, 1, 1, nil}, + {"corner: every quoted token shares strbuf: the first needle is xyc (W124)", + basic("match", `nbyte("abc" at 0) or nbyte("xy" at 0)`, "classid", "1:1"), "", d0, "", false, 0, 2, + bf(be(emNbyteM(xtcpnl.TcfEmRelOr, 0, 3, 1, []byte("xyc")), emNbyteM(0, 0, 2, 1, []byte("xy"))), cls11)}, + {"corner: u16 at an odd offset is not shifted: bytes 2-3 (W133)", + basic("match", "u32(u16 0x1122 0xffff at 1)", "classid", "1:1"), "", d0, "", false, 0, 2, + bf(be(emM(xtcpnl.TcfEmKindU32, 0, xtcpnl.TcU32Key{Mask: 0xffff, Val: 0x1122}.Append(nil))), cls11)}, + {"corner: layer reads its first letter: tcp is transport, lnk is link (W137)", + basic("match", "cmp(u8 at 0 layer tcp eq 1) and nbyte(a at 0 layer lnk)", "classid", "1:1"), "", d0, "", false, 0, 2, + bf(be(emCmpM(xtcpnl.TcfEmRelAnd, xtcpnl.TcfEmCmp{Val: 1, Align: xtcpnl.TcfEmAlignU8, Layer: 2}), + emNbyteM(0, 0, 1, 0, []byte("a"))), cls11)}, + {"corner: meta with the value on the right keeps INT|DEV against VAR|VALUE (W130)", + basic("match", `meta(dev eq "eth0")`, "classid", "1:1"), "", d0, "", false, 0, 2, + bf(be(emMetaM(xtcpnl.TcfMetaVal{Kind: xtcpnl.TcfMetaTypeInt<<12 | 5}, + xtcpnl.TcfMetaVal{Kind: xtcpnl.TcfMetaTypeVar<<12 | xtcpnl.TcfMetaIDValue}, le32(0), []byte("eth0"))), cls11)}, + {"corner: an unterminated string after a tree, in a batch: the old tree is resent (W128)", + []string{"-batch", "-"}, + "filter add dev d1 parent 1: pref 2 protocol ip handle 2 basic match \"cmp(u8 at 0 eq 1)\" classid 1:1\n" + + "filter add dev d1 parent 1: pref 30 protocol ip handle 1 flow keys dst divisor 8 match '\"' hash\n", + []Reply{both, rep(ack()), rep(ack())}, "", false, 0, 3, + &sentFilter{sentWrite{typ: unix.RTM_NEWTFILTER, flags: fAdd, ifindex: 3, handle: 1, parent: 0x10000, + attrs: cat(kind("flow"), opts(u32a(xtcpnl.TcaFlowKeys, 2), u32a(xtcpnl.TcaFlowDivisor, 8), + emTreeA(xtcpnl.TcaFlowEmatches, emCmpM(0, u8eq(0, 1))), u32a(xtcpnl.TcaFlowMode, xtcpnl.FlowModeHash)))}, + 30<<16 | infoIPPref}}, + {"corner: line 1's leftover not starts line 2's tree, which is sent inverted (W129)", + []string{"-force", "-batch", "-"}, + "filter add dev d0 ingress pref 1 protocol all handle 1 basic match \"cmp(u8 at 0 eq 1)\" \"x not\"\n" + + "filter add dev d0 ingress pref 2 protocol all handle 2 basic match \"cmp(u8 at 0 eq 2)\" classid 1:1\n", + []Reply{links(), rep(ack())}, "What is \"x not\"?\n" + emBasicUsage + "Command failed -:1\n", false, 1, 2, + &sentFilter{sentWrite{typ: unix.RTM_NEWTFILTER, flags: fAdd, ifindex: 2, handle: 2, parent: tcHClsactIngress, + attrs: cat(kind("basic"), opts(be(emCmpM(xtcpnl.TcfEmInvert, u8eq(0, 2))), cls11))}, 2<<16 | 0x0300}}, + {"corner: basic with no words sends no TCA_OPTIONS (W148)", + basic(), "", d0, "", false, 0, 2, + &sentFilter{sentWrite{typ: unix.RTM_NEWTFILTER, flags: fAdd, ifindex: 2, handle: 1, parent: tcHClsactIngress, + attrs: kind("basic")}, ingressAll}}, + {"corner: handle 08 on del is strtol's 0: the whole prio goes (W147)", + []string{"filter", "del", "dev", "d0", "ingress", "pref", "1", "protocol", "all", "handle", "08", "basic"}, "", d0, "", false, 0, 2, + &sentFilter{sentWrite{typ: unix.RTM_DELTFILTER, flags: fReq, ifindex: 2, parent: tcHClsactIngress, + attrs: kind("basic")}, ingressAll}}, + {"corner: and after flow's match is read as the tree's operator (W146)", + flow("map", "key", "mark", "divisor", "16", "match", "cmp(u8 at 0 eq 1)", "and", "0xff"), "", d1, + "Parse error: syntax error\n... cmp(u8 at 0 eq 1) and >>0xff<< ...\n" + emExprUsage + "Illegal \"ematch\"\n", false, 1, 1, nil}, + } + for _, tc := range tests { + t.Run(tc.description, func(t *testing.T) { + src := &fakeSource{replies: tc.replies} + var out, errb bytes.Buffer + rc := run(config{src: src, stdin: strings.NewReader(tc.stdin), sys: shareSys(t)}, tc.args, &out, &errb) + okErr := errb.String() == tc.stderr + if tc.errHas { + okErr = strings.Contains(errb.String(), tc.stderr) + } + if rc != tc.rc || !okErr || len(src.reqs) != tc.reqs { + t.Fatalf("rc %d reqs %d stdout %q stderr %q; want rc %d reqs %d stderr %q", + rc, len(src.reqs), out.String(), errb.String(), tc.rc, tc.reqs, tc.stderr) + } + if tc.expected == nil { + return + } + got := lastFilter(t, src.reqs) + e := tc.expected + if got.typ != e.typ || got.flags != e.flags || got.ifindex != e.ifindex || got.handle != e.handle || + got.parent != e.parent || got.info != e.info || !bytes.Equal(got.attrs, e.attrs) { + t.Errorf("sent %+v info %#x\n attrs % x\nwant %+v info %#x\n attrs % x", + got.sentWrite, got.info, got.attrs, e.sentWrite, e.info, e.attrs) + } + }) + } +} diff --git a/internal/gotc/fw_emkinds.go b/internal/gotc/fw_emkinds.go new file mode 100644 index 000000000..1dcb18117 --- /dev/null +++ b/internal/gotc/fw_emkinds.go @@ -0,0 +1,719 @@ +//go:build gotc_write + +package gotc + +import ( + "fmt" + "math" + + "github.com/randomizedcoder/xtcp2/pkg/cint" + "github.com/randomizedcoder/xtcp2/pkg/xtcpnl" +) + +// The ematch kinds' parse_eopt at iproute2 v7.2.0: tc/em_cmp.c, +// em_nbyte.c, em_u32.c, em_meta.c and em_canid.c, each its C loop and +// messages. em_ipset.c and em_ipt.c are refused by name. + +// emUtil is struct ematch_util: the kind's name, its TCF_EM_* number (the +// suggestion map_warning prints), its parse_eopt and print_usage. +type emUtil struct { + kind string + num int + parse func(r *runner, m *fmod, c *emCtx, e *emUtil, hdr xtcpnl.TcfEmatchHdr, args *emArg) error + usage func(r *runner) +} + +// emUtils are the ematch_utils tc links, found by get_ematch_kind's dlsym +// of "_ematch_util": the name exactly, in its case. +var emUtils = map[string]*emUtil{ + emNameCmp: {kind: emNameCmp, num: xtcpnl.TcfEmKindCmp, parse: emCmpParse, usage: emCmpUsage}, + emNameNbyte: {kind: emNameNbyte, num: xtcpnl.TcfEmKindNbyte, parse: emNbyteParse, usage: emNbyteUsage}, + wordU32: {kind: wordU32, num: xtcpnl.TcfEmKindU32, parse: emU32Parse, usage: emU32Usage}, + emNameMeta: {kind: emNameMeta, num: xtcpnl.TcfEmKindMeta, parse: emMetaParse, usage: emMetaUsage}, + emNameCanid: {kind: emNameCanid, num: xtcpnl.TcfEmKindCanid, parse: emCanidParse, usage: emCanidUsage}, + emNameIpset: {kind: emNameIpset, num: xtcpnl.TcfEmKindIpset, parse: emRefusedKind}, + emNameIpt: {kind: emNameIpt, num: xtcpnl.TcfEmKindIpt, parse: emRefusedKind}, +} + +// emRefusedKind is ipset and ipt: ipset looks its set up over a socket +// while it parses (W155), and ipt's xtables parse aborts tc (W152). +func emRefusedKind(_ *runner, _ *fmod, _ *emCtx, e *emUtil, _ xtcpnl.TcfEmatchHdr, _ *emArg) error { + return fmt.Errorf("%w: tc filter write of ematch kind %s", errNotImplemented, e.kind) +} + +// emEq is !bstrcmp(b, text). +func (r *runner) emEq(b *emArg, text string) bool { + return b != nil && string(r.emBytes(b)) == text +} + +// emToul is bstrtoul: strtoul base 0 of the string's bytes, trailing junk +// allowed (W144); no digits, "-1" or an overflow is ULONG_MAX. +func (r *runner) emToul(b *emArg) uint64 { + v, _, ok := strtoul(cstr(string(r.emBytes(b))), 0) + if !ok { + return math.MaxUint64 + } + return v +} + +// emLayer is parse_layer: the first character only (W137), else INT_MAX. +func (r *runner) emLayer(b *emArg) uint64 { + c := byte(0) + switch { + case b.quoted: + c = r.em.strbuf[0] + case len(b.data) > 0: + c = b.data[0] + } + switch c { + case 'l': + return 0 // TCF_LAYER_LINK + case 'n': + return 1 // TCF_LAYER_NETWORK + case 't': + return 2 // TCF_LAYER_TRANSPORT + } + return math.MaxInt32 +} + +// emLayerMax is TCF_LAYER_MAX. +const emLayerMax = 2 + +// emLayerArg is the layer arm cmp and nbyte share: parse_layer, else +// bstrtoul, then the range test. +func (r *runner) emLayerArg(b *emArg, perr func(*emArg, string, ...any) error, kind string) (uint64, error) { + layer := r.emLayer(b) + if layer == math.MaxInt32 { + if layer = r.emToul(b); layer == math.MaxUint64 { + return 0, perr(b, kind+": invalid layer") + } + } + if layer > emLayerMax { + return 0, perr(b, kind+": illegal layer, must be in 0..%d", emLayerMax) + } + return layer, nil +} + +func emCmpUsage(r *runner) { + r.errf("Usage: cmp(ALIGN at OFFSET [ ATTRS ] { eq | lt | gt } VALUE)\n"+ + "where: ALIGN := { u8 | u16 | u32 }\n"+ + " ATTRS := [ layer LAYER ] [ mask MASK ] [ trans ]\n"+ + " LAYER := { link | network | transport | 0..%d }\n"+ + "\n"+ + "Example: cmp(u16 at 3 layer 2 mask 0xff00 gt 20)\n", emLayerMax) +} + +// emCmpParse is cmp_parse_eopt. Each value is an unsigned long narrowed to +// its field with no range test (W135); an unknown word is "nbyte: unknown +// parameter" (W138). +func emCmpParse(r *runner, m *fmod, c *emCtx, e *emUtil, hdr xtcpnl.TcfEmatchHdr, args *emArg) error { + perr := func(carg *emArg, f string, a ...any) error { return r.emParseError(c, "", args, carg, e, f, a...) } + var cmp xtcpnl.TcfEmCmp + switch { + case r.emEq(args, "u8"): + cmp.Align = xtcpnl.TcfEmAlignU8 + case r.emEq(args, "u16"): + cmp.Align = xtcpnl.TcfEmAlignU16 + case r.emEq(args, wordU32): + cmp.Align = xtcpnl.TcfEmAlignU32 + default: + return perr(args, "cmp: invalid alignment") + } + var offset, mask, value uint64 + layer := uint64(1) // TCF_LAYER_NETWORK + offsetSet, valueSet := false, false + a := args.next + for ; a != nil; a = a.next { + switch { + case r.emEq(a, "at"): + if a.next == nil { + return perr(a, "cmp: missing argument") + } + a = a.next + if offset = r.emToul(a); offset == math.MaxUint64 { + return perr(a, "cmp: invalid offset, must be numeric") + } + offsetSet = true + case r.emEq(a, "layer"): + if a.next == nil { + return perr(a, "cmp: missing argument") + } + a = a.next + var err error + if layer, err = r.emLayerArg(a, perr, emNameCmp); err != nil { + return err + } + case r.emEq(a, "mask"): + if a.next == nil { + return perr(a, "cmp: missing argument") + } + a = a.next + if mask = r.emToul(a); mask == math.MaxUint64 { + return perr(a, "cmp: invalid mask") + } + case r.emEq(a, "trans"): + cmp.Flags |= xtcpnl.TcfEmCmpTrans + case r.emEq(a, "eq"), r.emEq(a, "gt"), r.emEq(a, "lt"): + switch { + case r.emEq(a, "eq"): + cmp.Opnd = xtcpnl.TcfEmOpndEq + case r.emEq(a, "gt"): + cmp.Opnd = xtcpnl.TcfEmOpndGt + default: + cmp.Opnd = xtcpnl.TcfEmOpndLt + } + if a.next == nil { + return perr(a, "cmp: missing argument") + } + a = a.next + if value = r.emToul(a); value == math.MaxUint64 { + return perr(a, "cmp: invalid value") + } + valueSet = true + default: + return perr(a, "nbyte: unknown parameter") + } + } + if !offsetSet || !valueSet { + return perr(a, "cmp: offset and value required") + } + cmp.Val, cmp.Mask = cint.Low32(value), cint.Low32(mask) + cmp.Off = uint16(offset & 0xFFFF) + cmp.Layer = uint8(layer) + m.ops.raw(maxMsg, hdr.Append(nil)) + m.ops.raw(maxMsg, cmp.Append(nil)) + return nil +} + +func emNbyteUsage(r *runner) { + r.errf("Usage: nbyte(NEEDLE at OFFSET [layer LAYER])\n"+ + "where: NEEDLE := { string | \"c-escape-sequence\" }\n"+ + " OFFSET := int\n"+ + " LAYER := { link | network | transport | 0..%d }\n"+ + "\n"+ + "Example: nbyte(\"ababa\" at 12 layer 1)\n", emLayerMax) +} + +// emNbyteParse is nbyte_parse_eopt: the needle's length into a 12-bit +// field (W136), the offset narrowed to 16 bits (W135). +func emNbyteParse(r *runner, m *fmod, c *emCtx, e *emUtil, hdr xtcpnl.TcfEmatchHdr, args *emArg) error { + perr := func(carg *emArg, f string, a ...any) error { return r.emParseError(c, "", args, carg, e, f, a...) } + needle := args + if needle.n == 0 { + return perr(args, "nbyte: needle length is 0") + } + var offset uint64 + layer := uint64(1) + offsetSet := false + a := args.next + for ; a != nil; a = a.next { + switch { + case r.emEq(a, "at"): + if a.next == nil { + return perr(a, "nbyte: missing argument") + } + a = a.next + if offset = r.emToul(a); offset == math.MaxUint64 { + return perr(a, "nbyte: invalid offset, must be numeric") + } + offsetSet = true + case r.emEq(a, "layer"): + if a.next == nil { + return perr(a, "nbyte: missing argument") + } + a = a.next + var err error + if layer, err = r.emLayerArg(a, perr, emNameNbyte); err != nil { + return err + } + default: + return perr(a, "nbyte: unknown parameter") + } + } + if !offsetSet { + return perr(a, "nbyte: offset required") + } + nb := xtcpnl.TcfEmNbyte{Off: uint16(offset & 0xFFFF), Len: uint16(needle.n & 0xFFFF), Layer: uint8(layer)} + m.ops.raw(maxMsg, hdr.Append(nil)) + m.ops.raw(maxMsg, nb.Append(nil)) + m.ops.raw(maxMsg, append([]byte(nil), r.emBytes(needle)...)) + return nil +} + +func emU32Usage(r *runner) { + r.errf("%s", "Usage: u32(ALIGN VALUE MASK at [ nexthdr+ ] OFFSET)\n"+ + "where: ALIGN := { u8 | u16 | u32 }\n"+ + "\n"+ + "Example: u32(u16 0x1122 0xffff at nexthdr+4)\n") +} + +// emU32Parse is u32_parse_eopt: a tc_u32_key, the key and mask shifted +// into the word for u8, and for u16 only at a multiple of four (W133), +// then htonl's 32 bits (W134). +func emU32Parse(r *runner, m *fmod, c *emCtx, e *emUtil, hdr xtcpnl.TcfEmatchHdr, args *emArg) error { + perr := func(carg *emArg, f string, a ...any) error { return r.emParseError(c, "", args, carg, e, f, a...) } + var align int + switch { + case r.emEq(args, "u8"): + align = 1 + case r.emEq(args, "u16"): + align = 2 + case r.emEq(args, wordU32): + align = 4 + default: + return perr(args, "u32: invalid alignment") + } + a := args.next + if a == nil { + return perr(a, "u32: missing key") + } + key := r.emToul(a) + if key == math.MaxUint64 { + return perr(a, "u32: invalid key, must be numeric") + } + if a = a.next; a == nil { + return perr(a, "u32: missing mask") + } + mask := r.emToul(a) + if mask == math.MaxUint64 { + return perr(a, "u32: invalid mask, must be numeric") + } + if a = a.next; a == nil || !r.emEq(a, "at") { + return perr(a, "u32: missing \"at\"") + } + if a = a.next; a == nil { + return perr(a, "u32: missing offset") + } + offset, offmask, a, err := r.emU32Offset(a, perr) + if err != nil { + return err + } + if offset == math.MaxUint64 { + return perr(a, "u32: invalid offset") + } + if a.next != nil { + return perr(a.next, "u32: unexpected trailer") + } + switch align { + case 1: + if key > 0xFF { + return perr(a, "Illegal key (>0xFF)") + } + if mask > 0xFF { + return perr(a, "Illegal mask (>0xFF)") + } + key <<= 24 - (offset&3)*8 + mask <<= 24 - (offset&3)*8 + offset &^= 3 + case 2: + if key > 0xFFFF { + return perr(a, "Illegal key (>0xFFFF)") + } + if mask > 0xFFFF { + return perr(a, "Illegal mask (>0xFFFF)") + } + if offset&3 == 0 { + key <<= 16 + mask <<= 16 + } + offset &^= 3 + } + if offset%4 != 0 { + return perr(a, "u32: invalid offset alignment, must be aligned to 4.") + } + k := xtcpnl.TcU32Key{ + Mask: cint.Low32(mask), Val: cint.Low32(key) & cint.Low32(mask), + Off: cint.Int(cint.Low32(offset)), Offmask: offmask, + } + m.ops.raw(maxMsg, hdr.Append(nil)) + m.ops.raw(maxMsg, k.Append(nil)) + return nil +} + +// emU32Offset is u32's OFFSET: `nexthdr+N` in one word sets offmask and +// strtouls N unchecked (W132); `nexthdr+` then N in the next word leaves +// offmask 0 (W131); anything else is the absolute offset. at is the word +// the offset came from. +func (r *runner) emU32Offset(a *emArg, perr func(*emArg, string, ...any) error) (offset uint64, offmask int32, at *emArg, err error) { + const nh = "nexthdr+" + switch b := r.emBytes(a); { + case len(b) > len(nh) && string(b[:len(nh)]) == nh: + s, err := r.emNexthdr(a) + if err != nil { + return 0, 0, a, err + } + offset, _, _ = strtoul(s, 0) // unchecked: junk is 0 (W132) + return offset, -1, a, nil + case string(b) == nh: + if a = a.next; a == nil { + return 0, 0, a, perr(a, "u32: missing offset") + } + } + return r.emToul(a), 0, a, nil +} + +// emNexthdr is the C string strncpy(buf, data+8, len-8+1) leaves: a quoted +// string's copy takes strbuf's byte past its length, and with no NUL in +// what it copies buf is unterminated (W132). +func (r *runner) emNexthdr(a *emArg) (string, error) { + if !a.quoted { + return cstr(string(a.data[8:])), nil + } + if a.n >= r.em.strKnown { + return "", emRefuse("nexthdr+ read past strbuf (W132)") + } + src := r.em.strbuf[8 : a.n+1] + for i, ch := range src { + if ch == 0 { + return string(src[:i]), nil + } + } + return "", emRefuse("nexthdr+ copy left unterminated (W132)") +} + +// emMetaEntry is a meta_table row. +type emMetaEntry struct { + id uint16 + kind string + mask string // the types the id takes: i INT, v VAR + desc string +} + +// emMetaTable is em_meta.c meta_table in its order, the sections id 0; +// metaNames (ematch.go) is its ids and names for the read side. +var emMetaTable = []emMetaEntry{ + {0, "Generic", "", ""}, + {1, wordRandom, "i", "Random value (32 bit)"}, + {2, "loadavg_1", "i", "Load average in last minute"}, + {3, "loadavg_5", "i", "Load average in last 5 minutes"}, + {4, "loadavg_15", "i", "Load average in last 15 minutes"}, + {0, "Interfaces", "", ""}, + {5, "dev", "iv", "Device the packet is on"}, + {0, "Packet attributes", "", ""}, + {6, "priority", "i", "Priority of packet"}, + {7, "protocol", "i", "Link layer protocol"}, + {8, "pkt_type", "i", "Packet type (uni|multi|broad|...)cast"}, + {9, "pkt_len", "i", "Length of packet"}, + {10, "data_len", "i", "Length of data in packet"}, + {11, "mac_len", "i", "Length of link layer header"}, + {0, "Netfilter", "", ""}, + {12, "nf_mark", "i", "Netfilter mark"}, + {12, wordFwmark, "i", "Alias for nf_mark"}, + {0, "Traffic Control", "", ""}, + {13, "tc_index", "i", "TC Index"}, + {0, "Routing", "", ""}, + {14, "rt_classid", "i", "Routing ClassID (cls_route)"}, + {15, "rt_iif", "i", "Incoming interface index"}, + {46, "vlan", "i", "Vlan tag"}, + {0, "Sockets", "", ""}, + {16, "sk_family", "i", "Address family"}, + {17, "sk_state", "i", "State"}, + {18, "sk_reuse", "i", "Reuse Flag"}, + {19, "sk_bind_if", "iv", "Bound interface"}, + {20, "sk_refcnt", "i", "Reference counter"}, + {21, "sk_shutdown", "i", "Shutdown mask"}, + {22, "sk_proto", "i", "Protocol"}, + {23, "sk_type", "i", "Type"}, + {24, "sk_rcvbuf", "i", "Receive buffer size"}, + {25, "sk_rmem", "i", "RMEM"}, + {26, "sk_wmem", "i", "WMEM"}, + {27, "sk_omem", "i", "OMEM"}, + {28, "sk_wmem_queue", "i", "WMEM queue"}, + {30, "sk_snd_queue", "i", "Send queue length"}, + {29, "sk_rcv_queue", "i", "Receive queue length"}, + {31, "sk_err_queue", "i", "Error queue length"}, + {32, "sk_fwd_alloc", "i", "Forward allocations"}, + {33, "sk_sndbuf", "i", "Send buffer size"}, +} + +func emMetaUsage(r *runner) { + r.errf("%s", "Usage: meta(OBJECT { eq | lt | gt } OBJECT)\n"+ + "where: OBJECT := { META_ID | VALUE }\n"+ + " META_ID := id [ shift SHIFT ] [ mask MASK ]\n"+ + "\n"+ + "Example: meta(nf_mark gt 24)\n"+ + " meta(indev shift 1 eq \"ppp\")\n"+ + " meta(tcindex mask 0xf0 eq 0xf0)\n"+ + "\n"+ + "For a list of meta identifiers, use meta(list).\n") +} + +// emMetaListIDs is list_meta_ids. +func (r *runner) emMetaListIDs() { + const rule = "--------------------------------------------------------" + r.errf("%s\n ID Type Description\n%s", rule, rule) + for _, e := range emMetaTable { + if e.id == 0 { + r.errf("\n%s:\n", e.kind) + continue + } + types := "INT" + if e.mask == "iv" { + types = "INT,VAR" + } + r.errf(" %-16s %-10s %s\n", e.kind, types, e.desc) + } + r.errf("%s\n", rule) +} + +// TCF_META_TYPE and TCF_META_ID of a kind. +func emMetaType(kind uint16) uint16 { return kind >> 12 & 0xF } +func emMetaID(kind uint16) uint16 { return kind & 0x7FF } + +// emMetaObj is parse_object's obj and *dst: a quoted string's bstr, or a +// number (an INT value, or an id's mask). +type emMetaObj struct { + val xtcpnl.TcfMetaVal + str *emArg + num uint64 +} + +// emMetaCompatible is is_compatible: the first entry with what's id, its +// mask walked for needed's type. The walk tests p, not *p, so past the +// mask's NUL it reads on through .rodata (W125). +func emMetaCompatible(what, needed uint16) (bool, error) { + for _, e := range emMetaTable { + if e.id != emMetaID(what) { + continue + } + for i := 0; i < len(e.mask); i++ { + t := uint16(xtcpnl.TcfMetaTypeInt) + if e.mask[i] == 'v' { + t = xtcpnl.TcfMetaTypeVar + } + if t == emMetaType(needed) { + return true, nil + } + } + return false, emRefuse("meta mask walk past its NUL (W125)") + } + return false, nil +} + +// emMetaAdopt is parse_object's compatibility block for a right operand +// that is an id: a side that is an id takes the other's type when its +// mask allows it. +func emMetaAdopt(left, right *xtcpnl.TcfMetaVal) (bool, error) { + if emMetaType(right.Kind) == emMetaType(left.Kind) { + return true, nil + } + adoptL, adoptR := emMetaID(left.Kind) != 0, emMetaID(right.Kind) != 0 + overwrite := func(src, dst uint16) uint16 { return emMetaType(dst)<<12 | emMetaID(src) } + tryL := func() (bool, error) { + ok, err := emMetaCompatible(left.Kind, right.Kind) + if ok { + left.Kind = overwrite(left.Kind, right.Kind) + } + return ok, err + } + tryR := func() (bool, error) { + ok, err := emMetaCompatible(right.Kind, left.Kind) + if ok { + right.Kind = overwrite(right.Kind, left.Kind) + } + return ok, err + } + switch { + case adoptL && !adoptR: + return tryL() + case adoptR && !adoptL: + return tryR() + case adoptL && adoptR: + if ok, err := tryL(); ok || err != nil { + return ok, err + } + return tryR() + } + return false, nil +} + +// emMetaObject is parse_object: a quoted string is a VAR value and a +// number an INT one, each returning before the compatibility block, so a +// value on the right is never adopted (W130); an id takes its first type, +// then shift and mask. nil next with fail false is the end of args. +func (r *runner) emMetaObject(c *emCtx, e *emUtil, args, arg *emArg, obj *emMetaObj, left *xtcpnl.TcfMetaVal) (*emArg, error) { + perr := func(carg *emArg, f string, a ...any) error { return r.emParseError(c, "", args, carg, e, f, a...) } + if arg.quoted { + obj.val.Kind = xtcpnl.TcfMetaTypeVar << 12 + obj.str = arg + return arg.next, nil + } + if num := r.emToul(arg); num != math.MaxUint64 { + obj.val.Kind = xtcpnl.TcfMetaTypeInt << 12 + obj.num = num + return arg.next, nil + } + var entry *emMetaEntry + for i := range emMetaTable { + if emMetaTable[i].id != 0 && r.emEq(arg, emMetaTable[i].kind) { + entry = &emMetaTable[i] + break + } + } + if entry == nil { + return nil, perr(arg, "meta: unknown meta id\n") // its own newline too (W140) + } + obj.val.Kind = entry.id | xtcpnl.TcfMetaTypeInt<<12 // every mask starts with i + if left != nil { + ok, err := emMetaAdopt(left, &obj.val) + if err != nil { + return nil, err + } + if !ok { + return nil, perr(arg, "lvalue and rvalue are not compatible.") + } + } + a := arg.next + for a != nil { + switch { + case r.emEq(a, "shift"): + if a.next == nil { + return nil, perr(a, "meta: missing argument") + } + a = a.next + shift := r.emToul(a) + if shift == math.MaxUint64 { + return nil, perr(a, "meta: invalid shift, must be numeric") + } + obj.val.Shift = uint8(shift & 0xFF) // W135 + a = a.next + case r.emEq(a, "mask"): + if a.next == nil { + return nil, perr(a, "meta: missing argument") + } + a = a.next + mask := r.emToul(a) + if mask == math.MaxUint64 { + return nil, perr(a, "meta: invalid mask, must be numeric") + } + obj.num = mask + a = a.next + default: + return a, nil + } + } + return nil, nil +} + +// emMetaDump is dump_value: an INT's u32, a VAR value's bytes, and nothing +// for a VAR id. +func (r *runner) emMetaDump(m *fmod, tlv uint16, obj *emMetaObj) { + switch emMetaType(obj.val.Kind) { + case xtcpnl.TcfMetaTypeInt: + m.ops.u32(maxMsg, tlv, cint.Low32(obj.num)) + case xtcpnl.TcfMetaTypeVar: + if emMetaID(obj.val.Kind) == xtcpnl.TcfMetaIDValue && obj.str != nil { + m.ops.put(maxMsg, tlv, append([]byte(nil), r.emBytes(obj.str)...)) + } + } +} + +// emMetaParse is meta_parse_eopt: the raw header, then TCA_EM_META_HDR +// and the two values as attributes. +func emMetaParse(r *runner, m *fmod, c *emCtx, e *emUtil, hdr xtcpnl.TcfEmatchHdr, args *emArg) error { + perr := func(carg *emArg, f string, a ...any) error { return r.emParseError(c, "", args, carg, e, f, a...) } + if r.emEq(args, "list") { + r.emMetaListIDs() + return errEmatch + } + var left, right emMetaObj + a, err := r.emMetaObject(c, e, args, args, &left, nil) + if err != nil { + return err + } + if a == nil { + return perr(args, "meta: missing operand") + } + var opnd uint8 + switch { + case r.emEq(a, "eq"): + opnd = xtcpnl.TcfEmOpndEq + case r.emEq(a, "gt"): + opnd = xtcpnl.TcfEmOpndGt + case r.emEq(a, "lt"): + opnd = xtcpnl.TcfEmOpndLt + default: + return perr(a, "meta: invalid operand") + } + left.val.Op = opnd + if a.next == nil { + return perr(args, "meta: missing rvalue") + } + if a, err = r.emMetaObject(c, e, args, a.next, &right, &left.val); err != nil { + return err + } + if a != nil { + return perr(a, "meta: unexpected trailer") + } + m.ops.raw(maxMsg, hdr.Append(nil)) + m.ops.put(maxMsg, xtcpnl.TcaEmMetaHdr, right.val.Append(left.val.Append(nil))) + r.emMetaDump(m, xtcpnl.TcaEmMetaLvalue, &left) + r.emMetaDump(m, xtcpnl.TcaEmMetaRvalue, &right) + return nil +} + +func emCanidUsage(r *runner) { + r.errf("%s", "Usage: canid(IDLIST)\n"+ + "where: IDLIST := IDSPEC [ IDLIST ]\n"+ + " IDSPEC := { \u2019sff\u2019 CANID | \u2019eff\u2019 CANID }\n"+ + " CANID := ID[:MASK]\n"+ + " ID, MASK := hexadecimal number (i.e. 0x123)\n"+ + "Example: canid(sff 0x123 sff 0x124 sff 0x125:0xf)\n") +} + +// emCanidRulesMax is EM_CANID_RULES_MAX: the array doubles from 25 while +// it is at most half this, so 400 rules where the kernel takes 500 (W140). +const emCanidRulesMax = 400 + +// emCanidParse is canid_parse_eopt. Its PARSE_ERR passes the advanced +// iterator as args, so the echo starts at the word it fails on (W140). +func emCanidParse(r *runner, m *fmod, c *emCtx, e *emUtil, hdr xtcpnl.TcfEmatchHdr, args *emArg) error { + perr := func(at *emArg, f string) error { return r.emParseError(c, "", at, at, e, "%s", f) } + var raw []byte + n, capacity := 0, 25 + for a := args; a != nil; a = a.next { + var eff bool + switch { + case r.emEq(a, "sff"): + case r.emEq(a, "eff"): + eff = true + default: + return perr(a, "canid: invalid key") + } + if a = a.next; a == nil { + return perr(nil, "canid: missing argument") + } + s, err := r.emCString(a) + if err != nil { + return err + } + id, rest, ok := scanHex(s, 0) + if !ok { + return perr(a, "canid: Improperly formed CAN ID & mask\n") + } + mask := uint32(xtcpnl.CanSffMask) + if eff { + mask = xtcpnl.CanEffMask + } + if len(rest) > 0 && rest[0] == ':' { + if v, _, ok := scanHex(rest[1:], 0); ok { + mask = v + } + } + if n == capacity { + if capacity > emCanidRulesMax/2 { + return perr(a, "canid: Too many arguments on input\n") + } + capacity *= 2 + } + f := xtcpnl.CanFilter{ID: id, Mask: mask | xtcpnl.CanEffFlag} + if eff { + f.ID |= xtcpnl.CanEffFlag + } + raw = f.Append(raw) + n++ + } + m.ops.raw(maxMsg, hdr.Append(nil)) + m.ops.raw(maxMsg, raw) + return nil +} diff --git a/internal/gotc/fw_flow.go b/internal/gotc/fw_flow.go index f8a26cdf6..da3b7badb 100644 --- a/internal/gotc/fw_flow.go +++ b/internal/gotc/fw_flow.go @@ -4,7 +4,6 @@ package gotc import ( "encoding/binary" - "fmt" "strings" "github.com/randomizedcoder/xtcp2/pkg/xtcpnl" @@ -258,7 +257,8 @@ func (r *runner) flowTail(m *fmod, args []string) ([]string, bool, error) { } return rest, false, nil case matches(a, "match"): - return nil, false, fmt.Errorf("%w: tc filter flow match (an ematch tree, increment 21)", errNotImplemented) + rest, err := r.emMatchArm(m, args, xtcpnl.TcaFlowEmatches) + return rest, false, err case matches(a, helpWord): r.flowExplain() return nil, false, errKindParse diff --git a/internal/gotc/fwrite.go b/internal/gotc/fwrite.go index b92ea307a..be8dfce87 100644 --- a/internal/gotc/fwrite.go +++ b/internal/gotc/fwrite.go @@ -39,6 +39,10 @@ var ethPAllBE = bits.ReverseBytes16(unix.ETH_P_ALL) // without the attribute (W97); gotc refuses it. var errAddattrBound = errors.New("addattr_l exceeded its bound") +// errAddrawBound is addraw_l past its maxlen, which tc ignores as it does +// addattr_l's (W151); gotc refuses it. +var errAddrawBound = errors.New("addraw_l exceeded its bound") + // filterWrite is do_filter's write verbs. func (r *runner) filterWrite(verb string, args []string) error { switch { @@ -162,9 +166,11 @@ func (r *runner) filterModifyArgs(m *fmod, args []string) (done bool, err error) // or an exitCode for invarg and the like. type foptParser func(r *runner, m *fmod) error -// foptParsers are the parse_fopts gotc clones: increment 10's kinds but -// basic and cgroup, whose ematch grammar is increment 21's. +// foptParsers are the parse_fopts gotc clones: increment 20's kinds, and +// increment 21's basic and cgroup with their ematch trees. var foptParsers = map[string]foptParser{ + xtcpnl.TcFKindBasic: parseBasicFopt, + xtcpnl.TcFKindCgroup: parseCgroupFopt, xtcpnl.TcFKindU32: parseU32Fopt, xtcpnl.TcFKindFw: parseFwFopt, xtcpnl.TcFKindRoute: parseRouteFopt, @@ -217,6 +223,7 @@ const ( fopPut fopKind = iota // addattr_l fopBegin // addattr_nest fopEnd // addattr_nest_end of the nest at begin + fopRaw // addraw_l: the bytes, no attribute header ) // fop is one addattr call, with its maxlen. @@ -250,6 +257,11 @@ func (f *fops) str(maxlen int, t uint16, s string) { f.put(maxlen, t, append([]byte(s), 0)) } +// raw is addraw_l(n, maxlen, b, len(b)). +func (f *fops) raw(maxlen int, b []byte) { + f.ops = append(f.ops, fop{kind: fopRaw, b: b, maxlen: maxlen}) +} + // begin is addattr_nest; end takes what it returns. func (f *fops) begin(maxlen int, t uint16) int { f.ops = append(f.ops, fop{kind: fopBegin, t: t, maxlen: maxlen}) @@ -272,6 +284,15 @@ func (f *fops) replay(ab *xtcpnl.AttrBuilder) error { return err } continue + case fopRaw: + // addraw_l's own test and message: NLMSG_ALIGN(len) past maxlen. + if tcReqHdr+ab.Len()+len(o.b)+xtcpnl.FourByteAlignPadding(len(o.b)) > o.maxlen { + return fmt.Errorf("%w of %d", errAddrawBound, o.maxlen) + } + if err := ab.PutRaw(o.b); err != nil { + return err + } + continue case fopPut, fopBegin: } alen := xtcpnl.RTAttrSizeCst + len(o.b) diff --git a/internal/gotc/fwrite_fuzz_test.go b/internal/gotc/fwrite_fuzz_test.go index f15d2938e..4c983bb16 100644 --- a/internal/gotc/fwrite_fuzz_test.go +++ b/internal/gotc/fwrite_fuzz_test.go @@ -19,7 +19,8 @@ const fuzzFilterMaxIn = 16384 // against a d0 that exists, words split on single spaces so an empty word // (W64's kind "") is reachable. A run must not panic, must exit with one of // tc's codes, and every request it sends must be one well-formed netlink -// message within tc_filter_modify's MAX_MSG. +// message within tc_filter_modify's MAX_MSG. The sys has the workbench's +// ematch_map, so the ematch kinds resolve (21W). func FuzzGotcFilterWrite(f *testing.F) { for _, s := range []string{ "filter add dev d0 ingress pref 1 protocol ip u32 match ip src 10.0.0.0/8 classid 1:1", @@ -47,10 +48,19 @@ func FuzzGotcFilterWrite(f *testing.F) { "chain del dev d0 ingress chain 5", "filter add dev d0 ingress matchall action gact random netrand pass abc", "filter add dev d0 ingress basic match cmp(u8 at 0 eq 1)", + "filter add dev d0 ingress pref 1 basic match cmp(u16 at 3 layer 2 mask 0xff00 trans gt 20) and not nbyte(\"ab\\x41\\101\" at 2 layer 1) classid 1:1", + "filter add dev d0 ingress basic match (u32(u8 1 0xff at nexthdr+3) or meta(priority shift 1 mask 0xf gt 2)) and canid(sff 0x123 eff 0x1:0x1fffffff)", + "filter add dev d0 ingress basic match meta(dev eq \"eth0\") or meta(\"x\" eq priority) action pass", + "filter add dev d0 egress cgroup match u32(u16 0x1122 0xffff at 1) action drop", + "filter add dev d0 parent 1: flow hash keys dst divisor 8 match nbyte(\"abc\" at 0) or nbyte(\"xy\" at 0) perturb 5", + "filter add dev d0 ingress basic match cmp( classid 1:1", + "filter add dev d0 ingress basic match \"abc", + "filter add dev d0 ingress basic match ipt(-m mark --mark 1) classid 1:1", + "filter del dev d0 ingress pref 1 handle 08 basic", } { f.Add(s) } - sys := sysFS{root: f.TempDir(), usrDir: confUsrDirCst} + sys := shareSys(f) f.Fuzz(func(t *testing.T, s string) { if len(s) > fuzzFilterMaxIn { t.Skip() @@ -73,3 +83,47 @@ func FuzzGotcFilterWrite(f *testing.F) { } }) } + +// FuzzGotcEmatchBatch runs two lines as one `-force -batch -`, so the +// state parse_ematch carries from line to line (flex's leftover buffer and +// start condition, strbuf, ematch_root: W124, W128, W129) is driven from +// both sides. A run must not panic or hang, must exit with one of tc's +// codes, and every request must be one well-formed message. +// +// go test -tags gotc_write ./internal/gotc/ -run '^$' -fuzz FuzzGotcEmatchBatch -fuzztime 60s +func FuzzGotcEmatchBatch(f *testing.F) { + for _, s := range [][2]string{ + {`basic match "cmp(u8 at 0 eq 1)" classid 1:1`, `basic match 'nbyte("ab" at 0) and u32(u8 1 0xff at 0)' classid 1:2`}, + {`basic match "cmp(u8 at 0 eq 1)" "x not"`, `basic match "cmp(u8 at 0 eq 2)" classid 1:1`}, + {`basic match '"abc'`, `basic match "cmp(u8 at 0 eq 2)" classid 1:1`}, + {`basic match "(cmp(u8 at 0 eq 1))" classid 1:1`, `basic match '"' classid 1:1`}, + {`basic match 'nbyte("cmp" at 0)' classid 1:1`, `basic match '"cmp"(u8 at 0 eq 1)' classid 1:2`}, + {`cgroup match 'meta(priority eq 2)' action drop`, `cgroup match 'canid(sff 0x123)' action pass`}, + } { + f.Add(s[0], s[1]) + } + sys := shareSys(f) + f.Fuzz(func(t *testing.T, a, b string) { + if len(a)+len(b) > fuzzFilterMaxIn || strings.ContainsAny(a+b, "\n\\#") { + t.Skip() + } + const pre = "filter add dev d0 ingress pref 1 protocol all handle 1 " + stdin := pre + a + "\n" + pre + b + "\n" + src := &fakeSource{replies: []Reply{links(), rep(ack()), rep(ack())}} + var out, errb strings.Builder + rc := run(config{src: src, stdin: strings.NewReader(stdin), sys: sys}, []string{"-force", "-batch", "-"}, &out, &errb) + switch rc { + case 0, 1, 2, 255: + default: + t.Fatalf("rc %d for %q; tc exits 0, 1, 2 or 255", rc, stdin) + } + for i, req := range src.reqs { + if len(req) < nlHeaderLen || len(req) > xtcpnl.TcFilterWriteBufCst { + t.Fatalf("request %d is %d bytes for %q", i, len(req), stdin) + } + if n := binary.LittleEndian.Uint32(req[0:4]); int(n) != len(req) { + t.Fatalf("request %d: nlmsg_len %d, %d bytes sent, for %q", i, n, len(req), stdin) + } + } + }) +} diff --git a/internal/gotc/fwrite_off.go b/internal/gotc/fwrite_off.go index ae5f50a48..83f8cb9d4 100644 --- a/internal/gotc/fwrite_off.go +++ b/internal/gotc/fwrite_off.go @@ -17,3 +17,7 @@ func (r *runner) filterWrite(verb string, _ []string) error { func (r *runner) chainWrite(verb string, _ []string) error { return fmt.Errorf("%w: tc chain %s", errNotImplemented, verb) } + +// emState is fw_ematch.go's ematch parser statics, which only a write +// keeps. +type emState struct{} diff --git a/internal/gotc/gotc.go b/internal/gotc/gotc.go index abc899487..17b0bc702 100644 --- a/internal/gotc/gotc.go +++ b/internal/gotc/gotc.go @@ -89,6 +89,7 @@ type runner struct { fProto uint16 // f_proto: the last filter's htons'd protocol, u32 -p's key realms rtRealmTab // rt_names.c's realm table realmA2N realmCache // rtnl_rtrealm_a2n's statics (W122) + em emState // the ematch lexer's and parser's statics (W124, W128, W129) wroteOut bool // a write has gone to GOTC_WRITE_OUT, so the next appends } diff --git a/internal/gotc/qw_cake.go b/internal/gotc/qw_cake.go index d8e6ba9e6..a69bc95f9 100644 --- a/internal/gotc/qw_cake.go +++ b/internal/gotc/qw_cake.go @@ -254,7 +254,7 @@ func parseCakeQopt(r *runner, args []string, _ string) (func(*xtcpnl.AttrBuilder for ; len(args) > 0; args = args[1:] { a := args[0] switch a { - case wordBandwidth, "rtt", wordOverhead, wordMpu, wordMemlimit, "fwmark": + case wordBandwidth, "rtt", wordOverhead, wordMpu, wordMemlimit, wordFwmark: if len(args) < 2 { return nil, r.incomplete() } diff --git a/internal/gotc/qw_netem.go b/internal/gotc/qw_netem.go index f056f8f2b..d5f0c87ea 100644 --- a/internal/gotc/qw_netem.go +++ b/internal/gotc/qw_netem.go @@ -301,7 +301,7 @@ func (r *runner) netemLossArg(n *netemArgs, a []string) ([]string, error) { switch { case a[0] != "" && isDigitByte(a[0][0]): return r.netemRandomLoss(n, a) - case a[0] == "random": + case a[0] == wordRandom: if a, err = r.nextArg(a); err != nil { return nil, err } diff --git a/internal/gotc/qwrite_tdc_test.go b/internal/gotc/qwrite_tdc_test.go index ed7ae431e..fbbfd1a4c 100644 --- a/internal/gotc/qwrite_tdc_test.go +++ b/internal/gotc/qwrite_tdc_test.go @@ -129,13 +129,14 @@ func TestGotcTdcWrites(t *testing.T) { } // tdcFilterSkips pins the tdc filter writes gotc refuses, by what it -// names: a filter kind (basic, cgroup, flower, bpf), police, an action -// kind, or flow's match. +// names: a filter kind (flower, bpf), police, an action kind, an ematch +// kind, or an ematch lead. basic, cgroup and flow's match are sent since +// 21W; five of their rows carry skbedit. var tdcFilterSkips = map[string]int{ - "kind basic": 60, "kind cgroup": 55, "kind bpf": 4, "kind flower": 2, "flow match": 1, + "kind bpf": 4, "kind flower": 2, "action bpf": 1, "action connmark": 1, "action csum": 1, "action ct": 7, "action ctinfo": 1, "action gate": 1, "action ife": 2, "action mirred": 10, "action mpls": 1, "action nat": 1, - "action pedit": 1, "action police": 6, "action sample": 1, "action skbedit": 2, "action skbmod": 1, + "action pedit": 1, "action police": 6, "action sample": 1, "action skbedit": 7, "action skbmod": 1, "action tunnel_key": 1, "action vlan": 1, } @@ -143,13 +144,13 @@ var tdcFilterSkips = map[string]int{ var tdcFilterKnown = map[string]string{} // tdcFilterWritesSent pins how many tdc filter and chain writes gotc -// matches exactly (20W). -const tdcFilterWritesSent = 134 +// matches exactly (20W 134, 21W's basic, cgroup and flow match 111 more). +const tdcFilterWritesSent = 245 -var filterWriteRefused = regexp.MustCompile(`not implemented: tc filter (?:write of kind (\S+)|(\S+) police|action kind (\S+)|flow match)`) +var filterWriteRefused = regexp.MustCompile(`not implemented: (?:tc filter (?:write of kind (\S+)|(\S+) police|action kind (\S+)|write of ematch kind (\S+))|tc ematch .*\((W\d+)\))`) // filterRefusal is the name a refusal gives: the kind, "police", the -// action kind, or "flow match". +// action kind, the ematch kind, or the ematch lead. func filterRefusal(stderr string) (string, bool) { m := filterWriteRefused.FindStringSubmatch(stderr) switch { @@ -161,8 +162,10 @@ func filterRefusal(stderr string) (string, bool) { return "police", true case m[3] != "": return "action " + m[3], true + case m[4] != "": + return "ematch " + m[4], true } - return "flow match", true + return "ematch " + m[5], true } // TestGotcTdcFilterWrites replays every tdc filter and chain write: the diff --git a/internal/gotc/unit_test.go b/internal/gotc/unit_test.go index 0fc86bc70..1e87be132 100644 --- a/internal/gotc/unit_test.go +++ b/internal/gotc/unit_test.go @@ -51,13 +51,13 @@ func nlErr(e unix.Errno) Msg { } // emptySys is a root with none of tc's files. -func emptySys(t *testing.T) sysFS { +func emptySys(t testing.TB) sysFS { t.Helper() return sysFS{root: t.TempDir(), usrDir: confUsrDirCst} } // writeFiles puts each path's content under root. -func writeFiles(t *testing.T, root string, files map[string]string) { +func writeFiles(t testing.TB, root string, files map[string]string) { t.Helper() for p, c := range files { full := filepath.Join(root, p) diff --git a/internal/gotc/util.go b/internal/gotc/util.go index 880fc1668..0401a086a 100644 --- a/internal/gotc/util.go +++ b/internal/gotc/util.go @@ -42,6 +42,15 @@ const ( wordDrop = "drop" wordPerturb = "perturb" wordPrecedence = "precedence" + wordRandom = "random" + wordFwmark = "fwmark" + // The ematch kinds by name, as ematch_map spells them. + emNameCmp = "cmp" + emNameNbyte = "nbyte" + emNameMeta = "meta" + emNameCanid = "canid" + emNameIpset = "ipset" + emNameIpt = "ipt" // wordNull is glibc's printf of a NULL %s. wordNull = "(null)" ) From 2a9e39a90c57ec0b6ae3f4f05c8edfbffad12289 Mon Sep 17 00:00:00 2001 From: "randomizedcoder dave.seddon.ca@gmail.com" Date: Sun, 29 Nov 2026 21:09:46 -0800 Subject: [PATCH 4/7] gotc 21B: the ematch write-up docs/netlink/upstream/iproute2-tc-ematch-write.md: W123-W155 and K56-K62, each with file:line at v7.2.0 / v7.4-rc4, its tcematch pinning row and gotc's behaviour; every lead is present at HEAD. F25, K2, W95 and W97 gain increment-21 extensions where they live, and the filter-write doc points at the new one. Not submitted to netdev. Co-Authored-By: Claude Opus 5.5 --- docs/netlink/gotc-status.md | 5 + .../upstream/iproute2-tc-ematch-write.md | 321 ++++++++++++++++++ .../upstream/iproute2-tc-filter-write.md | 7 +- docs/netlink/upstream/iproute2-tc-filter.md | 6 + tools/nlcapgen/matrix_tcfwrite.go | 2 +- 5 files changed, 339 insertions(+), 2 deletions(-) create mode 100644 docs/netlink/upstream/iproute2-tc-ematch-write.md diff --git a/docs/netlink/gotc-status.md b/docs/netlink/gotc-status.md index f8e8e8969..f9739ffbc 100644 --- a/docs/netlink/gotc-status.md +++ b/docs/netlink/gotc-status.md @@ -288,6 +288,10 @@ tc's ematch grammar and the cmp, nbyte, u32, meta and canid modules; ipset, ipt carries between lines), the cmp, nbyte, u32, meta and canid modules, and the parse_fopt of basic and cgroup, plus flow's `match`. 243 of the 257 tcematch rows replay byte for byte and 14 are refused by name. tcfwrite's three basic, cgroup and flow-match rows now match, and so do 111 more tdc filter writes (245 in all) (V057). +- **21B (write-up): done.** [upstream/iproute2-tc-ematch-write.md](upstream/iproute2-tc-ematch-write.md): W123–W155 + and K56–K62, each with file:line, its pinning row and its gotc behaviour. Every lead is present at HEAD. W153 and + W154 are found by reading only, since ipt aborts first (W152). F25, K2, W95 and W97 have increment-21 extensions + where they live. Not submitted to netdev (DOC014). ## Ledger @@ -346,6 +350,7 @@ tc's ematch grammar and the cmp, nbyte, u32, meta and canid modules; ipset, ipt | DOC011 | 18B | **Write-up**: W26–W41 and K46 appended to `upstream/iproute2-tc-write.md`, each with file:line at v7.2.0, its pinning row and gotc's behaviour. **HEAD:** checked with `gh api repos/iproute2/iproute2/commits?path=tc/` on 2026-11-27: `main` is `35033e4713fe`, and none of q_drr/qfq/hfsc/ets/mqprio/taprio/multiq/cbs/etf.c, tc_util.c or tc_core.c has a commit since v7.2.0, so every lead is present at HEAD. **Host checks** (tc 7.2.0, kernel 7.3.3, unprivileged netns): W38 dies with SIGFPE, rc 136, for both `rt rate 0` and `rt umax 0 dmax 10ms rate 0`; W26 (17 quanta), W28 (17 fp) and W29 (17 max-sdu) get past tc and are refused by the kernel. **Correction:** K46 as first written in V042 put multiq with drr and qfq; multiq has a qdisc change op (`multiq_tune`), so its change and replace succeed for that reason. Not submitted to netdev. | | DOC012 | 19B | **Write-up**: [iproute2-tc-write.md](upstream/iproute2-tc-write.md) gains "Increment 19: W42–W63": 21 leads, each with its v7.2.0 file:line, tcawrite row (or unit row) and gotc's behaviour (`same` for all; nothing is refused). New beyond the plan: W62 (cake's overhead/mpu messages end in a literal backslash-n) and W63 (cake's strtol narrowed to int before the range check: `overhead 4294967296` and `overhead ""` are accepted as 0). W61 is dropped (red's stab entries cannot wrap). Kernel notes K47 (sch_gred's def_DP and init-time VQ refusals) and K48 (sch_dualpi2's ALPHA/BETA range starts at 1, so tc's NaN-as-0 and its own rounded-to-zero values are refused). **At HEAD:** the GitHub mirror's `main` is `35033e4713fe`, and none of the 13 files has a commit since v7.2.0. Not submitted to netdev. Bug-class candidates for bug-classes.md are listed in the section, not added. | | DOC013 | 20B | **Write-up**: new [iproute2-tc-filter-write.md](upstream/iproute2-tc-filter-write.md), with a pointer from iproute2-tc-write.md, so every tc write lead has one W number. W64–W121 from the plan's sweep (the 26 ematch leads moved to increment 21's) and W122, found while porting rt_names.c's realm lookup: rtnl_rtrealm_a2n's cache keeps the last name found while every parse writes `res`, so `route from cosmos to 3 from cosmos` sends FROM 3 (ec-099). The same statics are in seven more lookups (rtprot, rtscope, rttable, dsfield, group, nl_proto, protodown_reason); on the host, `ip -batch` with `proto static`, `proto 99`, `proto static` installs the third route as openr. Kernel notes K49 (ifindex 0 is ENODEV), K50 (fw's bare EINVAL), K51 (33 actions refused, not dropped as the plan guessed), K52 (templates are flower's), K53 (matchall has no change), K54 (skip-flag mismatch), K55 (cls_flow's user-namespace check tests enum indices as bits, refusing src/dst/proto/proto-src and admitting sk-uid/sk-gid; seen on the host only). Corrections to the plan: W113's kernel answer is K51's refusal; W81's capture holds zero (so the replay needs no mask). Each lead's HEAD status checked with `gh api` on the GitHub mirror (`main` = `35033e4713fe`); lib/rt_names.c's one commit since v7.2.0 (`22f67c8b7332`) is F26's fix. Not submitted to netdev. | +| DOC014 | 21B | **Write-up:** `docs/netlink/upstream/iproute2-tc-ematch-write.md`. It has a status header, contents, 33 summary rows (W123–W155), four lead sections, the extensions, K56–K62 and four bug-class candidates for the user's review (bug-classes.md is unchanged). Not submitted to netdev. **At HEAD** (GitHub mirror `35033e4713fe`, 2026-11-27, checked with `gh api …/commits?path=…&since=2026-08-17`): no commit since v7.2.0 touches emp_ematch.l/.y, m_ematch.c/.h, the seven em_*.c, f_basic.c, f_cgroup.c or f_flow.c. lib/libnetlink.c's seven commits (among them `cf4eec518462` and `1c154a5bb409`, which zero addattr_l's and rta_addattr_l's padding) leave addraw_l and its bound alone. Every lead is present. **Confirmed** from the corpus: 30 leads, each with its rows. W143 is found by reading only (the map files; no capture). W153 and W154 are found by reading only, because ipt aborts first (W152). **Kernel notes**, each cited to v7.4-rc4: K57 (cls_basic.c:183-184), K58 (meta type mismatch), K59 (police before actions, cls_api.c:3454), K60 (em_nbyte.c:27-29,52), K61 (ematch.c:376-377). K62 (ec-137's filter is accepted and can't be listed: NLMSG_DONE with -EMSGSIZE) is observed, with its cause inferred from af_netlink.c:2310-2321 and libnetlink.c:828-831, and left for 21L to confirm. **New from writing it up:** ec-126 (`meta("a" eq "b")` stored as `"b" eq "b"`) and ng-098 (`cmp("u8" at "0" eq "1")` read as alignment `18`) are W124 too. On the host tc 7.2.0, W124's realloc sends the freed block's bytes as the first needle. **Extensions** recorded in place: F25 and K2 in iproute2-tc-filter.md; W95 and W97 in iproute2-tc-filter-write.md, which also gets a pointer to the new doc in its scope. `matrix_tcfwrite.go`'s header now says W64-W122. | | V045 | 18L | **Live diff** on the workbench (kernel 7.3.1, tc 7.2.0 `/nix/store/x1pwsbz5cm23hk58b7fcpn3hhg9j7gwh-iproute2-7.2.0`). gotc was built with `-tags gotc_write` at the 18W lint fixes (`/nix/store/f88nmr6y4yj6w75x8a9i5j8y64s85k7f-gotc-write-18l`), with `GOTC_CONF_USR_DIR` and `TC_LIB_DIR` set to tc's. V040's method: each row of `tcswrite.rows.jsonl` runs its pre steps in a fresh named namespace, then gotc with `GOTC_WRITE_OUT`, then tc. gotc's requests are compared with tc's from the corpus pcaps, with seq, pid and the tcmsg ifindex zeroed (gotc saw d0 at 2 and d1 at 3). **Result: 114/114.** Every request matches byte for byte, the hfsc batch row's three included. **Named exceptions:** 25 rows where the request is identical but the output differs, because gotc never hears the kernel. Six are taprio writes that succeed with the kernel's `Warning: sch_taprio: Size table not specified` (ec-027, 028, 030, 031, 032, 071). The other 19 are kernel refusals, where tc prints the extack and exits 2 while gotc exits 0: ng-002, 014, 015, 019, 021–026, 029–032, 034, 036–039. Wherever tc stops before sending (the 20 parse refusals, W33's and W31's rc 255 among them), stdout, stderr and rc are identical. **tc against the corpus:** stdout, stderr and rc match `ws/tcswrite` on all 114 rows, so nothing has drifted. **VM:** pre-checked (`free -g`: 62G available; port 12061 free; no workbench process), booted with `up`; the baseline was 86 modules, no namespace, no core files. The run loaded the 10 sch_* modules (sch_mqprio_lib among them) and removed them with `modprobe -r`, returning lsmod to 86. No namespace is left, there are no core files, and `/tmp/t18l` is removed. Powered off with `down`, port 12061 free. | | V046 | 19C | **Captures**: `tools/nlcapgen/matrix_tcawrite.go` (`tcawrite`, 160 rows: 132 writes and 28 refusals, on d0 and a 4-queue d1), corpus `pkg/xtcpnl/testdata/7_3_1/ws/tcawrite/`. One row per lead W42–W60 and W63 (cake's `strtol` narrowed to int: `overhead 4294967296` is accepted as 0), plus W10 and the zero-means-unset rows; W62 (cake's overhead/mpu messages end in a literal `\n`) pins `cake overhead 300`. W61 was dropped (stab entries never wrap: the xmit time is at least one tick). Every expected outcome was checked twice on the host tc first. **Batches:** two on one boot, 160/160 each, identical with pcaps excluded. **Test:** `TestTcAwriteSpace` (row count 160, each lead's argv). **VM:** booted from off; after `modprobe -r` of the 13 sch_* modules lsmod read 91 against the 86 baseline (left over from the capture run; the VM was powered off, and 19L's fresh boot was back at 86); no namespace, no core files; powered off with `down`, port 12061 free. | | V047 | 19P | **Encoders** (`pkg/xtcpnl/xtcpnl_tc_aencode.go`, cited to pkt_sched.h): `Append` on `TcRedQopt` (red and choke), `TcGredQopt`, `TcGredSopt` and `TcSfbQopt`; new `TcPlugQopt` (8 bytes, with the `TCQ_PLUG_*` actions) and its decoder; `AppendNlaBitfield32` for red's FLAGS. `parseGred` now decodes through `DecodeTcGredQopt`/`DecodeTcGredSopt`. `TestTcAencodeRoundTrip` (9 structs, each also one byte short) and `TestAppendNlaBitfield32`. **`TestBuildTcAqmWrite`** (gotc_write, 12 rows) builds tcawrite requests through `BuildTcWriteRequest` and compares them with tc's captures: red PARMS/STAB/MAX_P/FLAGS (ec-001, and ec-002 with ecn harddrop in the bitfield value), choke without FLAGS (ec-015), gred setup's lone DPS (ec-009), sfb (ec-022), codel's limit-interval-target order (ec-028), pie (ec-034), hhf (ec-046), cake ethernet and lan (ec-062, ec-064), plug limit as a bare struct (ec-089), and a negative with codel's attributes reordered, which must differ. The STAB bytes come from the capture (their computation is 19W's). **Allocations:** 2 per codel request (`TestBuildTcAqmWriteAllocs`); `BenchmarkBuildTcAqmWrite` 19.6 µs, 2 allocs. netlink-audit and kernel-citation-audit pass. | diff --git a/docs/netlink/upstream/iproute2-tc-ematch-write.md b/docs/netlink/upstream/iproute2-tc-ematch-write.md new file mode 100644 index 000000000..b4716cfb4 --- /dev/null +++ b/docs/netlink/upstream/iproute2-tc-ematch-write.md @@ -0,0 +1,321 @@ +# iproute2 tc ematch writes: a lexer that shares one buffer among its tokens, a parser that undoes what it never took, and state that outlives the line + +**Status (2026-11-29, increment 21):** + +- **Not submitted to netdev.** These are drafts for the user's review, recorded here only, like the other write-ups in + this directory. No patch, no PR, no sign-off. +- **Scope:** + - tc's ematch grammar: `tc/emp_ematch.l` (flex) and `tc/emp_ematch.y` (bison), and the parse side of + `tc/m_ematch.c` and `tc/m_ematch.h` (parse_ematch, flatten_tree, parse_tree, the map lookup, em_parse_error). + - The match modules: `tc/em_cmp.c`, `em_nbyte.c`, `em_u32.c`, `em_meta.c` and `em_canid.c`, plus `em_ipset.c` and + `em_ipt.c` as far as their parse paths are reached. + - The parse_fopt of basic (`tc/f_basic.c`) and cgroup (`tc/f_cgroup.c`), and flow's `match` arm (`tc/f_flow.c`). + - lib/libnetlink.c's addraw_l. +- **Numbering:** leads continue [iproute2-tc-filter-write.md](iproute2-tc-filter-write.md) at **W123**, and kernel notes + continue at **K56**. +- **Source:** + - Line numbers are iproute2 **v7.2.0**, the version the corpus was captured with. Kernel behaviour is from the + corpus (kernel 7.3.1) and linux **v7.4-rc4**. + - **"At HEAD"** means the GitHub mirror's `main` on 2026-11-29 (`35033e4713fe`), checked with + `gh api repos/iproute2/iproute2/commits?path=...&since=2026-08-17`. + - None of the files above has a commit since v7.2.0, except lib/libnetlink.c. Its seven commits include + `cf4eec518462` (addattr_l zeroes its padding) and `1c154a5bb409` (rta_addattr_l zeroes its padding). None of the + seven touches addraw_l or its bound. **Every finding is present at HEAD.** +- **How they were found:** + - The plan's bug-class sweep ([bug-classes.md](bug-classes.md)) over the files above listed W123–W155. Writing the + capture rows and porting the code then confirmed or narrowed each lead. + - gotc (built with `gotc_write`) replays 243 of the 257 tcematch rows byte for byte and refuses the other 14 by + name. It also matches 245 tdc filter writes exactly ([gotc-status.md](../gotc-status.md), V057). So every captured + finding is reproduced by an independent implementation. + - The port models flex 2.6.4's buffer and bison 3.8.2's tables, including the state they carry from one parse to + the next. The two batch rows that depend on that state (W128, W129) matched on the first run. +- **Corpus:** `pkg/xtcpnl/testdata/7_3_1/ws/tcematch/` (257 rows), kernel 7.3.1, tc 7.2.0. "ec-N" and "ng-N" below + are its rows. Every expected outcome was first checked on the host's tc 7.2.0 under `unshare -rn`. For the em + modules the host doesn't load, `strace -e inject=sendmsg` made the request fail once it was built. +- **What gotc refuses:** the leads where tc reads or writes memory it doesn't own, or hangs: + - W123, W124's realloc case, W125, W126 and W127; + - W128's container case and W132's reads past strbuf; + - trees past their bound, which tc truncates and sends (W97, W151). + + ipt and ipset are refused by name. Everything else gotc reproduces as tc does. + +## Contents + +- [Summary](#summary) +- [W123–W130. The lexer, the parser and their state](#w123w130-the-lexer-the-parser-and-their-state) +- [W131–W145. The modules](#w131w145-the-modules) +- [W146–W151. basic, cgroup, flow and the tree's size](#w146w151-basic-cgroup-flow-and-the-trees-size) +- [W152–W155. ipt and ipset](#w152w155-ipt-and-ipset) +- [Extensions to earlier leads](#extensions-to-earlier-leads) +- [K56–K62. Kernel notes](#k56k62-kernel-notes) +- [Bug-class candidates](#bug-class-candidates) + +## Summary + +| lead | where (v7.2.0) | what | pinned by | gotc | +|---|---|---|---|---| +| W123 | emp_ematch.l:57-63,131 | strbuf_append_charp tests `index < size` once, then copies the whole run: a quoted run past strbuf's 512 bytes writes past the heap block; after an escape, tc aborts | ec-102, ec-103, ec-104, ng-100 (rc 134) | refused | +| W124 | emp_ematch.l:73-90; m_ematch.h:24-35 | every quoted token points into one shared strbuf: the next string overwrites the last, and growing strbuf frees it under them | ec-105, ec-106, ec-126, ec-144, ng-098, ng-099, ng-101 (rc 139) | same; realloc refused | +| W125 | em_meta.c:175 | the type-mask walk tests `p`, not `*p`: a value on the left reads .rodata and prints `BUG: Unknown map character` | ng-068 | refused | +| W126 | m_ematch.c:221,227 | parse_tree's `buf[64]` is uninitialised and strncpy(…, 63) leaves it unterminated: a kind of 63+ bytes is read past its end | ng-016, ng-017, ng-018 | refused (63+) | +| W127 | emp_ematch.l:22-24; m_ematch.c:363-365 | a first word of 8191+ bytes: `match argument too long.`, then the undo puts argv back on `match`, so the kind calls parse_ematch for ever | ng-096, ng-097 (the forms that end) | refused (the hang) | +| W128 | emp_ematch.y:32-35; m_ematch.c:367-371 | an empty tree keeps the previous parse's `ematch_root`: a batch resends the last line's tree, and one holding a container loops in flatten_tree | ec-143 | same; container refused | +| W129 | emp_ematch.l (flex state) | no yyrestart and no BEGIN(INITIAL): what the last parse left in flex's buffer, or an open `"`, starts the next line's tree | ng-111, ng-112, ng-113 | same | +| W130 | em_meta.c:252-265 | a value on the right returns before the adopt and compatibility block: the usage's own `meta(dev eq "eth0")` sends INT\|DEV against VAR\|VALUE, which the kernel refuses (K58) | ng-067, ec-126 | same | +| W131 | em_u32.c:85-89 | `at nexthdr+ 4` as two words never sets offmask: absolute offset 4 | ec-107 | same | +| W132 | em_u32.c:79-84 | `nexthdr+abc` goes through an unchecked strtoul (offset 0); a quoted `"nexthdr+4"` is copied len+1 bytes from strbuf | ec-108, ec-109 | same; reads past strbuf refused | +| W133 | em_u32.c:111-122 | u16 at an odd offset isn't shifted: `u32(u16 0x1122 0xffff at 1)` matches bytes 2-3; u8 at 6 lands in byte 6 of word 4 as meant | ec-110, ec-111, ec-112 | same | +| W134 | em_u32.c:99-126,136 | no range check before htonl: `u32 0x100000001` is 1, `at 0x100000000` is 0 | ec-113, ec-114 | same | +| W135 | em_cmp.c:123-128; em_nbyte.c:90; em_meta.c:151,324 | unsigned long narrowed with no check: `at 65536` is 0, `eq 300` on a u8 is kept, `mask 0x100000000` is no mask, `eq -2` is accepted while `-1` is refused, `shift 256` is 0, nbyte `at 65537` is 1 | ec-115–ec-120, ng-032, ng-081 | same | +| W136 | em_nbyte.c:88 | the 12-bit len: a 4096-byte needle is len 0, which the kernel matches on every packet (K60); 4097 is 1 | ec-121, ec-122, ec-123, ng-082 | same | +| W137 | m_ematch.h:92-102 | parse_layer reads the first letter only: `layer nonsense` is network, `layer tcp` transport, `layer lnk` link | ec-124, ec-125 | same | +| W138 | em_cmp.c:117 | cmp's unknown-word error says `nbyte: unknown parameter` | ng-033 | same | +| W139 | em_meta.c:31-32 | the usage names ids that don't exist (`indev`, `tcindex`); each is `meta: unknown meta id` | ng-069, ng-070 | same | +| W140 | em_canid.c:47,125,128; em_meta.c:270 | messages with their own `\n` give a blank line; canid's usage has U+2019 quotes; canid's PARSE_ERR echoes the advanced iterator; tc caps canid at 400 rules where the kernel takes 500 | ec-130, ng-075, ng-076 | same | +| W141 | emp_ematch.l:104-114 | `invalid octale escape sequence`; `"\0123"` is refused because `\\[0-9]+` is the longer match; the hex `> 0xFF` check is dead | ng-077, ng-078, ng-079 | same | +| W142 | emp_ematch.l:122-131 | no `` rule takes a raw newline: flex ECHOes it to stdout and drops it from the needle | ec-127 | same | +| W143 | m_ematch.c:40-48,88-125,235-241 | the map lookup: `Unable to find ematch` when neither file exists; EACCES or a bad line fails with no fallback; the id is an int stored in a u16 | (by reading; no capture) | same | +| W144 | m_ematch.c:139,549-551 | bstrtoul takes trailing junk (`at 12abc` is 12); `dlopen("em_%s.so")` ignores TC_LIB_DIR; trees and bstrs leak per command | ec-128 | same | +| W145 | em_canid.c:58-64 | no range or junk check: `sff 0x80000123` sets EFF_FLAG on an sff rule, `0x12g` is 0x12, `eff -1` is 0x1fffffff | ec-129 | same | +| W146 | f_flow.c:158-171,228; emp_ematch.l:133 | the lexer reads the word after the tree as an operator: `match 'cmp(…)' and 0xff` is a Parse error | ng-083, ng-084 | same | +| W147 | f_basic.c:43-49; f_cgroup.c:28-34 | the handle is strtol with only a LONG_MIN/MAX check: `08`, `foo` and `''` are 0, `1:2` is 1, `-1` is 0xffffffff; `del … handle 08 basic` deletes the whole prio | ec-131–ec-135, ng-107 | same | +| W148 | f_basic.c:52-53 | `basic` with no words sends no TCA_OPTIONS, which the kernel refuses (K57); cgroup always sends a nest | ng-085, ng-107 | same | +| W149 | f_basic.c:60-85; f_cgroup.c:43-58 | a trailing `match`, `classid`, `action` or `police`: NEXT_ARG, rc 255, which ends a `-force` batch | ng-086–ng-089 | same | +| W150 | f_basic.c:22-33; f_cgroup.c:14-18; f_flow.c:17-35 | basic's explain is u32's (SELECTOR, FILTERID) and omits police and flowid; cgroup's and flow's omit police; `help` is an exact compare, so `h` is `What is "h"?` | ng-090–ng-094 | same | +| W151 | m_ematch.c:217,375-384 | a tree past MAX_MSG prints addattr and addraw errors, carries on and sends truncated matches; the kernel refuses (K61) | ng-095 | refused | +| W152 | em_ipt.c:83-167 | `basic match 'ipt(-m mark --mark 1)'` aborts: `free(): invalid size`, rc 134 | ng-108 | refused by name | +| W153 | em_ipt.c:71-80 | the hook is PRE_ROUTING only for parent 0xFFFF0000: clsact and block filters get POST_ROUTING | — (W152 first) | refused by name | +| W154 | em_ipt.c:95-139 | `optind` is never reset between ipt() calls or batch lines; the default branch prints a NULL optarg | — (W152 first) | refused by name | +| W155 | em_ipset.c:76,211 | the set is looked up while parsing: as non-root, `Can't open socket to ipset.`, then `unknown set name` | ng-109, ng-110 | refused by name | + +## W123–W130. The lexer, the parser and their state + +- **W123.** strbuf starts at 512 bytes (calloc) and grows by 512. strbuf_append_char grows it as needed. + strbuf_append_charp, the run rule's append, tests `strbuf_index < strbuf_size` once and then memcpys the whole run. + - A quoted run of 512 bytes fits exactly (ec-103). One of 513 writes one byte past the block (ec-104, rc 0: glibc + noticed nothing). + - An escape first, then a run, writes further: 510 bytes, `\x41`, then 40 more (ng-100). tc aborts with + `malloc(): invalid size (unsorted)`, rc 134. + - An escape after a run that exactly fills strbuf takes the grow path, so `"<512 bytes>\x41"` sends a 513-byte needle + (gotc's test; checked on the host tc 7.2.0). +- **W124.** A quoted token is `bstr_new(strbuf, strbuf_index)`. bstr_new keeps the pointer and copies nothing, and + every string starts again at strbuf's index 0. So each quoted token holds a length into the one buffer that the + next string overwrites: + - **nbyte:** `nbyte("abc" at 0) or nbyte("xy" at 0)` sends `xyc` as the first needle (ec-105). `meta("d0abc" eq + dev) or nbyte("xy" at 0)` does the same to meta (ec-106). + - **meta:** `meta("a" eq "b")` sends `"b" eq "b"`. The kernel keeps it, and it matches every packet. The readback + prints `meta(b eq b)` (ec-126). + - **cmp:** `cmp("u8" at "0" eq "1")` reads its alignment as `18`, the last string's `1` over the first's `u8` + (ng-098). + - **Kinds:** a quoted kind is overwritten too. `nbyte("cmpzz" at 0) or "cmp"(…)` looks up `cmpzz`: `cmp` over + the first three bytes, then the needle's `zz` up to strbuf's NUL (ng-099). strbuf also outlives the line: ec-144's + batch quotes a kind on line 2 over line 1's needle. + - **Growing strbuf** reallocs it under the earlier tokens: + - `nbyte("ab" at 0) or nbyte("<511 bytes>\x41\x42" at 0)`: on the host, tc sends the freed block's first bytes + (`c0 9d`) as the first needle. + - In the guest, ng-101's form crashes, SIGSEGV, rc 139. + + gotc keeps the shared buffer, so `xyc` and the rest are reproduced. It refuses the realloc. +- **W125.** em_meta.c's is_compatible walks the mask with `for (p = mask; p; p++)`, testing the pointer, never `*p`. + `meta("x" eq priority)` puts a VAR value on the left against an INT id. The walk then runs past the mask string's + NUL into .rodata and prints `BUG: Unknown map character ''` for each byte it reads. In the guest it eventually + finds a byte that passes. The kernel then refuses the result, `RTNETLINK answers: Operation not supported` (ng-068, + rc 2). +- **W126.** parse_tree copies the kind with `strncpy(buf, t->args->data, sizeof(buf)-1)` into an uninitialised + `char buf[64]`, then passes buf to get_ematch_kind and `Unknown ematch "%s"`. A kind of 62 bytes is terminated by the copy (ng-018, `Unknown ematch`). A kind of 63+ bytes leaves + buf unterminated, and the lookup reads past it (ng-016, ng-017; the stack happened to hold a NUL). A quoted kind is read from + strbuf to its first NUL, past the token's length (W124's ng-099). This is the AC10 pattern. +- **W127.** YY_INPUT refuses a word when flex's `max_size <= strlen + 1`. It prints `match argument too long.` and + returns 0 without taking the word, so the parse ends empty. parse_ematch then undoes the look-ahead (`argc++, + argv--`) unconditionally: + - **After a tree:** the undo lands on the tree's last word, which is F25's `What is "cmp(u8 at 0 eq 1)"?` (ng-096, + rc 1). + - **As the first word:** the undo lands back on `match`. basic's loop sees `match` again and calls parse_ematch on + the same words, which refuses the same word, for ever. The corpus can't hold a hang. gotc refuses it, and + `TestTcEmatchSpace` keeps an 8191-byte first word out of every row. +- **W128.** The grammar's `input: /* empty */ | expr` action sets `ematch_root = $1` only for a non-empty expr. An + empty tree (`match '"'`, or a word that reaches EOF in lexstr) keeps the global from the last parse: + - **In a batch:** line 2's flow sends line 1's basic tree as its own (ec-143). + - **A tree holding a container:** flatten_tree runs again over a chain it has already linked. The child list is + then appended to itself, and the next walk never ends. gotc refuses that case. +- **W129.** flex keeps its buffer and start condition across parse_ematch calls. Nothing calls yyrestart or + BEGIN(INITIAL). Text read past the token that ended a parse stays for the next one, and so does an open `"`: + - `match "cmp(u8 at 0 eq 1)" "x not"`: line 1 fails on `x` (`What is "x not"?`). Under `-force`, line 2's tree + starts with the leftover `not` and is sent inverted (ng-111). + - `match '"abc'`: line 2 opens inside the string, so its tree is the rest of line 1 and the start of line 2, and + line 2 fails on `1:1` (ng-112). + - Without `-force`, the batch stops at line 1 (ng-113). +- **W130.** parse_object returns as soon as it has a quoted string or a number. The adopt and compatibility block + only runs for an id, so a value on the right never adopts the left's type: + - `meta(dev eq "d0")` sends INT\|DEV against VAR\|VALUE, which the kernel refuses with EINVAL (ng-067, K58). The + usage's own example is `meta(dev eq "eth0")`. + - The same pair written the other way, `meta("d0abc" eq dev)`, adopts VAR for dev and is accepted (ec-106). + +## W131–W145. The modules + +- **W131.** em_u32 tests `!bstrcmp(a, "nexthdr+")` for the two-word form and then reads the offset from the next + word, but never sets offmask. `u32(u8 6 0xff at nexthdr+ 4)` matches at absolute offset 4 (ec-107). +- **W132.** The one-word form copies `len + 1` bytes of `nexthdr+N` into a buffer and strtouls it unchecked. + `nexthdr+abc` is offset 0 with offmask set (ec-108). For a quoted `"nexthdr+4"` the copy reads strbuf one byte past + the token. strbuf held a NUL there, so the capture matched (ec-109). gotc refuses only when strbuf holds no NUL to + stop the copy. +- **W133.** For u16, the key and mask are shifted by 16 only when `offset & 3 == 0`, and then the offset is aligned + down. An offset of 1 or 3 leaves the halfword in bytes 2-3: `u16 0x1122 0xffff at 1` and `at 3` match bytes 2-3 + of word 0 (ec-110, ec-111). u8 does shift by `(offset & 3)`, so `u8 0x11 0xff at 6` lands in byte 6 (ec-112). This + is W78's shape in em_u32. +- **W134.** The key, mask and offset are unsigned longs with no range check before htonl: + - `u32 0x100000001 0xffffffff at 0` is key 1 (ec-113); + - `at 0x100000000` is offset 0 (ec-114). +- **W135.** cmp, nbyte and meta narrow unsigned longs with no check: + - `cmp(u8 at 65536 eq 300)` is offset 0, and keeps 300 against a byte, so it never matches (ec-115); + - `mask 0x100000000` is mask 0, which the kernel treats as no mask (ec-116); + - `eq -2` is 0xff…fe, accepted (ec-117), while `eq -1` is ULONG_MAX, bstrtoul's error value (ng-032, `cmp: invalid + value`); + - `meta(priority shift 256 eq 1)` is shift 0 (ec-118), and `mask 0x100000000` is no mask (ec-119); + - nbyte's `at 65537` is 1 (ec-120), and `at -1` is refused (ng-081). +- **W136.** em_nbyte assigns the needle's length to `len:12`: + - **4095 bytes** fill the field (ec-121). + - **4096 bytes** send len 0. The kernel accepts that and matches every packet (K60, ec-122). + - **4097 bytes** send len 1 (ec-123). + - **An empty quoted needle** is refused by tc itself (`nbyte: needle length is 0`, ng-082). Its echo shows the + empty token as `>><<`. +- **W137.** parse_layer switches on the first character: `l`, `n`, `t`, else a number. + - `layer nonsense` is network (ec-124). + - `layer tcp` is transport, and `layer lnk` is link (ec-125). +- **W138.** cmp's default arm reports `nbyte: unknown parameter`, copied from em_nbyte (ng-033). +- **W139.** meta's usage lists `indev` and `tcindex`, which aren't in its table. Both are `meta: unknown meta id` + (ng-069, ng-070). +- **W140.** + - meta's `unknown meta id` and canid's `Improperly formed CAN ID & mask` end in `\n`, and em_parse_error adds its + own, so there is a blank line (ng-069, ng-075). + - canid's usage quotes `’sff’` and `’eff’` with U+2019. + - canid's PARSE_ERR passes the advanced iterator as args, so its echo starts at the failing word (ng-076). + - tc's rule array doubles from 25 while it is at most half of EM_CANID_RULES_MAX, so 400 rules pass (ec-130) and + 401 are `Too many arguments on input`. The kernel takes 500. +- **W141.** The escape rules: + - `\\[0-7]{1,3}` checks `> 0xFF` (`octal escape sequence out of range`, ng-077). + - `\\[0-9]+` prints `invalid octale escape sequence` (ng-078). It is also the longer match for `\0123`, so a valid + three-digit octal followed by a digit is refused (ng-079). + - `\\x[0-9a-fA-F]{1,2}` can't exceed 0xFF, so its range check is dead. +- **W142.** `` has rules for `"`, backslash escapes and `[^\\"\n]+`, but none for a raw newline. flex's + default rule ECHOes it to stdout: ec-127's stdout is one blank line. The needle is sent without the newline (`ab`). +- **W143.** lookup_map_id (and the read side's lookup_map) opens CONF_ETC_DIR's ematch_map, then CONF_USR_DIR's, and + falls back only when fopen fails with ENOENT: + - When neither file exists, the message is `Unable to find ematch` (not "no map file"). + - EACCES, or a line that doesn't parse, ends the lookup with no fallback and no message of its own. + - The id is parsed as an int and stored in the u16 kind. + + gotc models the lookup. There is no capture, since the workbench has both files. +- **W144.** + - bstrtoul is strtoul with only an empty-string check. `cmp(u8 at 12abc eq 1zz)` is at 12, eq 1, and u32's `at 4x` + is 4 (ec-128). + - `dlopen("em_%s.so")` uses the bare name, so it ignores TC_LIB_DIR. + - Trees and bstrs are never freed. +- **W145.** canid's ID and mask go through sscanf `%x` with no range or trailing check (ec-129): + - `sff 0x80000123` keeps bit 31, the EFF flag, so the readback prints `eff 0x123:0x7FF`. + - `sff 0x12g` is 0x12. + - `eff -1` is 0x1fffffff. + +## W146–W151. basic, cgroup, flow and the tree's size + +- **W146.** parse_ematch's tree is whatever the lexer reads up to its look-ahead. A word after the tree that is a + grammar operator (`and`, `or`, `not`) joins the tree. `flow … match 'cmp(…)' and 0xff` then fails as `Parse + error: syntax error` at `>>0xff<<`, because the `and` meant for flow's `map key mark and 0xff` was taken + (ng-083, ng-084). Flow's `and`/`or` must come before `match`. +- **W147.** basic and cgroup parse the handle with strtol and refuse only LONG_MIN and LONG_MAX: + - `08` (octal), `foo` and `''` are 0, and the kernel then allocates handle 1 (ec-131, ec-134). + - `1:2` is 1 (ec-132), `-1` is 0xffffffff (ec-133), and `0x1zz` is 1 (ec-135). + - On delete, `handle 08` is handle 0, which removes every filter of the prio. gotc's test pins that request. + ng-107 is the add with no options. +- **W148.** f_basic.c returns before addattr_nest when argc is 0, so `basic` alone sends no TCA_OPTIONS. The kernel + refuses that with EINVAL (K57, ng-085, ng-107). cgroup opens its nest first and always sends one. +- **W149.** Every arm that takes a value steps with NEXT_ARG. So a trailing `classid` (ng-086), `match`, `action` + or `police` exits 255 with `Command line is not complete` (ng-087–ng-089), which ends even a `-force` batch. +- **W150.** + - basic's explain is u32's: it shows SELECTOR and FILTERID, and omits police and flowid (ng-090). This is the half + of W100 left to increment 21. + - cgroup's explain omits police (ng-092), and so does flow's. + - `help` is a strcmp, so `basic h` is `What is "h"?` (ng-091). + - cgroup has no classid: `What is "classid"?` (ng-094). + - basic's bad classid is `Illegal "classid"` (ng-093). +- **W151.** parse_tree adds each match with addraw_l against MAX_MSG and its nest headers with addattr_l, ignoring + both functions' -1: + - A tree past 16384 bytes (six 400-rule canids) prints `addraw_l ERROR: message exceeded bound of 16384`. + - The request goes out with the matches that fit, under headers that count all of them. The kernel refuses it + with EINVAL (K61, ng-095). + + gotc refuses a request tc would truncate (W6's rule). + +## W152–W155. ipt and ipset + +- **W152.** `basic match 'ipt(-m mark --mark 1)' classid 1:1` aborts in em_ipt's parse with `free(): invalid size`, + SIGABRT, rc 134, on the host's tc 7.2.0 and in the guest (ng-108). The cause wasn't traced. gotc refuses the kind + by name. +- **W153.** em_ipt_hook returns PRE_ROUTING only when `tcm_parent == TC_H_MAJ(TC_H_INGRESS)` (0xFFFF0000, an + `ingress` qdisc's filter). A clsact ingress filter (parent 0xFFFFFFF2) or a block filter (0xFFFFFFFF) gets + POST_ROUTING, against which the kernel refuses a PRE-only match. This is found + by reading; W152 aborts first. +- **W154.** em_ipt drives iptables' getopt_long but never resets `optind`, so a second ipt() in a tree or a batch + starts mid-argv. Its default branch prints `optarg`, which is NULL for an option without an argument. This is found + by reading; W152 aborts first. +- **W155.** em_ipset resolves the set name with an ipset socket while parsing. As non-root it prints `Can't open + socket to ipset.` and then `unknown set name` (ng-109, ng-110). The kernel is never asked. gotc refuses the kind by + name. + +## Extensions to earlier leads + +- **F25** ([iproute2-tc-filter.md](iproute2-tc-filter.md)): the unconditional undo after a tree that ends the line + gives `What is ""?` for basic, cgroup and flow (ng-019, ng-020, ng-021). +- **W95** ([iproute2-tc-filter-write.md](iproute2-tc-filter-write.md)): basic and cgroup have no duplicate checks + either. `classid 1:1 classid 1:2 match A match B` keeps classid 1:2 and tree B (ec-136). With both police and + action, the kernel keeps police and drops the action silently (K59, ec-139). gotc refuses police by name, as in 20. +- **W97**: flow's 4096 bound also catches a large `match`. ec-137's tree, two 300-rule canids (4840 bytes), overflows + it. tc drops what flow adds after the tree (MODE, DIVISOR, BASECLASS: three `addattr_l ERROR` lines) and sends a + 4900-byte request, which the kernel accepts as a map-mode filter. gotc refuses it. The readback then + can't be dumped (K62). +- **K2** ([iproute2-tc-filter.md](iproute2-tc-filter.md)): cls_cgroup has one filter per prio and protocol, and its + get always returns NULL: + - `change` is `Need both RTM_NEWTFILTER and NLM_F_CREATE to create a new filter` (ng-103); + - delete-by-handle is `Specified filter handle not found` (ng-104); + - a second handle is ENOENT (ng-105); + - no handle is EINVAL (ng-106). + +## K56–K62. Kernel notes + +- **K56.** 7.3.1's tcf_em_tree_dump ignores nla_put_nohdr's failure. W136's 4095-byte needle is dumped with its + match header alone, and tc prints `NByte header size mismatch`. Fixed by v7.4-rc1's `528de6832b21`. + `TestWsTcFilterKinds` accepts such a match. +- **K57.** basic_change refuses a filter with no TCA_OPTIONS with a bare EINVAL (cls_basic.c:183-184 at v7.4-rc4): W148's + `RTNETLINK answers: Invalid argument` (ng-085, ng-107). +- **K58.** em_meta_change refuses operands whose types differ with EINVAL: `meta(priority eq "x")` (ng-066) and + W130's `meta(dev eq "d0")` (ng-067). Two VAR values are accepted (ec-126). +- **K59.** cls_basic and cls_cgroup run tcf_exts_validate_ex, whose police branch comes first: with both + TCA_*_POLICE and TCA_*_ACT present it keeps the police and never looks at the actions (cls_api.c:3454). `police … action pass` stores only the police (ec-139). The kernel + gives no error. +- **K60.** em_nbyte_change checks only that the data holds the header and len bytes (em_nbyte.c:27-29), so len 0 is + accepted, and em_nbyte_match's memcmp of zero bytes always matches (em_nbyte.c:52). W136's + 4096-byte needle installs a match-everything filter (ec-122). +- **K61.** A tree whose LIST holds fewer matches than HDR's nmatches is refused with EINVAL in tcf_em_tree_validate + (ematch.c:376-377). + This is how W151's truncated request ends (ng-095). +- **K62.** ec-137's flow filter can't be listed. The kernel accepts its 4900-byte request. `tc -d filter show dev d1 + parent 1:` then gets the 72-byte chain head and an NLMSG_DONE carrying -EMSGSIZE, and tc prints its own `Error: + Buffer too small for object.` (libnetlink.c:758) and `Dump terminated`. + - The kernel's first dump skb is max(NLMSG_GOODSIZE, max_recvmsg_len) (af_netlink.c:2310-2321 at v7.4-rc4). + - tc's first recv is a zero-length MSG_PEEK (libnetlink.c:828-831). + - That points at the filter not fitting a page-sized skb before tc's 32 KiB reads raise max_recvmsg_len. This + isn't traced; 21L can confirm it by varying the rule count. + + gotc's read side prints the same for the same pcap. + +## Bug-class candidates + +For the user's review; [bug-classes.md](bug-classes.md) is unchanged. + +- **A look-ahead undone unconditionally:** a parser takes one word too many and steps back without checking whether + it took one (F25, W127, W146). +- **A token that aliases a shared buffer:** a lexer returns pointers into a buffer it reuses or reallocs (W124, and + W132's read past the token). +- **A loop that tests the pointer, not what it points at:** `for (p = s; p; p++)` (W125). +- **Parser state that outlives the line:** globals and generated-scanner state survive into the next batch line + (W128, W129, W154; W122's rt_names cache is the same shape). diff --git a/docs/netlink/upstream/iproute2-tc-filter-write.md b/docs/netlink/upstream/iproute2-tc-filter-write.md index ca669ec1a..aa22f54a0 100644 --- a/docs/netlink/upstream/iproute2-tc-filter-write.md +++ b/docs/netlink/upstream/iproute2-tc-filter-write.md @@ -8,7 +8,8 @@ `chain del` go through too), the parse_fopt of u32, fw, route, flow and matchall (`tc/f_*.c`), the filter side of the actions (`tc/m_action.c` parse_action, `tc/m_gact.c` parse_gact, `tc/tc_util.c` action_a2n and parse_action_control), and the shared helpers they reach (`lib/utils.c`, `lib/rt_names.c`, `lib/ll_map.c`, - `tc/m_estimator.c`). basic, cgroup and the ematch grammar are increment 21's. Leads continue + `tc/m_estimator.c`). basic, cgroup and the ematch grammar are increment 21's: W123–W155 and K56–K62 are in + [iproute2-tc-ematch-write.md](iproute2-tc-ematch-write.md). Leads continue [iproute2-tc-write.md](iproute2-tc-write.md)'s numbering at **W64**, so every tc write lead has one number; kernel notes continue at **K49**. - **Source:** @@ -193,6 +194,8 @@ - **W95.** None of the five parsers checks for a repeated keyword. Each repeated classid, link, divisor, indev, mark, to, from, keys or rshift adds another attribute, and the kernel's nla_parse keeps the last: `classid 1:1 classid 1:2` installs 1:2 (ec-097). u32's `ht`, `order` and flags take the last value locally. + - **Increment 21:** basic and cgroup don't check either. A second classid or `match` wins (tcematch ec-136), and + with both police and action the kernel keeps the police alone (K59, ec-139) ([iproute2-tc-ematch-write.md](iproute2-tc-ematch-write.md)). ## W96–W109. fw, route, matchall and flow @@ -202,6 +205,8 @@ - **W97.** fw, route and flow pass 4096 as addattr's maxlen while the request buffer is MAX_MSG (16384). Past 4096 bytes (a long action list), addattr_l prints `addattr_l ERROR: message exceeded bound of 4096`, the callers ignore the -1 and the request goes out without that attribute. gotc refuses a request tc would truncate (W6's rule). + - **Increment 21:** a large flow `match` hits the same bound: tcematch ec-137's two 300-rule canids send a 4900-byte + request without MODE, DIVISOR and BASECLASS, and its readback ends in EMSGSIZE (K62, [iproute2-tc-ematch-write.md](iproute2-tc-ematch-write.md)). - **W98.** route's `order` is shifted and masked into the handle's 0x7F00 without a check: `order 200` is 72 in the handle, 0xffff4804 (ec-098). - **W99, W100.** route's explain says `fromif TAG` (a device name) and omits order, police and flowid (ng-023). diff --git a/docs/netlink/upstream/iproute2-tc-filter.md b/docs/netlink/upstream/iproute2-tc-filter.md index 6894811c8..696772ab5 100644 --- a/docs/netlink/upstream/iproute2-tc-filter.md +++ b/docs/netlink/upstream/iproute2-tc-filter.md @@ -212,6 +212,9 @@ Under `-p` (pretty), `show_keys` picks a printer by `f_proto`, the last filter's ahead by parser"). When the ematch is the last word on the line, the parser had nothing to look ahead at, so the undo backs up onto the ematch itself. `basic_parse_opt` then reads it again: `What is "cmp(...)"?`. The 10C fixtures put a `classid` or an `action` after every `match` for this reason. + - **Increment 21:** the same undo gives `What is ""?` for cgroup and flow as well (tcematch ng-019–ng-021). + Its siblings, W127 (the undo lands on `match` and loops) and W146 (the look-ahead takes flow's `and`), are in + [iproute2-tc-ematch-write.md](iproute2-tc-ematch-write.md). ## K1–K4. Kernel notes @@ -222,6 +225,9 @@ Under `-p` (pretty), `show_keys` picks a printer by `f_proto`, the last filter's sequence number. - **K2:** `cls_cgroup_get` returns NULL, so `tc filter get ... cgroup` is always "Specified filter handle not found", rc 2. The filter can be listed but never got. + - **Increment 21:** a cgroup is one filter per prio and protocol. Its change is `Need both RTM_NEWTFILTER and + NLM_F_CREATE`, delete-by-handle is `Specified filter handle not found`, a second handle is ENOENT and no handle + is EINVAL (tcematch ng-103–ng-106; [iproute2-tc-ematch-write.md](iproute2-tc-ematch-write.md)). - **K3:** `tcf_fill_node` returns -EOPNOTSUPP (`cls_op_not_supp`) for a terse dump of a kind without `terse_dump`. What reaches user space at the end of the dump is EMSGSIZE. - **K4:** `meta_int_change` stores 8 bytes when the attribute has at least `sizeof(unsigned long)`, and diff --git a/tools/nlcapgen/matrix_tcfwrite.go b/tools/nlcapgen/matrix_tcfwrite.go index 8c70dbbfd..b19c27546 100644 --- a/tools/nlcapgen/matrix_tcfwrite.go +++ b/tools/nlcapgen/matrix_tcfwrite.go @@ -18,7 +18,7 @@ import ( // Each write is the captured command, its setup in Pre, and a readback // (`tc -d filter show`, or `tc chain show`) records what the kernel kept. // The rows pin the plan's leads -// (docs/netlink/upstream/iproute2-tc-filter-write.md, W64-W121): an empty +// (docs/netlink/upstream/iproute2-tc-filter-write.md, W64-W122): an empty // kind (W64), dev cut to 15 bytes (W65), no dev at all (W66), block over // parent (W67), the nonzero duplicate checks (W68), the unreachable // Garbage arm (W69), the device looked up before parse_fopt (W70), the From 3f01a41e7e0a090c1aeec24723e109cd26355e89 Mon Sep 17 00:00:00 2001 From: "randomizedcoder dave.seddon.ca@gmail.com" Date: Sun, 29 Nov 2026 21:15:47 -0800 Subject: [PATCH 5/7] gotc 21W: emU32Offset returns nil for its missing word gocritic's nilValReturn: the word is nil on that path, so say so. Co-Authored-By: Claude Opus 5.5 --- internal/gotc/fw_emkinds.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/gotc/fw_emkinds.go b/internal/gotc/fw_emkinds.go index 1dcb18117..4585dfd94 100644 --- a/internal/gotc/fw_emkinds.go +++ b/internal/gotc/fw_emkinds.go @@ -346,7 +346,7 @@ func (r *runner) emU32Offset(a *emArg, perr func(*emArg, string, ...any) error) return offset, -1, a, nil case string(b) == nh: if a = a.next; a == nil { - return 0, 0, a, perr(a, "u32: missing offset") + return 0, 0, nil, perr(nil, "u32: missing offset") } } return r.emToul(a), 0, a, nil From 8b707c8b198f1f6927eef95ac783841a8849a71b Mon Sep 17 00:00:00 2001 From: "randomizedcoder dave.seddon.ca@gmail.com" Date: Sun, 29 Nov 2026 21:17:19 -0800 Subject: [PATCH 6/7] gotc 21L: the ematch live diff On the workbench, tc and the gotc_write build agree on 246 of 260 rows (the 257 tcematch rows and tcfwrite ec-114/115/118): every request byte for byte; the other 14 are the refusals by name. A size probe pins K62: tc can't list a filter whose dump outgrows a page-sized first skb (between 3600 and 3800 bytes of canid rules). W155's non-root message is checked on the host. The VM was left as found. Co-Authored-By: Claude Opus 5.5 --- docs/netlink/gotc-status.md | 5 +++++ docs/netlink/upstream/iproute2-tc-ematch-write.md | 15 +++++++++++---- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/docs/netlink/gotc-status.md b/docs/netlink/gotc-status.md index f9739ffbc..1a33e8785 100644 --- a/docs/netlink/gotc-status.md +++ b/docs/netlink/gotc-status.md @@ -292,6 +292,10 @@ tc's ematch grammar and the cmp, nbyte, u32, meta and canid modules; ipset, ipt and K56–K62, each with file:line, its pinning row and its gotc behaviour. Every lead is present at HEAD. W153 and W154 are found by reading only, since ipt aborts first (W152). F25, K2, W95 and W97 have increment-21 extensions where they live. Not submitted to netdev (DOC014). +- **21L (live diff): done.** On the workbench, tc and the gotc_write build agree on 246 of the 260 rows (all 257 + tcematch rows, plus tcfwrite ec-114, ec-115 and ec-118). Every request is identical byte for byte, and stdout, stderr + and rc match wherever tc stops before the kernel. The other 14 rows are the 14 refusals by name. A size probe + confirms K62 (V058). ## Ledger @@ -364,6 +368,7 @@ tc's ematch grammar and the cmp, nbyte, u32, meta and canid modules; ipset, ipt | V055 | 21C | **Captures**: `tools/nlcapgen/matrix_tcematch.go` (`tcematch`, 257 rows: 144 writes and 113 refusals, on 20C's fixture: d0 with clsact, d1 with an htb root, two classes and ingress block 10), corpus `pkg/xtcpnl/testdata/7_3_1/ws/tcematch/`. Rows: basic's add, change, replace and delete (and in block 10, on htb, in chain 7); cgroup's add, replace and delete-by-prio, with its change, delete-by-handle, second handle and missing handle refused by the kernel (ENOENT, ENOENT, ENOENT, EINVAL: K2's one filter per prio); flow's `match` in hash and map modes, change and replace. The grammar: AND, OR and NOT in any case, nesting (the flatten order), a tree over several words, tokens with no spaces, a second `match`, empty words, quoted kinds, and 12 Parse error forms. Every cmp, nbyte, u32, meta and canid keyword and error message, one meta match per id, and every escape. Rows for W123–W155 except W143 (the map files; no capture) and W153/W154 (ipt's hook and optind: tc aborts first, W152), plus F25, W95 and W97. W127's hang (a first tree word of 8191 bytes) and W128's container case can't end in a capture, so gotc's tests pin them, and `TestTcEmatchSpace` keeps such a word out of every row. Three rows crash tc in the guest: W123's escape-then-run (SIGABRT, rc 134), W124's realloc (SIGSEGV, 139) and W152's ipt (SIGABRT). Every expected rc was first checked on the host tc 7.2.0 under `unshare -rn`, with `strace -e inject=sendmsg` for the rows whose em module the host hasn't loaded (nbyte, meta, canid, ipset). The workbench then disagreed on two rows: a cgroup change in a batch (ENOENT; made a replace) and `meta("a" eq "b")` (accepted; made a write). Four rows' `expect` (refused_by for the crashes, ENOTSUP for W125) were corrected in the rows file and copied into their `cmd.json`; the captures are unchanged. **Kernel:** 7.3.1's tcf_em_tree_dump ignores nla_put_nohdr's failure, so W136's 4095-byte needle is dumped with its header alone and tc prints `NByte header size mismatch` (K56; fixed by v7.4-rc1's 528de6832b21). `TestWsTcFilterKinds` accepts such a match. W151's refusal echoes its 16 KiB request with no extended ack, so it's now `ParseNlMsgErr`'s largest pick (0 allocations). **Batches:** two on one boot, 257/257 each, identical with pcaps excluded, and the pcaps' requests identical with seq and pid masked (only the readbacks' action timestamps differ). **Test:** `TestTcEmatchSpace` (row count 257, each grammar form, module keyword and lead, the verbs, no hanging word, determinism). **VM:** pre-checked (`free -g`: 60G available; port 12061 free; no workbench process), booted from off; no core files at boot; the nine tc cores from the three crashing rows were removed, then the VM was powered off with `down`. | | V056 | 21P | **Encoders** (`pkg/xtcpnl/xtcpnl_tc_emencode.go`, untagged: laying out a struct sends nothing): `Append` for `TcfEmatchTreeHdr`, `TcfEmatchHdr`, `TcfEmCmp` (align\|flags and layer\|opnd packed low nibble first, each keeping its low four bits as a C bitfield does), `TcfEmNbyte` (len:12\|layer:4 in one u16, then the needle as given, so W136's 4096-byte needle is len 0 with all 4096 bytes), `CanFilter` and `TcfMetaVal` (tcf_meta_hdr is left then right), each cited to the v7.4-rc4 uapi header and line. `AttrBuilder.PutRaw` is addraw_l (lib/libnetlink.c:1395 at v7.2.0): the bytes with no header, zero-padded to four, and a refusal that writes nothing (ErrAttrNoSpace). **Tests:** `TestBuildTcEmatchWrite` (gotc_write) builds 15 tcematch requests through `BuildTcWriteRequest` and matches tc's captured bytes: cmp with every keyword, nbyte's escapes, u32's u16 at 2 and nexthdr+4, meta's INT id with shift and mask and its VAR adoption, canid's masks, the nested tree's pre-order flatten with children at the tail and their refs, cgroup's tree and action, flow's EMATCHES in argv order with MODE last, W136's 4096-byte needle, 400 canid rules, cgroup's empty TCA_OPTIONS, basic's none (W148) and W124's `xyc`. Two negative rows (the needle as typed, a breadth-first flatten) differ from the capture. `TestTcEmatchAppend` (11 rows: each layout's bytes and its round trip through the read side's decoder, nbyte len 4095/4096/4097, bitfield truncation), `TestAttrBuilderPutRaw` (9 rows: padding of 1, 2 and 3 bytes, exact room, refusals leave the buffer and length unchanged), `TestTcEmatchAppendAllocs` (0), `BenchmarkTcEmatchAppend` (28 ns/op, 0 allocs). netlink-audit and kernel-citation-audit: no findings. | | V057 | 21W | **Code** (`gotc_write`; each file matches no-write-encoders' `fw_[a-z0-9]+`): `fw_ematch.go` is emp_ematch.l and emp_ematch.y at v7.2.0 plus m_ematch.c's parse side. **Lexer:** flex 2.6.4's buffer (YY_INPUT feeds one word and a space per read, skips empty words, and prints `match argument too long.` at max_size; at EOF it restarts, keeping the start condition) and strbuf (calloc 512, grown by 512, quoted tokens kept as lengths into it). **Parser:** bison 3.8.2's LALR tables for the grammar's 21 states (only state 3 shifts `error`, so a complete tree followed by junk is accepted), and the unconditional undo of the look-ahead (F25). flatten_tree is ported literally, with child lists appended at the tail of the whole chain. **Process state** lives on `runner.em`: the leftover buffer, the start condition, strbuf and ematch_root, all carried across parses and batch lines (W124, W128, W129). **Messages:** em_parse_error's block word for word. `fw_emkinds.go` holds the five modules (meta's type-mask table and its adopt and compatibility rules; canid's 25→400 array) and the name-to-id map lookup (case-insensitive, first match, the second file only on ENOENT). ipset and ipt are refused by name. `fw_basic.go` holds basic (no words: no TCA_OPTIONS, W148) and cgroup (the nest always), each with strtol's handle (W147), and flow's `match` arm. `fops` gains `raw`, replayed through `PutRaw` with addraw_l's bound. **Refused** as `not implemented: tc ematch …`, each where tc reads or writes memory it doesn't own, or hangs: W123's run past strbuf, W124's realloc under a quoted token, W125's mask walk, W126's 63-byte kind, W127's parse that ends back on `match`, W128's stale root holding a container, and W132's reads past strbuf. **Read side:** `metaNames`' vlan id was 48 and is now 46 (TCF_META_ID_VLAN_TAG); ec-049's readback found it. **Corpus:** `tcematch`, 257 rows: 243 replay byte for byte, and 14 are refused by name (W123 ×3, W125, W126 ×2, police ×3, ipt, ipset ×2, and two trees past their bound: ec-137's 4096 and ng-095's 16384). tcfwrite ec-114, ec-115 and ec-118 come off `corpusRefused`. `TestGotcEmatchReadbacks` (untagged) replays the 144 readbacks through the read side, stdout identical; ec-137's dump ends in the kernel's EMSGSIZE for tc and gotc alike. **tdc:** 245 filter and chain writes match exactly (134 + 111). Kind basic, kind cgroup and flow match leave `tdcFilterSkips`, and five rows move to `action skbedit` (now 7). **Unit:** `TestGotcEmatchWrite`, 33 rows. Positive: basic cmp+classid, cgroup u32+gact, flow's EMATCHES in argv order with MODE last, each module's full keyword set, and the nested tree's flatten (A P P B notP C D, refs 3, 6 and 5). Negative: ipt and ipset by name, the Parse error block, an unknown kind, F25's `What is`. Boundary: quoted runs of 511, 512 (sent) and 513 (W123); an escape after 512 grows strbuf (513 sent, checked on the host tc 7.2.0); needles of 4095 and 4096 (len 0), and 4097 at layer link (len 1, layer 0); canid with 400 and 401 rules. Corner: W124's `xyc`, W124's realloc (on the host tc 7.2.0 it sends the freed block as the first needle), W133, W137, W130, W128 and W129 in a batch, W148, W147's del of handle 08, W146. **Fuzz:** `FuzzGotcFilterWrite` gains ten ematch seeds and the ematch_map sys (60 s, 833k execs); new `FuzzGotcEmatchBatch` runs two lines as a `-force -batch` (60 s, 536k execs). Neither found anything. **Mutants** (each under `systemd-run --user --scope -p MemoryMax=6G`, `go test -timeout=180s`), all 10 killed: each quoted string copied (W124), the undo made conditional (F25), u16 shifted at an odd offset (W133), the needle len's 12-bit mask dropped (W136), parse_layer comparing the whole word (W137), a breadth-first flatten, the INVERT bit dropped, the type adopted with the value on the right (W130), basic sending an empty nest (W148), and the lexer reset per line (W129). Mutant 4 survived at first, for two reasons: emNbyteParse masked Len again before the encoder did, and the 4096 row's overflow bit coincides with layer 1. The caller's mask was dropped (Append keeps the low twelve bits, as its comment says) and the 4097-at-layer-link row was added. **Coverage:** 85.1% of `internal/gotc`. **Gates:** `go test ./internal/gotc/ ./pkg/xtcpnl/ ./tools/nlcapgen/ ./internal/wsreplay/`, with and without `-tags gotc_write`; `CGO_ENABLED=0 go build ./...`; `gofmt -s`; lint-baseline (tiers 0-2), no-write-encoders and `nix build .#gotc` at `?rev=`. The first lint run found gocyclo on `emAction` (now bison's two tables, look-ahead actions and yydefact), funlen on `emU32Parse` (the offset forms moved to `emU32Offset`), goconst on the ematch kind and meta-id names (now constants shared with the read side and two qdisc parsers) and one prealloc; all were fixed in the code. | +| V058 | 21L | **Live diff** on the workbench (kernel 7.3.1, tc 7.2.0 `/nix/store/x1pwsbz5cm23hk58b7fcpn3hhg9j7gwh-iproute2-7.2.0`). gotc was built with `-tags gotc_write` from 21W's code (`/nix/store/zi8w2may7djivfhm54ml5qma30j6r1nh-gotc-write-21l`; the later nil-return lint fix changes no behaviour), with `GOTC_CONF_USR_DIR` and `TC_LIB_DIR` set to tc's. V054's method: each of the 257 `tcematch.rows.jsonl` rows, and tcfwrite's ec-114, ec-115 and ec-118, runs its pre steps in a fresh named namespace, then gotc with `GOTC_WRITE_OUT`, then tc, each under a 60 s timeout. Requests (RTM_NEW/DELTFILTER, RTM_NEW/DELCHAIN) are compared with tc's from the corpus pcaps, with seq, pid and the tcmsg ifindex zeroed (gotc saw ifindexes 2, 3 and the block's ffffffff). **Result: 246/260 identical.** Nine of them are rows where the request is identical and only tc hears the kernel's refusal (ng-066, ng-067, ng-085, ng-102–ng-107). tcfwrite's three basic, cgroup and flow-match rows, refused in 20L, are identical. **Named exceptions:** the 14 refusals by name: W123 (ec-104, ng-100, ng-101), W125 (ng-068), W126 (ng-016, ng-017), police (ec-138, ec-139, ec-140), ipt (ng-108), ipset (ng-109, ng-110), and the two trees tc would truncate (ec-137's 4096, ng-095's 16384). **tc against the corpus:** stdout, stderr and rc match `ws/tcematch` and `ws/tcfwrite` on all 260 rows, except that the three crashing rows (ng-100 rc 134, ng-101 rc 139, ng-108 rc 134) match on rc and stdout, their stderr adding the harness's `timeout: the monitored command dumped core`. **K62 probe** (same run): `basic match 'canid(400 rules) or canid(k rules)'` adds for every k; `tc -d filter show` lists it for k = 0, 25 and 50 and fails with `Error: Buffer too small for object.` for k = 75–400, so between 3600 and 3800 bytes of rules (a page-sized first dump skb); K62 updated. **W155** checked on the host: a plain user's tc prints `Can't open socket to ipset.` before `unknown set name`, while root and a user namespace print only the latter; the write-up says so. **VM:** pre-checked (`free -g`: 49G available against the VM's 2.3G; port 12061 free; no workbench process), booted from off with `up`. The baseline was 86 modules, no namespace and no core files. The script loaded 14 modules and removed them with `modprobe -r` (86 again), removed the three tc core files its crashing rows made (no other core file existed), left no namespace and removed `/tmp/t21l`. The VM was then powered off with `down`: port 12061 free, no workbench process. | | DOC009 | 16B | **Write-up:** `docs/netlink/upstream/iproute2-tc-aqm.md`: status header, reachability, contents, 24 summary rows, six sections, and K32–K43. Not submitted to netdev. **At HEAD** (GitHub mirror, `5d13122576d6`, 2026-11-26): none of the thirteen printers, `tc_red.c`, `tc_qevent.c` or `tc_qdisc.c` has a commit since v7.2.0, so all are present. **Confirmed in the corpus:** Q66 (ec-007), Q73 (ec-021, pw-021), Q79 (ec-038), Q80/Q81 (pw-035, ec-040, pw-040, pw-042), Q83 (pw-052), Q84 (pw-052, ec-055, pw-055), Q86 (ec-053), Q87 (ec-001, pw-005). **Latent, with unit rows:** Q67–Q72, Q74–Q78, Q82, Q85, Q88, Q89. **Dropped:** none. **New leads:** Q88 (gred_parse_vqs's plain parse_rtattr misses a VQ_ENTRY flagged NLA_F_NESTED), Q89 (an unknown dualpi2 ECN mask warns twice and prints an empty word). **Kernel notes:** K32–K42 confirmed at v7.4-rc4, refined: red's qevents only when bound; idle cake MIN_NETLEN 65535; cake_mq no dump_stats; plug no .dump; skbprio 64 classes; dualpi2 rejects both step_thresh forms (sch_dualpi2.c:812). **K43 (new):** codel times lose 1 µs (target 4ms dumps 3999, pw-024). **Unit rows:** TestGotcAqm adds Q88 (44 rows). **Bug classes:** none new; Q88 and Q89 fit C3/C15 and C10. | | DOC010 | 17B | **Write-up:** `docs/netlink/upstream/iproute2-tc-write.md`: status header, reachability, contents, 25 summary rows, eight sections, K44–K45. Not submitted to netdev. **At HEAD** (GitHub mirror, `35033e4713fe`, 2026-11-27): no tc file in scope has a commit since v7.2.0; `lib/utils.c`'s one (`552d9842b1f4`, resolve_address's cache) touches none of it, so all are present. **Confirmed in the corpus:** W1 (ec-088, ec-099), W2 (ec-079, ng-011), W3 (ec-089), W4 (ng-004, ng-005, ng-019), W9 (ng-013), W17 (ec-092), W22 (ec-062). **Latent, with unit rows:** W5, W6, W8, W10–W16, W18–W21, W23–W25. **Dropped:** W7. **Kernel notes:** K44 (each verb's errno and extack, ng-001–003, 007, 014, 020–025), K45 (extack errors and warnings printed in place of RTNETLINK answers). **Bug classes:** candidates for the user: a wrong option named in a copied error message (W15, W20) and a divide by a user-given zero (W21). | | V033 | 16C | **Captures** `tcaqm`: `tools/nlcapgen/matrix_tcaqm.go` (+ `TestTcAqmSpace`), rows in `nix/microvms/workbench/tcaqm.rows.jsonl`, corpus in `pkg/xtcpnl/testdata/7_3_1/ws/tcaqm/` (132 rows, 2.7M). Modules: sch_cake (with cake_mq), sch_choke, sch_codel, sch_dualpi2, sch_fq_pie, sch_gred, sch_hhf, sch_pie, sch_plug, sch_red, sch_sfb, sch_skbprio. **Fixtures (26):** red default and `ecn harddrop adaptive qevent early_drop block 10`; choke with ecn; gred `setup vqs 4 default 0 grio` with VQs 0 and 1 changed in, and gred with no VQ configured; sfb default and `rehash 5000000 db 5000000` (Q73); codel, pie, fq_pie and hhf defaults plus an option variant each; cake default, plus four variants covering every diffserv mode, the flow modes, nat/wash/ingress, both ack-filters, no-split-gso, rtt, atm overhead mpu, memlimit, fwmark 0xff, autorate-ingress and docsis; cake_mq on a four-queue dummy; dualpi2 default, step_thresh in packets with drop_enqueue/drop_on_overload/any_ect/no_split_gso, and step_thresh in time; plug; skbprio (with `class show`). Each gets `qdisc show` plus `-s`/`-d`/`-o` forms; batches: cake `-s` qdisc/class/qdisc and red `-d` twice. **Refusals:** ng-001 cake_mq under plug (ENOTSUP, "Parent qdisc is not classful"), ng-002 cake_mq autorate-ingress (ENOTSUP, K39), ng-003 gred change over plug (EINVAL), ng-004 `show dev nosuch` (rc 1). **Notes:** batch lines take no options, so the batches pass `-s`/`-d` on tc's own command line; hhf's `admit_bytes 64Kb` is not accepted, so the fixture uses 65536. Q66 is confirmed live (`Scell_log 15qevent early_drop block 10`), and Q73 (sfb prints `rehash 705s`), Q80, Q81, Q83 and Q84 show in the captures. misspell flags dualpi2's `any_ect`; a scoped exclusion in both golangci configs covers the tcaqm and dualpi2 files. **Gate:** two batches on one boot, 132/132 OK, stdout, stderr and rc identical; `TestTcAqmSpace` pins 132 rows, 26 fixtures and 21 cases; no row sends packets. | diff --git a/docs/netlink/upstream/iproute2-tc-ematch-write.md b/docs/netlink/upstream/iproute2-tc-ematch-write.md index b4716cfb4..fc415a89a 100644 --- a/docs/netlink/upstream/iproute2-tc-ematch-write.md +++ b/docs/netlink/upstream/iproute2-tc-ematch-write.md @@ -258,8 +258,10 @@ - **W154.** em_ipt drives iptables' getopt_long but never resets `optind`, so a second ipt() in a tree or a batch starts mid-argv. Its default branch prints `optarg`, which is NULL for an option without an argument. This is found by reading; W152 aborts first. -- **W155.** em_ipset resolves the set name with an ipset socket while parsing. As non-root it prints `Can't open - socket to ipset.` and then `unknown set name` (ng-109, ng-110). The kernel is never asked. gotc refuses the kind by +- **W155.** em_ipset resolves the set name with an ipset socket while parsing, so the kernel's tc side is never asked: + - As root, and in a user namespace, an unknown set is `ipset: unknown set name 'foo'` (ng-109, ng-110). + - As a plain user on the host, tc first prints `Can't open socket to ipset.` (checked with the host's tc 7.2.0). + The failure to open the socket is reported as an unknown set. gotc refuses the kind by name. ## Extensions to earlier leads @@ -303,8 +305,13 @@ Buffer too small for object.` (libnetlink.c:758) and `Dump terminated`. - The kernel's first dump skb is max(NLMSG_GOODSIZE, max_recvmsg_len) (af_netlink.c:2310-2321 at v7.4-rc4). - tc's first recv is a zero-length MSG_PEEK (libnetlink.c:828-831). - - That points at the filter not fitting a page-sized skb before tc's 32 KiB reads raise max_recvmsg_len. This - isn't traced; 21L can confirm it by varying the rule count. + - So a filter that doesn't fit a page-sized skb can't be listed by tc. 21L's probe confirms the threshold on the + workbench: a basic filter of `canid(400 rules) or canid(k rules)` adds for every k and lists for k = 0, 25 and + 50, then fails the same way for k = 75, 100, 150, 200, 300 and 400. That is between 3600 and 3800 bytes of + rules, about one 4 KiB page less skb overhead. ec-137 (4840 bytes of tree) is past it, and ec-130 (one 400-rule + canid) is under it. + - The kernel accepts a filter that tc's own `filter show` can't list. Which side should give way (the kernel + sizing the first dump skb from the object, or tc's first read) is open. gotc's read side prints the same for the same pcap. From c51f594556c146275ea0d5b6e1e5c37a0ba11c37 Mon Sep 17 00:00:00 2001 From: "randomizedcoder dave.seddon.ca@gmail.com" Date: Sun, 29 Nov 2026 22:27:30 -0800 Subject: [PATCH 7/7] gotc 21R: PR #373 review fixes - A trailing police is NEXT_ARG's exit, as in every kind's parse_opt: `Command line is not complete`, rc 255, for basic, cgroup, fw, route, u32 and flow (errPolice becomes runner.policeArm). - Two rows pin bison's YYMAXDEPTH: 4995 nested parens parse, 4996 give tc 7.2.0's `memory exhausted` stderr byte for byte (host bisect). - The tree header sets ProgID to the new xtcpnl.TcfEmProgTc. Co-Authored-By: Claude Opus 5.5 --- docs/netlink/gotc-status.md | 4 ++++ internal/gotc/fw_basic.go | 4 ++-- internal/gotc/fw_ematch.go | 5 ++++- internal/gotc/fw_ematch_test.go | 26 ++++++++++++++++++++++++++ internal/gotc/fw_flow.go | 2 +- internal/gotc/fw_simple.go | 14 +++++++++----- internal/gotc/fw_u32.go | 2 +- internal/gotc/fwrite_test.go | 8 ++++++++ pkg/xtcpnl/xtcpnl_tc_ematch.go | 3 +++ 9 files changed, 58 insertions(+), 10 deletions(-) diff --git a/docs/netlink/gotc-status.md b/docs/netlink/gotc-status.md index 1a33e8785..295d2b15e 100644 --- a/docs/netlink/gotc-status.md +++ b/docs/netlink/gotc-status.md @@ -296,6 +296,9 @@ tc's ematch grammar and the cmp, nbyte, u32, meta and canid modules; ipset, ipt tcematch rows, plus tcfwrite ec-114, ec-115 and ec-118). Every request is identical byte for byte, and stdout, stderr and rc match wherever tc stops before the kernel. The other 14 rows are the 14 refusals by name. A size probe confirms K62 (V058). +- **21R (PR #373 review): done.** A trailing `police` is now tc's `Command line is not complete` (rc 255) for all six + kinds, not `not implemented`. Two rows pin the parser's 10000-state limit against the host's tc 7.2.0. The tree + header names `TCF_EM_PROG_TC` (V059). ## Ledger @@ -369,6 +372,7 @@ tc's ematch grammar and the cmp, nbyte, u32, meta and canid modules; ipset, ipt | V056 | 21P | **Encoders** (`pkg/xtcpnl/xtcpnl_tc_emencode.go`, untagged: laying out a struct sends nothing): `Append` for `TcfEmatchTreeHdr`, `TcfEmatchHdr`, `TcfEmCmp` (align\|flags and layer\|opnd packed low nibble first, each keeping its low four bits as a C bitfield does), `TcfEmNbyte` (len:12\|layer:4 in one u16, then the needle as given, so W136's 4096-byte needle is len 0 with all 4096 bytes), `CanFilter` and `TcfMetaVal` (tcf_meta_hdr is left then right), each cited to the v7.4-rc4 uapi header and line. `AttrBuilder.PutRaw` is addraw_l (lib/libnetlink.c:1395 at v7.2.0): the bytes with no header, zero-padded to four, and a refusal that writes nothing (ErrAttrNoSpace). **Tests:** `TestBuildTcEmatchWrite` (gotc_write) builds 15 tcematch requests through `BuildTcWriteRequest` and matches tc's captured bytes: cmp with every keyword, nbyte's escapes, u32's u16 at 2 and nexthdr+4, meta's INT id with shift and mask and its VAR adoption, canid's masks, the nested tree's pre-order flatten with children at the tail and their refs, cgroup's tree and action, flow's EMATCHES in argv order with MODE last, W136's 4096-byte needle, 400 canid rules, cgroup's empty TCA_OPTIONS, basic's none (W148) and W124's `xyc`. Two negative rows (the needle as typed, a breadth-first flatten) differ from the capture. `TestTcEmatchAppend` (11 rows: each layout's bytes and its round trip through the read side's decoder, nbyte len 4095/4096/4097, bitfield truncation), `TestAttrBuilderPutRaw` (9 rows: padding of 1, 2 and 3 bytes, exact room, refusals leave the buffer and length unchanged), `TestTcEmatchAppendAllocs` (0), `BenchmarkTcEmatchAppend` (28 ns/op, 0 allocs). netlink-audit and kernel-citation-audit: no findings. | | V057 | 21W | **Code** (`gotc_write`; each file matches no-write-encoders' `fw_[a-z0-9]+`): `fw_ematch.go` is emp_ematch.l and emp_ematch.y at v7.2.0 plus m_ematch.c's parse side. **Lexer:** flex 2.6.4's buffer (YY_INPUT feeds one word and a space per read, skips empty words, and prints `match argument too long.` at max_size; at EOF it restarts, keeping the start condition) and strbuf (calloc 512, grown by 512, quoted tokens kept as lengths into it). **Parser:** bison 3.8.2's LALR tables for the grammar's 21 states (only state 3 shifts `error`, so a complete tree followed by junk is accepted), and the unconditional undo of the look-ahead (F25). flatten_tree is ported literally, with child lists appended at the tail of the whole chain. **Process state** lives on `runner.em`: the leftover buffer, the start condition, strbuf and ematch_root, all carried across parses and batch lines (W124, W128, W129). **Messages:** em_parse_error's block word for word. `fw_emkinds.go` holds the five modules (meta's type-mask table and its adopt and compatibility rules; canid's 25→400 array) and the name-to-id map lookup (case-insensitive, first match, the second file only on ENOENT). ipset and ipt are refused by name. `fw_basic.go` holds basic (no words: no TCA_OPTIONS, W148) and cgroup (the nest always), each with strtol's handle (W147), and flow's `match` arm. `fops` gains `raw`, replayed through `PutRaw` with addraw_l's bound. **Refused** as `not implemented: tc ematch …`, each where tc reads or writes memory it doesn't own, or hangs: W123's run past strbuf, W124's realloc under a quoted token, W125's mask walk, W126's 63-byte kind, W127's parse that ends back on `match`, W128's stale root holding a container, and W132's reads past strbuf. **Read side:** `metaNames`' vlan id was 48 and is now 46 (TCF_META_ID_VLAN_TAG); ec-049's readback found it. **Corpus:** `tcematch`, 257 rows: 243 replay byte for byte, and 14 are refused by name (W123 ×3, W125, W126 ×2, police ×3, ipt, ipset ×2, and two trees past their bound: ec-137's 4096 and ng-095's 16384). tcfwrite ec-114, ec-115 and ec-118 come off `corpusRefused`. `TestGotcEmatchReadbacks` (untagged) replays the 144 readbacks through the read side, stdout identical; ec-137's dump ends in the kernel's EMSGSIZE for tc and gotc alike. **tdc:** 245 filter and chain writes match exactly (134 + 111). Kind basic, kind cgroup and flow match leave `tdcFilterSkips`, and five rows move to `action skbedit` (now 7). **Unit:** `TestGotcEmatchWrite`, 33 rows. Positive: basic cmp+classid, cgroup u32+gact, flow's EMATCHES in argv order with MODE last, each module's full keyword set, and the nested tree's flatten (A P P B notP C D, refs 3, 6 and 5). Negative: ipt and ipset by name, the Parse error block, an unknown kind, F25's `What is`. Boundary: quoted runs of 511, 512 (sent) and 513 (W123); an escape after 512 grows strbuf (513 sent, checked on the host tc 7.2.0); needles of 4095 and 4096 (len 0), and 4097 at layer link (len 1, layer 0); canid with 400 and 401 rules. Corner: W124's `xyc`, W124's realloc (on the host tc 7.2.0 it sends the freed block as the first needle), W133, W137, W130, W128 and W129 in a batch, W148, W147's del of handle 08, W146. **Fuzz:** `FuzzGotcFilterWrite` gains ten ematch seeds and the ematch_map sys (60 s, 833k execs); new `FuzzGotcEmatchBatch` runs two lines as a `-force -batch` (60 s, 536k execs). Neither found anything. **Mutants** (each under `systemd-run --user --scope -p MemoryMax=6G`, `go test -timeout=180s`), all 10 killed: each quoted string copied (W124), the undo made conditional (F25), u16 shifted at an odd offset (W133), the needle len's 12-bit mask dropped (W136), parse_layer comparing the whole word (W137), a breadth-first flatten, the INVERT bit dropped, the type adopted with the value on the right (W130), basic sending an empty nest (W148), and the lexer reset per line (W129). Mutant 4 survived at first, for two reasons: emNbyteParse masked Len again before the encoder did, and the 4096 row's overflow bit coincides with layer 1. The caller's mask was dropped (Append keeps the low twelve bits, as its comment says) and the 4097-at-layer-link row was added. **Coverage:** 85.1% of `internal/gotc`. **Gates:** `go test ./internal/gotc/ ./pkg/xtcpnl/ ./tools/nlcapgen/ ./internal/wsreplay/`, with and without `-tags gotc_write`; `CGO_ENABLED=0 go build ./...`; `gofmt -s`; lint-baseline (tiers 0-2), no-write-encoders and `nix build .#gotc` at `?rev=`. The first lint run found gocyclo on `emAction` (now bison's two tables, look-ahead actions and yydefact), funlen on `emU32Parse` (the offset forms moved to `emU32Offset`), goconst on the ematch kind and meta-id names (now constants shared with the read side and two qdisc parsers) and one prealloc; all were fixed in the code. | | V058 | 21L | **Live diff** on the workbench (kernel 7.3.1, tc 7.2.0 `/nix/store/x1pwsbz5cm23hk58b7fcpn3hhg9j7gwh-iproute2-7.2.0`). gotc was built with `-tags gotc_write` from 21W's code (`/nix/store/zi8w2may7djivfhm54ml5qma30j6r1nh-gotc-write-21l`; the later nil-return lint fix changes no behaviour), with `GOTC_CONF_USR_DIR` and `TC_LIB_DIR` set to tc's. V054's method: each of the 257 `tcematch.rows.jsonl` rows, and tcfwrite's ec-114, ec-115 and ec-118, runs its pre steps in a fresh named namespace, then gotc with `GOTC_WRITE_OUT`, then tc, each under a 60 s timeout. Requests (RTM_NEW/DELTFILTER, RTM_NEW/DELCHAIN) are compared with tc's from the corpus pcaps, with seq, pid and the tcmsg ifindex zeroed (gotc saw ifindexes 2, 3 and the block's ffffffff). **Result: 246/260 identical.** Nine of them are rows where the request is identical and only tc hears the kernel's refusal (ng-066, ng-067, ng-085, ng-102–ng-107). tcfwrite's three basic, cgroup and flow-match rows, refused in 20L, are identical. **Named exceptions:** the 14 refusals by name: W123 (ec-104, ng-100, ng-101), W125 (ng-068), W126 (ng-016, ng-017), police (ec-138, ec-139, ec-140), ipt (ng-108), ipset (ng-109, ng-110), and the two trees tc would truncate (ec-137's 4096, ng-095's 16384). **tc against the corpus:** stdout, stderr and rc match `ws/tcematch` and `ws/tcfwrite` on all 260 rows, except that the three crashing rows (ng-100 rc 134, ng-101 rc 139, ng-108 rc 134) match on rc and stdout, their stderr adding the harness's `timeout: the monitored command dumped core`. **K62 probe** (same run): `basic match 'canid(400 rules) or canid(k rules)'` adds for every k; `tc -d filter show` lists it for k = 0, 25 and 50 and fails with `Error: Buffer too small for object.` for k = 75–400, so between 3600 and 3800 bytes of rules (a page-sized first dump skb); K62 updated. **W155** checked on the host: a plain user's tc prints `Can't open socket to ipset.` before `unknown set name`, while root and a user namespace print only the latter; the write-up says so. **VM:** pre-checked (`free -g`: 49G available against the VM's 2.3G; port 12061 free; no workbench process), booted from off with `up`. The baseline was 86 modules, no namespace and no core files. The script loaded 14 modules and removed them with `modprobe -r` (86 again), removed the three tc core files its crashing rows made (no other core file existed), left no namespace and removed `/tmp/t21l`. The VM was then powered off with `down`: port 12061 free, no workbench process. | +| V059 | 21R | **PR #373 review fixes.** (1) **Trailing police:** every filter kind's parse_opt runs NEXT_ARG before parse_police (f_basic.c:84-85, f_cgroup.c:57-58, f_fw.c:76-77, f_route.c:96-97, f_u32.c:1179-1180, f_flow.c:214-215), so ` police` at the end of the line is `Command line is not complete. Try option "help"`, rc 255 (checked on the host's tc 7.2.0 for all six). gotc's `errPolice` becomes `runner.policeArm`, which calls `nextArg` first. This applies to 20W's fw, route, u32 and flow too. Six new rows (basic and cgroup in TestGotcEmatchWrite; fw, route, u32 and flow in TestGotcFilterWrite), plus `basic police rate`, which stays refused by name. (2) **YYMAXDEPTH:** a bisect on the host's tc 7.2.0 puts the limit between 4995 and 4996 nested `(` words around one cmp: each `(` holds two states. Row 4995 parses and is then refused at the 16384 bound (W151). Row 4996 holds tc's full stderr (`Parse error: memory exhausted`, the context line, the EXPR usage, `Illegal "ematch"`; 10282 bytes, identical to tc's). (3) `TcfEmProgTc` (pkt_cls.h's TCF_EM_PROG_TC, 0) is added to xtcpnl and set in the tree header. **Mutants:** raising emYYMaxDepth to 10002 fails the 4996 row; dropping policeArm's nextArg fails all six police rows. | | DOC009 | 16B | **Write-up:** `docs/netlink/upstream/iproute2-tc-aqm.md`: status header, reachability, contents, 24 summary rows, six sections, and K32–K43. Not submitted to netdev. **At HEAD** (GitHub mirror, `5d13122576d6`, 2026-11-26): none of the thirteen printers, `tc_red.c`, `tc_qevent.c` or `tc_qdisc.c` has a commit since v7.2.0, so all are present. **Confirmed in the corpus:** Q66 (ec-007), Q73 (ec-021, pw-021), Q79 (ec-038), Q80/Q81 (pw-035, ec-040, pw-040, pw-042), Q83 (pw-052), Q84 (pw-052, ec-055, pw-055), Q86 (ec-053), Q87 (ec-001, pw-005). **Latent, with unit rows:** Q67–Q72, Q74–Q78, Q82, Q85, Q88, Q89. **Dropped:** none. **New leads:** Q88 (gred_parse_vqs's plain parse_rtattr misses a VQ_ENTRY flagged NLA_F_NESTED), Q89 (an unknown dualpi2 ECN mask warns twice and prints an empty word). **Kernel notes:** K32–K42 confirmed at v7.4-rc4, refined: red's qevents only when bound; idle cake MIN_NETLEN 65535; cake_mq no dump_stats; plug no .dump; skbprio 64 classes; dualpi2 rejects both step_thresh forms (sch_dualpi2.c:812). **K43 (new):** codel times lose 1 µs (target 4ms dumps 3999, pw-024). **Unit rows:** TestGotcAqm adds Q88 (44 rows). **Bug classes:** none new; Q88 and Q89 fit C3/C15 and C10. | | DOC010 | 17B | **Write-up:** `docs/netlink/upstream/iproute2-tc-write.md`: status header, reachability, contents, 25 summary rows, eight sections, K44–K45. Not submitted to netdev. **At HEAD** (GitHub mirror, `35033e4713fe`, 2026-11-27): no tc file in scope has a commit since v7.2.0; `lib/utils.c`'s one (`552d9842b1f4`, resolve_address's cache) touches none of it, so all are present. **Confirmed in the corpus:** W1 (ec-088, ec-099), W2 (ec-079, ng-011), W3 (ec-089), W4 (ng-004, ng-005, ng-019), W9 (ng-013), W17 (ec-092), W22 (ec-062). **Latent, with unit rows:** W5, W6, W8, W10–W16, W18–W21, W23–W25. **Dropped:** W7. **Kernel notes:** K44 (each verb's errno and extack, ng-001–003, 007, 014, 020–025), K45 (extack errors and warnings printed in place of RTNETLINK answers). **Bug classes:** candidates for the user: a wrong option named in a copied error message (W15, W20) and a divide by a user-given zero (W21). | | V033 | 16C | **Captures** `tcaqm`: `tools/nlcapgen/matrix_tcaqm.go` (+ `TestTcAqmSpace`), rows in `nix/microvms/workbench/tcaqm.rows.jsonl`, corpus in `pkg/xtcpnl/testdata/7_3_1/ws/tcaqm/` (132 rows, 2.7M). Modules: sch_cake (with cake_mq), sch_choke, sch_codel, sch_dualpi2, sch_fq_pie, sch_gred, sch_hhf, sch_pie, sch_plug, sch_red, sch_sfb, sch_skbprio. **Fixtures (26):** red default and `ecn harddrop adaptive qevent early_drop block 10`; choke with ecn; gred `setup vqs 4 default 0 grio` with VQs 0 and 1 changed in, and gred with no VQ configured; sfb default and `rehash 5000000 db 5000000` (Q73); codel, pie, fq_pie and hhf defaults plus an option variant each; cake default, plus four variants covering every diffserv mode, the flow modes, nat/wash/ingress, both ack-filters, no-split-gso, rtt, atm overhead mpu, memlimit, fwmark 0xff, autorate-ingress and docsis; cake_mq on a four-queue dummy; dualpi2 default, step_thresh in packets with drop_enqueue/drop_on_overload/any_ect/no_split_gso, and step_thresh in time; plug; skbprio (with `class show`). Each gets `qdisc show` plus `-s`/`-d`/`-o` forms; batches: cake `-s` qdisc/class/qdisc and red `-d` twice. **Refusals:** ng-001 cake_mq under plug (ENOTSUP, "Parent qdisc is not classful"), ng-002 cake_mq autorate-ingress (ENOTSUP, K39), ng-003 gred change over plug (EINVAL), ng-004 `show dev nosuch` (rc 1). **Notes:** batch lines take no options, so the batches pass `-s`/`-d` on tc's own command line; hhf's `admit_bytes 64Kb` is not accepted, so the fixture uses 65536. Q66 is confirmed live (`Scell_log 15qevent early_drop block 10`), and Q73 (sfb prints `rehash 705s`), Q80, Q81, Q83 and Q84 show in the captures. misspell flags dualpi2's `any_ect`; a scoped exclusion in both golangci configs covers the tcaqm and dualpi2 files. **Gate:** two batches on one boot, 132/132 OK, stdout, stderr and rc identical; `TestTcAqmSpace` pins 132 rows, 26 fixtures and 21 cases; no row sends packets. | diff --git a/internal/gotc/fw_basic.go b/internal/gotc/fw_basic.go index 169d3d226..dd110e983 100644 --- a/internal/gotc/fw_basic.go +++ b/internal/gotc/fw_basic.go @@ -115,7 +115,7 @@ func parseBasicFopt(r *runner, m *fmod) error { } continue case matches(a, "police"): - return errPolice(xtcpnl.TcFKindBasic) + return r.policeArm(args, xtcpnl.TcFKindBasic) case a == helpWord: // strcmp: "h" is not help (W150) r.basicExplain() return errKindParse @@ -147,7 +147,7 @@ func parseCgroupFopt(r *runner, m *fmod) error { case matches(a, wordAction): args, err = r.emActionArm(m, args, xtcpnl.TcaCgroupAct) case matches(a, "police"): - return errPolice(xtcpnl.TcFKindCgroup) + return r.policeArm(args, xtcpnl.TcFKindCgroup) case a == helpWord: r.cgroupExplain() return errKindParse diff --git a/internal/gotc/fw_ematch.go b/internal/gotc/fw_ematch.go index 2035dcb40..e42592578 100644 --- a/internal/gotc/fw_ematch.go +++ b/internal/gotc/fw_ematch.go @@ -670,7 +670,10 @@ func (r *runner) parseEmatch(m *fmod, args []string, tcaID uint16) ([]string, er return nil, emRefuse("stale root with a container (W128)") } root.flattened = true - hdr := xtcpnl.TcfEmatchTreeHdr{NMatches: uint16(emFlatten(root, root) & 0xFFFF)} + hdr := xtcpnl.TcfEmatchTreeHdr{ + NMatches: uint16(emFlatten(root, root) & 0xFFFF), + ProgID: xtcpnl.TcfEmProgTc, + } tail := m.ops.begin(maxMsg, tcaID) m.ops.put(maxMsg, xtcpnl.TcaEmatchTreeHdr, hdr.Append(nil)) list := m.ops.begin(maxMsg, xtcpnl.TcaEmatchTreeList) diff --git a/internal/gotc/fw_ematch_test.go b/internal/gotc/fw_ematch_test.go index f6edf44b4..7072ea39f 100644 --- a/internal/gotc/fw_ematch_test.go +++ b/internal/gotc/fw_ematch_test.go @@ -109,6 +109,20 @@ func TestGotcEmatchWrite(t *testing.T) { be := func(ms ...[]byte) []byte { return emTreeA(xtcpnl.TcaBasicEmatches, ms...) } cls11 := u32a(xtcpnl.TcaBasicClassid, 0x10001) xs := func(n int) string { return strings.Repeat("x", n) } + // nest is n separate ( words around one cmp, then n ), then a classid: + // each ( holds two parser states (invert and the paren). + nest := func(n int) []string { + w := make([]string, 0, 2*n+4) + w = append(w, "match") + for range n { + w = append(w, "(") + } + w = append(w, "cmp(u8 at 0 eq 1)") + for range n { + w = append(w, ")") + } + return basic(append(w, "classid", "1:1")...) + } canid := func(n int) string { return "canid(" + strings.Repeat("sff 0x123 ", n) + ")" } canidRules := func(n int) []byte { var b []byte @@ -183,6 +197,13 @@ func TestGotcEmatchWrite(t *testing.T) { basic("match", "foo(x)", "classid", "1:1"), "", d0, "Unknown ematch \"foo\"\nIllegal \"ematch\"\n", false, 1, 1, nil}, {"negative: a tree that ends the line is put back: What is (F25)", basic("match", "cmp(u8 at 0 eq 1)"), "", d0, "What is \"cmp(u8 at 0 eq 1)\"?\n" + emBasicUsage, false, 1, 1, nil}, + {"negative: a trailing police is NEXT_ARG's exit, before parse_police", + basic("match", "cmp(u8 at 0 eq 1)", "police"), "", d0, "Command line is not complete. Try option \"help\"\n", false, 255, 1, nil}, + {"negative: cgroup's trailing police is NEXT_ARG's exit", + []string{"filter", "add", "dev", "d0", "egress", "pref", "1", "protocol", "all", "handle", "1", "cgroup", "police"}, "", d0, + "Command line is not complete. Try option \"help\"\n", false, 255, 1, nil}, + {"negative: police with a word is refused by name", + basic("police", "rate"), "", d0, "gotc: not implemented: tc filter basic police\n", false, 255, 1, nil}, {"boundary: a quoted run of 511 bytes is sent", basic("match", `nbyte("`+xs(511)+`" at 0)`, "classid", "1:1"), "", d0, "", false, 0, 2, bf(be(emNbyteM(0, 0, 511, 1, []byte(xs(511)))), cls11)}, @@ -192,6 +213,11 @@ func TestGotcEmatchWrite(t *testing.T) { {"boundary: a quoted run of 513 bytes writes past strbuf: refused (W123)", basic("match", `nbyte("`+xs(513)+`" at 0)`, "classid", "1:1"), "", d0, "gotc: not implemented: tc ematch quoted run past strbuf (W123)\n", false, 255, 1, nil}, + {"boundary: 4995 nested parens fit bison's 10000 states: parsed, then past the 16384 bound (W151)", + nest(4995), "", d0, "addraw_l exceeded its bound of 16384", true, 255, 1, nil}, + {"boundary: 4996 nested parens exhaust YYMAXDEPTH: tc 7.2.0's stderr, byte for byte", + nest(4996), "", d0, "Parse error: memory exhausted\n... " + strings.Repeat("( ", 4996) + ">>cmp(u8 at 0 eq 1)<< ...\n" + + emExprUsage + "Illegal \"ematch\"\n", false, 1, 1, nil}, {"boundary: an escape after 512 bytes grows strbuf by 512: a 513-byte needle is sent", basic("match", `nbyte("`+xs(512)+`\x41" at 0)`, "classid", "1:1"), "", d0, "", false, 0, 2, bf(be(emNbyteM(0, 0, 513, 1, []byte(xs(512)+"A"))), cls11)}, diff --git a/internal/gotc/fw_flow.go b/internal/gotc/fw_flow.go index da3b7badb..4df05a36c 100644 --- a/internal/gotc/fw_flow.go +++ b/internal/gotc/fw_flow.go @@ -241,7 +241,7 @@ func (r *runner) flowTail(m *fmod, args []string) ([]string, bool, error) { a := args[0] switch { case matches(a, "police"): - return nil, false, errPolice(xtcpnl.TcFKindFlow) + return nil, false, r.policeArm(args, xtcpnl.TcFKindFlow) case matches(a, wordAction): v, err := r.nextArg(args) if err != nil { diff --git a/internal/gotc/fw_simple.go b/internal/gotc/fw_simple.go index 9d070a671..03725a330 100644 --- a/internal/gotc/fw_simple.go +++ b/internal/gotc/fw_simple.go @@ -16,9 +16,13 @@ import ( // tests in tc's order, NEXT_ARG's exit for a missing value, and the // attributes in argv order. -// errPolice is a filter's police keyword: parse_police waits for the -// actions increment. -func errPolice(kind string) error { +// policeArm is a filter's police keyword: NEXT_ARG first, as every +// kind's parse_opt does, so a trailing police is tc's incomplete; then +// parse_police, which waits for the actions increment. +func (r *runner) policeArm(args []string, kind string) error { + if _, err := r.nextArg(args); err != nil { + return err + } return fmt.Errorf("%w: tc filter %s police", errNotImplemented, kind) } @@ -79,7 +83,7 @@ func parseFwFopt(r *runner, m *fmod) error { } m.ops.u32(fwBound, xtcpnl.TcaFwClassid, c) case matches(a, "police"): - return errPolice(xtcpnl.TcFKindFw) + return r.policeArm(args, xtcpnl.TcFKindFw) case matches(a, wordAction): v, err := r.nextArg(args) if err != nil { @@ -222,7 +226,7 @@ func (r *runner) routeWord(m *fmod, rs *routeState, args []string) ([]string, bo } m.ops.u32(fwBound, xtcpnl.TcaRoute4Classid, c) case matches(a, "police"): - return nil, false, errPolice(xtcpnl.TcFKindRoute) + return nil, false, r.policeArm(args, xtcpnl.TcFKindRoute) case matches(a, wordAction): v, err := r.nextArg(args) if err != nil { diff --git a/internal/gotc/fw_u32.go b/internal/gotc/fw_u32.go index 4b654e656..00bdd782d 100644 --- a/internal/gotc/fw_u32.go +++ b/internal/gotc/fw_u32.go @@ -730,7 +730,7 @@ func (r *runner) u32Word2(m *fmod, st *u32State, args []string) ([]string, bool, st.terminal = true return rest, false, nil case matches(w, "police"): - return nil, false, errPolice(xtcpnl.TcFKindU32) + return nil, false, r.policeArm(args, xtcpnl.TcFKindU32) case w == wordSkipHw: st.flags |= xtcpnl.TcaClsFlagsSkipHw case w == wordSkipSw: diff --git a/internal/gotc/fwrite_test.go b/internal/gotc/fwrite_test.go index 84a02c60e..890c24521 100644 --- a/internal/gotc/fwrite_test.go +++ b/internal/gotc/fwrite_test.go @@ -190,6 +190,14 @@ func TestGotcFilterWrite(t *testing.T) { {"corner: mark as the last words is NEXT_ARG's exit (W82)", with("pref", "1", "protocol", "ip", "u32", "match", "mark", "1", "0xff"), d0[:1], "Command line is not complete. Try option \"help\"\n", 255, 1, nil}, + {"negative: fw's trailing police is NEXT_ARG's exit, before parse_police", + []string{"filter", "add", "dev", "d0", "parent", "1:", "handle", "5", "fw", "police"}, d0[:1], "Command line is not complete. Try option \"help\"\n", 255, 1, nil}, + {"negative: route's trailing police is NEXT_ARG's exit", + []string{"filter", "add", "dev", "d0", "parent", "1:", "pref", "22", "protocol", "ip", "route", "police"}, d0[:1], "Command line is not complete. Try option \"help\"\n", 255, 1, nil}, + {"negative: u32's trailing police is NEXT_ARG's exit", + with("pref", "1", "protocol", "ip", "u32", "police"), d0[:1], "Command line is not complete. Try option \"help\"\n", 255, 1, nil}, + {"negative: flow's trailing police is NEXT_ARG's exit", + []string{"filter", "add", "dev", "d0", "parent", "1:", "handle", "5", "flow", "police"}, d0[:1], "Command line is not complete. Try option \"help\"\n", 255, 1, nil}, {"boundary: fw past its 4096 bound is refused, not truncated (W97)", func() []string { a := make([]string, 0, 9+2*520) a = append(a, "filter", "add", "dev", "d0", "parent", "1:", "handle", "5", "fw") diff --git a/pkg/xtcpnl/xtcpnl_tc_ematch.go b/pkg/xtcpnl/xtcpnl_tc_ematch.go index 393f7cdab..fe86a5814 100644 --- a/pkg/xtcpnl/xtcpnl_tc_ematch.go +++ b/pkg/xtcpnl/xtcpnl_tc_ematch.go @@ -26,6 +26,9 @@ const ( TcfEmSimple = 1 << 3 TcfEmRelMask = 3 + // TcfEmProgTc is TCF_EM_PROG_TC, the only tcf_ematch_tree_hdr.progid. + TcfEmProgTc = 0 + // TCF_EM_* kinds: tcf_ematch_hdr.kind. TcfEmKindContainer = 0 TcfEmKindCmp = 1