From 7b25ee1644d6ab4370bd2b2faf2ff17d931043bb Mon Sep 17 00:00:00 2001 From: randomizedcoder Date: Mon, 30 Nov 2026 22:00:05 -0800 Subject: [PATCH 01/13] gotc 23C: the tcact2write capture space (V065) Add the tcact2write space for increment 23's six action kinds (pedit, tunnel_key, ife, ct, gate, bpf) and the bpf filter: 418 rows, 258 writes and 160 refusals, captured on the workbench in two batches that agree. Every lead W216-W320 is pinned by a row except W294, whose uninitialised maxoctets sends a different stack value each run. Load act_meta_mark, act_meta_skbprio and act_meta_skbtcindex in the guest. Without them a fresh ife decode is EINVAL (K79). Write up the increment's leads in the upstream doc: the summary table, the corrections to the sweep, and kernel notes K77-K89. The bench pin for the largest NLMSG_ERROR now names ng-157 (W248). Its extack costs one allocation. Co-Authored-By: Claude Opus 5.5 --- docs/netlink/gotc-status.md | 10 + .../upstream/iproute2-tc-action-write.md | 174 + nix/microvms/workbench/tcact2write.rows.jsonl | 421 ++ .../7_3_1/ws/tcact2write/ec-001/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-001/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-001/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-001/ip.out | 0 .../7_3_1/ws/tcact2write/ec-001/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-001/ip.rc | 1 + .../ec-001/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-002/cmd.json | 109 + .../7_3_1/ws/tcact2write/ec-002/dump.out | 7 + .../7_3_1/ws/tcact2write/ec-002/ip.err | 0 .../7_3_1/ws/tcact2write/ec-002/ip.out | 0 .../7_3_1/ws/tcact2write/ec-002/ip.pcap | Bin 0 -> 244 bytes .../7_3_1/ws/tcact2write/ec-002/ip.rc | 1 + .../ec-002/netlink_route_dump.pcap | Bin 0 -> 444 bytes .../7_3_1/ws/tcact2write/ec-003/cmd.json | 109 + .../7_3_1/ws/tcact2write/ec-003/dump.out | 7 + .../7_3_1/ws/tcact2write/ec-003/ip.err | 0 .../7_3_1/ws/tcact2write/ec-003/ip.out | 0 .../7_3_1/ws/tcact2write/ec-003/ip.pcap | Bin 0 -> 244 bytes .../7_3_1/ws/tcact2write/ec-003/ip.rc | 1 + .../ec-003/netlink_route_dump.pcap | Bin 0 -> 444 bytes .../7_3_1/ws/tcact2write/ec-004/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-004/dump.out | 7 + .../7_3_1/ws/tcact2write/ec-004/ip.err | 0 .../7_3_1/ws/tcact2write/ec-004/ip.out | 0 .../7_3_1/ws/tcact2write/ec-004/ip.pcap | Bin 0 -> 244 bytes .../7_3_1/ws/tcact2write/ec-004/ip.rc | 1 + .../ec-004/netlink_route_dump.pcap | Bin 0 -> 444 bytes .../7_3_1/ws/tcact2write/ec-005/cmd.json | 109 + .../7_3_1/ws/tcact2write/ec-005/dump.out | 0 .../7_3_1/ws/tcact2write/ec-005/ip.err | 0 .../7_3_1/ws/tcact2write/ec-005/ip.out | 0 .../7_3_1/ws/tcact2write/ec-005/ip.pcap | Bin 0 -> 172 bytes .../7_3_1/ws/tcact2write/ec-005/ip.rc | 1 + .../ec-005/netlink_route_dump.pcap | Bin 0 -> 160 bytes .../7_3_1/ws/tcact2write/ec-006/cmd.json | 114 + .../7_3_1/ws/tcact2write/ec-006/dump.out | 0 .../7_3_1/ws/tcact2write/ec-006/ip.err | 0 .../7_3_1/ws/tcact2write/ec-006/ip.out | 0 .../7_3_1/ws/tcact2write/ec-006/ip.pcap | Bin 0 -> 176 bytes .../7_3_1/ws/tcact2write/ec-006/ip.rc | 1 + .../ec-006/netlink_route_dump.pcap | Bin 0 -> 160 bytes .../7_3_1/ws/tcact2write/ec-007/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-007/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-007/ip.err | 0 .../7_3_1/ws/tcact2write/ec-007/ip.out | 0 .../7_3_1/ws/tcact2write/ec-007/ip.pcap | Bin 0 -> 208 bytes .../7_3_1/ws/tcact2write/ec-007/ip.rc | 1 + .../ec-007/netlink_route_dump.pcap | Bin 0 -> 404 bytes .../7_3_1/ws/tcact2write/ec-008/cmd.json | 109 + .../7_3_1/ws/tcact2write/ec-008/dump.out | 10 + .../7_3_1/ws/tcact2write/ec-008/ip.err | 0 .../7_3_1/ws/tcact2write/ec-008/ip.out | 0 .../7_3_1/ws/tcact2write/ec-008/ip.pcap | Bin 0 -> 232 bytes .../7_3_1/ws/tcact2write/ec-008/ip.rc | 1 + .../ec-008/netlink_route_dump.pcap | Bin 0 -> 436 bytes .../7_3_1/ws/tcact2write/ec-009/cmd.json | 109 + .../7_3_1/ws/tcact2write/ec-009/dump.out | 10 + .../7_3_1/ws/tcact2write/ec-009/ip.err | 0 .../7_3_1/ws/tcact2write/ec-009/ip.out | 0 .../7_3_1/ws/tcact2write/ec-009/ip.pcap | Bin 0 -> 232 bytes .../7_3_1/ws/tcact2write/ec-009/ip.rc | 1 + .../ec-009/netlink_route_dump.pcap | Bin 0 -> 436 bytes .../7_3_1/ws/tcact2write/ec-010/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-010/dump.out | 10 + .../7_3_1/ws/tcact2write/ec-010/ip.err | 0 .../7_3_1/ws/tcact2write/ec-010/ip.out | 0 .../7_3_1/ws/tcact2write/ec-010/ip.pcap | Bin 0 -> 232 bytes .../7_3_1/ws/tcact2write/ec-010/ip.rc | 1 + .../ec-010/netlink_route_dump.pcap | Bin 0 -> 436 bytes .../7_3_1/ws/tcact2write/ec-011/cmd.json | 109 + .../7_3_1/ws/tcact2write/ec-011/dump.out | 0 .../7_3_1/ws/tcact2write/ec-011/ip.err | 0 .../7_3_1/ws/tcact2write/ec-011/ip.out | 0 .../7_3_1/ws/tcact2write/ec-011/ip.pcap | Bin 0 -> 176 bytes .../7_3_1/ws/tcact2write/ec-011/ip.rc | 1 + .../ec-011/netlink_route_dump.pcap | Bin 0 -> 164 bytes .../7_3_1/ws/tcact2write/ec-012/cmd.json | 114 + .../7_3_1/ws/tcact2write/ec-012/dump.out | 0 .../7_3_1/ws/tcact2write/ec-012/ip.err | 0 .../7_3_1/ws/tcact2write/ec-012/ip.out | 0 .../7_3_1/ws/tcact2write/ec-012/ip.pcap | Bin 0 -> 180 bytes .../7_3_1/ws/tcact2write/ec-012/ip.rc | 1 + .../ec-012/netlink_route_dump.pcap | Bin 0 -> 164 bytes .../7_3_1/ws/tcact2write/ec-013/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-013/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-013/ip.err | 0 .../7_3_1/ws/tcact2write/ec-013/ip.out | 0 .../7_3_1/ws/tcact2write/ec-013/ip.pcap | Bin 0 -> 192 bytes .../7_3_1/ws/tcact2write/ec-013/ip.rc | 1 + .../ec-013/netlink_route_dump.pcap | Bin 0 -> 400 bytes .../7_3_1/ws/tcact2write/ec-014/cmd.json | 109 + .../7_3_1/ws/tcact2write/ec-014/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-014/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-014/ip.out | 0 .../7_3_1/ws/tcact2write/ec-014/ip.pcap | Bin 0 -> 200 bytes .../7_3_1/ws/tcact2write/ec-014/ip.rc | 1 + .../ec-014/netlink_route_dump.pcap | Bin 0 -> 392 bytes .../7_3_1/ws/tcact2write/ec-015/cmd.json | 109 + .../7_3_1/ws/tcact2write/ec-015/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-015/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-015/ip.out | 0 .../7_3_1/ws/tcact2write/ec-015/ip.pcap | Bin 0 -> 200 bytes .../7_3_1/ws/tcact2write/ec-015/ip.rc | 1 + .../ec-015/netlink_route_dump.pcap | Bin 0 -> 392 bytes .../7_3_1/ws/tcact2write/ec-016/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-016/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-016/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-016/ip.out | 0 .../7_3_1/ws/tcact2write/ec-016/ip.pcap | Bin 0 -> 200 bytes .../7_3_1/ws/tcact2write/ec-016/ip.rc | 1 + .../ec-016/netlink_route_dump.pcap | Bin 0 -> 392 bytes .../7_3_1/ws/tcact2write/ec-017/cmd.json | 109 + .../7_3_1/ws/tcact2write/ec-017/dump.out | 0 .../7_3_1/ws/tcact2write/ec-017/ip.err | 0 .../7_3_1/ws/tcact2write/ec-017/ip.out | 0 .../7_3_1/ws/tcact2write/ec-017/ip.pcap | Bin 0 -> 168 bytes .../7_3_1/ws/tcact2write/ec-017/ip.rc | 1 + .../ec-017/netlink_route_dump.pcap | Bin 0 -> 156 bytes .../7_3_1/ws/tcact2write/ec-018/cmd.json | 114 + .../7_3_1/ws/tcact2write/ec-018/dump.out | 0 .../7_3_1/ws/tcact2write/ec-018/ip.err | 0 .../7_3_1/ws/tcact2write/ec-018/ip.out | 0 .../7_3_1/ws/tcact2write/ec-018/ip.pcap | Bin 0 -> 172 bytes .../7_3_1/ws/tcact2write/ec-018/ip.rc | 1 + .../ec-018/netlink_route_dump.pcap | Bin 0 -> 156 bytes .../7_3_1/ws/tcact2write/ec-019/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-019/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-019/ip.err | 0 .../7_3_1/ws/tcact2write/ec-019/ip.out | 0 .../7_3_1/ws/tcact2write/ec-019/ip.pcap | Bin 0 -> 196 bytes .../7_3_1/ws/tcact2write/ec-019/ip.rc | 1 + .../ec-019/netlink_route_dump.pcap | Bin 0 -> 400 bytes .../7_3_1/ws/tcact2write/ec-020/cmd.json | 109 + .../7_3_1/ws/tcact2write/ec-020/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-020/ip.err | 0 .../7_3_1/ws/tcact2write/ec-020/ip.out | 0 .../7_3_1/ws/tcact2write/ec-020/ip.pcap | Bin 0 -> 204 bytes .../7_3_1/ws/tcact2write/ec-020/ip.rc | 1 + .../ec-020/netlink_route_dump.pcap | Bin 0 -> 400 bytes .../7_3_1/ws/tcact2write/ec-021/cmd.json | 109 + .../7_3_1/ws/tcact2write/ec-021/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-021/ip.err | 0 .../7_3_1/ws/tcact2write/ec-021/ip.out | 0 .../7_3_1/ws/tcact2write/ec-021/ip.pcap | Bin 0 -> 204 bytes .../7_3_1/ws/tcact2write/ec-021/ip.rc | 1 + .../ec-021/netlink_route_dump.pcap | Bin 0 -> 400 bytes .../7_3_1/ws/tcact2write/ec-022/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-022/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-022/ip.err | 0 .../7_3_1/ws/tcact2write/ec-022/ip.out | 0 .../7_3_1/ws/tcact2write/ec-022/ip.pcap | Bin 0 -> 204 bytes .../7_3_1/ws/tcact2write/ec-022/ip.rc | 1 + .../ec-022/netlink_route_dump.pcap | Bin 0 -> 400 bytes .../7_3_1/ws/tcact2write/ec-023/cmd.json | 109 + .../7_3_1/ws/tcact2write/ec-023/dump.out | 0 .../7_3_1/ws/tcact2write/ec-023/ip.err | 0 .../7_3_1/ws/tcact2write/ec-023/ip.out | 0 .../7_3_1/ws/tcact2write/ec-023/ip.pcap | Bin 0 -> 168 bytes .../7_3_1/ws/tcact2write/ec-023/ip.rc | 1 + .../ec-023/netlink_route_dump.pcap | Bin 0 -> 156 bytes .../7_3_1/ws/tcact2write/ec-024/cmd.json | 114 + .../7_3_1/ws/tcact2write/ec-024/dump.out | 0 .../7_3_1/ws/tcact2write/ec-024/ip.err | 0 .../7_3_1/ws/tcact2write/ec-024/ip.out | 0 .../7_3_1/ws/tcact2write/ec-024/ip.pcap | Bin 0 -> 172 bytes .../7_3_1/ws/tcact2write/ec-024/ip.rc | 1 + .../ec-024/netlink_route_dump.pcap | Bin 0 -> 156 bytes .../7_3_1/ws/tcact2write/ec-025/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-025/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-025/ip.err | 0 .../7_3_1/ws/tcact2write/ec-025/ip.out | 0 .../7_3_1/ws/tcact2write/ec-025/ip.pcap | Bin 0 -> 228 bytes .../7_3_1/ws/tcact2write/ec-025/ip.rc | 1 + .../ec-025/netlink_route_dump.pcap | Bin 0 -> 496 bytes .../7_3_1/ws/tcact2write/ec-026/cmd.json | 109 + .../7_3_1/ws/tcact2write/ec-026/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-026/ip.err | 0 .../7_3_1/ws/tcact2write/ec-026/ip.out | 0 .../7_3_1/ws/tcact2write/ec-026/ip.pcap | Bin 0 -> 236 bytes .../7_3_1/ws/tcact2write/ec-026/ip.rc | 1 + .../ec-026/netlink_route_dump.pcap | Bin 0 -> 492 bytes .../7_3_1/ws/tcact2write/ec-027/cmd.json | 109 + .../7_3_1/ws/tcact2write/ec-027/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-027/ip.err | 0 .../7_3_1/ws/tcact2write/ec-027/ip.out | 0 .../7_3_1/ws/tcact2write/ec-027/ip.pcap | Bin 0 -> 236 bytes .../7_3_1/ws/tcact2write/ec-027/ip.rc | 1 + .../ec-027/netlink_route_dump.pcap | Bin 0 -> 492 bytes .../7_3_1/ws/tcact2write/ec-028/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-028/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-028/ip.err | 0 .../7_3_1/ws/tcact2write/ec-028/ip.out | 0 .../7_3_1/ws/tcact2write/ec-028/ip.pcap | Bin 0 -> 236 bytes .../7_3_1/ws/tcact2write/ec-028/ip.rc | 1 + .../ec-028/netlink_route_dump.pcap | Bin 0 -> 492 bytes .../7_3_1/ws/tcact2write/ec-029/cmd.json | 109 + .../7_3_1/ws/tcact2write/ec-029/dump.out | 0 .../7_3_1/ws/tcact2write/ec-029/ip.err | 0 .../7_3_1/ws/tcact2write/ec-029/ip.out | 0 .../7_3_1/ws/tcact2write/ec-029/ip.pcap | Bin 0 -> 172 bytes .../7_3_1/ws/tcact2write/ec-029/ip.rc | 1 + .../ec-029/netlink_route_dump.pcap | Bin 0 -> 160 bytes .../7_3_1/ws/tcact2write/ec-030/cmd.json | 114 + .../7_3_1/ws/tcact2write/ec-030/dump.out | 0 .../7_3_1/ws/tcact2write/ec-030/ip.err | 0 .../7_3_1/ws/tcact2write/ec-030/ip.out | 0 .../7_3_1/ws/tcact2write/ec-030/ip.pcap | Bin 0 -> 176 bytes .../7_3_1/ws/tcact2write/ec-030/ip.rc | 1 + .../ec-030/netlink_route_dump.pcap | Bin 0 -> 160 bytes .../7_3_1/ws/tcact2write/ec-031/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-031/dump.out | 5 + .../7_3_1/ws/tcact2write/ec-031/ip.err | 0 .../7_3_1/ws/tcact2write/ec-031/ip.out | 0 .../7_3_1/ws/tcact2write/ec-031/ip.pcap | Bin 0 -> 208 bytes .../7_3_1/ws/tcact2write/ec-031/ip.rc | 1 + .../ec-031/netlink_route_dump.pcap | Bin 0 -> 392 bytes .../7_3_1/ws/tcact2write/ec-032/cmd.json | 109 + .../7_3_1/ws/tcact2write/ec-032/dump.out | 5 + .../7_3_1/ws/tcact2write/ec-032/ip.err | 0 .../7_3_1/ws/tcact2write/ec-032/ip.out | 0 .../7_3_1/ws/tcact2write/ec-032/ip.pcap | Bin 0 -> 208 bytes .../7_3_1/ws/tcact2write/ec-032/ip.rc | 1 + .../ec-032/netlink_route_dump.pcap | Bin 0 -> 392 bytes .../7_3_1/ws/tcact2write/ec-033/cmd.json | 109 + .../7_3_1/ws/tcact2write/ec-033/dump.out | 5 + .../7_3_1/ws/tcact2write/ec-033/ip.err | 0 .../7_3_1/ws/tcact2write/ec-033/ip.out | 0 .../7_3_1/ws/tcact2write/ec-033/ip.pcap | Bin 0 -> 208 bytes .../7_3_1/ws/tcact2write/ec-033/ip.rc | 1 + .../ec-033/netlink_route_dump.pcap | Bin 0 -> 392 bytes .../7_3_1/ws/tcact2write/ec-034/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-034/dump.out | 5 + .../7_3_1/ws/tcact2write/ec-034/ip.err | 0 .../7_3_1/ws/tcact2write/ec-034/ip.out | 0 .../7_3_1/ws/tcact2write/ec-034/ip.pcap | Bin 0 -> 208 bytes .../7_3_1/ws/tcact2write/ec-034/ip.rc | 1 + .../ec-034/netlink_route_dump.pcap | Bin 0 -> 392 bytes .../7_3_1/ws/tcact2write/ec-035/cmd.json | 109 + .../7_3_1/ws/tcact2write/ec-035/dump.out | 0 .../7_3_1/ws/tcact2write/ec-035/ip.err | 0 .../7_3_1/ws/tcact2write/ec-035/ip.out | 0 .../7_3_1/ws/tcact2write/ec-035/ip.pcap | Bin 0 -> 168 bytes .../7_3_1/ws/tcact2write/ec-035/ip.rc | 1 + .../ec-035/netlink_route_dump.pcap | Bin 0 -> 156 bytes .../7_3_1/ws/tcact2write/ec-036/cmd.json | 114 + .../7_3_1/ws/tcact2write/ec-036/dump.out | 0 .../7_3_1/ws/tcact2write/ec-036/ip.err | 0 .../7_3_1/ws/tcact2write/ec-036/ip.out | 0 .../7_3_1/ws/tcact2write/ec-036/ip.pcap | Bin 0 -> 172 bytes .../7_3_1/ws/tcact2write/ec-036/ip.rc | 1 + .../ec-036/netlink_route_dump.pcap | Bin 0 -> 156 bytes .../7_3_1/ws/tcact2write/ec-037/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-037/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-037/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-037/ip.out | 0 .../7_3_1/ws/tcact2write/ec-037/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-037/ip.rc | 1 + .../ec-037/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-038/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-038/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-038/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-038/ip.out | 0 .../7_3_1/ws/tcact2write/ec-038/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-038/ip.rc | 1 + .../ec-038/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-039/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-039/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-039/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-039/ip.out | 0 .../7_3_1/ws/tcact2write/ec-039/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-039/ip.rc | 1 + .../ec-039/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-040/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-040/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-040/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-040/ip.out | 0 .../7_3_1/ws/tcact2write/ec-040/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-040/ip.rc | 1 + .../ec-040/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-041/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-041/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-041/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-041/ip.out | 0 .../7_3_1/ws/tcact2write/ec-041/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-041/ip.rc | 1 + .../ec-041/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-042/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-042/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-042/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-042/ip.out | 0 .../7_3_1/ws/tcact2write/ec-042/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-042/ip.rc | 1 + .../ec-042/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-043/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-043/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-043/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-043/ip.out | 0 .../7_3_1/ws/tcact2write/ec-043/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-043/ip.rc | 1 + .../ec-043/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-044/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-044/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-044/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-044/ip.out | 0 .../7_3_1/ws/tcact2write/ec-044/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-044/ip.rc | 1 + .../ec-044/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-045/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-045/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-045/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-045/ip.out | 0 .../7_3_1/ws/tcact2write/ec-045/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-045/ip.rc | 1 + .../ec-045/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-046/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-046/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-046/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-046/ip.out | 0 .../7_3_1/ws/tcact2write/ec-046/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-046/ip.rc | 1 + .../ec-046/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-047/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-047/dump.out | 7 + .../7_3_1/ws/tcact2write/ec-047/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-047/ip.out | 0 .../7_3_1/ws/tcact2write/ec-047/ip.pcap | Bin 0 -> 296 bytes .../7_3_1/ws/tcact2write/ec-047/ip.rc | 1 + .../ec-047/netlink_route_dump.pcap | Bin 0 -> 432 bytes .../7_3_1/ws/tcact2write/ec-048/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-048/dump.out | 7 + .../7_3_1/ws/tcact2write/ec-048/ip.err | 0 .../7_3_1/ws/tcact2write/ec-048/ip.out | 0 .../7_3_1/ws/tcact2write/ec-048/ip.pcap | Bin 0 -> 244 bytes .../7_3_1/ws/tcact2write/ec-048/ip.rc | 1 + .../ec-048/netlink_route_dump.pcap | Bin 0 -> 444 bytes .../7_3_1/ws/tcact2write/ec-049/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-049/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-049/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-049/ip.out | 0 .../7_3_1/ws/tcact2write/ec-049/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-049/ip.rc | 1 + .../ec-049/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-050/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-050/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-050/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-050/ip.out | 0 .../7_3_1/ws/tcact2write/ec-050/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-050/ip.rc | 1 + .../ec-050/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-051/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-051/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-051/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-051/ip.out | 0 .../7_3_1/ws/tcact2write/ec-051/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-051/ip.rc | 1 + .../ec-051/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-052/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-052/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-052/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-052/ip.out | 0 .../7_3_1/ws/tcact2write/ec-052/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-052/ip.rc | 1 + .../ec-052/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-053/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-053/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-053/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-053/ip.out | 0 .../7_3_1/ws/tcact2write/ec-053/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-053/ip.rc | 1 + .../ec-053/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-054/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-054/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-054/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-054/ip.out | 0 .../7_3_1/ws/tcact2write/ec-054/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-054/ip.rc | 1 + .../ec-054/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-055/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-055/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-055/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-055/ip.out | 0 .../7_3_1/ws/tcact2write/ec-055/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-055/ip.rc | 1 + .../ec-055/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-056/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-056/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-056/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-056/ip.out | 0 .../7_3_1/ws/tcact2write/ec-056/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-056/ip.rc | 1 + .../ec-056/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-057/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-057/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-057/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-057/ip.out | 0 .../7_3_1/ws/tcact2write/ec-057/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-057/ip.rc | 1 + .../ec-057/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-058/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-058/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-058/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-058/ip.out | 0 .../7_3_1/ws/tcact2write/ec-058/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-058/ip.rc | 1 + .../ec-058/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-059/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-059/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-059/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-059/ip.out | 0 .../7_3_1/ws/tcact2write/ec-059/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-059/ip.rc | 1 + .../ec-059/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-060/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-060/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-060/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-060/ip.out | 0 .../7_3_1/ws/tcact2write/ec-060/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-060/ip.rc | 1 + .../ec-060/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-061/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-061/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-061/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-061/ip.out | 0 .../7_3_1/ws/tcact2write/ec-061/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-061/ip.rc | 1 + .../ec-061/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-062/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-062/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-062/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-062/ip.out | 0 .../7_3_1/ws/tcact2write/ec-062/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-062/ip.rc | 1 + .../ec-062/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-063/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-063/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-063/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-063/ip.out | 0 .../7_3_1/ws/tcact2write/ec-063/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-063/ip.rc | 1 + .../ec-063/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-064/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-064/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-064/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-064/ip.out | 0 .../7_3_1/ws/tcact2write/ec-064/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-064/ip.rc | 1 + .../ec-064/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-065/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-065/dump.out | 7 + .../7_3_1/ws/tcact2write/ec-065/ip.err | 0 .../7_3_1/ws/tcact2write/ec-065/ip.out | 0 .../7_3_1/ws/tcact2write/ec-065/ip.pcap | Bin 0 -> 244 bytes .../7_3_1/ws/tcact2write/ec-065/ip.rc | 1 + .../ec-065/netlink_route_dump.pcap | Bin 0 -> 444 bytes .../7_3_1/ws/tcact2write/ec-066/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-066/dump.out | 7 + .../7_3_1/ws/tcact2write/ec-066/ip.err | 0 .../7_3_1/ws/tcact2write/ec-066/ip.out | 0 .../7_3_1/ws/tcact2write/ec-066/ip.pcap | Bin 0 -> 244 bytes .../7_3_1/ws/tcact2write/ec-066/ip.rc | 1 + .../ec-066/netlink_route_dump.pcap | Bin 0 -> 444 bytes .../7_3_1/ws/tcact2write/ec-067/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-067/dump.out | 7 + .../7_3_1/ws/tcact2write/ec-067/ip.err | 0 .../7_3_1/ws/tcact2write/ec-067/ip.out | 0 .../7_3_1/ws/tcact2write/ec-067/ip.pcap | Bin 0 -> 244 bytes .../7_3_1/ws/tcact2write/ec-067/ip.rc | 1 + .../ec-067/netlink_route_dump.pcap | Bin 0 -> 444 bytes .../7_3_1/ws/tcact2write/ec-068/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-068/dump.out | 7 + .../7_3_1/ws/tcact2write/ec-068/ip.err | 0 .../7_3_1/ws/tcact2write/ec-068/ip.out | 0 .../7_3_1/ws/tcact2write/ec-068/ip.pcap | Bin 0 -> 244 bytes .../7_3_1/ws/tcact2write/ec-068/ip.rc | 1 + .../ec-068/netlink_route_dump.pcap | Bin 0 -> 444 bytes .../7_3_1/ws/tcact2write/ec-069/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-069/dump.out | 10 + .../7_3_1/ws/tcact2write/ec-069/ip.err | 0 .../7_3_1/ws/tcact2write/ec-069/ip.out | 0 .../7_3_1/ws/tcact2write/ec-069/ip.pcap | Bin 0 -> 376 bytes .../7_3_1/ws/tcact2write/ec-069/ip.rc | 1 + .../ec-069/netlink_route_dump.pcap | Bin 0 -> 576 bytes .../7_3_1/ws/tcact2write/ec-070/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-070/dump.out | 10 + .../7_3_1/ws/tcact2write/ec-070/ip.err | 0 .../7_3_1/ws/tcact2write/ec-070/ip.out | 0 .../7_3_1/ws/tcact2write/ec-070/ip.pcap | Bin 0 -> 376 bytes .../7_3_1/ws/tcact2write/ec-070/ip.rc | 1 + .../ec-070/netlink_route_dump.pcap | Bin 0 -> 576 bytes .../7_3_1/ws/tcact2write/ec-071/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-071/dump.out | 7 + .../7_3_1/ws/tcact2write/ec-071/ip.err | 0 .../7_3_1/ws/tcact2write/ec-071/ip.out | 0 .../7_3_1/ws/tcact2write/ec-071/ip.pcap | Bin 0 -> 244 bytes .../7_3_1/ws/tcact2write/ec-071/ip.rc | 1 + .../ec-071/netlink_route_dump.pcap | Bin 0 -> 444 bytes .../7_3_1/ws/tcact2write/ec-072/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-072/dump.out | 7 + .../7_3_1/ws/tcact2write/ec-072/ip.err | 0 .../7_3_1/ws/tcact2write/ec-072/ip.out | 0 .../7_3_1/ws/tcact2write/ec-072/ip.pcap | Bin 0 -> 244 bytes .../7_3_1/ws/tcact2write/ec-072/ip.rc | 1 + .../ec-072/netlink_route_dump.pcap | Bin 0 -> 444 bytes .../7_3_1/ws/tcact2write/ec-073/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-073/dump.out | 7 + .../7_3_1/ws/tcact2write/ec-073/ip.err | 0 .../7_3_1/ws/tcact2write/ec-073/ip.out | 0 .../7_3_1/ws/tcact2write/ec-073/ip.pcap | Bin 0 -> 244 bytes .../7_3_1/ws/tcact2write/ec-073/ip.rc | 1 + .../ec-073/netlink_route_dump.pcap | Bin 0 -> 444 bytes .../7_3_1/ws/tcact2write/ec-074/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-074/dump.out | 7 + .../7_3_1/ws/tcact2write/ec-074/ip.err | 0 .../7_3_1/ws/tcact2write/ec-074/ip.out | 0 .../7_3_1/ws/tcact2write/ec-074/ip.pcap | Bin 0 -> 244 bytes .../7_3_1/ws/tcact2write/ec-074/ip.rc | 1 + .../ec-074/netlink_route_dump.pcap | Bin 0 -> 444 bytes .../7_3_1/ws/tcact2write/ec-075/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-075/dump.out | 7 + .../7_3_1/ws/tcact2write/ec-075/ip.err | 0 .../7_3_1/ws/tcact2write/ec-075/ip.out | 0 .../7_3_1/ws/tcact2write/ec-075/ip.pcap | Bin 0 -> 244 bytes .../7_3_1/ws/tcact2write/ec-075/ip.rc | 1 + .../ec-075/netlink_route_dump.pcap | Bin 0 -> 444 bytes .../7_3_1/ws/tcact2write/ec-076/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-076/dump.out | 7 + .../7_3_1/ws/tcact2write/ec-076/ip.err | 0 .../7_3_1/ws/tcact2write/ec-076/ip.out | 0 .../7_3_1/ws/tcact2write/ec-076/ip.pcap | Bin 0 -> 244 bytes .../7_3_1/ws/tcact2write/ec-076/ip.rc | 1 + .../ec-076/netlink_route_dump.pcap | Bin 0 -> 444 bytes .../7_3_1/ws/tcact2write/ec-077/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-077/dump.out | 7 + .../7_3_1/ws/tcact2write/ec-077/ip.err | 0 .../7_3_1/ws/tcact2write/ec-077/ip.out | 0 .../7_3_1/ws/tcact2write/ec-077/ip.pcap | Bin 0 -> 244 bytes .../7_3_1/ws/tcact2write/ec-077/ip.rc | 1 + .../ec-077/netlink_route_dump.pcap | Bin 0 -> 444 bytes .../7_3_1/ws/tcact2write/ec-078/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-078/dump.out | 7 + .../7_3_1/ws/tcact2write/ec-078/ip.err | 0 .../7_3_1/ws/tcact2write/ec-078/ip.out | 0 .../7_3_1/ws/tcact2write/ec-078/ip.pcap | Bin 0 -> 244 bytes .../7_3_1/ws/tcact2write/ec-078/ip.rc | 1 + .../ec-078/netlink_route_dump.pcap | Bin 0 -> 444 bytes .../7_3_1/ws/tcact2write/ec-079/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-079/dump.out | 7 + .../7_3_1/ws/tcact2write/ec-079/ip.err | 0 .../7_3_1/ws/tcact2write/ec-079/ip.out | 0 .../7_3_1/ws/tcact2write/ec-079/ip.pcap | Bin 0 -> 244 bytes .../7_3_1/ws/tcact2write/ec-079/ip.rc | 1 + .../ec-079/netlink_route_dump.pcap | Bin 0 -> 444 bytes .../7_3_1/ws/tcact2write/ec-080/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-080/dump.out | 7 + .../7_3_1/ws/tcact2write/ec-080/ip.err | 0 .../7_3_1/ws/tcact2write/ec-080/ip.out | 0 .../7_3_1/ws/tcact2write/ec-080/ip.pcap | Bin 0 -> 244 bytes .../7_3_1/ws/tcact2write/ec-080/ip.rc | 1 + .../ec-080/netlink_route_dump.pcap | Bin 0 -> 444 bytes .../7_3_1/ws/tcact2write/ec-081/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-081/dump.out | 7 + .../7_3_1/ws/tcact2write/ec-081/ip.err | 0 .../7_3_1/ws/tcact2write/ec-081/ip.out | 0 .../7_3_1/ws/tcact2write/ec-081/ip.pcap | Bin 0 -> 244 bytes .../7_3_1/ws/tcact2write/ec-081/ip.rc | 1 + .../ec-081/netlink_route_dump.pcap | Bin 0 -> 444 bytes .../7_3_1/ws/tcact2write/ec-082/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-082/dump.out | 8 + .../7_3_1/ws/tcact2write/ec-082/ip.err | 0 .../7_3_1/ws/tcact2write/ec-082/ip.out | 0 .../7_3_1/ws/tcact2write/ec-082/ip.pcap | Bin 0 -> 288 bytes .../7_3_1/ws/tcact2write/ec-082/ip.rc | 1 + .../ec-082/netlink_route_dump.pcap | Bin 0 -> 488 bytes .../7_3_1/ws/tcact2write/ec-083/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-083/dump.out | 8 + .../7_3_1/ws/tcact2write/ec-083/ip.err | 0 .../7_3_1/ws/tcact2write/ec-083/ip.out | 0 .../7_3_1/ws/tcact2write/ec-083/ip.pcap | Bin 0 -> 288 bytes .../7_3_1/ws/tcact2write/ec-083/ip.rc | 1 + .../ec-083/netlink_route_dump.pcap | Bin 0 -> 488 bytes .../7_3_1/ws/tcact2write/ec-084/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-084/dump.out | 7 + .../7_3_1/ws/tcact2write/ec-084/ip.err | 0 .../7_3_1/ws/tcact2write/ec-084/ip.out | 0 .../7_3_1/ws/tcact2write/ec-084/ip.pcap | Bin 0 -> 244 bytes .../7_3_1/ws/tcact2write/ec-084/ip.rc | 1 + .../ec-084/netlink_route_dump.pcap | Bin 0 -> 444 bytes .../7_3_1/ws/tcact2write/ec-085/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-085/dump.out | 10 + .../7_3_1/ws/tcact2write/ec-085/ip.err | 0 .../7_3_1/ws/tcact2write/ec-085/ip.out | 0 .../7_3_1/ws/tcact2write/ec-085/ip.pcap | Bin 0 -> 376 bytes .../7_3_1/ws/tcact2write/ec-085/ip.rc | 1 + .../ec-085/netlink_route_dump.pcap | Bin 0 -> 576 bytes .../7_3_1/ws/tcact2write/ec-086/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-086/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-086/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-086/ip.out | 0 .../7_3_1/ws/tcact2write/ec-086/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-086/ip.rc | 1 + .../ec-086/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-087/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-087/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-087/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-087/ip.out | 0 .../7_3_1/ws/tcact2write/ec-087/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-087/ip.rc | 1 + .../ec-087/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-088/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-088/dump.out | 133 + .../7_3_1/ws/tcact2write/ec-088/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-088/ip.out | 0 .../7_3_1/ws/tcact2write/ec-088/ip.pcap | Bin 0 -> 3320 bytes .../7_3_1/ws/tcact2write/ec-088/ip.rc | 1 + .../ec-088/netlink_route_dump.pcap | Bin 0 -> 3456 bytes .../7_3_1/ws/tcact2write/ec-089/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-089/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-089/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-089/ip.out | 0 .../7_3_1/ws/tcact2write/ec-089/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-089/ip.rc | 1 + .../ec-089/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-090/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-090/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-090/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-090/ip.out | 0 .../7_3_1/ws/tcact2write/ec-090/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-090/ip.rc | 1 + .../ec-090/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-091/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-091/dump.out | 8 + .../7_3_1/ws/tcact2write/ec-091/ip.err | 0 .../7_3_1/ws/tcact2write/ec-091/ip.out | 0 .../7_3_1/ws/tcact2write/ec-091/ip.pcap | Bin 0 -> 288 bytes .../7_3_1/ws/tcact2write/ec-091/ip.rc | 1 + .../ec-091/netlink_route_dump.pcap | Bin 0 -> 488 bytes .../7_3_1/ws/tcact2write/ec-092/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-092/dump.out | 10 + .../7_3_1/ws/tcact2write/ec-092/ip.err | 0 .../7_3_1/ws/tcact2write/ec-092/ip.out | 0 .../7_3_1/ws/tcact2write/ec-092/ip.pcap | Bin 0 -> 376 bytes .../7_3_1/ws/tcact2write/ec-092/ip.rc | 1 + .../ec-092/netlink_route_dump.pcap | Bin 0 -> 576 bytes .../7_3_1/ws/tcact2write/ec-093/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-093/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-093/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-093/ip.out | 0 .../7_3_1/ws/tcact2write/ec-093/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-093/ip.rc | 1 + .../ec-093/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-094/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-094/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-094/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-094/ip.out | 0 .../7_3_1/ws/tcact2write/ec-094/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-094/ip.rc | 1 + .../ec-094/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-095/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-095/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-095/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-095/ip.out | 0 .../7_3_1/ws/tcact2write/ec-095/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-095/ip.rc | 1 + .../ec-095/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-096/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-096/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-096/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-096/ip.out | 0 .../7_3_1/ws/tcact2write/ec-096/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-096/ip.rc | 1 + .../ec-096/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-097/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-097/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-097/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-097/ip.out | 0 .../7_3_1/ws/tcact2write/ec-097/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-097/ip.rc | 1 + .../ec-097/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-098/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-098/dump.out | 8 + .../7_3_1/ws/tcact2write/ec-098/ip.err | 0 .../7_3_1/ws/tcact2write/ec-098/ip.out | 0 .../7_3_1/ws/tcact2write/ec-098/ip.pcap | Bin 0 -> 288 bytes .../7_3_1/ws/tcact2write/ec-098/ip.rc | 1 + .../ec-098/netlink_route_dump.pcap | Bin 0 -> 488 bytes .../7_3_1/ws/tcact2write/ec-099/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-099/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-099/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-099/ip.out | 0 .../7_3_1/ws/tcact2write/ec-099/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-099/ip.rc | 1 + .../ec-099/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-100/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-100/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-100/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-100/ip.out | 0 .../7_3_1/ws/tcact2write/ec-100/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-100/ip.rc | 1 + .../ec-100/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-101/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-101/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-101/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-101/ip.out | 0 .../7_3_1/ws/tcact2write/ec-101/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-101/ip.rc | 1 + .../ec-101/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-102/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-102/dump.out | 10 + .../7_3_1/ws/tcact2write/ec-102/ip.err | 0 .../7_3_1/ws/tcact2write/ec-102/ip.out | 0 .../7_3_1/ws/tcact2write/ec-102/ip.pcap | Bin 0 -> 376 bytes .../7_3_1/ws/tcact2write/ec-102/ip.rc | 1 + .../ec-102/netlink_route_dump.pcap | Bin 0 -> 576 bytes .../7_3_1/ws/tcact2write/ec-103/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-103/dump.out | 10 + .../7_3_1/ws/tcact2write/ec-103/ip.err | 0 .../7_3_1/ws/tcact2write/ec-103/ip.out | 0 .../7_3_1/ws/tcact2write/ec-103/ip.pcap | Bin 0 -> 376 bytes .../7_3_1/ws/tcact2write/ec-103/ip.rc | 1 + .../ec-103/netlink_route_dump.pcap | Bin 0 -> 576 bytes .../7_3_1/ws/tcact2write/ec-104/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-104/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-104/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-104/ip.out | 0 .../7_3_1/ws/tcact2write/ec-104/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-104/ip.rc | 1 + .../ec-104/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-105/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-105/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-105/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-105/ip.out | 0 .../7_3_1/ws/tcact2write/ec-105/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-105/ip.rc | 1 + .../ec-105/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-106/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-106/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-106/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-106/ip.out | 0 .../7_3_1/ws/tcact2write/ec-106/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-106/ip.rc | 1 + .../ec-106/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-107/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-107/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-107/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-107/ip.out | 0 .../7_3_1/ws/tcact2write/ec-107/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-107/ip.rc | 1 + .../ec-107/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-108/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-108/dump.out | 7 + .../7_3_1/ws/tcact2write/ec-108/ip.err | 0 .../7_3_1/ws/tcact2write/ec-108/ip.out | 0 .../7_3_1/ws/tcact2write/ec-108/ip.pcap | Bin 0 -> 244 bytes .../7_3_1/ws/tcact2write/ec-108/ip.rc | 1 + .../ec-108/netlink_route_dump.pcap | Bin 0 -> 444 bytes .../7_3_1/ws/tcact2write/ec-109/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-109/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-109/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-109/ip.out | 0 .../7_3_1/ws/tcact2write/ec-109/ip.pcap | Bin 0 -> 316 bytes .../7_3_1/ws/tcact2write/ec-109/ip.rc | 1 + .../ec-109/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-110/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-110/dump.out | 10 + .../7_3_1/ws/tcact2write/ec-110/ip.err | 0 .../7_3_1/ws/tcact2write/ec-110/ip.out | 0 .../7_3_1/ws/tcact2write/ec-110/ip.pcap | Bin 0 -> 376 bytes .../7_3_1/ws/tcact2write/ec-110/ip.rc | 1 + .../ec-110/netlink_route_dump.pcap | Bin 0 -> 576 bytes .../7_3_1/ws/tcact2write/ec-111/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-111/dump.out | 8 + .../7_3_1/ws/tcact2write/ec-111/ip.err | 0 .../7_3_1/ws/tcact2write/ec-111/ip.out | 0 .../7_3_1/ws/tcact2write/ec-111/ip.pcap | Bin 0 -> 288 bytes .../7_3_1/ws/tcact2write/ec-111/ip.rc | 1 + .../ec-111/netlink_route_dump.pcap | Bin 0 -> 488 bytes .../7_3_1/ws/tcact2write/ec-112/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-112/dump.out | 13 + .../7_3_1/ws/tcact2write/ec-112/ip.err | 0 .../7_3_1/ws/tcact2write/ec-112/ip.out | 0 .../7_3_1/ws/tcact2write/ec-112/ip.pcap | Bin 0 -> 256 bytes .../7_3_1/ws/tcact2write/ec-112/ip.rc | 1 + .../ec-112/netlink_route_dump.pcap | Bin 0 -> 460 bytes .../7_3_1/ws/tcact2write/ec-113/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-113/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-113/ip.err | 0 .../7_3_1/ws/tcact2write/ec-113/ip.out | 0 .../7_3_1/ws/tcact2write/ec-113/ip.pcap | Bin 0 -> 264 bytes .../7_3_1/ws/tcact2write/ec-113/ip.rc | 1 + .../ec-113/netlink_route_dump.pcap | Bin 0 -> 468 bytes .../7_3_1/ws/tcact2write/ec-114/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-114/dump.out | 10 + .../7_3_1/ws/tcact2write/ec-114/ip.err | 0 .../7_3_1/ws/tcact2write/ec-114/ip.out | 0 .../7_3_1/ws/tcact2write/ec-114/ip.pcap | Bin 0 -> 236 bytes .../7_3_1/ws/tcact2write/ec-114/ip.rc | 1 + .../ec-114/netlink_route_dump.pcap | Bin 0 -> 440 bytes .../7_3_1/ws/tcact2write/ec-115/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-115/dump.out | 10 + .../7_3_1/ws/tcact2write/ec-115/ip.err | 0 .../7_3_1/ws/tcact2write/ec-115/ip.out | 0 .../7_3_1/ws/tcact2write/ec-115/ip.pcap | Bin 0 -> 232 bytes .../7_3_1/ws/tcact2write/ec-115/ip.rc | 1 + .../ec-115/netlink_route_dump.pcap | Bin 0 -> 436 bytes .../7_3_1/ws/tcact2write/ec-116/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-116/dump.out | 9 + .../7_3_1/ws/tcact2write/ec-116/ip.err | 0 .../7_3_1/ws/tcact2write/ec-116/ip.out | 0 .../7_3_1/ws/tcact2write/ec-116/ip.pcap | Bin 0 -> 224 bytes .../7_3_1/ws/tcact2write/ec-116/ip.rc | 1 + .../ec-116/netlink_route_dump.pcap | Bin 0 -> 428 bytes .../7_3_1/ws/tcact2write/ec-117/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-117/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-117/ip.err | 0 .../7_3_1/ws/tcact2write/ec-117/ip.out | 0 .../7_3_1/ws/tcact2write/ec-117/ip.pcap | Bin 0 -> 264 bytes .../7_3_1/ws/tcact2write/ec-117/ip.rc | 1 + .../ec-117/netlink_route_dump.pcap | Bin 0 -> 468 bytes .../7_3_1/ws/tcact2write/ec-118/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-118/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-118/ip.err | 0 .../7_3_1/ws/tcact2write/ec-118/ip.out | 0 .../7_3_1/ws/tcact2write/ec-118/ip.pcap | Bin 0 -> 348 bytes .../7_3_1/ws/tcact2write/ec-118/ip.rc | 1 + .../ec-118/netlink_route_dump.pcap | Bin 0 -> 544 bytes .../7_3_1/ws/tcact2write/ec-119/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-119/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-119/ip.err | 0 .../7_3_1/ws/tcact2write/ec-119/ip.out | 0 .../7_3_1/ws/tcact2write/ec-119/ip.pcap | Bin 0 -> 248 bytes .../7_3_1/ws/tcact2write/ec-119/ip.rc | 1 + .../ec-119/netlink_route_dump.pcap | Bin 0 -> 452 bytes .../7_3_1/ws/tcact2write/ec-120/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-120/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-120/ip.err | 0 .../7_3_1/ws/tcact2write/ec-120/ip.out | 0 .../7_3_1/ws/tcact2write/ec-120/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-120/ip.rc | 1 + .../ec-120/netlink_route_dump.pcap | Bin 0 -> 460 bytes .../7_3_1/ws/tcact2write/ec-121/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-121/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-121/ip.err | 0 .../7_3_1/ws/tcact2write/ec-121/ip.out | 0 .../7_3_1/ws/tcact2write/ec-121/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-121/ip.rc | 1 + .../ec-121/netlink_route_dump.pcap | Bin 0 -> 468 bytes .../7_3_1/ws/tcact2write/ec-122/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-122/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-122/ip.err | 0 .../7_3_1/ws/tcact2write/ec-122/ip.out | 0 .../7_3_1/ws/tcact2write/ec-122/ip.pcap | Bin 0 -> 208 bytes .../7_3_1/ws/tcact2write/ec-122/ip.rc | 1 + .../ec-122/netlink_route_dump.pcap | Bin 0 -> 404 bytes .../7_3_1/ws/tcact2write/ec-123/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-123/dump.out | 10 + .../7_3_1/ws/tcact2write/ec-123/ip.err | 0 .../7_3_1/ws/tcact2write/ec-123/ip.out | 0 .../7_3_1/ws/tcact2write/ec-123/ip.pcap | Bin 0 -> 232 bytes .../7_3_1/ws/tcact2write/ec-123/ip.rc | 1 + .../ec-123/netlink_route_dump.pcap | Bin 0 -> 436 bytes .../7_3_1/ws/tcact2write/ec-124/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-124/dump.out | 12 + .../7_3_1/ws/tcact2write/ec-124/ip.err | 0 .../7_3_1/ws/tcact2write/ec-124/ip.out | 0 .../7_3_1/ws/tcact2write/ec-124/ip.pcap | Bin 0 -> 248 bytes .../7_3_1/ws/tcact2write/ec-124/ip.rc | 1 + .../ec-124/netlink_route_dump.pcap | Bin 0 -> 452 bytes .../7_3_1/ws/tcact2write/ec-125/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-125/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-125/ip.err | 0 .../7_3_1/ws/tcact2write/ec-125/ip.out | 0 .../7_3_1/ws/tcact2write/ec-125/ip.pcap | Bin 0 -> 240 bytes .../7_3_1/ws/tcact2write/ec-125/ip.rc | 1 + .../ec-125/netlink_route_dump.pcap | Bin 0 -> 444 bytes .../7_3_1/ws/tcact2write/ec-126/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-126/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-126/ip.err | 0 .../7_3_1/ws/tcact2write/ec-126/ip.out | 0 .../7_3_1/ws/tcact2write/ec-126/ip.pcap | Bin 0 -> 240 bytes .../7_3_1/ws/tcact2write/ec-126/ip.rc | 1 + .../ec-126/netlink_route_dump.pcap | Bin 0 -> 444 bytes .../7_3_1/ws/tcact2write/ec-127/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-127/dump.out | 12 + .../7_3_1/ws/tcact2write/ec-127/ip.err | 0 .../7_3_1/ws/tcact2write/ec-127/ip.out | 0 .../7_3_1/ws/tcact2write/ec-127/ip.pcap | Bin 0 -> 248 bytes .../7_3_1/ws/tcact2write/ec-127/ip.rc | 1 + .../ec-127/netlink_route_dump.pcap | Bin 0 -> 452 bytes .../7_3_1/ws/tcact2write/ec-128/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-128/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-128/ip.err | 0 .../7_3_1/ws/tcact2write/ec-128/ip.out | 0 .../7_3_1/ws/tcact2write/ec-128/ip.pcap | Bin 0 -> 264 bytes .../7_3_1/ws/tcact2write/ec-128/ip.rc | 1 + .../ec-128/netlink_route_dump.pcap | Bin 0 -> 468 bytes .../7_3_1/ws/tcact2write/ec-129/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-129/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-129/ip.err | 0 .../7_3_1/ws/tcact2write/ec-129/ip.out | 0 .../7_3_1/ws/tcact2write/ec-129/ip.pcap | Bin 0 -> 280 bytes .../7_3_1/ws/tcact2write/ec-129/ip.rc | 1 + .../ec-129/netlink_route_dump.pcap | Bin 0 -> 452 bytes .../7_3_1/ws/tcact2write/ec-130/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-130/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-130/ip.err | 0 .../7_3_1/ws/tcact2write/ec-130/ip.out | 0 .../7_3_1/ws/tcact2write/ec-130/ip.pcap | Bin 0 -> 224 bytes .../7_3_1/ws/tcact2write/ec-130/ip.rc | 1 + .../ec-130/netlink_route_dump.pcap | Bin 0 -> 404 bytes .../7_3_1/ws/tcact2write/ec-131/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-131/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-131/ip.err | 0 .../7_3_1/ws/tcact2write/ec-131/ip.out | 0 .../7_3_1/ws/tcact2write/ec-131/ip.pcap | Bin 0 -> 252 bytes .../7_3_1/ws/tcact2write/ec-131/ip.rc | 1 + .../ec-131/netlink_route_dump.pcap | Bin 0 -> 404 bytes .../7_3_1/ws/tcact2write/ec-132/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-132/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-132/ip.err | 3 + .../7_3_1/ws/tcact2write/ec-132/ip.out | 0 .../7_3_1/ws/tcact2write/ec-132/ip.pcap | Bin 0 -> 236 bytes .../7_3_1/ws/tcact2write/ec-132/ip.rc | 1 + .../ec-132/netlink_route_dump.pcap | Bin 0 -> 420 bytes .../7_3_1/ws/tcact2write/ec-133/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-133/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-133/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-133/ip.out | 0 .../7_3_1/ws/tcact2write/ec-133/ip.pcap | Bin 0 -> 208 bytes .../7_3_1/ws/tcact2write/ec-133/ip.rc | 1 + .../ec-133/netlink_route_dump.pcap | Bin 0 -> 400 bytes .../7_3_1/ws/tcact2write/ec-134/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-134/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-134/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-134/ip.out | 0 .../7_3_1/ws/tcact2write/ec-134/ip.pcap | Bin 0 -> 212 bytes .../7_3_1/ws/tcact2write/ec-134/ip.rc | 1 + .../ec-134/netlink_route_dump.pcap | Bin 0 -> 404 bytes .../7_3_1/ws/tcact2write/ec-135/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-135/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-135/ip.err | 0 .../7_3_1/ws/tcact2write/ec-135/ip.out | 0 .../7_3_1/ws/tcact2write/ec-135/ip.pcap | Bin 0 -> 192 bytes .../7_3_1/ws/tcact2write/ec-135/ip.rc | 1 + .../ec-135/netlink_route_dump.pcap | Bin 0 -> 400 bytes .../7_3_1/ws/tcact2write/ec-136/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-136/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-136/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-136/ip.out | 0 .../7_3_1/ws/tcact2write/ec-136/ip.pcap | Bin 0 -> 200 bytes .../7_3_1/ws/tcact2write/ec-136/ip.rc | 1 + .../ec-136/netlink_route_dump.pcap | Bin 0 -> 392 bytes .../7_3_1/ws/tcact2write/ec-137/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-137/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-137/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-137/ip.out | 0 .../7_3_1/ws/tcact2write/ec-137/ip.pcap | Bin 0 -> 212 bytes .../7_3_1/ws/tcact2write/ec-137/ip.rc | 1 + .../ec-137/netlink_route_dump.pcap | Bin 0 -> 404 bytes .../7_3_1/ws/tcact2write/ec-138/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-138/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-138/ip.err | 0 .../7_3_1/ws/tcact2write/ec-138/ip.out | 0 .../7_3_1/ws/tcact2write/ec-138/ip.pcap | Bin 0 -> 192 bytes .../7_3_1/ws/tcact2write/ec-138/ip.rc | 1 + .../ec-138/netlink_route_dump.pcap | Bin 0 -> 400 bytes .../7_3_1/ws/tcact2write/ec-139/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-139/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-139/ip.err | 0 .../7_3_1/ws/tcact2write/ec-139/ip.out | 0 .../7_3_1/ws/tcact2write/ec-139/ip.pcap | Bin 0 -> 192 bytes .../7_3_1/ws/tcact2write/ec-139/ip.rc | 1 + .../ec-139/netlink_route_dump.pcap | Bin 0 -> 400 bytes .../7_3_1/ws/tcact2write/ec-140/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-140/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-140/ip.err | 2 + .../7_3_1/ws/tcact2write/ec-140/ip.out | 0 .../7_3_1/ws/tcact2write/ec-140/ip.pcap | Bin 0 -> 220 bytes .../7_3_1/ws/tcact2write/ec-140/ip.rc | 1 + .../ec-140/netlink_route_dump.pcap | Bin 0 -> 404 bytes .../7_3_1/ws/tcact2write/ec-141/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-141/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-141/ip.err | 0 .../7_3_1/ws/tcact2write/ec-141/ip.out | 0 .../7_3_1/ws/tcact2write/ec-141/ip.pcap | Bin 0 -> 192 bytes .../7_3_1/ws/tcact2write/ec-141/ip.rc | 1 + .../ec-141/netlink_route_dump.pcap | Bin 0 -> 400 bytes .../7_3_1/ws/tcact2write/ec-142/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-142/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-142/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-142/ip.out | 0 .../7_3_1/ws/tcact2write/ec-142/ip.pcap | Bin 0 -> 196 bytes .../7_3_1/ws/tcact2write/ec-142/ip.rc | 1 + .../ec-142/netlink_route_dump.pcap | Bin 0 -> 384 bytes .../7_3_1/ws/tcact2write/ec-143/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-143/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-143/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-143/ip.out | 0 .../7_3_1/ws/tcact2write/ec-143/ip.pcap | Bin 0 -> 216 bytes .../7_3_1/ws/tcact2write/ec-143/ip.rc | 1 + .../ec-143/netlink_route_dump.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-144/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-144/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-144/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-144/ip.out | 0 .../7_3_1/ws/tcact2write/ec-144/ip.pcap | Bin 0 -> 204 bytes .../7_3_1/ws/tcact2write/ec-144/ip.rc | 1 + .../ec-144/netlink_route_dump.pcap | Bin 0 -> 396 bytes .../7_3_1/ws/tcact2write/ec-145/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-145/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-145/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-145/ip.out | 0 .../7_3_1/ws/tcact2write/ec-145/ip.pcap | Bin 0 -> 204 bytes .../7_3_1/ws/tcact2write/ec-145/ip.rc | 1 + .../ec-145/netlink_route_dump.pcap | Bin 0 -> 396 bytes .../7_3_1/ws/tcact2write/ec-146/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-146/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-146/ip.err | 2 + .../7_3_1/ws/tcact2write/ec-146/ip.out | 0 .../7_3_1/ws/tcact2write/ec-146/ip.pcap | Bin 0 -> 192 bytes .../7_3_1/ws/tcact2write/ec-146/ip.rc | 1 + .../ec-146/netlink_route_dump.pcap | Bin 0 -> 400 bytes .../7_3_1/ws/tcact2write/ec-147/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-147/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-147/ip.err | 2 + .../7_3_1/ws/tcact2write/ec-147/ip.out | 0 .../7_3_1/ws/tcact2write/ec-147/ip.pcap | Bin 0 -> 212 bytes .../7_3_1/ws/tcact2write/ec-147/ip.rc | 1 + .../ec-147/netlink_route_dump.pcap | Bin 0 -> 404 bytes .../7_3_1/ws/tcact2write/ec-148/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-148/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-148/ip.err | 2 + .../7_3_1/ws/tcact2write/ec-148/ip.out | 0 .../7_3_1/ws/tcact2write/ec-148/ip.pcap | Bin 0 -> 212 bytes .../7_3_1/ws/tcact2write/ec-148/ip.rc | 1 + .../ec-148/netlink_route_dump.pcap | Bin 0 -> 404 bytes .../7_3_1/ws/tcact2write/ec-149/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-149/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-149/ip.err | 0 .../7_3_1/ws/tcact2write/ec-149/ip.out | 0 .../7_3_1/ws/tcact2write/ec-149/ip.pcap | Bin 0 -> 196 bytes .../7_3_1/ws/tcact2write/ec-149/ip.rc | 1 + .../ec-149/netlink_route_dump.pcap | Bin 0 -> 400 bytes .../7_3_1/ws/tcact2write/ec-150/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-150/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-150/ip.err | 0 .../7_3_1/ws/tcact2write/ec-150/ip.out | 0 .../7_3_1/ws/tcact2write/ec-150/ip.pcap | Bin 0 -> 196 bytes .../7_3_1/ws/tcact2write/ec-150/ip.rc | 1 + .../ec-150/netlink_route_dump.pcap | Bin 0 -> 400 bytes .../7_3_1/ws/tcact2write/ec-151/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-151/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-151/ip.err | 0 .../7_3_1/ws/tcact2write/ec-151/ip.out | 0 .../7_3_1/ws/tcact2write/ec-151/ip.pcap | Bin 0 -> 196 bytes .../7_3_1/ws/tcact2write/ec-151/ip.rc | 1 + .../ec-151/netlink_route_dump.pcap | Bin 0 -> 392 bytes .../7_3_1/ws/tcact2write/ec-152/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-152/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-152/ip.err | 0 .../7_3_1/ws/tcact2write/ec-152/ip.out | 0 .../7_3_1/ws/tcact2write/ec-152/ip.pcap | Bin 0 -> 204 bytes .../7_3_1/ws/tcact2write/ec-152/ip.rc | 1 + .../ec-152/netlink_route_dump.pcap | Bin 0 -> 400 bytes .../7_3_1/ws/tcact2write/ec-153/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-153/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-153/ip.err | 0 .../7_3_1/ws/tcact2write/ec-153/ip.out | 0 .../7_3_1/ws/tcact2write/ec-153/ip.pcap | Bin 0 -> 260 bytes .../7_3_1/ws/tcact2write/ec-153/ip.rc | 1 + .../ec-153/netlink_route_dump.pcap | Bin 0 -> 456 bytes .../7_3_1/ws/tcact2write/ec-154/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-154/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-154/ip.err | 0 .../7_3_1/ws/tcact2write/ec-154/ip.out | 0 .../7_3_1/ws/tcact2write/ec-154/ip.pcap | Bin 0 -> 212 bytes .../7_3_1/ws/tcact2write/ec-154/ip.rc | 1 + .../ec-154/netlink_route_dump.pcap | Bin 0 -> 416 bytes .../7_3_1/ws/tcact2write/ec-155/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-155/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-155/ip.err | 0 .../7_3_1/ws/tcact2write/ec-155/ip.out | 0 .../7_3_1/ws/tcact2write/ec-155/ip.pcap | Bin 0 -> 224 bytes .../7_3_1/ws/tcact2write/ec-155/ip.rc | 1 + .../ec-155/netlink_route_dump.pcap | Bin 0 -> 440 bytes .../7_3_1/ws/tcact2write/ec-156/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-156/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-156/ip.err | 0 .../7_3_1/ws/tcact2write/ec-156/ip.out | 0 .../7_3_1/ws/tcact2write/ec-156/ip.pcap | Bin 0 -> 228 bytes .../7_3_1/ws/tcact2write/ec-156/ip.rc | 1 + .../ec-156/netlink_route_dump.pcap | Bin 0 -> 432 bytes .../7_3_1/ws/tcact2write/ec-157/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-157/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-157/ip.err | 0 .../7_3_1/ws/tcact2write/ec-157/ip.out | 0 .../7_3_1/ws/tcact2write/ec-157/ip.pcap | Bin 0 -> 228 bytes .../7_3_1/ws/tcact2write/ec-157/ip.rc | 1 + .../ec-157/netlink_route_dump.pcap | Bin 0 -> 432 bytes .../7_3_1/ws/tcact2write/ec-158/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-158/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-158/ip.err | 0 .../7_3_1/ws/tcact2write/ec-158/ip.out | 0 .../7_3_1/ws/tcact2write/ec-158/ip.pcap | Bin 0 -> 236 bytes .../7_3_1/ws/tcact2write/ec-158/ip.rc | 1 + .../ec-158/netlink_route_dump.pcap | Bin 0 -> 440 bytes .../7_3_1/ws/tcact2write/ec-159/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-159/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-159/ip.err | 0 .../7_3_1/ws/tcact2write/ec-159/ip.out | 0 .../7_3_1/ws/tcact2write/ec-159/ip.pcap | Bin 0 -> 252 bytes .../7_3_1/ws/tcact2write/ec-159/ip.rc | 1 + .../ec-159/netlink_route_dump.pcap | Bin 0 -> 456 bytes .../7_3_1/ws/tcact2write/ec-160/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-160/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-160/ip.err | 0 .../7_3_1/ws/tcact2write/ec-160/ip.out | 0 .../7_3_1/ws/tcact2write/ec-160/ip.pcap | Bin 0 -> 196 bytes .../7_3_1/ws/tcact2write/ec-160/ip.rc | 1 + .../ec-160/netlink_route_dump.pcap | Bin 0 -> 400 bytes .../7_3_1/ws/tcact2write/ec-161/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-161/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-161/ip.err | 0 .../7_3_1/ws/tcact2write/ec-161/ip.out | 0 .../7_3_1/ws/tcact2write/ec-161/ip.pcap | Bin 0 -> 204 bytes .../7_3_1/ws/tcact2write/ec-161/ip.rc | 1 + .../ec-161/netlink_route_dump.pcap | Bin 0 -> 400 bytes .../7_3_1/ws/tcact2write/ec-162/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-162/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-162/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-162/ip.out | 0 .../7_3_1/ws/tcact2write/ec-162/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-162/ip.rc | 1 + .../ec-162/netlink_route_dump.pcap | Bin 0 -> 424 bytes .../7_3_1/ws/tcact2write/ec-163/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-163/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-163/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-163/ip.out | 0 .../7_3_1/ws/tcact2write/ec-163/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-163/ip.rc | 1 + .../ec-163/netlink_route_dump.pcap | Bin 0 -> 424 bytes .../7_3_1/ws/tcact2write/ec-164/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-164/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-164/ip.err | 0 .../7_3_1/ws/tcact2write/ec-164/ip.out | 0 .../7_3_1/ws/tcact2write/ec-164/ip.pcap | Bin 0 -> 196 bytes .../7_3_1/ws/tcact2write/ec-164/ip.rc | 1 + .../ec-164/netlink_route_dump.pcap | Bin 0 -> 400 bytes .../7_3_1/ws/tcact2write/ec-165/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-165/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-165/ip.err | 0 .../7_3_1/ws/tcact2write/ec-165/ip.out | 0 .../7_3_1/ws/tcact2write/ec-165/ip.pcap | Bin 0 -> 204 bytes .../7_3_1/ws/tcact2write/ec-165/ip.rc | 1 + .../ec-165/netlink_route_dump.pcap | Bin 0 -> 400 bytes .../7_3_1/ws/tcact2write/ec-166/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-166/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-166/ip.err | 0 .../7_3_1/ws/tcact2write/ec-166/ip.out | 0 .../7_3_1/ws/tcact2write/ec-166/ip.pcap | Bin 0 -> 236 bytes .../7_3_1/ws/tcact2write/ec-166/ip.rc | 1 + .../ec-166/netlink_route_dump.pcap | Bin 0 -> 440 bytes .../7_3_1/ws/tcact2write/ec-167/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-167/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-167/ip.err | 0 .../7_3_1/ws/tcact2write/ec-167/ip.out | 0 .../7_3_1/ws/tcact2write/ec-167/ip.pcap | Bin 0 -> 236 bytes .../7_3_1/ws/tcact2write/ec-167/ip.rc | 1 + .../ec-167/netlink_route_dump.pcap | Bin 0 -> 440 bytes .../7_3_1/ws/tcact2write/ec-168/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-168/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-168/ip.err | 0 .../7_3_1/ws/tcact2write/ec-168/ip.out | 0 .../7_3_1/ws/tcact2write/ec-168/ip.pcap | Bin 0 -> 236 bytes .../7_3_1/ws/tcact2write/ec-168/ip.rc | 1 + .../ec-168/netlink_route_dump.pcap | Bin 0 -> 440 bytes .../7_3_1/ws/tcact2write/ec-169/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-169/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-169/ip.err | 0 .../7_3_1/ws/tcact2write/ec-169/ip.out | 0 .../7_3_1/ws/tcact2write/ec-169/ip.pcap | Bin 0 -> 212 bytes .../7_3_1/ws/tcact2write/ec-169/ip.rc | 1 + .../ec-169/netlink_route_dump.pcap | Bin 0 -> 416 bytes .../7_3_1/ws/tcact2write/ec-170/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-170/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-170/ip.err | 0 .../7_3_1/ws/tcact2write/ec-170/ip.out | 0 .../7_3_1/ws/tcact2write/ec-170/ip.pcap | Bin 0 -> 228 bytes .../7_3_1/ws/tcact2write/ec-170/ip.rc | 1 + .../ec-170/netlink_route_dump.pcap | Bin 0 -> 432 bytes .../7_3_1/ws/tcact2write/ec-171/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-171/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-171/ip.err | 1 + .../7_3_1/ws/tcact2write/ec-171/ip.out | 0 .../7_3_1/ws/tcact2write/ec-171/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-171/ip.rc | 1 + .../ec-171/netlink_route_dump.pcap | Bin 0 -> 424 bytes .../7_3_1/ws/tcact2write/ec-172/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-172/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-172/ip.err | 0 .../7_3_1/ws/tcact2write/ec-172/ip.out | 0 .../7_3_1/ws/tcact2write/ec-172/ip.pcap | Bin 0 -> 224 bytes .../7_3_1/ws/tcact2write/ec-172/ip.rc | 1 + .../ec-172/netlink_route_dump.pcap | Bin 0 -> 440 bytes .../7_3_1/ws/tcact2write/ec-173/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-173/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-173/ip.err | 0 .../7_3_1/ws/tcact2write/ec-173/ip.out | 0 .../7_3_1/ws/tcact2write/ec-173/ip.pcap | Bin 0 -> 220 bytes .../7_3_1/ws/tcact2write/ec-173/ip.rc | 1 + .../ec-173/netlink_route_dump.pcap | Bin 0 -> 440 bytes .../7_3_1/ws/tcact2write/ec-174/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-174/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-174/ip.err | 0 .../7_3_1/ws/tcact2write/ec-174/ip.out | 0 .../7_3_1/ws/tcact2write/ec-174/ip.pcap | Bin 0 -> 220 bytes .../7_3_1/ws/tcact2write/ec-174/ip.rc | 1 + .../ec-174/netlink_route_dump.pcap | Bin 0 -> 392 bytes .../7_3_1/ws/tcact2write/ec-175/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-175/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-175/ip.err | 0 .../7_3_1/ws/tcact2write/ec-175/ip.out | 0 .../7_3_1/ws/tcact2write/ec-175/ip.pcap | Bin 0 -> 196 bytes .../7_3_1/ws/tcact2write/ec-175/ip.rc | 1 + .../ec-175/netlink_route_dump.pcap | Bin 0 -> 400 bytes .../7_3_1/ws/tcact2write/ec-176/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-176/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-176/ip.err | 0 .../7_3_1/ws/tcact2write/ec-176/ip.out | 0 .../7_3_1/ws/tcact2write/ec-176/ip.pcap | Bin 0 -> 204 bytes .../7_3_1/ws/tcact2write/ec-176/ip.rc | 1 + .../ec-176/netlink_route_dump.pcap | Bin 0 -> 400 bytes .../7_3_1/ws/tcact2write/ec-177/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-177/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-177/ip.err | 0 .../7_3_1/ws/tcact2write/ec-177/ip.out | 0 .../7_3_1/ws/tcact2write/ec-177/ip.pcap | Bin 0 -> 220 bytes .../7_3_1/ws/tcact2write/ec-177/ip.rc | 1 + .../ec-177/netlink_route_dump.pcap | Bin 0 -> 416 bytes .../7_3_1/ws/tcact2write/ec-178/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-178/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-178/ip.err | 0 .../7_3_1/ws/tcact2write/ec-178/ip.out | 0 .../7_3_1/ws/tcact2write/ec-178/ip.pcap | Bin 0 -> 196 bytes .../7_3_1/ws/tcact2write/ec-178/ip.rc | 1 + .../ec-178/netlink_route_dump.pcap | Bin 0 -> 392 bytes .../7_3_1/ws/tcact2write/ec-179/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-179/dump.out | 13 + .../7_3_1/ws/tcact2write/ec-179/ip.err | 0 .../7_3_1/ws/tcact2write/ec-179/ip.out | 0 .../7_3_1/ws/tcact2write/ec-179/ip.pcap | Bin 0 -> 340 bytes .../7_3_1/ws/tcact2write/ec-179/ip.rc | 1 + .../ec-179/netlink_route_dump.pcap | Bin 0 -> 572 bytes .../7_3_1/ws/tcact2write/ec-180/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-180/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-180/ip.err | 0 .../7_3_1/ws/tcact2write/ec-180/ip.out | 0 .../7_3_1/ws/tcact2write/ec-180/ip.pcap | Bin 0 -> 224 bytes .../7_3_1/ws/tcact2write/ec-180/ip.rc | 1 + .../ec-180/netlink_route_dump.pcap | Bin 0 -> 492 bytes .../7_3_1/ws/tcact2write/ec-181/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-181/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-181/ip.err | 0 .../7_3_1/ws/tcact2write/ec-181/ip.out | 0 .../7_3_1/ws/tcact2write/ec-181/ip.pcap | Bin 0 -> 228 bytes .../7_3_1/ws/tcact2write/ec-181/ip.rc | 1 + .../ec-181/netlink_route_dump.pcap | Bin 0 -> 496 bytes .../7_3_1/ws/tcact2write/ec-182/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-182/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-182/ip.err | 0 .../7_3_1/ws/tcact2write/ec-182/ip.out | 0 .../7_3_1/ws/tcact2write/ec-182/ip.pcap | Bin 0 -> 228 bytes .../7_3_1/ws/tcact2write/ec-182/ip.rc | 1 + .../ec-182/netlink_route_dump.pcap | Bin 0 -> 496 bytes .../7_3_1/ws/tcact2write/ec-183/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-183/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-183/ip.err | 0 .../7_3_1/ws/tcact2write/ec-183/ip.out | 0 .../7_3_1/ws/tcact2write/ec-183/ip.pcap | Bin 0 -> 228 bytes .../7_3_1/ws/tcact2write/ec-183/ip.rc | 1 + .../ec-183/netlink_route_dump.pcap | Bin 0 -> 496 bytes .../7_3_1/ws/tcact2write/ec-184/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-184/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-184/ip.err | 0 .../7_3_1/ws/tcact2write/ec-184/ip.out | 0 .../7_3_1/ws/tcact2write/ec-184/ip.pcap | Bin 0 -> 236 bytes .../7_3_1/ws/tcact2write/ec-184/ip.rc | 1 + .../ec-184/netlink_route_dump.pcap | Bin 0 -> 496 bytes .../7_3_1/ws/tcact2write/ec-185/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-185/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-185/ip.err | 0 .../7_3_1/ws/tcact2write/ec-185/ip.out | 0 .../7_3_1/ws/tcact2write/ec-185/ip.pcap | Bin 0 -> 236 bytes .../7_3_1/ws/tcact2write/ec-185/ip.rc | 1 + .../ec-185/netlink_route_dump.pcap | Bin 0 -> 496 bytes .../7_3_1/ws/tcact2write/ec-186/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-186/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-186/ip.err | 0 .../7_3_1/ws/tcact2write/ec-186/ip.out | 0 .../7_3_1/ws/tcact2write/ec-186/ip.pcap | Bin 0 -> 236 bytes .../7_3_1/ws/tcact2write/ec-186/ip.rc | 1 + .../ec-186/netlink_route_dump.pcap | Bin 0 -> 496 bytes .../7_3_1/ws/tcact2write/ec-187/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-187/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-187/ip.err | 0 .../7_3_1/ws/tcact2write/ec-187/ip.out | 0 .../7_3_1/ws/tcact2write/ec-187/ip.pcap | Bin 0 -> 236 bytes .../7_3_1/ws/tcact2write/ec-187/ip.rc | 1 + .../ec-187/netlink_route_dump.pcap | Bin 0 -> 496 bytes .../7_3_1/ws/tcact2write/ec-188/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-188/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-188/ip.err | 0 .../7_3_1/ws/tcact2write/ec-188/ip.out | 0 .../7_3_1/ws/tcact2write/ec-188/ip.pcap | Bin 0 -> 236 bytes .../7_3_1/ws/tcact2write/ec-188/ip.rc | 1 + .../ec-188/netlink_route_dump.pcap | Bin 0 -> 496 bytes .../7_3_1/ws/tcact2write/ec-189/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-189/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-189/ip.err | 0 .../7_3_1/ws/tcact2write/ec-189/ip.out | 0 .../7_3_1/ws/tcact2write/ec-189/ip.pcap | Bin 0 -> 236 bytes .../7_3_1/ws/tcact2write/ec-189/ip.rc | 1 + .../ec-189/netlink_route_dump.pcap | Bin 0 -> 496 bytes .../7_3_1/ws/tcact2write/ec-190/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-190/dump.out | 12 + .../7_3_1/ws/tcact2write/ec-190/ip.err | 0 .../7_3_1/ws/tcact2write/ec-190/ip.out | 0 .../7_3_1/ws/tcact2write/ec-190/ip.pcap | Bin 0 -> 280 bytes .../7_3_1/ws/tcact2write/ec-190/ip.rc | 1 + .../ec-190/netlink_route_dump.pcap | Bin 0 -> 532 bytes .../7_3_1/ws/tcact2write/ec-191/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-191/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-191/ip.err | 0 .../7_3_1/ws/tcact2write/ec-191/ip.out | 0 .../7_3_1/ws/tcact2write/ec-191/ip.pcap | Bin 0 -> 236 bytes .../7_3_1/ws/tcact2write/ec-191/ip.rc | 1 + .../ec-191/netlink_route_dump.pcap | Bin 0 -> 496 bytes .../7_3_1/ws/tcact2write/ec-192/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-192/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-192/ip.err | 0 .../7_3_1/ws/tcact2write/ec-192/ip.out | 0 .../7_3_1/ws/tcact2write/ec-192/ip.pcap | Bin 0 -> 228 bytes .../7_3_1/ws/tcact2write/ec-192/ip.rc | 1 + .../ec-192/netlink_route_dump.pcap | Bin 0 -> 496 bytes .../7_3_1/ws/tcact2write/ec-193/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-193/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-193/ip.err | 0 .../7_3_1/ws/tcact2write/ec-193/ip.out | 0 .../7_3_1/ws/tcact2write/ec-193/ip.pcap | Bin 0 -> 228 bytes .../7_3_1/ws/tcact2write/ec-193/ip.rc | 1 + .../ec-193/netlink_route_dump.pcap | Bin 0 -> 496 bytes .../7_3_1/ws/tcact2write/ec-194/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-194/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-194/ip.err | 0 .../7_3_1/ws/tcact2write/ec-194/ip.out | 0 .../7_3_1/ws/tcact2write/ec-194/ip.pcap | Bin 0 -> 228 bytes .../7_3_1/ws/tcact2write/ec-194/ip.rc | 1 + .../ec-194/netlink_route_dump.pcap | Bin 0 -> 496 bytes .../7_3_1/ws/tcact2write/ec-195/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-195/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-195/ip.err | 0 .../7_3_1/ws/tcact2write/ec-195/ip.out | 0 .../7_3_1/ws/tcact2write/ec-195/ip.pcap | Bin 0 -> 228 bytes .../7_3_1/ws/tcact2write/ec-195/ip.rc | 1 + .../ec-195/netlink_route_dump.pcap | Bin 0 -> 496 bytes .../7_3_1/ws/tcact2write/ec-196/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-196/dump.out | 40 + .../7_3_1/ws/tcact2write/ec-196/ip.err | 0 .../7_3_1/ws/tcact2write/ec-196/ip.out | 0 .../7_3_1/ws/tcact2write/ec-196/ip.pcap | Bin 0 -> 1156 bytes .../7_3_1/ws/tcact2write/ec-196/ip.rc | 1 + .../ec-196/netlink_route_dump.pcap | Bin 0 -> 1656 bytes .../7_3_1/ws/tcact2write/ec-197/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-197/dump.out | 40 + .../7_3_1/ws/tcact2write/ec-197/ip.err | 2 + .../7_3_1/ws/tcact2write/ec-197/ip.out | 0 .../7_3_1/ws/tcact2write/ec-197/ip.pcap | Bin 0 -> 1220 bytes .../7_3_1/ws/tcact2write/ec-197/ip.rc | 1 + .../ec-197/netlink_route_dump.pcap | Bin 0 -> 1656 bytes .../7_3_1/ws/tcact2write/ec-198/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-198/dump.out | 40 + .../7_3_1/ws/tcact2write/ec-198/ip.err | 11 + .../7_3_1/ws/tcact2write/ec-198/ip.out | 0 .../7_3_1/ws/tcact2write/ec-198/ip.pcap | Bin 0 -> 1472 bytes .../7_3_1/ws/tcact2write/ec-198/ip.rc | 1 + .../ec-198/netlink_route_dump.pcap | Bin 0 -> 1656 bytes .../7_3_1/ws/tcact2write/ec-199/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-199/dump.out | 44 + .../7_3_1/ws/tcact2write/ec-199/ip.err | 3 + .../7_3_1/ws/tcact2write/ec-199/ip.out | 0 .../7_3_1/ws/tcact2write/ec-199/ip.pcap | Bin 0 -> 1232 bytes .../7_3_1/ws/tcact2write/ec-199/ip.rc | 1 + .../ec-199/netlink_route_dump.pcap | Bin 0 -> 1680 bytes .../7_3_1/ws/tcact2write/ec-200/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-200/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-200/ip.err | 0 .../7_3_1/ws/tcact2write/ec-200/ip.out | 0 .../7_3_1/ws/tcact2write/ec-200/ip.pcap | Bin 0 -> 228 bytes .../7_3_1/ws/tcact2write/ec-200/ip.rc | 1 + .../ec-200/netlink_route_dump.pcap | Bin 0 -> 496 bytes .../7_3_1/ws/tcact2write/ec-201/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-201/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-201/ip.err | 0 .../7_3_1/ws/tcact2write/ec-201/ip.out | 0 .../7_3_1/ws/tcact2write/ec-201/ip.pcap | Bin 0 -> 228 bytes .../7_3_1/ws/tcact2write/ec-201/ip.rc | 1 + .../ec-201/netlink_route_dump.pcap | Bin 0 -> 496 bytes .../7_3_1/ws/tcact2write/ec-202/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-202/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-202/ip.err | 0 .../7_3_1/ws/tcact2write/ec-202/ip.out | 0 .../7_3_1/ws/tcact2write/ec-202/ip.pcap | Bin 0 -> 236 bytes .../7_3_1/ws/tcact2write/ec-202/ip.rc | 1 + .../ec-202/netlink_route_dump.pcap | Bin 0 -> 496 bytes .../7_3_1/ws/tcact2write/ec-203/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-203/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-203/ip.err | 0 .../7_3_1/ws/tcact2write/ec-203/ip.out | 0 .../7_3_1/ws/tcact2write/ec-203/ip.pcap | Bin 0 -> 252 bytes .../7_3_1/ws/tcact2write/ec-203/ip.rc | 1 + .../ec-203/netlink_route_dump.pcap | Bin 0 -> 496 bytes .../7_3_1/ws/tcact2write/ec-204/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-204/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-204/ip.err | 0 .../7_3_1/ws/tcact2write/ec-204/ip.out | 0 .../7_3_1/ws/tcact2write/ec-204/ip.pcap | Bin 0 -> 240 bytes .../7_3_1/ws/tcact2write/ec-204/ip.rc | 1 + .../ec-204/netlink_route_dump.pcap | Bin 0 -> 496 bytes .../7_3_1/ws/tcact2write/ec-205/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-205/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-205/ip.err | 0 .../7_3_1/ws/tcact2write/ec-205/ip.out | 0 .../7_3_1/ws/tcact2write/ec-205/ip.pcap | Bin 0 -> 240 bytes .../7_3_1/ws/tcact2write/ec-205/ip.rc | 1 + .../ec-205/netlink_route_dump.pcap | Bin 0 -> 496 bytes .../7_3_1/ws/tcact2write/ec-206/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-206/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-206/ip.err | 0 .../7_3_1/ws/tcact2write/ec-206/ip.out | 0 .../7_3_1/ws/tcact2write/ec-206/ip.pcap | Bin 0 -> 240 bytes .../7_3_1/ws/tcact2write/ec-206/ip.rc | 1 + .../ec-206/netlink_route_dump.pcap | Bin 0 -> 496 bytes .../7_3_1/ws/tcact2write/ec-207/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-207/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-207/ip.err | 0 .../7_3_1/ws/tcact2write/ec-207/ip.out | 0 .../7_3_1/ws/tcact2write/ec-207/ip.pcap | Bin 0 -> 240 bytes .../7_3_1/ws/tcact2write/ec-207/ip.rc | 1 + .../ec-207/netlink_route_dump.pcap | Bin 0 -> 496 bytes .../7_3_1/ws/tcact2write/ec-208/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-208/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-208/ip.err | 0 .../7_3_1/ws/tcact2write/ec-208/ip.out | 0 .../7_3_1/ws/tcact2write/ec-208/ip.pcap | Bin 0 -> 240 bytes .../7_3_1/ws/tcact2write/ec-208/ip.rc | 1 + .../ec-208/netlink_route_dump.pcap | Bin 0 -> 496 bytes .../7_3_1/ws/tcact2write/ec-209/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-209/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-209/ip.err | 0 .../7_3_1/ws/tcact2write/ec-209/ip.out | 0 .../7_3_1/ws/tcact2write/ec-209/ip.pcap | Bin 0 -> 228 bytes .../7_3_1/ws/tcact2write/ec-209/ip.rc | 1 + .../ec-209/netlink_route_dump.pcap | Bin 0 -> 496 bytes .../7_3_1/ws/tcact2write/ec-210/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-210/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-210/ip.err | 0 .../7_3_1/ws/tcact2write/ec-210/ip.out | 0 .../7_3_1/ws/tcact2write/ec-210/ip.pcap | Bin 0 -> 248 bytes .../7_3_1/ws/tcact2write/ec-210/ip.rc | 1 + .../ec-210/netlink_route_dump.pcap | Bin 0 -> 496 bytes .../7_3_1/ws/tcact2write/ec-211/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-211/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-211/ip.err | 0 .../7_3_1/ws/tcact2write/ec-211/ip.out | 0 .../7_3_1/ws/tcact2write/ec-211/ip.pcap | Bin 0 -> 224 bytes .../7_3_1/ws/tcact2write/ec-211/ip.rc | 1 + .../ec-211/netlink_route_dump.pcap | Bin 0 -> 492 bytes .../7_3_1/ws/tcact2write/ec-212/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-212/dump.out | 12 + .../7_3_1/ws/tcact2write/ec-212/ip.err | 0 .../7_3_1/ws/tcact2write/ec-212/ip.out | 0 .../7_3_1/ws/tcact2write/ec-212/ip.pcap | Bin 0 -> 272 bytes .../7_3_1/ws/tcact2write/ec-212/ip.rc | 1 + .../ec-212/netlink_route_dump.pcap | Bin 0 -> 536 bytes .../7_3_1/ws/tcact2write/ec-213/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-213/dump.out | 5 + .../7_3_1/ws/tcact2write/ec-213/ip.err | 0 .../7_3_1/ws/tcact2write/ec-213/ip.out | 0 .../7_3_1/ws/tcact2write/ec-213/ip.pcap | Bin 0 -> 232 bytes .../7_3_1/ws/tcact2write/ec-213/ip.rc | 1 + .../ec-213/netlink_route_dump.pcap | Bin 0 -> 416 bytes .../7_3_1/ws/tcact2write/ec-214/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-214/dump.out | 5 + .../7_3_1/ws/tcact2write/ec-214/ip.err | 0 .../7_3_1/ws/tcact2write/ec-214/ip.out | 0 .../7_3_1/ws/tcact2write/ec-214/ip.pcap | Bin 0 -> 208 bytes .../7_3_1/ws/tcact2write/ec-214/ip.rc | 1 + .../ec-214/netlink_route_dump.pcap | Bin 0 -> 392 bytes .../7_3_1/ws/tcact2write/ec-215/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-215/dump.out | 5 + .../7_3_1/ws/tcact2write/ec-215/ip.err | 0 .../7_3_1/ws/tcact2write/ec-215/ip.out | 0 .../7_3_1/ws/tcact2write/ec-215/ip.pcap | Bin 0 -> 208 bytes .../7_3_1/ws/tcact2write/ec-215/ip.rc | 1 + .../ec-215/netlink_route_dump.pcap | Bin 0 -> 392 bytes .../7_3_1/ws/tcact2write/ec-216/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-216/dump.out | 5 + .../7_3_1/ws/tcact2write/ec-216/ip.err | 0 .../7_3_1/ws/tcact2write/ec-216/ip.out | 0 .../7_3_1/ws/tcact2write/ec-216/ip.pcap | Bin 0 -> 208 bytes .../7_3_1/ws/tcact2write/ec-216/ip.rc | 1 + .../ec-216/netlink_route_dump.pcap | Bin 0 -> 392 bytes .../7_3_1/ws/tcact2write/ec-217/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-217/dump.out | 5 + .../7_3_1/ws/tcact2write/ec-217/ip.err | 0 .../7_3_1/ws/tcact2write/ec-217/ip.out | 0 .../7_3_1/ws/tcact2write/ec-217/ip.pcap | Bin 0 -> 208 bytes .../7_3_1/ws/tcact2write/ec-217/ip.rc | 1 + .../ec-217/netlink_route_dump.pcap | Bin 0 -> 392 bytes .../7_3_1/ws/tcact2write/ec-218/bpf.txt | 5 + .../7_3_1/ws/tcact2write/ec-218/cmd.json | 109 + .../7_3_1/ws/tcact2write/ec-218/dump.out | 5 + .../7_3_1/ws/tcact2write/ec-218/ip.err | 0 .../7_3_1/ws/tcact2write/ec-218/ip.out | 0 .../7_3_1/ws/tcact2write/ec-218/ip.pcap | Bin 0 -> 232 bytes .../7_3_1/ws/tcact2write/ec-218/ip.rc | 1 + .../ec-218/netlink_route_dump.pcap | Bin 0 -> 416 bytes .../7_3_1/ws/tcact2write/ec-219/bpf.txt | 1 + .../7_3_1/ws/tcact2write/ec-219/cmd.json | 109 + .../7_3_1/ws/tcact2write/ec-219/dump.out | 5 + .../7_3_1/ws/tcact2write/ec-219/ip.err | 0 .../7_3_1/ws/tcact2write/ec-219/ip.out | 0 .../7_3_1/ws/tcact2write/ec-219/ip.pcap | Bin 0 -> 208 bytes .../7_3_1/ws/tcact2write/ec-219/ip.rc | 1 + .../ec-219/netlink_route_dump.pcap | Bin 0 -> 392 bytes .../7_3_1/ws/tcact2write/ec-220/bpf.txt | 3 + .../7_3_1/ws/tcact2write/ec-220/cmd.json | 109 + .../7_3_1/ws/tcact2write/ec-220/dump.out | 5 + .../7_3_1/ws/tcact2write/ec-220/ip.err | 0 .../7_3_1/ws/tcact2write/ec-220/ip.out | 0 .../7_3_1/ws/tcact2write/ec-220/ip.pcap | Bin 0 -> 216 bytes .../7_3_1/ws/tcact2write/ec-220/ip.rc | 1 + .../ec-220/netlink_route_dump.pcap | Bin 0 -> 400 bytes .../testdata/7_3_1/ws/tcact2write/ec-221/- | 1 + .../7_3_1/ws/tcact2write/ec-221/cmd.json | 109 + .../7_3_1/ws/tcact2write/ec-221/dump.out | 5 + .../7_3_1/ws/tcact2write/ec-221/ip.err | 0 .../7_3_1/ws/tcact2write/ec-221/ip.out | 0 .../7_3_1/ws/tcact2write/ec-221/ip.pcap | Bin 0 -> 208 bytes .../7_3_1/ws/tcact2write/ec-221/ip.rc | 1 + .../ec-221/netlink_route_dump.pcap | Bin 0 -> 392 bytes .../7_3_1/ws/tcact2write/ec-222/bpf.txt | 2039 ++++++++ .../7_3_1/ws/tcact2write/ec-222/cmd.json | 109 + .../7_3_1/ws/tcact2write/ec-222/dump.out | 0 .../7_3_1/ws/tcact2write/ec-222/ip.err | 0 .../7_3_1/ws/tcact2write/ec-222/ip.out | 0 .../7_3_1/ws/tcact2write/ec-222/ip.pcap | Bin 0 -> 16504 bytes .../7_3_1/ws/tcact2write/ec-222/ip.rc | 1 + .../ec-222/netlink_route_dump.pcap | Bin 0 -> 156 bytes .../7_3_1/ws/tcact2write/ec-223/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-223/dump.out | 5 + .../7_3_1/ws/tcact2write/ec-223/ip.err | 0 .../7_3_1/ws/tcact2write/ec-223/ip.out | 0 .../7_3_1/ws/tcact2write/ec-223/ip.pcap | Bin 0 -> 208 bytes .../7_3_1/ws/tcact2write/ec-223/ip.rc | 1 + .../ec-223/netlink_route_dump.pcap | Bin 0 -> 392 bytes .../7_3_1/ws/tcact2write/ec-224/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-224/dump.out | 5 + .../7_3_1/ws/tcact2write/ec-224/ip.err | 0 .../7_3_1/ws/tcact2write/ec-224/ip.out | 0 .../7_3_1/ws/tcact2write/ec-224/ip.pcap | Bin 0 -> 208 bytes .../7_3_1/ws/tcact2write/ec-224/ip.rc | 1 + .../ec-224/netlink_route_dump.pcap | Bin 0 -> 392 bytes .../7_3_1/ws/tcact2write/ec-225/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-225/dump.out | 5 + .../7_3_1/ws/tcact2write/ec-225/ip.err | 0 .../7_3_1/ws/tcact2write/ec-225/ip.out | 0 .../7_3_1/ws/tcact2write/ec-225/ip.pcap | Bin 0 -> 208 bytes .../7_3_1/ws/tcact2write/ec-225/ip.rc | 1 + .../ec-225/netlink_route_dump.pcap | Bin 0 -> 392 bytes .../7_3_1/ws/tcact2write/ec-226/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-226/dump.out | 5 + .../7_3_1/ws/tcact2write/ec-226/ip.err | 0 .../7_3_1/ws/tcact2write/ec-226/ip.out | 0 .../7_3_1/ws/tcact2write/ec-226/ip.pcap | Bin 0 -> 208 bytes .../7_3_1/ws/tcact2write/ec-226/ip.rc | 1 + .../ec-226/netlink_route_dump.pcap | Bin 0 -> 392 bytes .../7_3_1/ws/tcact2write/ec-227/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-227/dump.out | 7 + .../7_3_1/ws/tcact2write/ec-227/ip.err | 0 .../7_3_1/ws/tcact2write/ec-227/ip.out | 0 .../7_3_1/ws/tcact2write/ec-227/ip.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ec-227/ip.rc | 1 + .../ec-227/netlink_route_dump.pcap | Bin 0 -> 660 bytes .../7_3_1/ws/tcact2write/ec-228/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-228/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-228/ip.err | 0 .../7_3_1/ws/tcact2write/ec-228/ip.out | 0 .../7_3_1/ws/tcact2write/ec-228/ip.pcap | Bin 0 -> 396 bytes .../7_3_1/ws/tcact2write/ec-228/ip.rc | 1 + .../ec-228/netlink_route_dump.pcap | Bin 0 -> 640 bytes .../7_3_1/ws/tcact2write/ec-229/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-229/dump.out | 7 + .../7_3_1/ws/tcact2write/ec-229/ip.err | 0 .../7_3_1/ws/tcact2write/ec-229/ip.out | 0 .../7_3_1/ws/tcact2write/ec-229/ip.pcap | Bin 0 -> 380 bytes .../7_3_1/ws/tcact2write/ec-229/ip.rc | 1 + .../ec-229/netlink_route_dump.pcap | Bin 0 -> 656 bytes .../7_3_1/ws/tcact2write/ec-230/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-230/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-230/ip.err | 0 .../7_3_1/ws/tcact2write/ec-230/ip.out | 0 .../7_3_1/ws/tcact2write/ec-230/ip.pcap | Bin 0 -> 384 bytes .../7_3_1/ws/tcact2write/ec-230/ip.rc | 1 + .../ec-230/netlink_route_dump.pcap | Bin 0 -> 644 bytes .../7_3_1/ws/tcact2write/ec-231/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-231/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-231/ip.err | 0 .../7_3_1/ws/tcact2write/ec-231/ip.out | 0 .../7_3_1/ws/tcact2write/ec-231/ip.pcap | Bin 0 -> 416 bytes .../7_3_1/ws/tcact2write/ec-231/ip.rc | 1 + .../ec-231/netlink_route_dump.pcap | Bin 0 -> 736 bytes .../7_3_1/ws/tcact2write/ec-232/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-232/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-232/ip.err | 0 .../7_3_1/ws/tcact2write/ec-232/ip.out | 0 .../7_3_1/ws/tcact2write/ec-232/ip.pcap | Bin 0 -> 396 bytes .../7_3_1/ws/tcact2write/ec-232/ip.rc | 1 + .../ec-232/netlink_route_dump.pcap | Bin 0 -> 648 bytes .../7_3_1/ws/tcact2write/ec-233/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-233/dump.out | 28 + .../7_3_1/ws/tcact2write/ec-233/ip.err | 0 .../7_3_1/ws/tcact2write/ec-233/ip.out | 0 .../7_3_1/ws/tcact2write/ec-233/ip.pcap | Bin 0 -> 732 bytes .../7_3_1/ws/tcact2write/ec-233/ip.rc | 1 + .../ec-233/netlink_route_dump.pcap | Bin 0 -> 1628 bytes .../7_3_1/ws/tcact2write/ec-234/cmd.json | 109 + .../7_3_1/ws/tcact2write/ec-234/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-234/ip.err | 0 .../7_3_1/ws/tcact2write/ec-234/ip.out | 0 .../7_3_1/ws/tcact2write/ec-234/ip.pcap | Bin 0 -> 384 bytes .../7_3_1/ws/tcact2write/ec-234/ip.rc | 1 + .../ec-234/netlink_route_dump.pcap | Bin 0 -> 644 bytes .../7_3_1/ws/tcact2write/ec-235/cmd.json | 109 + .../7_3_1/ws/tcact2write/ec-235/dump.out | 7 + .../7_3_1/ws/tcact2write/ec-235/ip.err | 0 .../7_3_1/ws/tcact2write/ec-235/ip.out | 0 .../7_3_1/ws/tcact2write/ec-235/ip.pcap | Bin 0 -> 384 bytes .../7_3_1/ws/tcact2write/ec-235/ip.rc | 1 + .../ec-235/netlink_route_dump.pcap | Bin 0 -> 660 bytes .../7_3_1/ws/tcact2write/ec-236/cmd.json | 109 + .../7_3_1/ws/tcact2write/ec-236/dump.out | 11 + .../7_3_1/ws/tcact2write/ec-236/ip.err | 0 .../7_3_1/ws/tcact2write/ec-236/ip.out | 0 .../7_3_1/ws/tcact2write/ec-236/ip.pcap | Bin 0 -> 384 bytes .../7_3_1/ws/tcact2write/ec-236/ip.rc | 1 + .../ec-236/netlink_route_dump.pcap | Bin 0 -> 736 bytes .../7_3_1/ws/tcact2write/ec-237/cmd.json | 109 + .../7_3_1/ws/tcact2write/ec-237/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-237/ip.err | 0 .../7_3_1/ws/tcact2write/ec-237/ip.out | 0 .../7_3_1/ws/tcact2write/ec-237/ip.pcap | Bin 0 -> 376 bytes .../7_3_1/ws/tcact2write/ec-237/ip.rc | 1 + .../ec-237/netlink_route_dump.pcap | Bin 0 -> 648 bytes .../7_3_1/ws/tcact2write/ec-238/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-238/dump.out | 1 + .../7_3_1/ws/tcact2write/ec-238/ip.err | 0 .../7_3_1/ws/tcact2write/ec-238/ip.out | 0 .../7_3_1/ws/tcact2write/ec-238/ip.pcap | Bin 0 -> 11704 bytes .../7_3_1/ws/tcact2write/ec-238/ip.rc | 1 + .../ec-238/netlink_route_dump.pcap | Bin 0 -> 388 bytes .../7_3_1/ws/tcact2write/ec-239/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-239/dump.out | 2 + .../7_3_1/ws/tcact2write/ec-239/ip.err | 0 .../7_3_1/ws/tcact2write/ec-239/ip.out | 0 .../7_3_1/ws/tcact2write/ec-239/ip.pcap | Bin 0 -> 376 bytes .../7_3_1/ws/tcact2write/ec-239/ip.rc | 1 + .../ec-239/netlink_route_dump.pcap | Bin 0 -> 496 bytes .../7_3_1/ws/tcact2write/ec-240/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-240/dump.out | 2 + .../7_3_1/ws/tcact2write/ec-240/ip.err | 0 .../7_3_1/ws/tcact2write/ec-240/ip.out | 0 .../7_3_1/ws/tcact2write/ec-240/ip.pcap | Bin 0 -> 360 bytes .../7_3_1/ws/tcact2write/ec-240/ip.rc | 1 + .../ec-240/netlink_route_dump.pcap | Bin 0 -> 472 bytes .../7_3_1/ws/tcact2write/ec-241/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-241/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-241/ip.err | 0 .../7_3_1/ws/tcact2write/ec-241/ip.out | 0 .../7_3_1/ws/tcact2write/ec-241/ip.pcap | Bin 0 -> 392 bytes .../7_3_1/ws/tcact2write/ec-241/ip.rc | 1 + .../ec-241/netlink_route_dump.pcap | Bin 0 -> 624 bytes .../7_3_1/ws/tcact2write/ec-242/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-242/dump.out | 5 + .../7_3_1/ws/tcact2write/ec-242/ip.err | 0 .../7_3_1/ws/tcact2write/ec-242/ip.out | 0 .../7_3_1/ws/tcact2write/ec-242/ip.pcap | Bin 0 -> 1436 bytes .../7_3_1/ws/tcact2write/ec-242/ip.rc | 1 + .../ec-242/netlink_route_dump.pcap | Bin 0 -> 608 bytes .../7_3_1/ws/tcact2write/ec-243/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-243/dump.out | 2 + .../7_3_1/ws/tcact2write/ec-243/ip.err | 0 .../7_3_1/ws/tcact2write/ec-243/ip.out | 0 .../7_3_1/ws/tcact2write/ec-243/ip.pcap | Bin 0 -> 352 bytes .../7_3_1/ws/tcact2write/ec-243/ip.rc | 1 + .../ec-243/netlink_route_dump.pcap | Bin 0 -> 472 bytes .../7_3_1/ws/tcact2write/ec-244/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-244/dump.out | 2 + .../7_3_1/ws/tcact2write/ec-244/ip.err | 0 .../7_3_1/ws/tcact2write/ec-244/ip.out | 0 .../7_3_1/ws/tcact2write/ec-244/ip.pcap | Bin 0 -> 352 bytes .../7_3_1/ws/tcact2write/ec-244/ip.rc | 1 + .../ec-244/netlink_route_dump.pcap | Bin 0 -> 472 bytes .../7_3_1/ws/tcact2write/ec-245/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-245/dump.out | 2 + .../7_3_1/ws/tcact2write/ec-245/ip.err | 0 .../7_3_1/ws/tcact2write/ec-245/ip.out | 0 .../7_3_1/ws/tcact2write/ec-245/ip.pcap | Bin 0 -> 352 bytes .../7_3_1/ws/tcact2write/ec-245/ip.rc | 1 + .../ec-245/netlink_route_dump.pcap | Bin 0 -> 472 bytes .../7_3_1/ws/tcact2write/ec-246/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-246/dump.out | 9 + .../7_3_1/ws/tcact2write/ec-246/ip.err | 0 .../7_3_1/ws/tcact2write/ec-246/ip.out | 0 .../7_3_1/ws/tcact2write/ec-246/ip.pcap | Bin 0 -> 492 bytes .../7_3_1/ws/tcact2write/ec-246/ip.rc | 1 + .../ec-246/netlink_route_dump.pcap | Bin 0 -> 844 bytes .../7_3_1/ws/tcact2write/ec-247/bpf.txt | 1 + .../7_3_1/ws/tcact2write/ec-247/cmd.json | 109 + .../7_3_1/ws/tcact2write/ec-247/dump.out | 2 + .../7_3_1/ws/tcact2write/ec-247/ip.err | 0 .../7_3_1/ws/tcact2write/ec-247/ip.out | 0 .../7_3_1/ws/tcact2write/ec-247/ip.pcap | Bin 0 -> 376 bytes .../7_3_1/ws/tcact2write/ec-247/ip.rc | 1 + .../ec-247/netlink_route_dump.pcap | Bin 0 -> 496 bytes .../7_3_1/ws/tcact2write/ec-248/cmd.json | 109 + .../7_3_1/ws/tcact2write/ec-248/dump.out | 2 + .../7_3_1/ws/tcact2write/ec-248/ip.err | 0 .../7_3_1/ws/tcact2write/ec-248/ip.out | 0 .../7_3_1/ws/tcact2write/ec-248/ip.pcap | Bin 0 -> 352 bytes .../7_3_1/ws/tcact2write/ec-248/ip.rc | 1 + .../ec-248/netlink_route_dump.pcap | Bin 0 -> 472 bytes .../7_3_1/ws/tcact2write/ec-249/cmd.json | 109 + .../7_3_1/ws/tcact2write/ec-249/dump.out | 2 + .../7_3_1/ws/tcact2write/ec-249/ip.err | 0 .../7_3_1/ws/tcact2write/ec-249/ip.out | 0 .../7_3_1/ws/tcact2write/ec-249/ip.pcap | Bin 0 -> 352 bytes .../7_3_1/ws/tcact2write/ec-249/ip.rc | 1 + .../ec-249/netlink_route_dump.pcap | Bin 0 -> 472 bytes .../7_3_1/ws/tcact2write/ec-250/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-250/dump.out | 2 + .../7_3_1/ws/tcact2write/ec-250/ip.err | 0 .../7_3_1/ws/tcact2write/ec-250/ip.out | 0 .../7_3_1/ws/tcact2write/ec-250/ip.pcap | Bin 0 -> 344 bytes .../7_3_1/ws/tcact2write/ec-250/ip.rc | 1 + .../ec-250/netlink_route_dump.pcap | Bin 0 -> 464 bytes .../7_3_1/ws/tcact2write/ec-251/cmd.json | 109 + .../7_3_1/ws/tcact2write/ec-251/dump.out | 0 .../7_3_1/ws/tcact2write/ec-251/ip.err | 0 .../7_3_1/ws/tcact2write/ec-251/ip.out | 0 .../7_3_1/ws/tcact2write/ec-251/ip.pcap | Bin 0 -> 320 bytes .../7_3_1/ws/tcact2write/ec-251/ip.rc | 1 + .../ec-251/netlink_route_dump.pcap | Bin 0 -> 296 bytes .../7_3_1/ws/tcact2write/ec-252/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-252/dump.out | 2 + .../7_3_1/ws/tcact2write/ec-252/ip.err | 0 .../7_3_1/ws/tcact2write/ec-252/ip.out | 0 .../7_3_1/ws/tcact2write/ec-252/ip.pcap | Bin 0 -> 352 bytes .../7_3_1/ws/tcact2write/ec-252/ip.rc | 1 + .../ec-252/netlink_route_dump.pcap | Bin 0 -> 472 bytes .../7_3_1/ws/tcact2write/ec-253/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-253/dump.out | 6 + .../7_3_1/ws/tcact2write/ec-253/ip.err | 0 .../7_3_1/ws/tcact2write/ec-253/ip.out | 0 .../7_3_1/ws/tcact2write/ec-253/ip.pcap | Bin 0 -> 416 bytes .../7_3_1/ws/tcact2write/ec-253/ip.rc | 1 + .../ec-253/netlink_route_dump.pcap | Bin 0 -> 640 bytes .../7_3_1/ws/tcact2write/ec-254/cmd.json | 104 + .../7_3_1/ws/tcact2write/ec-254/dump.out | 2 + .../7_3_1/ws/tcact2write/ec-254/ip.err | 0 .../7_3_1/ws/tcact2write/ec-254/ip.out | 0 .../7_3_1/ws/tcact2write/ec-254/ip.pcap | Bin 0 -> 360 bytes .../7_3_1/ws/tcact2write/ec-254/ip.rc | 1 + .../ec-254/netlink_route_dump.pcap | Bin 0 -> 472 bytes .../7_3_1/ws/tcact2write/ec-255/b.txt | 2 + .../7_3_1/ws/tcact2write/ec-255/cmd.json | 110 + .../7_3_1/ws/tcact2write/ec-255/dump.out | 5 + .../7_3_1/ws/tcact2write/ec-255/ip.err | 0 .../7_3_1/ws/tcact2write/ec-255/ip.out | 0 .../7_3_1/ws/tcact2write/ec-255/ip.pcap | Bin 0 -> 812 bytes .../7_3_1/ws/tcact2write/ec-255/ip.rc | 1 + .../ec-255/netlink_route_dump.pcap | Bin 0 -> 388 bytes .../7_3_1/ws/tcact2write/ec-256/b.txt | 2 + .../7_3_1/ws/tcact2write/ec-256/cmd.json | 110 + .../7_3_1/ws/tcact2write/ec-256/dump.out | 5 + .../7_3_1/ws/tcact2write/ec-256/ip.err | 0 .../7_3_1/ws/tcact2write/ec-256/ip.out | 0 .../7_3_1/ws/tcact2write/ec-256/ip.pcap | Bin 0 -> 816 bytes .../7_3_1/ws/tcact2write/ec-256/ip.rc | 1 + .../ec-256/netlink_route_dump.pcap | Bin 0 -> 388 bytes .../7_3_1/ws/tcact2write/ec-257/b.txt | 2 + .../7_3_1/ws/tcact2write/ec-257/cmd.json | 110 + .../7_3_1/ws/tcact2write/ec-257/dump.out | 5 + .../7_3_1/ws/tcact2write/ec-257/ip.err | 0 .../7_3_1/ws/tcact2write/ec-257/ip.out | 0 .../7_3_1/ws/tcact2write/ec-257/ip.pcap | Bin 0 -> 752 bytes .../7_3_1/ws/tcact2write/ec-257/ip.rc | 1 + .../ec-257/netlink_route_dump.pcap | Bin 0 -> 388 bytes .../7_3_1/ws/tcact2write/ec-258/b.txt | 2 + .../7_3_1/ws/tcact2write/ec-258/bpf.txt | 1 + .../7_3_1/ws/tcact2write/ec-258/cmd.json | 115 + .../7_3_1/ws/tcact2write/ec-258/dump.out | 5 + .../7_3_1/ws/tcact2write/ec-258/ip.err | 0 .../7_3_1/ws/tcact2write/ec-258/ip.out | 0 .../7_3_1/ws/tcact2write/ec-258/ip.pcap | Bin 0 -> 740 bytes .../7_3_1/ws/tcact2write/ec-258/ip.rc | 1 + .../ec-258/netlink_route_dump.pcap | Bin 0 -> 640 bytes .../7_3_1/ws/tcact2write/ng-001/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-001/ip.err | 1 + .../7_3_1/ws/tcact2write/ng-001/ip.out | 0 .../7_3_1/ws/tcact2write/ng-001/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-001/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-002/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-002/ip.err | 19 + .../7_3_1/ws/tcact2write/ng-002/ip.out | 0 .../7_3_1/ws/tcact2write/ng-002/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-002/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-003/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-003/ip.err | 20 + .../7_3_1/ws/tcact2write/ng-003/ip.out | 0 .../7_3_1/ws/tcact2write/ng-003/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-003/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-004/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-004/ip.err | 20 + .../7_3_1/ws/tcact2write/ng-004/ip.out | 0 .../7_3_1/ws/tcact2write/ng-004/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-004/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-005/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-005/ip.err | 20 + .../7_3_1/ws/tcact2write/ng-005/ip.out | 0 .../7_3_1/ws/tcact2write/ng-005/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-005/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-006/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-006/ip.err | 19 + .../7_3_1/ws/tcact2write/ng-006/ip.out | 0 .../7_3_1/ws/tcact2write/ng-006/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-006/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-007/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-007/ip.err | 21 + .../7_3_1/ws/tcact2write/ng-007/ip.out | 0 .../7_3_1/ws/tcact2write/ng-007/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-007/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-008/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-008/ip.err | 21 + .../7_3_1/ws/tcact2write/ng-008/ip.out | 0 .../7_3_1/ws/tcact2write/ng-008/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-008/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-009/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-009/ip.err | 21 + .../7_3_1/ws/tcact2write/ng-009/ip.out | 0 .../7_3_1/ws/tcact2write/ng-009/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-009/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-010/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-010/ip.err | 21 + .../7_3_1/ws/tcact2write/ng-010/ip.out | 0 .../7_3_1/ws/tcact2write/ng-010/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-010/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-011/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-011/ip.err | 1 + .../7_3_1/ws/tcact2write/ng-011/ip.out | 0 .../7_3_1/ws/tcact2write/ng-011/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-011/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-012/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-012/ip.err | 1 + .../7_3_1/ws/tcact2write/ng-012/ip.out | 0 .../7_3_1/ws/tcact2write/ng-012/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-012/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-013/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-013/ip.err | 15 + .../7_3_1/ws/tcact2write/ng-013/ip.out | 0 .../7_3_1/ws/tcact2write/ng-013/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-013/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-014/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-014/ip.err | 21 + .../7_3_1/ws/tcact2write/ng-014/ip.out | 0 .../7_3_1/ws/tcact2write/ng-014/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-014/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-015/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-015/ip.err | 21 + .../7_3_1/ws/tcact2write/ng-015/ip.out | 0 .../7_3_1/ws/tcact2write/ng-015/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-015/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-016/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-016/ip.err | 21 + .../7_3_1/ws/tcact2write/ng-016/ip.out | 0 .../7_3_1/ws/tcact2write/ng-016/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-016/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-017/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-017/ip.err | 1 + .../7_3_1/ws/tcact2write/ng-017/ip.out | 0 .../7_3_1/ws/tcact2write/ng-017/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-017/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-018/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-018/ip.err | 21 + .../7_3_1/ws/tcact2write/ng-018/ip.out | 0 .../7_3_1/ws/tcact2write/ng-018/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-018/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-019/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-019/ip.err | 20 + .../7_3_1/ws/tcact2write/ng-019/ip.out | 0 .../7_3_1/ws/tcact2write/ng-019/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-019/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-020/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-020/ip.err | 20 + .../7_3_1/ws/tcact2write/ng-020/ip.out | 0 .../7_3_1/ws/tcact2write/ng-020/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-020/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-021/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-021/ip.err | 20 + .../7_3_1/ws/tcact2write/ng-021/ip.out | 0 .../7_3_1/ws/tcact2write/ng-021/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-021/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-022/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-022/ip.err | 21 + .../7_3_1/ws/tcact2write/ng-022/ip.out | 0 .../7_3_1/ws/tcact2write/ng-022/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-022/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-023/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-023/ip.err | 20 + .../7_3_1/ws/tcact2write/ng-023/ip.out | 0 .../7_3_1/ws/tcact2write/ng-023/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-023/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-024/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-024/ip.err | 20 + .../7_3_1/ws/tcact2write/ng-024/ip.out | 0 .../7_3_1/ws/tcact2write/ng-024/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-024/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-025/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-025/ip.err | 20 + .../7_3_1/ws/tcact2write/ng-025/ip.out | 0 .../7_3_1/ws/tcact2write/ng-025/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-025/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-026/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-026/ip.err | 20 + .../7_3_1/ws/tcact2write/ng-026/ip.out | 0 .../7_3_1/ws/tcact2write/ng-026/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-026/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-027/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-027/ip.err | 20 + .../7_3_1/ws/tcact2write/ng-027/ip.out | 0 .../7_3_1/ws/tcact2write/ng-027/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-027/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-028/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-028/ip.err | 20 + .../7_3_1/ws/tcact2write/ng-028/ip.out | 0 .../7_3_1/ws/tcact2write/ng-028/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-028/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-029/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-029/ip.err | 20 + .../7_3_1/ws/tcact2write/ng-029/ip.out | 0 .../7_3_1/ws/tcact2write/ng-029/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-029/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-030/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-030/ip.err | 19 + .../7_3_1/ws/tcact2write/ng-030/ip.out | 0 .../7_3_1/ws/tcact2write/ng-030/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-030/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-031/cmd.json | 99 + .../7_3_1/ws/tcact2write/ng-031/ip.err | 2 + .../7_3_1/ws/tcact2write/ng-031/ip.out | 0 .../7_3_1/ws/tcact2write/ng-031/ip.pcap | Bin 0 -> 300 bytes .../7_3_1/ws/tcact2write/ng-031/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-032/cmd.json | 99 + .../7_3_1/ws/tcact2write/ng-032/ip.err | 2 + .../7_3_1/ws/tcact2write/ng-032/ip.out | 0 .../7_3_1/ws/tcact2write/ng-032/ip.pcap | Bin 0 -> 308 bytes .../7_3_1/ws/tcact2write/ng-032/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-033/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-033/ip.err | 11 + .../7_3_1/ws/tcact2write/ng-033/ip.out | 0 .../7_3_1/ws/tcact2write/ng-033/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-033/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-034/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-034/ip.err | 10 + .../7_3_1/ws/tcact2write/ng-034/ip.out | 0 .../7_3_1/ws/tcact2write/ng-034/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-034/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-035/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-035/ip.err | 20 + .../7_3_1/ws/tcact2write/ng-035/ip.out | 0 .../7_3_1/ws/tcact2write/ng-035/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-035/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-036/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-036/ip.err | 1 + .../7_3_1/ws/tcact2write/ng-036/ip.out | 0 .../7_3_1/ws/tcact2write/ng-036/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-036/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-037/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-037/ip.err | 4 + .../7_3_1/ws/tcact2write/ng-037/ip.out | 0 .../7_3_1/ws/tcact2write/ng-037/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-037/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-038/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-038/ip.err | 20 + .../7_3_1/ws/tcact2write/ng-038/ip.out | 0 .../7_3_1/ws/tcact2write/ng-038/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-038/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-039/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-039/ip.err | 20 + .../7_3_1/ws/tcact2write/ng-039/ip.out | 0 .../7_3_1/ws/tcact2write/ng-039/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-039/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-040/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-040/ip.err | 19 + .../7_3_1/ws/tcact2write/ng-040/ip.out | 0 .../7_3_1/ws/tcact2write/ng-040/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-040/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-041/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-041/ip.err | 19 + .../7_3_1/ws/tcact2write/ng-041/ip.out | 0 .../7_3_1/ws/tcact2write/ng-041/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-041/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-042/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-042/ip.err | 21 + .../7_3_1/ws/tcact2write/ng-042/ip.out | 0 .../7_3_1/ws/tcact2write/ng-042/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-042/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-043/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-043/ip.err | 19 + .../7_3_1/ws/tcact2write/ng-043/ip.out | 0 .../7_3_1/ws/tcact2write/ng-043/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-043/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-044/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-044/ip.err | 10 + .../7_3_1/ws/tcact2write/ng-044/ip.out | 0 .../7_3_1/ws/tcact2write/ng-044/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-044/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-045/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-045/ip.err | 1 + .../7_3_1/ws/tcact2write/ng-045/ip.out | 0 .../7_3_1/ws/tcact2write/ng-045/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-045/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-046/cmd.json | 99 + .../7_3_1/ws/tcact2write/ng-046/ip.err | 2 + .../7_3_1/ws/tcact2write/ng-046/ip.out | 0 .../7_3_1/ws/tcact2write/ng-046/ip.pcap | Bin 0 -> 376 bytes .../7_3_1/ws/tcact2write/ng-046/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-047/cmd.json | 99 + .../7_3_1/ws/tcact2write/ng-047/ip.err | 2 + .../7_3_1/ws/tcact2write/ng-047/ip.out | 0 .../7_3_1/ws/tcact2write/ng-047/ip.pcap | Bin 0 -> 392 bytes .../7_3_1/ws/tcact2write/ng-047/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-048/cmd.json | 99 + .../7_3_1/ws/tcact2write/ng-048/ip.err | 2 + .../7_3_1/ws/tcact2write/ng-048/ip.out | 0 .../7_3_1/ws/tcact2write/ng-048/ip.pcap | Bin 0 -> 356 bytes .../7_3_1/ws/tcact2write/ng-048/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-049/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-049/ip.err | 1 + .../7_3_1/ws/tcact2write/ng-049/ip.out | 0 .../7_3_1/ws/tcact2write/ng-049/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-049/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-050/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-050/ip.err | 4 + .../7_3_1/ws/tcact2write/ng-050/ip.out | 0 .../7_3_1/ws/tcact2write/ng-050/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-050/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-051/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-051/ip.err | 4 + .../7_3_1/ws/tcact2write/ng-051/ip.out | 0 .../7_3_1/ws/tcact2write/ng-051/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-051/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-052/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-052/ip.err | 4 + .../7_3_1/ws/tcact2write/ng-052/ip.out | 0 .../7_3_1/ws/tcact2write/ng-052/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-052/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-053/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-053/ip.err | 4 + .../7_3_1/ws/tcact2write/ng-053/ip.out | 0 .../7_3_1/ws/tcact2write/ng-053/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-053/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-054/cmd.json | 99 + .../7_3_1/ws/tcact2write/ng-054/ip.err | 2 + .../7_3_1/ws/tcact2write/ng-054/ip.out | 0 .../7_3_1/ws/tcact2write/ng-054/ip.pcap | Bin 0 -> 432 bytes .../7_3_1/ws/tcact2write/ng-054/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-055/cmd.json | 99 + .../7_3_1/ws/tcact2write/ng-055/ip.err | 2 + .../7_3_1/ws/tcact2write/ng-055/ip.out | 0 .../7_3_1/ws/tcact2write/ng-055/ip.pcap | Bin 0 -> 440 bytes .../7_3_1/ws/tcact2write/ng-055/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-056/cmd.json | 99 + .../7_3_1/ws/tcact2write/ng-056/ip.err | 2 + .../7_3_1/ws/tcact2write/ng-056/ip.out | 0 .../7_3_1/ws/tcact2write/ng-056/ip.pcap | Bin 0 -> 448 bytes .../7_3_1/ws/tcact2write/ng-056/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-057/cmd.json | 99 + .../7_3_1/ws/tcact2write/ng-057/ip.err | 2 + .../7_3_1/ws/tcact2write/ng-057/ip.out | 0 .../7_3_1/ws/tcact2write/ng-057/ip.pcap | Bin 0 -> 440 bytes .../7_3_1/ws/tcact2write/ng-057/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-058/cmd.json | 99 + .../7_3_1/ws/tcact2write/ng-058/ip.err | 2 + .../7_3_1/ws/tcact2write/ng-058/ip.out | 0 .../7_3_1/ws/tcact2write/ng-058/ip.pcap | Bin 0 -> 368 bytes .../7_3_1/ws/tcact2write/ng-058/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-059/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-059/ip.err | 14 + .../7_3_1/ws/tcact2write/ng-059/ip.out | 0 .../7_3_1/ws/tcact2write/ng-059/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-059/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-060/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-060/ip.err | 14 + .../7_3_1/ws/tcact2write/ng-060/ip.out | 0 .../7_3_1/ws/tcact2write/ng-060/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-060/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-061/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-061/ip.err | 4 + .../7_3_1/ws/tcact2write/ng-061/ip.out | 0 .../7_3_1/ws/tcact2write/ng-061/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-061/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-062/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-062/ip.err | 4 + .../7_3_1/ws/tcact2write/ng-062/ip.out | 0 .../7_3_1/ws/tcact2write/ng-062/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-062/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-063/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-063/ip.err | 4 + .../7_3_1/ws/tcact2write/ng-063/ip.out | 0 .../7_3_1/ws/tcact2write/ng-063/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-063/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-064/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-064/ip.err | 10 + .../7_3_1/ws/tcact2write/ng-064/ip.out | 0 .../7_3_1/ws/tcact2write/ng-064/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-064/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-065/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-065/ip.err | 1 + .../7_3_1/ws/tcact2write/ng-065/ip.out | 0 .../7_3_1/ws/tcact2write/ng-065/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-065/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-066/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-066/ip.err | 14 + .../7_3_1/ws/tcact2write/ng-066/ip.out | 0 .../7_3_1/ws/tcact2write/ng-066/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-066/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-067/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-067/ip.err | 1 + .../7_3_1/ws/tcact2write/ng-067/ip.out | 0 .../7_3_1/ws/tcact2write/ng-067/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-067/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-068/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-068/ip.err | 1 + .../7_3_1/ws/tcact2write/ng-068/ip.out | 0 .../7_3_1/ws/tcact2write/ng-068/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-068/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-069/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-069/ip.err | 1 + .../7_3_1/ws/tcact2write/ng-069/ip.out | 0 .../7_3_1/ws/tcact2write/ng-069/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-069/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-070/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-070/ip.err | 1 + .../7_3_1/ws/tcact2write/ng-070/ip.out | 0 .../7_3_1/ws/tcact2write/ng-070/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-070/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-071/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-071/ip.err | 1 + .../7_3_1/ws/tcact2write/ng-071/ip.out | 0 .../7_3_1/ws/tcact2write/ng-071/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-071/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-072/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-072/ip.err | 1 + .../7_3_1/ws/tcact2write/ng-072/ip.out | 0 .../7_3_1/ws/tcact2write/ng-072/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-072/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-073/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-073/ip.err | 1 + .../7_3_1/ws/tcact2write/ng-073/ip.out | 0 .../7_3_1/ws/tcact2write/ng-073/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-073/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-074/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-074/ip.err | 1 + .../7_3_1/ws/tcact2write/ng-074/ip.out | 0 .../7_3_1/ws/tcact2write/ng-074/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-074/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-075/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-075/ip.err | 4 + .../7_3_1/ws/tcact2write/ng-075/ip.out | 0 .../7_3_1/ws/tcact2write/ng-075/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-075/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-076/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-076/ip.err | 13 + .../7_3_1/ws/tcact2write/ng-076/ip.out | 0 .../7_3_1/ws/tcact2write/ng-076/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-076/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-077/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-077/ip.err | 1 + .../7_3_1/ws/tcact2write/ng-077/ip.out | 0 .../7_3_1/ws/tcact2write/ng-077/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-077/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-078/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-078/ip.err | 1 + .../7_3_1/ws/tcact2write/ng-078/ip.out | 0 .../7_3_1/ws/tcact2write/ng-078/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-078/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-079/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-079/ip.err | 7 + .../7_3_1/ws/tcact2write/ng-079/ip.out | 0 .../7_3_1/ws/tcact2write/ng-079/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-079/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-080/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-080/ip.err | 1 + .../7_3_1/ws/tcact2write/ng-080/ip.out | 0 .../7_3_1/ws/tcact2write/ng-080/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-080/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-081/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-081/ip.err | 1 + .../7_3_1/ws/tcact2write/ng-081/ip.out | 0 .../7_3_1/ws/tcact2write/ng-081/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-081/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-082/cmd.json | 99 + .../7_3_1/ws/tcact2write/ng-082/ip.err | 2 + .../7_3_1/ws/tcact2write/ng-082/ip.out | 0 .../7_3_1/ws/tcact2write/ng-082/ip.pcap | Bin 0 -> 344 bytes .../7_3_1/ws/tcact2write/ng-082/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-083/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-083/ip.err | 4 + .../7_3_1/ws/tcact2write/ng-083/ip.out | 0 .../7_3_1/ws/tcact2write/ng-083/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-083/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-084/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-084/ip.err | 4 + .../7_3_1/ws/tcact2write/ng-084/ip.out | 0 .../7_3_1/ws/tcact2write/ng-084/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-084/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-085/cmd.json | 99 + .../7_3_1/ws/tcact2write/ng-085/ip.err | 2 + .../7_3_1/ws/tcact2write/ng-085/ip.out | 0 .../7_3_1/ws/tcact2write/ng-085/ip.pcap | Bin 0 -> 344 bytes .../7_3_1/ws/tcact2write/ng-085/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-086/cmd.json | 99 + .../7_3_1/ws/tcact2write/ng-086/ip.err | 2 + .../7_3_1/ws/tcact2write/ng-086/ip.out | 0 .../7_3_1/ws/tcact2write/ng-086/ip.pcap | Bin 0 -> 408 bytes .../7_3_1/ws/tcact2write/ng-086/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-087/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-087/ip.err | 4 + .../7_3_1/ws/tcact2write/ng-087/ip.out | 0 .../7_3_1/ws/tcact2write/ng-087/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-087/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-088/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-088/ip.err | 1 + .../7_3_1/ws/tcact2write/ng-088/ip.out | 0 .../7_3_1/ws/tcact2write/ng-088/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-088/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-089/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-089/ip.err | 1 + .../7_3_1/ws/tcact2write/ng-089/ip.out | 0 .../7_3_1/ws/tcact2write/ng-089/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-089/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-090/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-090/ip.err | 2 + .../7_3_1/ws/tcact2write/ng-090/ip.out | 0 .../7_3_1/ws/tcact2write/ng-090/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-090/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-091/cmd.json | 99 + .../7_3_1/ws/tcact2write/ng-091/ip.err | 2 + .../7_3_1/ws/tcact2write/ng-091/ip.out | 0 .../7_3_1/ws/tcact2write/ng-091/ip.pcap | Bin 0 -> 376 bytes .../7_3_1/ws/tcact2write/ng-091/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-092/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-092/ip.err | 4 + .../7_3_1/ws/tcact2write/ng-092/ip.out | 0 .../7_3_1/ws/tcact2write/ng-092/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-092/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-093/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-093/ip.err | 7 + .../7_3_1/ws/tcact2write/ng-093/ip.out | 0 .../7_3_1/ws/tcact2write/ng-093/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-093/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-094/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-094/ip.err | 4 + .../7_3_1/ws/tcact2write/ng-094/ip.out | 0 .../7_3_1/ws/tcact2write/ng-094/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-094/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-095/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-095/ip.err | 4 + .../7_3_1/ws/tcact2write/ng-095/ip.out | 0 .../7_3_1/ws/tcact2write/ng-095/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-095/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-096/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-096/ip.err | 4 + .../7_3_1/ws/tcact2write/ng-096/ip.out | 0 .../7_3_1/ws/tcact2write/ng-096/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-096/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-097/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-097/ip.err | 4 + .../7_3_1/ws/tcact2write/ng-097/ip.out | 0 .../7_3_1/ws/tcact2write/ng-097/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-097/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-098/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-098/ip.err | 4 + .../7_3_1/ws/tcact2write/ng-098/ip.out | 0 .../7_3_1/ws/tcact2write/ng-098/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-098/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-099/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-099/ip.err | 4 + .../7_3_1/ws/tcact2write/ng-099/ip.out | 0 .../7_3_1/ws/tcact2write/ng-099/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-099/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-100/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-100/ip.err | 4 + .../7_3_1/ws/tcact2write/ng-100/ip.out | 0 .../7_3_1/ws/tcact2write/ng-100/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-100/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-101/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-101/ip.err | 7 + .../7_3_1/ws/tcact2write/ng-101/ip.out | 0 .../7_3_1/ws/tcact2write/ng-101/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-101/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-102/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-102/ip.err | 1 + .../7_3_1/ws/tcact2write/ng-102/ip.out | 0 .../7_3_1/ws/tcact2write/ng-102/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-102/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-103/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-103/ip.err | 4 + .../7_3_1/ws/tcact2write/ng-103/ip.out | 0 .../7_3_1/ws/tcact2write/ng-103/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-103/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-104/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-104/ip.err | 1 + .../7_3_1/ws/tcact2write/ng-104/ip.out | 0 .../7_3_1/ws/tcact2write/ng-104/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-104/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-105/cmd.json | 99 + .../7_3_1/ws/tcact2write/ng-105/ip.err | 2 + .../7_3_1/ws/tcact2write/ng-105/ip.out | 0 .../7_3_1/ws/tcact2write/ng-105/ip.pcap | Bin 0 -> 356 bytes .../7_3_1/ws/tcact2write/ng-105/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-106/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-106/ip.err | 1 + .../7_3_1/ws/tcact2write/ng-106/ip.out | 0 .../7_3_1/ws/tcact2write/ng-106/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-106/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-107/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-107/ip.err | 5 + .../7_3_1/ws/tcact2write/ng-107/ip.out | 0 .../7_3_1/ws/tcact2write/ng-107/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-107/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-108/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-108/ip.err | 5 + .../7_3_1/ws/tcact2write/ng-108/ip.out | 0 .../7_3_1/ws/tcact2write/ng-108/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-108/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-109/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-109/ip.err | 5 + .../7_3_1/ws/tcact2write/ng-109/ip.out | 0 .../7_3_1/ws/tcact2write/ng-109/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-109/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-110/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-110/ip.err | 5 + .../7_3_1/ws/tcact2write/ng-110/ip.out | 0 .../7_3_1/ws/tcact2write/ng-110/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-110/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-111/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-111/ip.err | 20 + .../7_3_1/ws/tcact2write/ng-111/ip.out | 0 .../7_3_1/ws/tcact2write/ng-111/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-111/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-112/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-112/ip.err | 1 + .../7_3_1/ws/tcact2write/ng-112/ip.out | 0 .../7_3_1/ws/tcact2write/ng-112/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-112/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-113/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-113/ip.err | 20 + .../7_3_1/ws/tcact2write/ng-113/ip.out | 0 .../7_3_1/ws/tcact2write/ng-113/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-113/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-114/cmd.json | 99 + .../7_3_1/ws/tcact2write/ng-114/ip.err | 2 + .../7_3_1/ws/tcact2write/ng-114/ip.out | 0 .../7_3_1/ws/tcact2write/ng-114/ip.pcap | Bin 0 -> 440 bytes .../7_3_1/ws/tcact2write/ng-114/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-115/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-115/ip.err | 11 + .../7_3_1/ws/tcact2write/ng-115/ip.out | 0 .../7_3_1/ws/tcact2write/ng-115/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-115/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-116/cmd.json | 99 + .../7_3_1/ws/tcact2write/ng-116/ip.err | 2 + .../7_3_1/ws/tcact2write/ng-116/ip.out | 0 .../7_3_1/ws/tcact2write/ng-116/ip.pcap | Bin 0 -> 280 bytes .../7_3_1/ws/tcact2write/ng-116/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-117/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-117/ip.err | 4 + .../7_3_1/ws/tcact2write/ng-117/ip.out | 0 .../7_3_1/ws/tcact2write/ng-117/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-117/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-118/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-118/ip.err | 1 + .../7_3_1/ws/tcact2write/ng-118/ip.out | 0 .../7_3_1/ws/tcact2write/ng-118/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-118/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-119/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-119/ip.err | 4 + .../7_3_1/ws/tcact2write/ng-119/ip.out | 0 .../7_3_1/ws/tcact2write/ng-119/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-119/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-120/bpf.txt | 2040 ++++++++ .../7_3_1/ws/tcact2write/ng-120/cmd.json | 104 + .../7_3_1/ws/tcact2write/ng-120/ip.err | 3 + .../7_3_1/ws/tcact2write/ng-120/ip.out | 0 .../7_3_1/ws/tcact2write/ng-120/ip.pcap | Bin 0 -> 32836 bytes .../7_3_1/ws/tcact2write/ng-120/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-121/bpf.txt | 2042 ++++++++ .../7_3_1/ws/tcact2write/ng-121/cmd.json | 104 + .../7_3_1/ws/tcact2write/ng-121/ip.err | 3 + .../7_3_1/ws/tcact2write/ng-121/ip.out | 0 .../7_3_1/ws/tcact2write/ng-121/ip.pcap | Bin 0 -> 32868 bytes .../7_3_1/ws/tcact2write/ng-121/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-122/bpf.txt | 2043 ++++++++ .../7_3_1/ws/tcact2write/ng-122/cmd.json | 104 + .../7_3_1/ws/tcact2write/ng-122/ip.err | 3 + .../7_3_1/ws/tcact2write/ng-122/ip.out | 0 .../7_3_1/ws/tcact2write/ng-122/ip.pcap | Bin 0 -> 252 bytes .../7_3_1/ws/tcact2write/ng-122/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-123/bpf.txt | 4098 +++++++++++++++++ .../7_3_1/ws/tcact2write/ng-123/cmd.json | 103 + .../7_3_1/ws/tcact2write/ng-123/ip.err | 3 + .../7_3_1/ws/tcact2write/ng-123/ip.out | 0 .../7_3_1/ws/tcact2write/ng-123/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-123/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-124/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-124/ip.err | 3 + .../7_3_1/ws/tcact2write/ng-124/ip.out | 0 .../7_3_1/ws/tcact2write/ng-124/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-124/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-125/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-125/ip.err | 3 + .../7_3_1/ws/tcact2write/ng-125/ip.out | 0 .../7_3_1/ws/tcact2write/ng-125/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-125/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-126/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-126/ip.err | 4 + .../7_3_1/ws/tcact2write/ng-126/ip.out | 0 .../7_3_1/ws/tcact2write/ng-126/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-126/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-127/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-127/ip.err | 4 + .../7_3_1/ws/tcact2write/ng-127/ip.out | 0 .../7_3_1/ws/tcact2write/ng-127/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-127/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-128/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-128/ip.err | 4 + .../7_3_1/ws/tcact2write/ng-128/ip.out | 0 .../7_3_1/ws/tcact2write/ng-128/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-128/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-129/bpf.txt | 3 + .../7_3_1/ws/tcact2write/ng-129/cmd.json | 103 + .../7_3_1/ws/tcact2write/ng-129/ip.err | 3 + .../7_3_1/ws/tcact2write/ng-129/ip.out | 0 .../7_3_1/ws/tcact2write/ng-129/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-129/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-130/bpf.txt | 2 + .../7_3_1/ws/tcact2write/ng-130/cmd.json | 103 + .../7_3_1/ws/tcact2write/ng-130/ip.err | 3 + .../7_3_1/ws/tcact2write/ng-130/ip.out | 0 .../7_3_1/ws/tcact2write/ng-130/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-130/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-131/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-131/ip.err | 3 + .../7_3_1/ws/tcact2write/ng-131/ip.out | 0 .../7_3_1/ws/tcact2write/ng-131/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-131/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-132/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-132/ip.err | 4 + .../7_3_1/ws/tcact2write/ng-132/ip.out | 0 .../7_3_1/ws/tcact2write/ng-132/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-132/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-133/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-133/ip.err | 10 + .../7_3_1/ws/tcact2write/ng-133/ip.out | 0 .../7_3_1/ws/tcact2write/ng-133/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-133/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-134/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-134/ip.err | 4 + .../7_3_1/ws/tcact2write/ng-134/ip.out | 0 .../7_3_1/ws/tcact2write/ng-134/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-134/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-135/cmd.json | 99 + .../7_3_1/ws/tcact2write/ng-135/ip.err | 2 + .../7_3_1/ws/tcact2write/ng-135/ip.out | 0 .../7_3_1/ws/tcact2write/ng-135/ip.pcap | Bin 0 -> 236 bytes .../7_3_1/ws/tcact2write/ng-135/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-136/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-136/ip.err | 1 + .../7_3_1/ws/tcact2write/ng-136/ip.out | 0 .../7_3_1/ws/tcact2write/ng-136/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-136/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-137/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-137/ip.err | 28 + .../7_3_1/ws/tcact2write/ng-137/ip.out | 0 .../7_3_1/ws/tcact2write/ng-137/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-137/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-138/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-138/ip.err | 4 + .../7_3_1/ws/tcact2write/ng-138/ip.out | 0 .../7_3_1/ws/tcact2write/ng-138/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-138/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-139/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-139/ip.err | 5 + .../7_3_1/ws/tcact2write/ng-139/ip.out | 0 .../7_3_1/ws/tcact2write/ng-139/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-139/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-140/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-140/ip.err | 4 + .../7_3_1/ws/tcact2write/ng-140/ip.out | 0 .../7_3_1/ws/tcact2write/ng-140/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-140/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-141/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-141/ip.err | 4 + .../7_3_1/ws/tcact2write/ng-141/ip.out | 0 .../7_3_1/ws/tcact2write/ng-141/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-141/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-142/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-142/ip.err | 5 + .../7_3_1/ws/tcact2write/ng-142/ip.out | 0 .../7_3_1/ws/tcact2write/ng-142/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-142/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-143/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-143/ip.err | 4 + .../7_3_1/ws/tcact2write/ng-143/ip.out | 0 .../7_3_1/ws/tcact2write/ng-143/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-143/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-144/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-144/ip.err | 5 + .../7_3_1/ws/tcact2write/ng-144/ip.out | 0 .../7_3_1/ws/tcact2write/ng-144/ip.pcap | Bin 0 -> 24 bytes .../7_3_1/ws/tcact2write/ng-144/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-145/cmd.json | 99 + .../7_3_1/ws/tcact2write/ng-145/ip.err | 2 + .../7_3_1/ws/tcact2write/ng-145/ip.out | 0 .../7_3_1/ws/tcact2write/ng-145/ip.pcap | Bin 0 -> 396 bytes .../7_3_1/ws/tcact2write/ng-145/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-146/cmd.json | 99 + .../7_3_1/ws/tcact2write/ng-146/ip.err | 2 + .../7_3_1/ws/tcact2write/ng-146/ip.out | 0 .../7_3_1/ws/tcact2write/ng-146/ip.pcap | Bin 0 -> 348 bytes .../7_3_1/ws/tcact2write/ng-146/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-147/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-147/ip.err | 30 + .../7_3_1/ws/tcact2write/ng-147/ip.out | 0 .../7_3_1/ws/tcact2write/ng-147/ip.pcap | Bin 0 -> 176 bytes .../7_3_1/ws/tcact2write/ng-147/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-148/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-148/ip.err | 1 + .../7_3_1/ws/tcact2write/ng-148/ip.out | 0 .../7_3_1/ws/tcact2write/ng-148/ip.pcap | Bin 0 -> 176 bytes .../7_3_1/ws/tcact2write/ng-148/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-149/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-149/ip.err | 2 + .../7_3_1/ws/tcact2write/ng-149/ip.out | 0 .../7_3_1/ws/tcact2write/ng-149/ip.pcap | Bin 0 -> 176 bytes .../7_3_1/ws/tcact2write/ng-149/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-150/cmd.json | 99 + .../7_3_1/ws/tcact2write/ng-150/ip.err | 2 + .../7_3_1/ws/tcact2write/ng-150/ip.out | 0 .../7_3_1/ws/tcact2write/ng-150/ip.pcap | Bin 0 -> 412 bytes .../7_3_1/ws/tcact2write/ng-150/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-151/cmd.json | 99 + .../7_3_1/ws/tcact2write/ng-151/ip.err | 2 + .../7_3_1/ws/tcact2write/ng-151/ip.out | 0 .../7_3_1/ws/tcact2write/ng-151/ip.pcap | Bin 0 -> 412 bytes .../7_3_1/ws/tcact2write/ng-151/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-152/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-152/ip.err | 29 + .../7_3_1/ws/tcact2write/ng-152/ip.out | 0 .../7_3_1/ws/tcact2write/ng-152/ip.pcap | Bin 0 -> 176 bytes .../7_3_1/ws/tcact2write/ng-152/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-153/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-153/ip.err | 3 + .../7_3_1/ws/tcact2write/ng-153/ip.out | 0 .../7_3_1/ws/tcact2write/ng-153/ip.pcap | Bin 0 -> 176 bytes .../7_3_1/ws/tcact2write/ng-153/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-154/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-154/ip.err | 2 + .../7_3_1/ws/tcact2write/ng-154/ip.out | 0 .../7_3_1/ws/tcact2write/ng-154/ip.pcap | Bin 0 -> 176 bytes .../7_3_1/ws/tcact2write/ng-154/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-155/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-155/ip.err | 10 + .../7_3_1/ws/tcact2write/ng-155/ip.out | 0 .../7_3_1/ws/tcact2write/ng-155/ip.pcap | Bin 0 -> 176 bytes .../7_3_1/ws/tcact2write/ng-155/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-156/cmd.json | 98 + .../7_3_1/ws/tcact2write/ng-156/ip.err | 2 + .../7_3_1/ws/tcact2write/ng-156/ip.out | 0 .../7_3_1/ws/tcact2write/ng-156/ip.pcap | Bin 0 -> 176 bytes .../7_3_1/ws/tcact2write/ng-156/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-157/cmd.json | 99 + .../7_3_1/ws/tcact2write/ng-157/ip.err | 3 + .../7_3_1/ws/tcact2write/ng-157/ip.out | 0 .../7_3_1/ws/tcact2write/ng-157/ip.pcap | Bin 0 -> 32920 bytes .../7_3_1/ws/tcact2write/ng-157/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-158/b.txt | 2 + .../7_3_1/ws/tcact2write/ng-158/cmd.json | 104 + .../7_3_1/ws/tcact2write/ng-158/ip.err | 14 + .../7_3_1/ws/tcact2write/ng-158/ip.out | 0 .../7_3_1/ws/tcact2write/ng-158/ip.pcap | Bin 0 -> 344 bytes .../7_3_1/ws/tcact2write/ng-158/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-159/b.txt | 2 + .../7_3_1/ws/tcact2write/ng-159/cmd.json | 104 + .../7_3_1/ws/tcact2write/ng-159/ip.err | 1 + .../7_3_1/ws/tcact2write/ng-159/ip.out | 0 .../7_3_1/ws/tcact2write/ng-159/ip.pcap | Bin 0 -> 344 bytes .../7_3_1/ws/tcact2write/ng-159/ip.rc | 1 + .../7_3_1/ws/tcact2write/ng-160/b.txt | 2 + .../7_3_1/ws/tcact2write/ng-160/cmd.json | 104 + .../7_3_1/ws/tcact2write/ng-160/ip.err | 5 + .../7_3_1/ws/tcact2write/ng-160/ip.out | 0 .../7_3_1/ws/tcact2write/ng-160/ip.pcap | Bin 0 -> 512 bytes .../7_3_1/ws/tcact2write/ng-160/ip.rc | 1 + pkg/xtcpnl/xtcpnl_parse_bench_test.go | 2 +- tools/nlcapgen/main.go | 53 +- tools/nlcapgen/matrix_tcact2write.go | 610 +++ tools/nlcapgen/matrix_tcact2write_test.go | 288 ++ tools/nlcapgen/tdc.go | 2 +- 2634 files changed, 60419 insertions(+), 28 deletions(-) create mode 100644 nix/microvms/workbench/tcact2write.rows.jsonl create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-001/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-001/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-001/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-001/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-001/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-001/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-001/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-002/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-002/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-002/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-002/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-002/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-002/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-002/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-003/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-003/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-003/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-003/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-003/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-003/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-003/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-004/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-004/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-004/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-004/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-004/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-004/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-004/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-005/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-005/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-005/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-005/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-005/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-005/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-005/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-006/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-006/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-006/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-006/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-006/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-006/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-006/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-007/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-007/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-007/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-007/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-007/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-007/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-007/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-008/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-008/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-008/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-008/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-008/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-008/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-008/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-009/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-009/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-009/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-009/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-009/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-009/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-009/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-010/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-010/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-010/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-010/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-010/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-010/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-010/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-011/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-011/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-011/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-011/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-011/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-011/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-011/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-012/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-012/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-012/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-012/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-012/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-012/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-012/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-013/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-013/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-013/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-013/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-013/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-013/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-013/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-014/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-014/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-014/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-014/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-014/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-014/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-014/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-015/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-015/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-015/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-015/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-015/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-015/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-015/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-016/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-016/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-016/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-016/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-016/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-016/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-016/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-017/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-017/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-017/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-017/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-017/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-017/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-017/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-018/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-018/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-018/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-018/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-018/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-018/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-018/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-019/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-019/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-019/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-019/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-019/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-019/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-019/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-020/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-020/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-020/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-020/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-020/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-020/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-020/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-021/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-021/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-021/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-021/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-021/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-021/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-021/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-022/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-022/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-022/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-022/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-022/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-022/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-022/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-023/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-023/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-023/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-023/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-023/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-023/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-023/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-024/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-024/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-024/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-024/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-024/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-024/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-024/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-025/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-025/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-025/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-025/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-025/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-025/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-025/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-026/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-026/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-026/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-026/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-026/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-026/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-026/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-027/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-027/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-027/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-027/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-027/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-027/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-027/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-028/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-028/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-028/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-028/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-028/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-028/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-028/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-029/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-029/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-029/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-029/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-029/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-029/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-029/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-030/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-030/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-030/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-030/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-030/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-030/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-030/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-031/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-031/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-031/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-031/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-031/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-031/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-031/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-032/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-032/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-032/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-032/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-032/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-032/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-032/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-033/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-033/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-033/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-033/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-033/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-033/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-033/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-034/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-034/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-034/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-034/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-034/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-034/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-034/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-035/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-035/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-035/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-035/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-035/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-035/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-035/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-036/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-036/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-036/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-036/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-036/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-036/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-036/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-037/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-037/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-037/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-037/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-037/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-037/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-037/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-038/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-038/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-038/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-038/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-038/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-038/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-038/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-039/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-039/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-039/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-039/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-039/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-039/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-039/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-040/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-040/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-040/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-040/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-040/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-040/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-040/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-041/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-041/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-041/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-041/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-041/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-041/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-041/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-042/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-042/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-042/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-042/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-042/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-042/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-042/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-043/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-043/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-043/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-043/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-043/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-043/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-043/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-044/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-044/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-044/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-044/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-044/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-044/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-044/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-045/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-045/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-045/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-045/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-045/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-045/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-045/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-046/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-046/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-046/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-046/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-046/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-046/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-046/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-047/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-047/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-047/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-047/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-047/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-047/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-047/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-048/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-048/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-048/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-048/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-048/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-048/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-048/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-049/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-049/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-049/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-049/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-049/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-049/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-049/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-050/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-050/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-050/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-050/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-050/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-050/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-050/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-051/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-051/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-051/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-051/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-051/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-051/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-051/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-052/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-052/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-052/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-052/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-052/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-052/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-052/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-053/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-053/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-053/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-053/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-053/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-053/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-053/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-054/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-054/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-054/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-054/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-054/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-054/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-054/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-055/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-055/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-055/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-055/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-055/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-055/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-055/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-056/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-056/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-056/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-056/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-056/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-056/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-056/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-057/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-057/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-057/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-057/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-057/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-057/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-057/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-058/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-058/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-058/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-058/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-058/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-058/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-058/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-059/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-059/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-059/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-059/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-059/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-059/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-059/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-060/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-060/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-060/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-060/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-060/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-060/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-060/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-061/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-061/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-061/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-061/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-061/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-061/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-061/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-062/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-062/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-062/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-062/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-062/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-062/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-062/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-063/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-063/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-063/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-063/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-063/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-063/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-063/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-064/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-064/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-064/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-064/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-064/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-064/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-064/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-065/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-065/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-065/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-065/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-065/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-065/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-065/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-066/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-066/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-066/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-066/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-066/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-066/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-066/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-067/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-067/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-067/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-067/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-067/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-067/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-067/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-068/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-068/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-068/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-068/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-068/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-068/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-068/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-069/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-069/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-069/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-069/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-069/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-069/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-069/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-070/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-070/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-070/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-070/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-070/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-070/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-070/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-071/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-071/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-071/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-071/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-071/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-071/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-071/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-072/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-072/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-072/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-072/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-072/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-072/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-072/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-073/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-073/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-073/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-073/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-073/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-073/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-073/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-074/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-074/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-074/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-074/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-074/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-074/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-074/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-075/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-075/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-075/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-075/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-075/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-075/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-075/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-076/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-076/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-076/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-076/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-076/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-076/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-076/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-077/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-077/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-077/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-077/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-077/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-077/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-077/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-078/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-078/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-078/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-078/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-078/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-078/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-078/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-079/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-079/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-079/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-079/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-079/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-079/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-079/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-080/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-080/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-080/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-080/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-080/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-080/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-080/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-081/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-081/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-081/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-081/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-081/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-081/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-081/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-082/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-082/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-082/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-082/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-082/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-082/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-082/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-083/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-083/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-083/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-083/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-083/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-083/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-083/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-084/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-084/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-084/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-084/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-084/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-084/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-084/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-085/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-085/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-085/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-085/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-085/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-085/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-085/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-086/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-086/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-086/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-086/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-086/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-086/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-086/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-087/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-087/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-087/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-087/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-087/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-087/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-087/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-088/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-088/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-088/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-088/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-088/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-088/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-088/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-089/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-089/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-089/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-089/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-089/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-089/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-089/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-090/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-090/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-090/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-090/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-090/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-090/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-090/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-091/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-091/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-091/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-091/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-091/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-091/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-091/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-092/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-092/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-092/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-092/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-092/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-092/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-092/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-093/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-093/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-093/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-093/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-093/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-093/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-093/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-094/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-094/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-094/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-094/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-094/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-094/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-094/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-095/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-095/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-095/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-095/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-095/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-095/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-095/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-096/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-096/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-096/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-096/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-096/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-096/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-096/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-097/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-097/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-097/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-097/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-097/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-097/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-097/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-098/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-098/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-098/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-098/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-098/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-098/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-098/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-099/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-099/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-099/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-099/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-099/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-099/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-099/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-100/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-100/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-100/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-100/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-100/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-100/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-100/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-101/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-101/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-101/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-101/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-101/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-101/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-101/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-102/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-102/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-102/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-102/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-102/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-102/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-102/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-103/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-103/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-103/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-103/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-103/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-103/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-103/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-104/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-104/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-104/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-104/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-104/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-104/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-104/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-105/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-105/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-105/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-105/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-105/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-105/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-105/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-106/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-106/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-106/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-106/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-106/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-106/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-106/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-107/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-107/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-107/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-107/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-107/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-107/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-107/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-108/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-108/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-108/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-108/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-108/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-108/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-108/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-109/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-109/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-109/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-109/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-109/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-109/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-109/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-110/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-110/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-110/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-110/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-110/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-110/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-110/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-111/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-111/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-111/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-111/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-111/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-111/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-111/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-112/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-112/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-112/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-112/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-112/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-112/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-112/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-113/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-113/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-113/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-113/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-113/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-113/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-113/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-114/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-114/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-114/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-114/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-114/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-114/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-114/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-115/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-115/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-115/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-115/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-115/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-115/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-115/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-116/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-116/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-116/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-116/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-116/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-116/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-116/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-117/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-117/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-117/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-117/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-117/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-117/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-117/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-118/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-118/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-118/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-118/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-118/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-118/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-118/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-119/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-119/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-119/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-119/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-119/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-119/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-119/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-120/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-120/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-120/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-120/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-120/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-120/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-120/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-121/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-121/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-121/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-121/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-121/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-121/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-121/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-122/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-122/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-122/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-122/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-122/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-122/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-122/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-123/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-123/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-123/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-123/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-123/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-123/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-123/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-124/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-124/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-124/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-124/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-124/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-124/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-124/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-125/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-125/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-125/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-125/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-125/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-125/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-125/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-126/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-126/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-126/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-126/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-126/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-126/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-126/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-127/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-127/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-127/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-127/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-127/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-127/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-127/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-128/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-128/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-128/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-128/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-128/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-128/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-128/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-129/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-129/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-129/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-129/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-129/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-129/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-129/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-130/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-130/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-130/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-130/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-130/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-130/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-130/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-131/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-131/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-131/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-131/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-131/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-131/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-131/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-132/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-132/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-132/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-132/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-132/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-132/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-132/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-133/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-133/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-133/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-133/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-133/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-133/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-133/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-134/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-134/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-134/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-134/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-134/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-134/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-134/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-135/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-135/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-135/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-135/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-135/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-135/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-135/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-136/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-136/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-136/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-136/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-136/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-136/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-136/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-137/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-137/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-137/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-137/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-137/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-137/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-137/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-138/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-138/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-138/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-138/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-138/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-138/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-138/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-139/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-139/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-139/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-139/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-139/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-139/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-139/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-140/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-140/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-140/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-140/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-140/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-140/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-140/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-141/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-141/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-141/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-141/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-141/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-141/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-141/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-142/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-142/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-142/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-142/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-142/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-142/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-142/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-143/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-143/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-143/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-143/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-143/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-143/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-143/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-144/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-144/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-144/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-144/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-144/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-144/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-144/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-145/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-145/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-145/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-145/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-145/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-145/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-145/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-146/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-146/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-146/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-146/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-146/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-146/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-146/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-147/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-147/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-147/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-147/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-147/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-147/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-147/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-148/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-148/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-148/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-148/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-148/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-148/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-148/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-149/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-149/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-149/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-149/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-149/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-149/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-149/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-150/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-150/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-150/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-150/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-150/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-150/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-150/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-151/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-151/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-151/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-151/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-151/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-151/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-151/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-152/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-152/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-152/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-152/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-152/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-152/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-152/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-153/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-153/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-153/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-153/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-153/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-153/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-153/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-154/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-154/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-154/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-154/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-154/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-154/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-154/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-155/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-155/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-155/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-155/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-155/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-155/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-155/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-156/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-156/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-156/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-156/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-156/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-156/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-156/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-157/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-157/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-157/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-157/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-157/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-157/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-157/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-158/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-158/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-158/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-158/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-158/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-158/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-158/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-159/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-159/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-159/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-159/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-159/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-159/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-159/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-160/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-160/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-160/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-160/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-160/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-160/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-160/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-161/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-161/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-161/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-161/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-161/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-161/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-161/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-162/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-162/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-162/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-162/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-162/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-162/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-162/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-163/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-163/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-163/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-163/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-163/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-163/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-163/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-164/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-164/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-164/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-164/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-164/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-164/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-164/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-165/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-165/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-165/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-165/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-165/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-165/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-165/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-166/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-166/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-166/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-166/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-166/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-166/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-166/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-167/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-167/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-167/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-167/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-167/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-167/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-167/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-168/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-168/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-168/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-168/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-168/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-168/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-168/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-169/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-169/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-169/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-169/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-169/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-169/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-169/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-170/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-170/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-170/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-170/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-170/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-170/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-170/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-171/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-171/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-171/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-171/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-171/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-171/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-171/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-172/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-172/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-172/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-172/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-172/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-172/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-172/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-173/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-173/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-173/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-173/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-173/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-173/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-173/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-174/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-174/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-174/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-174/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-174/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-174/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-174/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-175/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-175/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-175/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-175/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-175/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-175/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-175/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-176/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-176/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-176/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-176/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-176/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-176/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-176/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-177/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-177/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-177/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-177/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-177/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-177/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-177/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-178/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-178/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-178/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-178/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-178/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-178/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-178/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-179/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-179/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-179/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-179/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-179/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-179/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-179/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-180/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-180/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-180/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-180/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-180/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-180/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-180/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-181/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-181/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-181/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-181/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-181/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-181/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-181/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-182/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-182/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-182/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-182/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-182/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-182/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-182/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-183/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-183/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-183/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-183/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-183/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-183/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-183/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-184/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-184/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-184/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-184/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-184/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-184/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-184/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-185/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-185/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-185/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-185/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-185/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-185/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-185/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-186/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-186/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-186/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-186/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-186/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-186/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-186/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-187/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-187/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-187/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-187/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-187/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-187/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-187/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-188/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-188/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-188/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-188/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-188/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-188/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-188/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-189/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-189/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-189/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-189/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-189/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-189/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-189/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-190/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-190/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-190/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-190/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-190/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-190/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-190/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-191/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-191/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-191/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-191/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-191/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-191/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-191/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-192/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-192/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-192/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-192/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-192/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-192/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-192/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-193/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-193/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-193/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-193/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-193/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-193/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-193/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-194/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-194/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-194/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-194/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-194/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-194/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-194/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-195/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-195/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-195/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-195/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-195/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-195/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-195/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-196/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-196/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-196/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-196/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-196/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-196/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-196/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-197/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-197/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-197/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-197/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-197/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-197/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-197/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-198/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-198/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-198/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-198/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-198/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-198/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-198/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-199/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-199/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-199/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-199/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-199/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-199/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-199/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-200/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-200/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-200/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-200/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-200/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-200/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-200/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-201/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-201/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-201/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-201/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-201/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-201/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-201/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-202/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-202/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-202/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-202/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-202/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-202/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-202/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-203/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-203/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-203/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-203/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-203/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-203/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-203/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-204/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-204/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-204/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-204/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-204/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-204/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-204/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-205/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-205/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-205/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-205/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-205/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-205/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-205/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-206/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-206/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-206/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-206/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-206/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-206/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-206/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-207/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-207/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-207/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-207/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-207/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-207/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-207/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-208/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-208/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-208/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-208/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-208/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-208/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-208/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-209/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-209/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-209/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-209/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-209/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-209/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-209/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-210/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-210/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-210/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-210/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-210/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-210/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-210/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-211/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-211/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-211/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-211/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-211/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-211/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-211/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-212/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-212/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-212/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-212/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-212/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-212/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-212/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-213/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-213/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-213/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-213/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-213/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-213/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-213/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-214/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-214/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-214/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-214/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-214/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-214/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-214/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-215/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-215/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-215/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-215/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-215/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-215/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-215/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-216/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-216/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-216/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-216/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-216/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-216/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-216/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-217/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-217/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-217/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-217/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-217/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-217/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-217/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-218/bpf.txt create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-218/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-218/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-218/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-218/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-218/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-218/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-218/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-219/bpf.txt create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-219/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-219/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-219/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-219/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-219/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-219/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-219/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-220/bpf.txt create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-220/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-220/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-220/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-220/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-220/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-220/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-220/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-221/- create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-221/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-221/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-221/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-221/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-221/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-221/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-221/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-222/bpf.txt create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-222/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-222/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-222/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-222/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-222/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-222/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-222/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-223/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-223/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-223/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-223/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-223/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-223/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-223/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-224/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-224/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-224/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-224/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-224/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-224/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-224/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-225/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-225/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-225/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-225/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-225/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-225/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-225/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-226/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-226/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-226/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-226/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-226/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-226/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-226/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-227/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-227/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-227/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-227/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-227/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-227/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-227/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-228/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-228/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-228/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-228/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-228/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-228/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-228/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-229/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-229/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-229/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-229/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-229/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-229/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-229/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-230/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-230/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-230/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-230/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-230/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-230/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-230/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-231/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-231/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-231/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-231/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-231/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-231/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-231/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-232/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-232/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-232/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-232/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-232/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-232/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-232/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-233/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-233/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-233/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-233/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-233/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-233/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-233/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-234/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-234/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-234/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-234/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-234/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-234/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-234/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-235/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-235/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-235/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-235/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-235/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-235/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-235/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-236/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-236/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-236/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-236/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-236/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-236/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-236/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-237/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-237/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-237/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-237/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-237/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-237/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-237/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-238/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-238/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-238/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-238/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-238/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-238/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-238/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-239/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-239/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-239/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-239/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-239/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-239/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-239/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-240/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-240/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-240/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-240/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-240/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-240/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-240/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-241/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-241/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-241/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-241/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-241/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-241/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-241/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-242/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-242/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-242/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-242/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-242/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-242/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-242/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-243/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-243/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-243/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-243/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-243/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-243/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-243/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-244/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-244/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-244/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-244/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-244/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-244/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-244/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-245/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-245/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-245/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-245/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-245/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-245/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-245/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-246/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-246/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-246/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-246/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-246/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-246/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-246/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-247/bpf.txt create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-247/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-247/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-247/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-247/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-247/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-247/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-247/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-248/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-248/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-248/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-248/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-248/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-248/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-248/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-249/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-249/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-249/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-249/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-249/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-249/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-249/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-250/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-250/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-250/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-250/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-250/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-250/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-250/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-251/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-251/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-251/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-251/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-251/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-251/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-251/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-252/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-252/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-252/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-252/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-252/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-252/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-252/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-253/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-253/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-253/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-253/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-253/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-253/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-253/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-254/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-254/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-254/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-254/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-254/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-254/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-254/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-255/b.txt create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-255/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-255/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-255/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-255/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-255/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-255/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-255/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-256/b.txt create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-256/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-256/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-256/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-256/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-256/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-256/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-256/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-257/b.txt create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-257/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-257/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-257/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-257/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-257/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-257/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-257/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-258/b.txt create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-258/bpf.txt create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-258/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-258/dump.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-258/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-258/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-258/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-258/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-258/netlink_route_dump.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-001/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-001/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-001/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-001/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-001/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-002/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-002/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-002/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-002/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-002/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-003/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-003/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-003/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-003/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-003/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-004/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-004/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-004/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-004/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-004/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-005/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-005/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-005/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-005/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-005/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-006/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-006/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-006/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-006/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-006/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-007/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-007/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-007/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-007/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-007/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-008/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-008/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-008/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-008/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-008/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-009/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-009/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-009/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-009/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-009/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-010/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-010/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-010/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-010/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-010/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-011/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-011/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-011/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-011/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-011/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-012/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-012/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-012/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-012/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-012/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-013/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-013/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-013/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-013/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-013/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-014/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-014/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-014/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-014/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-014/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-015/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-015/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-015/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-015/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-015/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-016/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-016/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-016/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-016/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-016/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-017/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-017/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-017/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-017/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-017/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-018/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-018/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-018/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-018/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-018/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-019/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-019/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-019/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-019/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-019/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-020/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-020/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-020/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-020/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-020/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-021/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-021/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-021/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-021/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-021/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-022/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-022/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-022/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-022/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-022/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-023/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-023/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-023/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-023/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-023/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-024/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-024/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-024/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-024/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-024/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-025/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-025/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-025/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-025/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-025/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-026/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-026/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-026/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-026/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-026/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-027/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-027/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-027/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-027/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-027/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-028/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-028/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-028/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-028/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-028/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-029/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-029/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-029/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-029/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-029/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-030/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-030/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-030/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-030/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-030/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-031/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-031/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-031/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-031/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-031/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-032/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-032/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-032/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-032/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-032/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-033/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-033/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-033/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-033/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-033/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-034/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-034/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-034/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-034/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-034/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-035/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-035/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-035/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-035/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-035/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-036/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-036/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-036/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-036/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-036/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-037/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-037/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-037/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-037/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-037/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-038/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-038/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-038/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-038/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-038/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-039/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-039/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-039/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-039/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-039/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-040/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-040/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-040/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-040/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-040/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-041/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-041/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-041/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-041/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-041/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-042/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-042/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-042/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-042/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-042/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-043/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-043/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-043/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-043/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-043/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-044/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-044/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-044/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-044/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-044/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-045/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-045/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-045/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-045/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-045/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-046/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-046/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-046/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-046/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-046/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-047/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-047/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-047/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-047/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-047/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-048/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-048/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-048/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-048/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-048/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-049/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-049/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-049/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-049/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-049/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-050/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-050/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-050/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-050/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-050/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-051/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-051/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-051/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-051/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-051/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-052/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-052/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-052/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-052/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-052/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-053/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-053/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-053/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-053/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-053/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-054/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-054/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-054/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-054/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-054/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-055/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-055/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-055/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-055/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-055/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-056/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-056/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-056/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-056/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-056/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-057/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-057/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-057/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-057/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-057/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-058/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-058/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-058/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-058/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-058/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-059/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-059/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-059/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-059/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-059/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-060/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-060/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-060/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-060/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-060/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-061/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-061/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-061/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-061/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-061/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-062/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-062/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-062/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-062/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-062/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-063/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-063/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-063/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-063/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-063/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-064/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-064/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-064/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-064/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-064/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-065/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-065/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-065/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-065/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-065/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-066/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-066/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-066/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-066/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-066/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-067/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-067/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-067/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-067/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-067/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-068/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-068/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-068/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-068/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-068/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-069/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-069/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-069/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-069/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-069/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-070/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-070/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-070/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-070/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-070/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-071/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-071/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-071/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-071/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-071/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-072/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-072/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-072/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-072/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-072/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-073/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-073/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-073/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-073/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-073/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-074/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-074/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-074/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-074/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-074/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-075/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-075/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-075/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-075/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-075/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-076/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-076/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-076/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-076/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-076/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-077/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-077/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-077/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-077/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-077/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-078/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-078/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-078/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-078/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-078/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-079/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-079/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-079/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-079/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-079/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-080/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-080/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-080/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-080/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-080/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-081/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-081/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-081/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-081/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-081/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-082/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-082/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-082/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-082/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-082/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-083/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-083/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-083/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-083/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-083/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-084/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-084/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-084/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-084/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-084/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-085/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-085/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-085/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-085/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-085/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-086/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-086/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-086/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-086/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-086/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-087/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-087/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-087/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-087/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-087/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-088/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-088/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-088/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-088/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-088/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-089/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-089/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-089/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-089/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-089/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-090/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-090/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-090/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-090/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-090/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-091/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-091/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-091/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-091/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-091/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-092/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-092/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-092/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-092/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-092/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-093/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-093/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-093/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-093/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-093/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-094/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-094/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-094/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-094/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-094/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-095/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-095/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-095/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-095/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-095/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-096/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-096/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-096/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-096/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-096/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-097/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-097/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-097/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-097/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-097/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-098/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-098/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-098/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-098/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-098/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-099/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-099/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-099/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-099/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-099/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-100/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-100/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-100/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-100/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-100/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-101/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-101/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-101/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-101/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-101/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-102/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-102/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-102/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-102/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-102/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-103/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-103/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-103/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-103/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-103/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-104/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-104/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-104/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-104/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-104/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-105/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-105/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-105/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-105/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-105/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-106/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-106/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-106/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-106/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-106/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-107/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-107/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-107/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-107/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-107/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-108/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-108/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-108/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-108/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-108/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-109/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-109/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-109/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-109/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-109/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-110/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-110/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-110/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-110/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-110/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-111/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-111/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-111/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-111/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-111/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-112/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-112/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-112/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-112/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-112/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-113/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-113/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-113/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-113/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-113/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-114/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-114/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-114/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-114/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-114/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-115/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-115/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-115/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-115/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-115/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-116/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-116/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-116/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-116/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-116/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-117/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-117/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-117/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-117/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-117/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-118/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-118/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-118/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-118/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-118/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-119/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-119/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-119/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-119/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-119/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-120/bpf.txt create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-120/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-120/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-120/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-120/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-120/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-121/bpf.txt create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-121/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-121/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-121/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-121/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-121/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-122/bpf.txt create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-122/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-122/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-122/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-122/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-122/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-123/bpf.txt create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-123/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-123/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-123/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-123/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-123/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-124/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-124/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-124/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-124/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-124/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-125/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-125/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-125/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-125/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-125/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-126/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-126/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-126/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-126/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-126/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-127/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-127/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-127/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-127/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-127/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-128/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-128/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-128/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-128/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-128/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-129/bpf.txt create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-129/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-129/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-129/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-129/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-129/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-130/bpf.txt create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-130/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-130/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-130/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-130/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-130/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-131/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-131/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-131/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-131/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-131/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-132/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-132/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-132/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-132/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-132/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-133/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-133/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-133/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-133/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-133/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-134/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-134/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-134/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-134/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-134/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-135/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-135/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-135/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-135/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-135/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-136/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-136/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-136/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-136/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-136/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-137/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-137/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-137/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-137/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-137/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-138/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-138/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-138/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-138/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-138/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-139/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-139/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-139/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-139/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-139/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-140/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-140/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-140/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-140/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-140/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-141/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-141/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-141/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-141/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-141/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-142/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-142/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-142/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-142/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-142/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-143/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-143/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-143/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-143/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-143/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-144/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-144/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-144/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-144/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-144/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-145/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-145/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-145/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-145/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-145/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-146/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-146/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-146/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-146/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-146/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-147/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-147/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-147/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-147/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-147/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-148/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-148/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-148/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-148/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-148/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-149/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-149/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-149/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-149/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-149/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-150/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-150/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-150/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-150/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-150/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-151/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-151/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-151/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-151/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-151/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-152/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-152/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-152/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-152/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-152/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-153/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-153/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-153/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-153/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-153/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-154/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-154/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-154/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-154/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-154/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-155/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-155/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-155/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-155/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-155/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-156/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-156/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-156/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-156/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-156/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-157/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-157/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-157/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-157/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-157/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-158/b.txt create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-158/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-158/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-158/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-158/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-158/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-159/b.txt create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-159/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-159/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-159/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-159/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-159/ip.rc create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-160/b.txt create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-160/cmd.json create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-160/ip.err create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-160/ip.out create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-160/ip.pcap create mode 100644 pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-160/ip.rc create mode 100644 tools/nlcapgen/matrix_tcact2write.go create mode 100644 tools/nlcapgen/matrix_tcact2write_test.go diff --git a/docs/netlink/gotc-status.md b/docs/netlink/gotc-status.md index 6d957bfa4..38e73f44b 100644 --- a/docs/netlink/gotc-status.md +++ b/docs/netlink/gotc-status.md @@ -330,6 +330,15 @@ increment 23, refused by name; branch `gotc/actwrite`; leads W156+, K63+). Dry-r (skbmod's dmac and smac, vlan's dst_mac and src_mac). The NULs tc's parsers leave in argv now persist in the batch line buffer, so a later line's sdata copies them as tc does (V064). +**Increment 23: the last six action kinds and the bpf filter** (the parse side of pedit, tunnel_key, ife, ct, gate +and the bpf action, standalone and in filters, and the bpf filter's cBPF writes; eBPF is refused by name; branch +`gotc/act2write`; leads W216+, K77+). Dry-run, as in 17. + +- **23C (captures): done.** `tcact2write`: 418 rows (258 writes, 160 refusals), each write with a `tc actions ls` or + `filter show` readback. Two batches on one boot agree on every row and on all 336 requests. Every lead W216–W320 + has a row, apart from W294, whose outcome is uninitialised stack memory that changed from run to run. Five leads + are corrected and K77–K89 written up (V065). + ## Ledger | id | task | what was verified | @@ -409,6 +418,7 @@ increment 23, refused by name; branch `gotc/actwrite`; leads W156+, K63+). Dry-r | DOC015 | 22B | **Write-up:** `docs/netlink/upstream/iproute2-tc-action-write.md` (not submitted to netdev), finished: status block, contents, 60 summary rows (W156–W215) with a new gotc column, one section per kind and m_action.c, K63–K76 and four bug-class candidates for the user's review (bug-classes.md is unchanged). **At HEAD** (GitHub mirror `7f88aa3c8bab`, 2026-11-30, `gh api "repos/iproute2/iproute2/commits?path=&since=2026-08-18"`, each hit checked with `gh api …/compare/v7.2.0...`): no commit after v7.2.0 touches m_action.c, the twelve m_*.c, tc_util.c, tc_core.c, tc.c, q_tbf.c or utils_math.c. lib/ll_addr.c's `5faf18f672c1` (2026-08-23, "lib: fix warning from ll_addr_a2n") partly fixes W172: eight groups and trailing garbage are refused and the error names the whole argument, while a short MAC is still zero-filled and a dotted quad still taken as bytes (gotc keeps v7.2.0's behaviour, which the corpus pins). lib/utils.c's `fde561a2a135` and `e11870d5b941` change only getcmdline's error paths, so W189's line buffer is unchanged, and `552d9842b1f4` (resolve_address's cache) is out of reach. **Kernel at HEAD:** torvalds/linux `fe6ff8d5d675` (2026-11-29) has no commit after v7.4-rc4 in any net/sched/act_*.c that K63–K76 cite. **Corrected while checking the evidence:** W179 said the kernel deletes all 33 actions, but ec-231's readback still lists gact index 33. tca_action_gd parses with TCA_ACT_MAX_PRIO (act_api.c:2081-2082, 2094), so the 33rd is skipped with no error: K8's get-side note, now on the delete side too. W188 (`rate … avrate` returns -1 with no message) is AC33, found live in increment 12 (V014), so it is dropped as a duplicate with its number kept; AC33 now has ng-004's write-side stderr. **Entries added:** W200 (skbmod's base-0 index against the other eleven kinds' base 10, ec-206) and W202 (mpls usage() against its parser, ng-076) had only summary rows. **Extensions,** each an "Extended in increment 22" line where the lead lives: in iproute2-tc-action.md, AC6 (flush, W182), AC7 (flush's skipped word, W181), AC33 (W188, W169), AC34 (corrected by W178 and K70: the kernel refuses a get or delete without INDEX), AC70 (skbmod's debug lines, W199) and K8 (W179), plus a status pointer to the new doc; in iproute2-tc-filter-write.md, W65 and W75 (mirred's dev, W162), W68 (police's duparg, W166), W74 (skbedit priority, W174), W85 (skbmod MACs, W196), W113 (W179, K71), W114 (W161, W208), W117 (W158, W175, W190) and W121 (W185, W201), plus a status line. **Checklist** (no doc-audit test covers lead numbering, so a grep): every W156–W215 has a summary row and an entry, every K63–K76 a row, every ec-/ng- row the doc cites exists in `ws/tcactwrite/`, and all 15 extension leads have their line. The `goip-docs` link and whitespace gate is clean on the three docs. | | V063 | 22L | **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 a5fab166e (`/nix/store/6bfgnvxx3b6zfwwzllf23z71200mrr6c-gotc-write-22l`), with `GOTC_CONF_USR_DIR` and `TC_LIB_DIR` set to tc's. V058's method: each of the 363 `tcactwrite.rows.jsonl` rows, and tcfwrite's ec-111, ec-112 and ec-113, runs its pre steps in a fresh named namespace from its own directory (the six batch rows write `b.txt` there), then gotc with `GOTC_WRITE_OUT`, then tc, each under a 60 s timeout. Requests (RTM_NEW/DELACTION, RTM_NEW/DELTFILTER, RTM_NEW/DELCHAIN) are compared with tc's from the corpus pcaps, seq and pid zeroed, a tcmsg's ifindex zeroed (gotc saw 2 and 3), and W189's past-argv DEF_DATA bytes zeroed as `w189Canon` does. The comparer was first checked with the corpus on both sides (366/366). **Result: 342/366 identical**, 55 of them rows where the request is identical and only tc hears the kernel (K66's offload warning, K63–K75's refusals, W187's follow-on line) and 10 of them W189 rows identical once masked (ec-037–ec-040, ec-174, ec-175, ec-178, ec-179, ec-232, ec-250). **Named exceptions:** (1) increment 23's six refusals by name (ec-217–ec-222: pedit, tunnel_key, ife, ct, gate, bpf). (2) 18 rows whose one differing field is mirred's target ifindex, 4 in the corpus and 3 live, every other byte equal: ec-007–ec-010, ec-110–ec-112, ec-114–ec-118, ec-120, ec-121, ec-229, ec-245, ec-256 and tcfwrite ec-113. The capture harness gives each row its own nlmon0, which takes ifindex 2, so d0 and d1 are 3 and 4 there (the corpus tcmsg ifindexes are 3 and 4); without it they are 2 and 3, checked in a fresh namespace on the same boot. This is 20L's ec-032 exception. **tc against the corpus:** stdout, stderr and rc match `ws/tcactwrite` and `ws/tcfwrite` on all 366 rows, so every kernel answer the write-up cites (K63–K76, W164's ENOMEM, W171's ERANGE, W178's `Invalid TC action index value`, W183's EINVAL, W179's surviving index 33) recurred on a second boot. **Leads:** none new, none changed; the write-up's status block records 22L. tc made no core file. **VM:** pre-checked (`free -g`: 46G available; port 12061 free; no workbench process, the other qemu processes being unrelated libvirt guests), booted from off with `up`. The baseline was 86 modules, no namespace and no core files. The run took 105 s. It loaded 37 modules (the act_*, cls_* and sch_* modules, em_cmp, and the dependencies ife, mpls_gso, nf_flow_table, nf_nat and psample) and removed them with `modprobe -r` (none left), made no core file, left no namespace and removed `/tmp/t22l`. After the ifindex probe the VM was back at 86 modules, no namespace and no core file, and it was powered off with `down`: port 12061 free, no workbench process. | | V064 | 22R | **PR #375 review fixes**, both reproduced against host tc 7.2.0 by the reviewer and again here. (1) **A bare `0x` MAC group:** glibc 2.44's `%x` takes `0x` as a prefix and cannot give the `x` back, so `0x` with no hex digit after it is no conversion (`sscanf("0x:2", "%x")` is 0; `00x:` is 0, its second 0 a digit). `scanfHex` (aw_skbmod.go) had read it as 0, so `skbmod set dmac 0x:2:3:4:5:6` sent a request where tc prints `Invalid dst mac address`, rc 255. vlan's `llAddrA2N` used the strtoul model (`strtoul16`), so `dst_mac 0x:…` was accepted too; it now uses `scanfHex`. Host tc and gotc agree on five probes (bare `0x` first and last, skbmod and vlan). `TestScanfMac` gains 5 rows (its old row "0x with no digit is 0" was the error), `TestLlAddrA2N` gains 4 and checks the colons cut. (2) **Parsers' NULs in the batch buffer (W189):** `argMem.nul` and `nulEach` write a parser's NUL into argv's memory, which in a batch is getline's buffer: ll_addr_a2n's colons (ll_addr.c:65), skbedit's mark slash (m_skbedit.c:86), get_size64_and_cell's slash on a failure (tc_util.c:265; police, tbf, htb, through `sizeCellCut`), flow_parse_keys' commas (f_flow.c:70) and fw's handle slash (f_fw.c:43, through `filterArgs.handleAt`). A sweep of tc/*.c and lib/ at v7.2.0 for in-place NULs found no other ported site: get_prefix_1 and the control word's `/` put the byte back; flower, ct and gate are not ported. `TestGotcBatchArgvNuls` (10 rows: vlan, skbedit, flow, fw; tbf's size and cell failures, htb, flow's unknown key; eight MAC groups; a size and cell that parse) is each case's DEF_DATA, checked against host tc 7.2.0 under `unshare -rn strace -e write=all`: every byte gotc knows matches, and the rest is tc's heap, which gotc sends as zeros and the replay masks. A mutant with `nul` disabled fails 9 of the 10 (the restored slash passes, as it should). `TestArgMemNul` (8 rows) is the helper. **Leads:** W196 and W189 extended in [upstream/iproute2-tc-action-write.md](upstream/iproute2-tc-action-write.md); no new lead. **Gates:** `go test ./internal/gotc/ ./pkg/xtcpnl/ ./internal/wsreplay/ ./tools/nlcapgen/`, with and without `-tags gotc_write`; `CGO_ENABLED=0 go build ./...` in both builds; `gofmt -s` clean. | +| V065 | 23C | **Captures**: `tools/nlcapgen/matrix_tcact2write.go` (`tcact2write`, 418 rows: 258 writes and 160 refusals, on 20C's fixture: d0 with clsact, d1 with an htb root, two classes and ingress block 10), registered in `main.go`'s `families`; rows `nix/microvms/workbench/tcact2write.rows.jsonl`; corpus `pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/`. Modules: increment 22's, cls_bpf, and act_meta_mark, act_meta_skbprio and act_meta_skbtcindex, which `tdcGuestModules` now lists (the guest has them in net/sched). **Rows:** each kind's add, change, replace (existing and new index), delete and flush with a `tc actions ls action K` readback, and each inside matchall. pedit's raw u8/u16/u32 offsets with `at`, every command (set, add, decrement, invert, clear, preserve, retain), every layered field of ip (17), ip6 (8), tcp, udp and eth, ex and legacy; tunnel_key v4 and v6 with id, dst_port, tos, ttl, csum/nocsum, nofrag, geneve with three options, vxlan and erspan v1/v2, and unset; ife encode and decode with allow and use for each meta kind, dst, src and type; ct commit, force, clear, zone, masked mark and label, nat src/dst with v4/v6 ranges and ports, helpers ipv4/ipv6-tcp-ftp; gate's every scalar, six clockid spellings, ipv and maxoctets with a size suffix; bpf's bytecode, bc, run, bytecode-file and bcf. The bpf filter: add with classid, da, skip_hw, an action, police, run, flowid first and two actions; change, replace (existing and new) and delete; a bytecode-file filter; one on d1's htb. eBPF (object-file, object-pinned, pinned, fd, obj, and the `o`/`p`/`f` prefixes) only as refusal rows recording tc's answer. A row for every lead W216–W320 except W294. Boundaries: 128 and 129 pedit keys, 30/31/40 open and 36 closed gate entries, 2038/2039/2041/2042/4097 bpf instructions, 62- and 63-byte nat ranges, the u32 interval edge, tos 255/256. Batches: W232's MAC colons, W265's strtok NULs and W291's slashes, each carried into a later `simple sdata x` (line 2's DEF_DATA shows them: `th\0dst\0set\002…`, `e_opts\00102\080\0…`, `x1\00xff\0label\001\0ff`); bytecode-file in a batch; three `-force` batches (ife's usage exit and get_addr's exit(1) end tc; ct's -1 carries on). **Trial batches** (scratch, same boot): the first matched 400 of 420; the second 419. Corrected in the generator: a fresh `ife decode` with no meta module loaded is EINVAL with no extack (K79), which made the first ife rows depend on row order, so the meta modules now load up front; ct's and gate's `… drop index 1` sends `index` as a second action kind (W288, W303); the index-only binds of pedit, gate and bpf became matchall binds; geneve's 0- and 3-byte DATA and erspan's shifted fields are kernel refusals; bpf's edge is 2039, not 2040; `src_ip any` and ct's `addr any` are ERANGE; netbios is EINVAL and a 22-byte helper ERANGE; skip_sw is ENOTSUP; W280's 63-byte range and W297's inf, nan and 1e30 are sent and accepted, so they are positive rows that gotc will refuse by name; `bytecode-file -` reads a file named `-`. **W294 removed from the corpus:** `gate sched-entry open 1ms 1 index 1` sent maxoctets 0x33874a91, 0x4c352a91 and 0x7fec5a91 in three runs (get_size stores an uninitialised sz64), and `… 1 sched-entry close 1ms` was refused twice as `"maxoctets" is too large` and sent once; no two batches could agree, so 23W pins gotc's refusal with a unit test and the write-up records the values. **Final:** two batches on one boot, 418/418 OK each, agree on every row's rc, stdout, stderr and readback, and on all 336 requests byte for byte (seq and pid zeroed). `TestWsCorpusRows` passes on all 418. Two `cmd.json` files (ec-132, ec-133) had only `axes` and `desc` rewritten from the regenerated rows, when their fix became w274 and w275; tc never reads them. **Write-up** (the new "Increment 23" part of `docs/netlink/upstream/iproute2-tc-action-write.md`, not submitted to netdev): a summary row for each of W216–W320 with its pinning rows and status, K77–K89 and five bug-class candidates. **Corrected from the sweep:** W220 (key 129 is followed by `Bad pedit construct (index)`), W267 (accepted while a meta module is loaded), W288 and W303 (tc sends the stray `index` kind; the kernel refuses it, ENOENT), W295 (`1.5` is consumed as 1), W307 (2039 and 2042). **Kernel notes K77–K89:** the legacy pedit offload warning on every add, ct's helper offload warning, ife's use_all_metadata EINVAL, gate's skipped non-entry with rc 0, tunnel_key's overwritten ERANGE message, ct's EXACT_LEN NAT addresses, ct's helper name limit, act_bpf's missing program, cls_bpf's flags, pedit's keys check after the idr, gate's empty list and zero interval, tunnel_key's option rules, and gate's u64 times. No new lead outside W216–W320. **Unit:** `TestTcAct2WriteSpace` (107 sub-tests). Positive: the verb grid and matchall for each kind, every keyword, the bpf filter's verbs. Lead: each W216–W320 has a row, and W294 has none. Negative: eBPF only as refusals, no `actions ls` or `get`, no host device, no `dev lo` or `-netns`. Boundary: the key, entry, instruction, nat and interval edges. Corner: the seven batches' lines and `-force`, determinism. **VM:** pre-checked (`free -g`: 38G available; port 12061 free; no workbench process), booted from off with `up`; baseline 86 modules, no namespace, no core file. The batches left no namespace and no core file. The run left 129 modules; this run's 40 (act_*, cls_*, sch_htb, sch_ingress, act_meta_*, nf_conntrack_ftp, nf_nat, nf_flow_table, ife, psample, mpls_gso, dummy, nlmon) were removed with `modprobe -r`, leaving 89: the baseline's 86 (nf_conntrack among them, held by the guest firewall's xt_conntrack) and bridge/stp/llc, which no row of this run uses, left alone as in 22C. The VM was powered off with `down` (it was off before): port 12061 free, no workbench process. **Bench pin:** ng-157 (W248's 16 KiB pedit echo, with the extack `act_pedit: Not enough extended keys to parse`) is now the corpus's largest NLMSG_ERROR. It replaces tcematch's W151 refusal, so `TestParseBenchAllocs` pins ParseNlMsgErr's largest pick at 1 allocation (the message copy), not 0. | | 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-action-write.md b/docs/netlink/upstream/iproute2-tc-action-write.md index 78d169c38..7a53c72b8 100644 --- a/docs/netlink/upstream/iproute2-tc-action-write.md +++ b/docs/netlink/upstream/iproute2-tc-action-write.md @@ -79,6 +79,7 @@ - [Batches: W185, W201](#batches-w185-w201) - [K63–K76. Kernel notes](#k63k76-kernel-notes) - [Bug-class candidates](#bug-class-candidates) +- [Increment 23: pedit, tunnel_key, ife, ct, gate, bpf and the bpf filter (W216–W320, K77–K89)](#increment-23-pedit-tunnel_key-ife-ct-gate-bpf-and-the-bpf-filter-w216w320-k77k89) ## Summary @@ -404,3 +405,176 @@ These are for the user's review. [bug-classes.md](bug-classes.md) is unchanged. the user's typo becomes a gact action, or a `Bad action type` with gact's usage. - **A positive error return that the caller's `< 0` test misses** (W187): the loop carries on over words it has already used. + +## Increment 23: pedit, tunnel_key, ife, ct, gate, bpf and the bpf filter (W216–W320, K77–K89) + +**Status (2026-11-30, increment 23, task 23C):** + +- **Not submitted to netdev.** Drafts for the user's review, recorded only here, like the rest of this directory. +- **Scope:** the parse side of `tc/m_pedit.c` with `p_ip.c`, `p_ip6.c`, `p_icmp.c`, `p_tcp.c`, `p_udp.c` and + `p_eth.c`; `m_tunnel_key.c`; `m_ife.c`; `m_ct.c`; `m_gate.c`; `m_bpf.c`; `f_bpf.c`; and `lib/bpf_legacy.c`'s cBPF + parser (bpf_parse_string, bpf_ops_parse, bpf_do_parse, bpf_load_common). eBPF (object-file, object-pinned, pinned, + fd) reaches bpf(2) or the ELF loader and is out of scope. +- **Numbering:** leads continue at **W216**; kernel notes at **K77**. The sweep listed W216–W320; capturing found no + lead outside them. +- **Source:** iproute2 **v7.2.0** line numbers, read with `git show`; kernel behaviour from the corpus (kernel 7.3.1) + and linux **v7.4-rc4**. +- **Corpus:** `pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/` (418 rows: 258 writes, 160 refusals), kernel 7.3.1, tc + 7.2.0. "ec-N" and "ng-N" in this part are its rows. + - Two batches on one boot agree on every row's rc, stdout, stderr and readback, and on all 336 requests byte for byte + (seq and pid zeroed). +- **What the trial batches changed:** + - **Corrected:** W220 (key 129 is followed by the generic message), W267 (accepted while a meta module is loaded), + W288 and W303 (the kernel refuses the stray `index` kind; tc sends it), W295 (`1.5` is consumed), W307 (the edges + are 2039 and 2042). + - **Kernel answers corrected:** W251 and W281 are ERANGE; W259's short DATA is ERANGE; W283's unknown helper is + EINVAL and its long name ERANGE; W320's skip_sw is ENOTSUP (EOPNOTSUPP). + - **Accepted, refused by name in gotc:** W280's 63-byte range and W297's UB time casts are sent and accepted. + - **W294 has no corpus row.** Its value is uninitialised stack memory that differed in every run (see its entry), so + no two batches could agree. 23W pins gotc's refusal by name with a unit test. + - **Determinism:** a fresh `ife decode` with no meta module loaded is EINVAL (K79), so the first trial's outcome + depended on whether an encode row had loaded act_meta_* first. The rows now load the three meta modules up front. +- **gotc:** 23W ports these parsers; the gotc column below is filled in then. + +| lead | where (v7.2.0) | what | pinned by | status | gotc | +|---|---|---|---|---|---| +| W216 | m_pedit.c:489-511 | the man page's `at A offmask M shift S` is refused: the parser is positional (`at A M S`), so `offmask` fails get_u32 and the error names the offset, `Bad pedit construct (12)` | ec-089, ng-002 | confirmed | 23W | +| W217 | m_pedit.c:500 | offmask is get_u32 base 16 with no `0x` (`10` is 0x10); at and shift are base 0 | ec-090 | confirmed (request bytes in 23W) | 23W | +| W218 | m_pedit.c:430-436,513-517,664 | the word in `Bad pedit construct (X)` is wherever parse_munge left argv: the offset for a parse failure, the next word after a pack failure, `(null)` at the end of the line, the kind for a layered failure | ng-003, ng-004 | confirmed | 23W | +| W219 | m_pedit.c:547 | every layered failure first prints `bad pedit parsing` | ng-005 | confirmed | 23W | +| W220 | m_pedit.c:122-123 | key 129 fails in pack_key with no message of its own; only the generic `Bad pedit construct (index)` follows (the kernel takes 255). *Corrected:* the sweep said silent | ec-088, ng-006 | confirmed, corrected | 23W | +| W221 | m_pedit.c:173-175,203-205 | `pack_key8 bad value (val 100 mask 0` has no closing parenthesis; pack_key16's message has no values | ng-007, ng-008 | confirmed | 23W | +| W222 | m_pedit.c:394-397 | `retain is not supported for fields longer the 32 bits` (sic), also for `eth dst preserve` and an ip6 retain | ng-009, ng-010 | confirmed | 23W | +| W223 | m_pedit.c:351-352,400-406 | `invert` on eth or ip6 fields sets 0xff… (mask 0) instead of inverting: pack_mac and pack_ipv6 zero the mask | ec-091, ec-092 | confirmed (request bytes in 23W) | 23W | +| W224 | m_pedit.c:376-392 | `preserve` sets retain 0, and a following `retain M` overrides it; `set V retain M` masks V silently | ec-093, ec-094 | confirmed (request bytes in 23W) | 23W | +| W225 | m_pedit.c:386 | `r` after a command is retain: `ip ttl set 5 r` ends in NEXT_ARG, rc 255 | ng-011 | confirmed | 23W | +| W226 | m_pedit.c:636 | a bare `p` after a key is `pedit`, not pass: NEXT_ARG, rc 255 | ng-012 | confirmed | 23W | +| W227 | m_pedit.c:466-489 | `a` is `at`; `u` is u32 and `u1` u16 (matches() against u32 first) | ec-095, ec-096, ec-097 | confirmed | 23W | +| W228 | m_pedit.c:33-41 | the usage contradicts the parser: `munge [ex]` (ex goes before munge), retain listed as a CMD, eth missing, icmp listed | ng-013 | confirmed | 23W | +| W229 | m_pedit.c:141-145,438-440 | `Munge parameters not supported` is dead code; `only 'set' command is supported` also covers decrement, while invert, clear and preserve pass without ex | ng-014, ng-015 | confirmed | 23W | +| W230 | m_pedit.c:59-66,73-114 | an unknown kind prints `Unknown action hence option "bar" is unparsable` (two spaces; it names the next word), then bad pedit parsing and `Bad pedit construct (foo)`; at the end of the line, NEXT_ARG | ng-016, ng-017 | confirmed | 23W | +| W231 | m_pedit.c:535-538 | a kind of 16 or more bytes leaves `k[16]` unterminated and reads past it into the dlopen name; the output is the unknown-kind output, naming the whole word | ng-018 | confirmed (output deterministic) | 23W | +| W232 | ll_addr.c via m_pedit.c:318 | eth MACs: exactly six groups; trailing junk after the sixth is accepted; a dotted quad or a short MAC is refused; the colon NULs persist in a batch line (line 2's simple shows `th\0dst\0set\002\000…`) | ec-098, ec-255, ng-019, ng-020, ng-021, ng-022 | confirmed | 23W | +| W233 | m_pedit.c:298-301 | `ip src` drops a prefix length (`10.0.0.1/8`), takes legacy IPv4 (`010.1` is 8.1.0.0) and any/all/default as 0.0.0.0 | ec-099, ec-100, ec-101 | confirmed (request bytes in 23W) | 23W | +| W234 | m_pedit.c:308-311 | `ip6 src any` sets :: (bytelen 0, val stays zero); `/64` is dropped | ec-102, ec-103 | confirmed (request bytes in 23W) | 23W | +| W235 | m_pedit.c:456 | the offset is get_integer, base 0 and signed: `-4` passes the alignment check and is sent as 0xfffffffc; the kernel accepts it | ec-104 | confirmed | 23W | +| W236 | p_ip.c:139-143 | `icmp_code` edits the type byte: offset 20, the same as icmp_type | ec-105 | confirmed (request bytes in 23W) | 23W | +| W237 | p_ip.c:51,76 | `d` is dsfield and `p` precedence (both offset 1, the tos byte) | ec-106, ec-107 | confirmed | 23W | +| W238 | p_ip6.c:51 | flow_lbl's retain is 0x7ffff (19 bits), so bit 19 of the 20-bit label can't be set | ec-108 | confirmed (request bytes in 23W) | 23W | +| W239 | p_icmp.c:25 | `icmp` always fails (its parser returns -1), though the usage and man page list it | ng-023 | confirmed | 23W | +| W240 | p_ip6/tcp/udp/eth.c:31; p_ip.c:115-119 | without `ex`, ip6, tcp, udp and eth fail with only `bad pedit parsing`; with `ex`, `ip sport`, `ip dport` and icmp_* fail the same way | ng-024, ng-025, ng-026, ng-027, ng-028, ng-029 | confirmed | 23W | +| W241 | m_pedit.c:640-646 | `ok>1` counts `pedit` words too: `pedit pedit ex munge` prints `'ex' must be before first 'munge'` | ng-030 | confirmed | 23W | +| W242 | m_pedit.c:633-681 | `pedit pipe` sends nkeys 0 (with ex, an empty KEYS_EX): the kernel refuses a create (`Pedit requires keys to be passed`) but binds an existing index (K86) | ec-235, ng-031, ng-032 | confirmed | 23W | +| W243 | m_pedit.c:681-693 | index after control: `… set 1 index 5 pipe` leaves `pipe` for m_action.c, which adds a second (gact) action | ec-109 | confirmed (request bytes in 23W) | 23W | +| W244 | m_pedit.c:681 | `goto chain x` is reported twice (`Illegal "chain index"`), then gact's usage | ng-033 | confirmed | 23W | +| W245 | m_pedit.c:670-672 | an unknown word after a key becomes the next action kind: `Bad action type foo` and gact's usage | ng-034 | confirmed | 23W | +| W246 | m_pedit.c:52,653; NEXT_ARG sites | `help` and every NEXT_ARG site exit(-1); a bare `ip src` returns -1 (argc < 2) | ng-035, ng-036 | confirmed | 23W | +| W247 | m_pedit.c:686 | index is base 10: `index 0x5` prints `Pedit: Illegal "index"` | ng-037 | confirmed | 23W | +| W248 | m_pedit.c:697-705 | addattr results are ignored: three 128-key ex actions pass 16384, `addattr_l ERROR` is printed and the rest is sent; the kernel refuses with `Not enough extended keys to parse` | ec-238, ng-157 | confirmed | 23W | +| W249 | m_pedit.c:153-165 | an ex `add` on ip6 or eth sends independent 32- and 16-bit ADD keys, with no carry between them | ec-110, ec-111 | confirmed (request bytes in 23W) | 23W | +| W250 | m_tunnel_key.c:45,357-370; utils.c:738 | `src_ip bogus` is get_addr's `Error: any valid address is expected rather than "bogus".` and exit(1), which also ends a `-force` batch; `Illegal "src_ip"` can't be reached | ng-045, ng-159 | confirmed | 23W | +| W251 | m_tunnel_key.c:49-50; utils.c:578 | `src_ip any` (or default) is AF_UNSPEC with bytelen 0: a 0-byte IPV6_SRC, ERANGE with `Failed to parse nested tunnel key attributes` (K81) | ng-046 | confirmed | 23W | +| W252 | m_tunnel_key.c:49 | a v4 src with a v6 dst is sent; the kernel refuses `Missing either ipv4 or ipv6 src and dst` | ng-047 | confirmed | 23W | +| W253 | m_tunnel_key.c:321,459-466 | no set or unset word sends t_action 0: `Unknown tunnel key action` | ng-048 | confirmed | 23W | +| W254 | m_tunnel_key.c:327-332 | `tunnel_key` alone ends in NEXT_ARG | ng-049 | confirmed | 23W | +| W255 | m_tunnel_key.c:335-431 | prefixes: `s` is set, `d` dst_ip, `i` id, `t` tos, `n` nocsum (matches() order); `nofrag` is a strcmp | ec-126 | confirmed | 23W | +| W256 | m_tunnel_key.c:61,73,450 | id, dst_port and index are base 10; the port's message is `Illegal "dst port"` (with a space) | ng-050, ng-051, ng-052 | confirmed | 23W | +| W257 | m_tunnel_key.c:303-305 | tos and ttl are tried in base 10, then base 16: `tos 1a` is 26, but `ttl 010` is 10 | ec-127 | confirmed (request bytes in 23W) | 23W | +| W258 | m_tunnel_key.c:150-190 | geneve's strtok_r merges empty fields, so `0102::01020304` shifts DATA into TYPE and fails; a missing DATA is refused by the kernel (`Missing tunnel key geneve option class, type or data`) | ng-053, ng-054 | confirmed | 23W | +| W259 | m_tunnel_key.c:170-180; utils.c:1216 | geneve DATA is len/2 bytes: an odd last nibble is dropped unchecked and 1 char gives 0 bytes; the kernel refuses under 4 bytes (`less than 4 bytes long`, ERANGE) for both | ec-128, ng-055, ng-056 | confirmed | 23W | +| W260 | m_tunnel_key.c:204-213 | `geneve_opts ''` sends an empty ENC_OPTS: `Empty list of tunnel options` | ng-058 | confirmed | 23W | +| W261 | m_tunnel_key.c:252-289 | erspan's fields shift the same way: `2::1:16` is ver 2, index 1, dir 16, no hwid: `Missing tunnel key erspan option dir or hwid` | ng-057 | confirmed | 23W | +| W262 | m_tunnel_key.c:391-405 | two option kinds send two ENC_OPTS nests; the kernel accepts it and keeps the last | ec-129 | confirmed | 23W | +| W263 | m_tunnel_key.c:439 | NO_CSUM is always sent, even for unset; unset also sends the addresses, which the kernel accepts | ec-130 | confirmed | 23W | +| W264 | m_tunnel_key.c:444-457 | index then control: `unset index 5 pipe` adds a second (gact) action | ec-131 | confirmed (request bytes in 23W) | 23W | +| W265 | m_tunnel_key.c:150-288 | strtok_r writes NULs into argv, which persist in a batch line: line 2's simple shows `e_opts\0` `0102\080\000880022\00103\0` | ec-256 | confirmed | 23W | +| W266 | m_tunnel_key.c:18-31,321-339 | the usage omits tos, ttl, index and CONTROL; a second set/unset prints `unexpected "set" - action already specified` | ng-059 | confirmed | 23W | +| W267 | m_ife.c:150-163 | `ife index 5` counts as ok and sends flags 0 (decode) with no METALST; accepted while a meta module is loaded, EINVAL with no extack otherwise (K79). *Corrected:* the sweep predicted EINVAL | ec-138 | confirmed, corrected | 23W | +| W268 | m_ife.c:163-166 | `ife pipe` prints `IFE requires decode/encode specified`, the usage, exit(-1), which ends a `-force` batch; every invarg exits too | ng-066, ng-158 | confirmed | 23W | +| W269 | m_ife.c:73-75 | the kind-word loop eats `ife` and `i`; at the end of the line, NEXT_ARG | ec-139, ng-067 | confirmed | 23W | +| W270 | m_ife.c:76-80,119,129 | `d` is decode (so dst needs `ds`), `e` encode, `a` allow, `t` type; the last of decode/encode wins | ec-140, ec-141 | confirmed | 23W | +| W271 | m_ife.c:184-202 | `use mark 0` sends nothing for mark; use overrides allow; METALST is always mark, prio, tcindex in that order | ec-142, ec-143, ec-144 | confirmed (request bytes in 23W) | 23W | +| W272 | m_ife.c:97-153 | mark, prio, tcindex, type and index are base 0 (`use mark 010` is 8; `index 0x5` is 5) | ec-145 | confirmed | 23W | +| W273 | m_ife.c:171-172 | decode silently drops dst, src, type and allow/use (but still prints `dst MAC address <…>` and `IFE type`) | ec-146 | confirmed | 23W | +| W274 | m_ife.c:168,177 | the nest opens after parsing; TYPE is a host-order u16 (0xED3E is sent 3e ed); encode always sends METALST | ec-132 | confirmed (request bytes in 23W) | 23W | +| W275 | m_ife.c:53 | tc_ife's 2 bytes of tail padding are zeroed by `= { 0 }`; gotc pins zeros | ec-133 | confirmed (request bytes in 23W) | 23W | +| W276 | m_ct.c:274 | `ct commit nat src addr 1.1.1.1` as the last words ends in NEXT_ARG: something must follow the range | ng-077 | confirmed | 23W | +| W277 | m_ct.c:255 | `ct nat` as the last word ends in NEXT_ARG, though the usage shows `[nat]` | ng-078 | confirmed | 23W | +| W278 | m_ct.c:263-265 | `nat src foo` prints the usage and exits | ng-079 | confirmed | 23W | +| W279 | m_ct.c:50,58 | a bad nat address is get_addr's message and exit(1); the second address takes the first's family (`inet address is expected rather than "2001:db8::1"`); `Illegal nat address range` can't be reached | ng-080, ng-081 | confirmed | 23W | +| W280 | m_ct.c:37-76 | SPRINT_BUF(64) with strncpy 63: a 63-byte range is left unterminated and parsed past buffer[63]. On the workbench the next stack byte was NUL in every run, so the full range was sent; gotc refuses it by name | ec-167, ec-168 | confirmed (stack byte NUL in 3 runs) | 23W | +| W281 | m_ct.c:53-64 | `addr any` sends a 0-byte IPV6_MIN/MAX: ERANGE `binary attribute size out of range` (K82); with no second address, MAX repeats MIN | ec-169, ng-082 | confirmed | 23W | +| W282 | m_ct.c:85-95 | ports are base 10; `80-` prints `ct: Illegal nat port range`; min ≤ max is unchecked (2000-1000 is accepted) | ec-170, ng-083, ng-084 | confirmed | 23W | +| W283 | m_ct.c:167-183 | helper `%[^-]` keeps 3 fields: `ipv4-udp-netbios-ns` sends `netbios`, which the kernel can't find (`act_ct: Failed to add helper`); a 22-byte name passes tc's 32 and fails the kernel's 16 (ERANGE, K83) | ng-085, ng-086 | confirmed | 23W | +| W284 | m_ct.c:177; inet_proto.c:42 | proto is base 10, then getprotobyname: `6` works, `0x6` is `ct: Illegal "helper"` | ec-171, ng-087 | confirmed | 23W | +| W285 | m_ct.c:201-212 | the too-long message names the label even when the mask is too long (`argument "01" is wrong: 2 Max allowed size 32`) | ec-166, ng-088, ng-089 | confirmed | 23W | +| W286 | m_ct.c:211-217 | the hex invarg messages embed `\n`, so they end with a blank line | ng-090 | confirmed | 23W | +| W287 | m_ct.c:211-222 | odd lengths aren't refused: `00g` sends 1 byte, `0` sends 0 bytes, and the default mask is 16 bytes of 0xff | ec-172, ec-173 | confirmed (request bytes in 23W) | 23W | +| W288 | m_ct.c:290-295,353 | index is parsed only inside the loop: in `ct commit pipe index 5` the word `index` becomes a second action kind, sent, and refused `Failed to load TC action module` (ENOENT). *Corrected:* the sweep said tc refuses it | ng-091 | confirmed, corrected | 23W | +| W289 | m_ct.c:328-332 | `ct clear zone 5 mark 1` is sent and accepted (clear returns early); `force` without commit passes | ec-174, ec-175 | confirmed | 23W | +| W290 | m_ct.c:107-111 | zone's slash split is dead (mask_type UNSPEC): `zone 5/1` is `ct: Illegal "zone"`; zone and mark are base 0 | ec-176, ng-092 | confirmed | 23W | +| W291 | m_ct.c:138,196 | the NULs written at `/` for mark and label persist in a batch line: line 2's simple shows `x1\00xff\0label\001\0ff` | ec-257 | confirmed | 23W | +| W292 | m_ct.c:240-321 | prefixes: `c` is clear, `co` commit, `z` zone, `m` mark, `h`/`hel` help (exits) | ec-177, ec-178, ng-093 | confirmed | 23W | +| W293 | m_gate.c:110 | each entry nest is bounded by 1024 against the whole message: the 31st open entry gets `addattr_l ERROR: … bound of 1024`, its header is dropped and addattr_nest_end rewrites the first child's length to cover the entry; the kernel warns `Attribute isn't type 'entry'`, skips it and returns 0 with a shorter schedule (K80) | ec-196, ec-197, ec-198, ec-199 | confirmed | 23W | +| W294 | m_gate.c:280-290; utils_math.c:145-160 | a numeric ipv followed by a word that isn't a size reads get_size's uninitialised sz64 into maxoctets_uint. The value is a stack fragment that changes per run: three runs of `sched-entry open 1ms 1 index 1` sent maxoctets 0x33874a91, 0x4c352a91 and 0x7fec5a91 (low byte fixed, as of an address), and `… 1 sched-entry close 1ms` was twice refused as `"maxoctets" is too large`, once sent as 0x365b8a7b. It sends an ASLR-derived value to the kernel, readable back with `tc actions ls`. No corpus row (not reproducible); gotc refuses it by name | (none, see the entry) | confirmed (trial batches; not in the corpus) | 23W | +| W295 | m_gate.c:280-290 | a fractional or suffixed maxoctets goes through get_size: `1.5` is 1 and `0kb` leaves -1. *Corrected:* the sweep said `1.5` is passed on as a kind; it is consumed | ec-200, ec-201, ng-103 | confirmed, corrected | 23W | +| W296 | m_gate.c:169-280 | bases: interval and the times try base 0/10 then strtod (`0x10` is 16 ns via strtod's hex); priority, flags, ipv and maxoctets are base 0; index is base 10 (`argument "0x1" is wrong: index`) | ec-202, ec-203, ng-104 | confirmed | 23W | +| W297 | utils.c:1695-1730 | strtod times: inf, nan and 1e30 reach `*time = nsec`, a UB cast, and are sent (x86 gives 2^63) and accepted; fractions truncate (`1.9ns` is 1); interval 0.5 is 0, refused `Invalid interval for schedule entry`. gotc refuses the UB casts by name | ec-204, ec-205, ec-206, ec-207, ng-105 | confirmed | 23W | +| W298 | m_gate.c:181-197 | `base-time -1` is get_s64 and sent as u64 max; `-1ms` fails get_time64 (negative) and invarg exits | ec-208, ng-106 | confirmed | 23W | +| W299 | m_gate.c:327-347 | 0 means unset: priority -1 and zero flags, base-time and cycle-time aren't sent, so a replace can't reset them | ec-209 | confirmed (request bytes in 23W) | 23W | +| W300 | m_gate.c:41-57,161,230-255 | a bad state, a missing interval or a bad interval prints the entry usage and `"sched-entry" is incomplete`; `pas` typo in the usage; `index` missing from the usage | ng-107, ng-108, ng-109, ng-110 | confirmed | 23W | +| W301 | m_gate.c:51,365 | invarg and `help` exit(-1); sched-entry errors return -1 | ng-111, ng-112 | confirmed | 23W | +| W302 | m_gate.c:167-212 | `c` is cycle-time, `p` priority, `h` help (exits) | ec-210, ng-113 | confirmed | 23W | +| W303 | m_gate.c:308-317 | a control word ends the options: in `… pipe index 5` the word `index` becomes a second action kind, refused `Failed to load TC action module`; a bad `goto chain` is reported twice. *Corrected:* the sweep said tc refuses it | ng-114, ng-115 | confirmed, corrected | 23W | +| W304 | m_gate.c:272,292 | a closed entry's ipv and maxoctets are forced to -1 silently | ec-211 | confirmed (request bytes in 23W) | 23W | +| W305 | m_gate.c:319,349 | `gate index 5` sends an empty ENTRY_LIST: `The entry list is empty` on create, accepted on bind | ec-236, ng-116 | confirmed | 23W | +| W306 | m_gate.c loop | no check of the entry count, cycle-time against the intervals, or repeats: `cycle-time 1000` with two 1 ms entries is accepted | ec-212 | confirmed | 23W | +| W307 | m_bpf.c:56; f_bpf.c:58 | the 16384 bound: 2038 instructions fit; from 2039 PARMS no longer fits and from 2042 OPS no longer fits, each with `addattr_l ERROR` and EINVAL with no extack (K84); past 4096 is refused with no message. *Corrected:* the sweep put the edge at 2040/2041 | ec-222, ng-120, ng-121, ng-122, ng-123 | confirmed, corrected | 23W | +| W308 | bpf_legacy.c:284-310 | the header is `%hu%c`: `65537,` wraps to 1; `4 ,` and `0,` fail with no message of their own | ec-223, ng-124, ng-125 | confirmed | 23W | +| W309 | bpf_legacy.c:320-322 | instruction fields are scanf'd: `0xffff` reads k 0 (text after k is ignored), code 65542 wraps to 6 and jt 256 to 0; a hex code is `Error at instruction 0!` | ec-224, ec-225, ng-126 | confirmed | 23W | +| W310 | bpf_legacy.c:313-335 | a trailing `, ` is `Real program length exceeds encoded length parameter!`; too few instructions is `Parsed program length is less than encoded length parameter!`; a trailing `,` alone is accepted | ng-127, ng-128 | confirmed | 23W | +| W311 | bpf_legacy.c:229-278 | bytecode-file: newlines become `,`, runs of blanks one blank; a leading blank line, CRLF or a directory fail with no message; a missing file is `Cannot fopen: No such file or directory`; `-` is a file name, not stdin | ec-221, ng-129, ng-130, ng-131, ng-132 | confirmed | 23W | +| W312 | m_bpf.c:93-140 | `index` ends the loop: `bpf index 5` sends PARMS only (EINVAL with no extack on create, a bind works); a second program word is the next kind (`Bad action type bytecode`); `bpf drop` is `What mode is "drop"?` | ec-237, ng-133, ng-134, ng-135 | confirmed | 23W | +| W313 | m_bpf.c:89,113-135 | bare `bpf` ends in NEXT_ARG; `help` prints the usage and returns -1 (bad action parsing); a bad index is `bpf: Illegal "index"` | ng-136, ng-137, ng-138 | confirmed | 23W | +| W314 | bpf_legacy.c:838-858 | mode prefixes: `b` is bytecode; `o` object-file (an ELF load: `Error opening object nosuch.o`), `p` pinned and `f` fd (both bpf(2): `Couldn't retrieve pinned program`) | ec-226, ng-139, ng-140, ng-141 | confirmed | 23W | +| W315 | f_bpf.c:81,172 | options with no program word leave cfg.mode 0 (CBPF_BYTECODE), so OPS_LEN 0 and an empty OPS are sent: EINVAL with no extack | ng-145 | confirmed | 23W | +| W316 | f_bpf.c:94-95 | `… bpf` with no words sends no OPTIONS: EINVAL with no extack | ng-146 | confirmed | 23W | +| W317 | f_bpf.c:132-180 | CLASSID, ACT and POLICE go out in command order, then OPS_LEN, OPS, FLAGS_GEN, FLAGS; a repeated classid is sent twice and the kernel keeps the last | ec-253 | confirmed (request bytes in 23W) | 23W | +| W318 | f_bpf.c:101-158 | `s` is skip_hw, `f` flowid (not fd as in the action's mode words) | ec-254 | confirmed | 23W | +| W319 | f_bpf.c:112-164 | `What is "bogus"?` and the usage, rc 1; flowid's error says `Illegal "classid"`; a parse failure adds `Unable to parse bpf command line` | ng-147, ng-148, ng-149 | confirmed | 23W | +| W320 | f_bpf.c:136-140 | `skip_hw skip_sw` is EINVAL with no extack; skip_sw on a dummy is EOPNOTSUPP with no extack (K85) | ng-150, ng-151 | confirmed | 23W | + +### K77–K89. Kernel notes + +Each note is cited to linux v7.4-rc4 and observed on 7.3.1. + +| note | where | what | pinned by | +|---|---|---|---| +| K77 | act_pedit.c:604-622; include/net/tc_act/tc_pedit.h:65-77 | every legacy pedit add (no KEYS_EX) warns `act_pedit: Unsupported pedit command offload`: tcf_pedit_cmd returns __PEDIT_CMD_MAX without keys_ex, so the offload translation tried for a software-only action fails on its first key. An ex pedit whose keys mix set and add warns the same way | ec-001 and 45 other legacy rows | +| K78 | act_ct.c:1654-1662; act_api.c:269-273 | a ct with a helper warns `act_api: Failed to setup tc actions for offload.`: the helper makes offload setup return -EOPNOTSUPP, and the generic message is the one shown (K66's pattern) | ec-162, ec-163, ec-171 | +| K79 | act_ife.c:348-366,600-612 | an ife with no METALST (decode, or `ife index N`) uses every meta kind loaded; with none loaded it is EINVAL with no extack | first trial batch (scratch): `ife decode index 1` refused, then accepted once act_meta_* were loaded | +| K80 | act_gate.c:275-290 | an ENTRY_LIST member that isn't TCA_GATE_ONE_ENTRY gets the warning `Attribute isn't type 'entry'` and is skipped; the action is created (rc 0) with the shorter schedule | ec-197, ec-198, ec-199 | +| K81 | act_tunnel_key.c:386-393 | a 0-byte address attribute fails the policy (ERANGE), and the specific message is replaced by `Failed to parse nested tunnel key attributes` | ng-046 | +| K82 | act_ct.c:1190,1230-1245 | NAT_IPV4/IPV6 MIN and MAX are EXACT_LEN: a 0-byte address is ERANGE `binary attribute size out of range` | ng-082 | +| K83 | act_ct.c:1194,1356-1372 | HELPER_NAME is limited to NF_CT_HELPER_NAME_LEN (16): longer is ERANGE `Attribute failed policy validation`; an unknown helper is EINVAL `act_ct: Failed to add helper` | ng-085, ng-086 | +| K84 | act_bpf.c:330-339; cls_bpf.c:348 | act_bpf with neither OPS (with OPS_LEN) nor FD is EINVAL with no extack, so PARMS alone (`bpf index 5`) and OPS_LEN without OPS (W307) look the same; OPS_LEN 0 or past 4096 is EINVAL in both act_bpf and cls_bpf | ng-120–ng-122, ng-135, ng-145 | +| K85 | cls_bpf.c:30,516-520; cls_api.c tc_flags_valid | SKIP_HW with SKIP_SW is EINVAL with no extack; SKIP_SW on a device that can't offload is EOPNOTSUPP with no extack; no OPTIONS at all is EINVAL | ng-146, ng-150, ng-151 | +| K86 | act_pedit.c:95-110,190-222 | the keys check comes after the idr lookup: a bind of an existing index with nkeys 0 succeeds; a create is refused `Pedit requires keys to be passed`; a KEYS_EX shorter than nkeys is `Not enough extended keys to parse` | ec-235, ng-031, ng-032, ng-157 | +| K87 | act_gate.c:195-200,445-452 | a create with an empty ENTRY_LIST is `The entry list is empty` (a bind works); an interval of 0 is `Invalid interval for schedule entry` | ng-116, ec-236, ng-105 | +| K88 | act_tunnel_key.c:95-112,185-195,270-280,465-503 | geneve: class, type and data are all required, and data under 4 bytes is ERANGE; an empty ENC_OPTS, a v4/v6 mix and t_action 0 are refused with their own messages; erspan needs dir or hwid | ng-047, ng-048, ng-054–ng-058 | +| K89 | act_gate.c:181-182,484-491 | base-time and cycle-time take any u64: x86's 2^63 from W297's UB casts, and W298's u64 max, are accepted | ec-204–ec-206, ec-208 | + +### Bug-class candidates (increment 23) + +These are for the user's review. [bug-classes.md](bug-classes.md) is unchanged. + +- **A helper that exits inside a parser, so the parser's own error is unreachable** (W250, W279): get_addr's exit(1) + makes `Illegal "src_ip"` and `Illegal nat address range` dead, and ends a `-force` batch. +- **strtok-style splitting that merges empty fields and shifts positional fields** (W258, W261): `a::b` silently + becomes `a:b`, so a field lands in the next slot. +- **A per-nest bound smaller than the message bound** (W293): addattr_nest(n, 1024, …) inside a 16384-byte message + drops the nest header and leaves its children with a rewritten length. +- **An out-parameter written from an uninitialised local on an early return** (W294): get_size stores sz64 even when + get_size64 failed before setting it, and the stack value reaches the kernel. +- **A word that ends one action's options and becomes the next action's kind** (W243, W264, W288, W303, W312): when + index is parsed only before (or only inside) the loop, `… pipe index 5` sends an action of kind `index`. diff --git a/nix/microvms/workbench/tcact2write.rows.jsonl b/nix/microvms/workbench/tcact2write.rows.jsonl new file mode 100644 index 000000000..8a29a674e --- /dev/null +++ b/nix/microvms/workbench/tcact2write.rows.jsonl @@ -0,0 +1,421 @@ +# Generated by `nlcapgen matrix -family tcact2write -seed 1 -random 0`. +# Do not edit; regenerate. tools/nlcapgen/matrix.go explains the strategies. +# 418 rows. +{"id":"tcact2write/ec-001","desc":"positive: opt=plain cmd=v-add:actions_add_action_pedit_munge_offset_12_u32_set_0x1_index_1","cmd":"tc actions add action pedit munge offset 12 u32 set 0x1 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-add","json":"0","words":"actions add action pedit munge offset 12 u32 set 0x1 index 1"}} +{"id":"tcact2write/ec-002","desc":"positive: opt=plain cmd=v-change:actions_change_action_pedit_ex_munge_ip_ttl_add_1_index_1","cmd":"tc actions change action pedit ex munge ip ttl add 1 index 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 actions add action pedit munge offset 12 u32 set 0x1 index 1"],"readback":[{"name":"dump","cmd":"tc actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-change","json":"0","words":"actions change action pedit ex munge ip ttl add 1 index 1"}} +{"id":"tcact2write/ec-003","desc":"positive: opt=plain cmd=v-replace:actions_replace_action_pedit_ex_munge_ip_ttl_add_1_index_1","cmd":"tc actions replace action pedit ex munge ip ttl add 1 index 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 actions add action pedit munge offset 12 u32 set 0x1 index 1"],"readback":[{"name":"dump","cmd":"tc actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-replace","json":"0","words":"actions replace action pedit ex munge ip ttl add 1 index 1"}} +{"id":"tcact2write/ec-004","desc":"positive: opt=plain cmd=v-replace-new:actions_replace_action_pedit_ex_munge_ip_ttl_add_1_index_2","cmd":"tc actions replace action pedit ex munge ip ttl add 1 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-replace-new","json":"0","words":"actions replace action pedit ex munge ip ttl add 1 index 2"}} +{"id":"tcact2write/ec-005","desc":"positive: opt=plain cmd=v-delete:actions_delete_action_pedit_index_1","cmd":"tc actions delete action pedit index 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 actions add action pedit munge offset 12 u32 set 0x1 index 1"],"readback":[{"name":"dump","cmd":"tc actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-delete","json":"0","words":"actions delete action pedit index 1"}} +{"id":"tcact2write/ec-006","desc":"positive: opt=plain cmd=v-flush:actions_flush_action_pedit","cmd":"tc actions flush action pedit","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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 actions add action pedit munge offset 12 u32 set 0x1 index 1","tc actions add action pedit munge offset 12 u32 set 0x1 index 2"],"readback":[{"name":"dump","cmd":"tc actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-flush","json":"0","words":"actions flush action pedit"}} +{"id":"tcact2write/ec-007","desc":"positive: opt=plain cmd=v-add:actions_add_action_tunnel_key_unset_index_1","cmd":"tc actions add action tunnel_key unset index 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 actions ls action tunnel_key"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-add","json":"0","words":"actions add action tunnel_key unset index 1"}} +{"id":"tcact2write/ec-008","desc":"positive: opt=plain cmd=v-change:actions_change_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_7_index_1","cmd":"tc actions change action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 index 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 actions add action tunnel_key unset index 1"],"readback":[{"name":"dump","cmd":"tc actions ls action tunnel_key"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-change","json":"0","words":"actions change action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 index 1"}} +{"id":"tcact2write/ec-009","desc":"positive: opt=plain cmd=v-replace:actions_replace_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_7_index_1","cmd":"tc actions replace action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 index 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 actions add action tunnel_key unset index 1"],"readback":[{"name":"dump","cmd":"tc actions ls action tunnel_key"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-replace","json":"0","words":"actions replace action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 index 1"}} +{"id":"tcact2write/ec-010","desc":"positive: opt=plain cmd=v-replace-new:actions_replace_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_7_index_2","cmd":"tc actions replace action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 index 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 actions ls action tunnel_key"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-replace-new","json":"0","words":"actions replace action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 index 2"}} +{"id":"tcact2write/ec-011","desc":"positive: opt=plain cmd=v-delete:actions_delete_action_tunnel_key_index_1","cmd":"tc actions delete action tunnel_key index 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 actions add action tunnel_key unset index 1"],"readback":[{"name":"dump","cmd":"tc actions ls action tunnel_key"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-delete","json":"0","words":"actions delete action tunnel_key index 1"}} +{"id":"tcact2write/ec-012","desc":"positive: opt=plain cmd=v-flush:actions_flush_action_tunnel_key","cmd":"tc actions flush action tunnel_key","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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 actions add action tunnel_key unset index 1","tc actions add action tunnel_key unset index 2"],"readback":[{"name":"dump","cmd":"tc actions ls action tunnel_key"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-flush","json":"0","words":"actions flush action tunnel_key"}} +{"id":"tcact2write/ec-013","desc":"positive: opt=plain cmd=v-add:actions_add_action_ife_decode_index_1","cmd":"tc actions add action ife decode index 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 actions ls action ife"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-add","json":"0","words":"actions add action ife decode index 1"}} +{"id":"tcact2write/ec-014","desc":"positive: opt=plain cmd=v-change:actions_change_action_ife_encode_allow_mark_index_1","cmd":"tc actions change action ife encode allow mark index 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 actions add action ife decode index 1"],"readback":[{"name":"dump","cmd":"tc actions ls action ife"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-change","json":"0","words":"actions change action ife encode allow mark index 1"}} +{"id":"tcact2write/ec-015","desc":"positive: opt=plain cmd=v-replace:actions_replace_action_ife_encode_allow_mark_index_1","cmd":"tc actions replace action ife encode allow mark index 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 actions add action ife decode index 1"],"readback":[{"name":"dump","cmd":"tc actions ls action ife"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-replace","json":"0","words":"actions replace action ife encode allow mark index 1"}} +{"id":"tcact2write/ec-016","desc":"positive: opt=plain cmd=v-replace-new:actions_replace_action_ife_encode_allow_mark_index_2","cmd":"tc actions replace action ife encode allow mark index 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 actions ls action ife"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-replace-new","json":"0","words":"actions replace action ife encode allow mark index 2"}} +{"id":"tcact2write/ec-017","desc":"positive: opt=plain cmd=v-delete:actions_delete_action_ife_index_1","cmd":"tc actions delete action ife index 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 actions add action ife decode index 1"],"readback":[{"name":"dump","cmd":"tc actions ls action ife"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-delete","json":"0","words":"actions delete action ife index 1"}} +{"id":"tcact2write/ec-018","desc":"positive: opt=plain cmd=v-flush:actions_flush_action_ife","cmd":"tc actions flush action ife","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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 actions add action ife decode index 1","tc actions add action ife decode index 2"],"readback":[{"name":"dump","cmd":"tc actions ls action ife"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-flush","json":"0","words":"actions flush action ife"}} +{"id":"tcact2write/ec-019","desc":"positive: opt=plain cmd=v-add:actions_add_action_ct_commit_index_1","cmd":"tc actions add action ct commit index 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 actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-add","json":"0","words":"actions add action ct commit index 1"}} +{"id":"tcact2write/ec-020","desc":"positive: opt=plain cmd=v-change:actions_change_action_ct_commit_zone_5_index_1","cmd":"tc actions change action ct commit zone 5 index 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 actions add action ct commit index 1"],"readback":[{"name":"dump","cmd":"tc actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-change","json":"0","words":"actions change action ct commit zone 5 index 1"}} +{"id":"tcact2write/ec-021","desc":"positive: opt=plain cmd=v-replace:actions_replace_action_ct_commit_zone_5_index_1","cmd":"tc actions replace action ct commit zone 5 index 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 actions add action ct commit index 1"],"readback":[{"name":"dump","cmd":"tc actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-replace","json":"0","words":"actions replace action ct commit zone 5 index 1"}} +{"id":"tcact2write/ec-022","desc":"positive: opt=plain cmd=v-replace-new:actions_replace_action_ct_commit_zone_5_index_2","cmd":"tc actions replace action ct commit zone 5 index 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 actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-replace-new","json":"0","words":"actions replace action ct commit zone 5 index 2"}} +{"id":"tcact2write/ec-023","desc":"positive: opt=plain cmd=v-delete:actions_delete_action_ct_index_1","cmd":"tc actions delete action ct index 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 actions add action ct commit index 1"],"readback":[{"name":"dump","cmd":"tc actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-delete","json":"0","words":"actions delete action ct index 1"}} +{"id":"tcact2write/ec-024","desc":"positive: opt=plain cmd=v-flush:actions_flush_action_ct","cmd":"tc actions flush action ct","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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 actions add action ct commit index 1","tc actions add action ct commit index 2"],"readback":[{"name":"dump","cmd":"tc actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-flush","json":"0","words":"actions flush action ct"}} +{"id":"tcact2write/ec-025","desc":"positive: opt=plain cmd=v-add:actions_add_action_gate_sched-entry_open_1000000_-1_-1_index_1","cmd":"tc actions add action gate sched-entry open 1000000 -1 -1 index 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-add","json":"0","words":"actions add action gate sched-entry open 1000000 -1 -1 index 1"}} +{"id":"tcact2write/ec-026","desc":"positive: opt=plain cmd=v-change:actions_change_action_gate_base-time_1000_sched-entry_close_2000000_index_1","cmd":"tc actions change action gate base-time 1000 sched-entry close 2000000 index 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 actions add action gate sched-entry open 1000000 -1 -1 index 1"],"readback":[{"name":"dump","cmd":"tc actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-change","json":"0","words":"actions change action gate base-time 1000 sched-entry close 2000000 index 1"}} +{"id":"tcact2write/ec-027","desc":"positive: opt=plain cmd=v-replace:actions_replace_action_gate_base-time_1000_sched-entry_close_2000000_index_1","cmd":"tc actions replace action gate base-time 1000 sched-entry close 2000000 index 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 actions add action gate sched-entry open 1000000 -1 -1 index 1"],"readback":[{"name":"dump","cmd":"tc actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-replace","json":"0","words":"actions replace action gate base-time 1000 sched-entry close 2000000 index 1"}} +{"id":"tcact2write/ec-028","desc":"positive: opt=plain cmd=v-replace-new:actions_replace_action_gate_base-time_1000_sched-entry_close_2000000_index_2","cmd":"tc actions replace action gate base-time 1000 sched-entry close 2000000 index 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-replace-new","json":"0","words":"actions replace action gate base-time 1000 sched-entry close 2000000 index 2"}} +{"id":"tcact2write/ec-029","desc":"positive: opt=plain cmd=v-delete:actions_delete_action_gate_index_1","cmd":"tc actions delete action gate index 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 actions add action gate sched-entry open 1000000 -1 -1 index 1"],"readback":[{"name":"dump","cmd":"tc actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-delete","json":"0","words":"actions delete action gate index 1"}} +{"id":"tcact2write/ec-030","desc":"positive: opt=plain cmd=v-flush:actions_flush_action_gate","cmd":"tc actions flush action gate","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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 actions add action gate sched-entry open 1000000 -1 -1 index 1","tc actions add action gate sched-entry open 1000000 -1 -1 index 2"],"readback":[{"name":"dump","cmd":"tc actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-flush","json":"0","words":"actions flush action gate"}} +{"id":"tcact2write/ec-031","desc":"positive: opt=plain cmd=v-add:actions_add_action_bpf_bytecode_'1,6_0_0_0'_index_1","cmd":"tc actions add action bpf bytecode '1,6 0 0 0' index 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 actions ls action bpf"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-add","json":"0","words":"actions add action bpf bytecode '1,6 0 0 0' index 1"}} +{"id":"tcact2write/ec-032","desc":"positive: opt=plain cmd=v-change:actions_change_action_bpf_bytecode_'1,6_0_0_4294967295'_index_1","cmd":"tc actions change action bpf bytecode '1,6 0 0 4294967295' index 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 actions add action bpf bytecode '1,6 0 0 0' index 1"],"readback":[{"name":"dump","cmd":"tc actions ls action bpf"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-change","json":"0","words":"actions change action bpf bytecode '1,6 0 0 4294967295' index 1"}} +{"id":"tcact2write/ec-033","desc":"positive: opt=plain cmd=v-replace:actions_replace_action_bpf_bytecode_'1,6_0_0_4294967295'_index_1","cmd":"tc actions replace action bpf bytecode '1,6 0 0 4294967295' index 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 actions add action bpf bytecode '1,6 0 0 0' index 1"],"readback":[{"name":"dump","cmd":"tc actions ls action bpf"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-replace","json":"0","words":"actions replace action bpf bytecode '1,6 0 0 4294967295' index 1"}} +{"id":"tcact2write/ec-034","desc":"positive: opt=plain cmd=v-replace-new:actions_replace_action_bpf_bytecode_'1,6_0_0_4294967295'_index_2","cmd":"tc actions replace action bpf bytecode '1,6 0 0 4294967295' index 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 actions ls action bpf"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-replace-new","json":"0","words":"actions replace action bpf bytecode '1,6 0 0 4294967295' index 2"}} +{"id":"tcact2write/ec-035","desc":"positive: opt=plain cmd=v-delete:actions_delete_action_bpf_index_1","cmd":"tc actions delete action bpf index 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 actions add action bpf bytecode '1,6 0 0 0' index 1"],"readback":[{"name":"dump","cmd":"tc actions ls action bpf"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-delete","json":"0","words":"actions delete action bpf index 1"}} +{"id":"tcact2write/ec-036","desc":"positive: opt=plain cmd=v-flush:actions_flush_action_bpf","cmd":"tc actions flush action bpf","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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 actions add action bpf bytecode '1,6 0 0 0' index 1","tc actions add action bpf bytecode '1,6 0 0 0' index 2"],"readback":[{"name":"dump","cmd":"tc actions ls action bpf"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"v-flush","json":"0","words":"actions flush action bpf"}} +{"id":"tcact2write/ec-037","desc":"positive: opt=plain cmd=ped:actions_add_action_pedit_munge_offset_0_u8_set_0x1_index_1","cmd":"tc actions add action pedit munge offset 0 u8 set 0x1 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped","json":"0","words":"actions add action pedit munge offset 0 u8 set 0x1 index 1"}} +{"id":"tcact2write/ec-038","desc":"positive: opt=plain cmd=ped:actions_add_action_pedit_munge_offset_1_u8_set_0x1_index_1","cmd":"tc actions add action pedit munge offset 1 u8 set 0x1 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped","json":"0","words":"actions add action pedit munge offset 1 u8 set 0x1 index 1"}} +{"id":"tcact2write/ec-039","desc":"positive: opt=plain cmd=ped:actions_add_action_pedit_munge_offset_3_u8_set_0x1_index_1","cmd":"tc actions add action pedit munge offset 3 u8 set 0x1 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped","json":"0","words":"actions add action pedit munge offset 3 u8 set 0x1 index 1"}} +{"id":"tcact2write/ec-040","desc":"positive: opt=plain cmd=ped:actions_add_action_pedit_munge_offset_2_u16_set_0x1_index_1","cmd":"tc actions add action pedit munge offset 2 u16 set 0x1 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped","json":"0","words":"actions add action pedit munge offset 2 u16 set 0x1 index 1"}} +{"id":"tcact2write/ec-041","desc":"positive: opt=plain cmd=ped:actions_add_action_pedit_munge_offset_12_u16_set_0x0800_retain_0xff00_index_1","cmd":"tc actions add action pedit munge offset 12 u16 set 0x0800 retain 0xff00 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped","json":"0","words":"actions add action pedit munge offset 12 u16 set 0x0800 retain 0xff00 index 1"}} +{"id":"tcact2write/ec-042","desc":"positive: opt=plain cmd=ped:actions_add_action_pedit_munge_offset_12_u32_at_0_f_2_set_0x1_index_1","cmd":"tc actions add action pedit munge offset 12 u32 at 0 f 2 set 0x1 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped","json":"0","words":"actions add action pedit munge offset 12 u32 at 0 f 2 set 0x1 index 1"}} +{"id":"tcact2write/ec-043","desc":"positive: opt=plain cmd=ped:actions_add_action_pedit_munge_offset_12_u32_clear_index_1","cmd":"tc actions add action pedit munge offset 12 u32 clear index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped","json":"0","words":"actions add action pedit munge offset 12 u32 clear index 1"}} +{"id":"tcact2write/ec-044","desc":"positive: opt=plain cmd=ped:actions_add_action_pedit_munge_offset_12_u32_invert_index_1","cmd":"tc actions add action pedit munge offset 12 u32 invert index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped","json":"0","words":"actions add action pedit munge offset 12 u32 invert index 1"}} +{"id":"tcact2write/ec-045","desc":"positive: opt=plain cmd=ped:actions_add_action_pedit_munge_offset_12_u32_preserve_index_1","cmd":"tc actions add action pedit munge offset 12 u32 preserve index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped","json":"0","words":"actions add action pedit munge offset 12 u32 preserve index 1"}} +{"id":"tcact2write/ec-046","desc":"positive: opt=plain cmd=ped:actions_add_action_pedit_munge_offset_12_u32_set_0x1_drop_index_1","cmd":"tc actions add action pedit munge offset 12 u32 set 0x1 drop index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped","json":"0","words":"actions add action pedit munge offset 12 u32 set 0x1 drop index 1"}} +{"id":"tcact2write/ec-047","desc":"positive: opt=plain cmd=ped:actions_add_action_pedit_munge_offset_12_u32_set_0x1_munge_offset_16_u32_set_0x2_pipe_index_1","cmd":"tc actions add action pedit munge offset 12 u32 set 0x1 munge offset 16 u32 set 0x2 pipe index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped","json":"0","words":"actions add action pedit munge offset 12 u32 set 0x1 munge offset 16 u32 set 0x2 pipe index 1"}} +{"id":"tcact2write/ec-048","desc":"positive: opt=plain cmd=ped:actions_add_action_pedit_ex_munge_offset_12_u32_add_1_index_1","cmd":"tc actions add action pedit ex munge offset 12 u32 add 1 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped","json":"0","words":"actions add action pedit ex munge offset 12 u32 add 1 index 1"}} +{"id":"tcact2write/ec-049","desc":"positive: opt=plain cmd=ped-ip:actions_add_action_pedit_munge_ip_src_set_10.0.0.1_index_1","cmd":"tc actions add action pedit munge ip src set 10.0.0.1 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ip","json":"0","words":"actions add action pedit munge ip src set 10.0.0.1 index 1"}} +{"id":"tcact2write/ec-050","desc":"positive: opt=plain cmd=ped-ip:actions_add_action_pedit_munge_ip_dst_set_10.0.0.2_index_1","cmd":"tc actions add action pedit munge ip dst set 10.0.0.2 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ip","json":"0","words":"actions add action pedit munge ip dst set 10.0.0.2 index 1"}} +{"id":"tcact2write/ec-051","desc":"positive: opt=plain cmd=ped-ip:actions_add_action_pedit_munge_ip_tos_set_0x10_index_1","cmd":"tc actions add action pedit munge ip tos set 0x10 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ip","json":"0","words":"actions add action pedit munge ip tos set 0x10 index 1"}} +{"id":"tcact2write/ec-052","desc":"positive: opt=plain cmd=ped-ip:actions_add_action_pedit_munge_ip_dsfield_set_0x10_index_1","cmd":"tc actions add action pedit munge ip dsfield set 0x10 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ip","json":"0","words":"actions add action pedit munge ip dsfield set 0x10 index 1"}} +{"id":"tcact2write/ec-053","desc":"positive: opt=plain cmd=ped-ip:actions_add_action_pedit_munge_ip_ihl_set_5_index_1","cmd":"tc actions add action pedit munge ip ihl set 5 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ip","json":"0","words":"actions add action pedit munge ip ihl set 5 index 1"}} +{"id":"tcact2write/ec-054","desc":"positive: opt=plain cmd=ped-ip:actions_add_action_pedit_munge_ip_ttl_set_64_index_1","cmd":"tc actions add action pedit munge ip ttl set 64 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ip","json":"0","words":"actions add action pedit munge ip ttl set 64 index 1"}} +{"id":"tcact2write/ec-055","desc":"positive: opt=plain cmd=ped-ip:actions_add_action_pedit_munge_ip_protocol_set_17_index_1","cmd":"tc actions add action pedit munge ip protocol set 17 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ip","json":"0","words":"actions add action pedit munge ip protocol set 17 index 1"}} +{"id":"tcact2write/ec-056","desc":"positive: opt=plain cmd=ped-ip:actions_add_action_pedit_munge_ip_precedence_set_0x20_index_1","cmd":"tc actions add action pedit munge ip precedence set 0x20 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ip","json":"0","words":"actions add action pedit munge ip precedence set 0x20 index 1"}} +{"id":"tcact2write/ec-057","desc":"positive: opt=plain cmd=ped-ip:actions_add_action_pedit_munge_ip_nofrag_set_0_index_1","cmd":"tc actions add action pedit munge ip nofrag set 0 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ip","json":"0","words":"actions add action pedit munge ip nofrag set 0 index 1"}} +{"id":"tcact2write/ec-058","desc":"positive: opt=plain cmd=ped-ip:actions_add_action_pedit_munge_ip_firstfrag_set_0_index_1","cmd":"tc actions add action pedit munge ip firstfrag set 0 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ip","json":"0","words":"actions add action pedit munge ip firstfrag set 0 index 1"}} +{"id":"tcact2write/ec-059","desc":"positive: opt=plain cmd=ped-ip:actions_add_action_pedit_munge_ip_ce_set_0x80_index_1","cmd":"tc actions add action pedit munge ip ce set 0x80 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ip","json":"0","words":"actions add action pedit munge ip ce set 0x80 index 1"}} +{"id":"tcact2write/ec-060","desc":"positive: opt=plain cmd=ped-ip:actions_add_action_pedit_munge_ip_df_set_0x40_index_1","cmd":"tc actions add action pedit munge ip df set 0x40 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ip","json":"0","words":"actions add action pedit munge ip df set 0x40 index 1"}} +{"id":"tcact2write/ec-061","desc":"positive: opt=plain cmd=ped-ip:actions_add_action_pedit_munge_ip_mf_set_0x20_index_1","cmd":"tc actions add action pedit munge ip mf set 0x20 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ip","json":"0","words":"actions add action pedit munge ip mf set 0x20 index 1"}} +{"id":"tcact2write/ec-062","desc":"positive: opt=plain cmd=ped-ip:actions_add_action_pedit_munge_ip_dport_set_80_index_1","cmd":"tc actions add action pedit munge ip dport set 80 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ip","json":"0","words":"actions add action pedit munge ip dport set 80 index 1"}} +{"id":"tcact2write/ec-063","desc":"positive: opt=plain cmd=ped-ip:actions_add_action_pedit_munge_ip_sport_set_53_index_1","cmd":"tc actions add action pedit munge ip sport set 53 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ip","json":"0","words":"actions add action pedit munge ip sport set 53 index 1"}} +{"id":"tcact2write/ec-064","desc":"positive: opt=plain cmd=ped-ip:actions_add_action_pedit_munge_ip_icmp_type_set_8_index_1","cmd":"tc actions add action pedit munge ip icmp_type set 8 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ip","json":"0","words":"actions add action pedit munge ip icmp_type set 8 index 1"}} +{"id":"tcact2write/ec-065","desc":"positive: opt=plain cmd=ped-ex:actions_add_action_pedit_ex_munge_ip_src_set_10.0.0.1_index_1","cmd":"tc actions add action pedit ex munge ip src set 10.0.0.1 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ex","json":"0","words":"actions add action pedit ex munge ip src set 10.0.0.1 index 1"}} +{"id":"tcact2write/ec-066","desc":"positive: opt=plain cmd=ped-ex:actions_add_action_pedit_ex_munge_ip_ttl_decrement_index_1","cmd":"tc actions add action pedit ex munge ip ttl decrement index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ex","json":"0","words":"actions add action pedit ex munge ip ttl decrement index 1"}} +{"id":"tcact2write/ec-067","desc":"positive: opt=plain cmd=ped-ex:actions_add_action_pedit_ex_munge_ip_ttl_add_1_index_1","cmd":"tc actions add action pedit ex munge ip ttl add 1 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ex","json":"0","words":"actions add action pedit ex munge ip ttl add 1 index 1"}} +{"id":"tcact2write/ec-068","desc":"positive: opt=plain cmd=ped-ex:actions_add_action_pedit_ex_munge_ip_tos_set_0x10_retain_0xf0_index_1","cmd":"tc actions add action pedit ex munge ip tos set 0x10 retain 0xf0 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ex","json":"0","words":"actions add action pedit ex munge ip tos set 0x10 retain 0xf0 index 1"}} +{"id":"tcact2write/ec-069","desc":"positive: opt=plain cmd=ped-ex:actions_add_action_pedit_ex_munge_ip6_src_set_2001:db8::1_index_1","cmd":"tc actions add action pedit ex munge ip6 src set 2001:db8::1 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ex","json":"0","words":"actions add action pedit ex munge ip6 src set 2001:db8::1 index 1"}} +{"id":"tcact2write/ec-070","desc":"positive: opt=plain cmd=ped-ex:actions_add_action_pedit_ex_munge_ip6_dst_set_2001:db8::2_index_1","cmd":"tc actions add action pedit ex munge ip6 dst set 2001:db8::2 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ex","json":"0","words":"actions add action pedit ex munge ip6 dst set 2001:db8::2 index 1"}} +{"id":"tcact2write/ec-071","desc":"positive: opt=plain cmd=ped-ex:actions_add_action_pedit_ex_munge_ip6_flow_lbl_set_0x12345_index_1","cmd":"tc actions add action pedit ex munge ip6 flow_lbl set 0x12345 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ex","json":"0","words":"actions add action pedit ex munge ip6 flow_lbl set 0x12345 index 1"}} +{"id":"tcact2write/ec-072","desc":"positive: opt=plain cmd=ped-ex:actions_add_action_pedit_ex_munge_ip6_payload_len_set_100_index_1","cmd":"tc actions add action pedit ex munge ip6 payload_len set 100 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ex","json":"0","words":"actions add action pedit ex munge ip6 payload_len set 100 index 1"}} +{"id":"tcact2write/ec-073","desc":"positive: opt=plain cmd=ped-ex:actions_add_action_pedit_ex_munge_ip6_nexthdr_set_6_index_1","cmd":"tc actions add action pedit ex munge ip6 nexthdr set 6 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ex","json":"0","words":"actions add action pedit ex munge ip6 nexthdr set 6 index 1"}} +{"id":"tcact2write/ec-074","desc":"positive: opt=plain cmd=ped-ex:actions_add_action_pedit_ex_munge_ip6_hoplimit_set_64_index_1","cmd":"tc actions add action pedit ex munge ip6 hoplimit set 64 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ex","json":"0","words":"actions add action pedit ex munge ip6 hoplimit set 64 index 1"}} +{"id":"tcact2write/ec-075","desc":"positive: opt=plain cmd=ped-ex:actions_add_action_pedit_ex_munge_ip6_hoplimit_decrement_index_1","cmd":"tc actions add action pedit ex munge ip6 hoplimit decrement index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ex","json":"0","words":"actions add action pedit ex munge ip6 hoplimit decrement index 1"}} +{"id":"tcact2write/ec-076","desc":"positive: opt=plain cmd=ped-ex:actions_add_action_pedit_ex_munge_ip6_traffic_class_set_0x10_index_1","cmd":"tc actions add action pedit ex munge ip6 traffic_class set 0x10 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ex","json":"0","words":"actions add action pedit ex munge ip6 traffic_class set 0x10 index 1"}} +{"id":"tcact2write/ec-077","desc":"positive: opt=plain cmd=ped-ex:actions_add_action_pedit_ex_munge_tcp_sport_set_80_index_1","cmd":"tc actions add action pedit ex munge tcp sport set 80 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ex","json":"0","words":"actions add action pedit ex munge tcp sport set 80 index 1"}} +{"id":"tcact2write/ec-078","desc":"positive: opt=plain cmd=ped-ex:actions_add_action_pedit_ex_munge_tcp_dport_set_443_index_1","cmd":"tc actions add action pedit ex munge tcp dport set 443 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ex","json":"0","words":"actions add action pedit ex munge tcp dport set 443 index 1"}} +{"id":"tcact2write/ec-079","desc":"positive: opt=plain cmd=ped-ex:actions_add_action_pedit_ex_munge_tcp_flags_set_0x02_index_1","cmd":"tc actions add action pedit ex munge tcp flags set 0x02 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ex","json":"0","words":"actions add action pedit ex munge tcp flags set 0x02 index 1"}} +{"id":"tcact2write/ec-080","desc":"positive: opt=plain cmd=ped-ex:actions_add_action_pedit_ex_munge_udp_sport_set_53_index_1","cmd":"tc actions add action pedit ex munge udp sport set 53 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ex","json":"0","words":"actions add action pedit ex munge udp sport set 53 index 1"}} +{"id":"tcact2write/ec-081","desc":"positive: opt=plain cmd=ped-ex:actions_add_action_pedit_ex_munge_udp_dport_set_67_index_1","cmd":"tc actions add action pedit ex munge udp dport set 67 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ex","json":"0","words":"actions add action pedit ex munge udp dport set 67 index 1"}} +{"id":"tcact2write/ec-082","desc":"positive: opt=plain cmd=ped-ex:actions_add_action_pedit_ex_munge_eth_dst_set_02:00:00:00:00:09_index_1","cmd":"tc actions add action pedit ex munge eth dst set 02:00:00:00:00:09 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ex","json":"0","words":"actions add action pedit ex munge eth dst set 02:00:00:00:00:09 index 1"}} +{"id":"tcact2write/ec-083","desc":"positive: opt=plain cmd=ped-ex:actions_add_action_pedit_ex_munge_eth_src_set_02:00:00:00:00:0a_index_1","cmd":"tc actions add action pedit ex munge eth src set 02:00:00:00:00:0a index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ex","json":"0","words":"actions add action pedit ex munge eth src set 02:00:00:00:00:0a index 1"}} +{"id":"tcact2write/ec-084","desc":"positive: opt=plain cmd=ped-ex:actions_add_action_pedit_ex_munge_eth_type_set_0x0800_index_1","cmd":"tc actions add action pedit ex munge eth type set 0x0800 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ex","json":"0","words":"actions add action pedit ex munge eth type set 0x0800 index 1"}} +{"id":"tcact2write/ec-085","desc":"positive: opt=plain cmd=ped-ex:actions_add_action_pedit_ex_munge_ip_ttl_set_10_munge_ip6_hoplimit_set_10_munge_tcp_dport_set_80_munge_eth_type_set_0x86dd_index_1","cmd":"tc actions add action pedit ex munge ip ttl set 10 munge ip6 hoplimit set 10 munge tcp dport set 80 munge eth type set 0x86dd index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped-ex","json":"0","words":"actions add action pedit ex munge ip ttl set 10 munge ip6 hoplimit set 10 munge tcp dport set 80 munge eth type set 0x86dd index 1"}} +{"id":"tcact2write/ec-086","desc":"boundary: opt=plain cmd=ped:actions_add_action_pedit_munge_ip_ttl_set_255_index_1","cmd":"tc actions add action pedit munge ip ttl set 255 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped","json":"0","words":"actions add action pedit munge ip ttl set 255 index 1"}} +{"id":"tcact2write/ec-087","desc":"boundary: opt=plain cmd=ped:actions_add_action_pedit_munge_ip_dport_set_65535_index_1","cmd":"tc actions add action pedit munge ip dport set 65535 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ped","json":"0","words":"actions add action pedit munge ip dport set 65535 index 1"}} +{"id":"tcact2write/ec-088","desc":"boundary: opt=plain cmd=w220:actions_add_action_pedit_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_index_1","cmd":"tc actions add action pedit munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w220","json":"0","words":"actions add action pedit munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 index 1"}} +{"id":"tcact2write/ec-089","desc":"corner: opt=plain cmd=w216-at:actions_add_action_pedit_munge_offset_12_u32_at_4_0xff_24_set_1_index_1","cmd":"tc actions add action pedit munge offset 12 u32 at 4 0xff 24 set 1 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w216-at","json":"0","words":"actions add action pedit munge offset 12 u32 at 4 0xff 24 set 1 index 1"}} +{"id":"tcact2write/ec-090","desc":"corner: opt=plain cmd=w217:actions_add_action_pedit_munge_offset_12_u32_at_0x4_10_2_set_1_index_1","cmd":"tc actions add action pedit munge offset 12 u32 at 0x4 10 2 set 1 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w217","json":"0","words":"actions add action pedit munge offset 12 u32 at 0x4 10 2 set 1 index 1"}} +{"id":"tcact2write/ec-091","desc":"corner: opt=plain cmd=w223:actions_add_action_pedit_ex_munge_eth_dst_invert_index_1","cmd":"tc actions add action pedit ex munge eth dst invert index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w223","json":"0","words":"actions add action pedit ex munge eth dst invert index 1"}} +{"id":"tcact2write/ec-092","desc":"corner: opt=plain cmd=w223-ip6:actions_add_action_pedit_ex_munge_ip6_dst_invert_index_1","cmd":"tc actions add action pedit ex munge ip6 dst invert index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w223-ip6","json":"0","words":"actions add action pedit ex munge ip6 dst invert index 1"}} +{"id":"tcact2write/ec-093","desc":"corner: opt=plain cmd=w224:actions_add_action_pedit_munge_offset_12_u32_preserve_retain_0xff_index_1","cmd":"tc actions add action pedit munge offset 12 u32 preserve retain 0xff index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w224","json":"0","words":"actions add action pedit munge offset 12 u32 preserve retain 0xff index 1"}} +{"id":"tcact2write/ec-094","desc":"corner: opt=plain cmd=w224-set:actions_add_action_pedit_munge_offset_12_u32_set_0x1234_retain_0xff_index_1","cmd":"tc actions add action pedit munge offset 12 u32 set 0x1234 retain 0xff index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w224-set","json":"0","words":"actions add action pedit munge offset 12 u32 set 0x1234 retain 0xff index 1"}} +{"id":"tcact2write/ec-095","desc":"corner: opt=plain cmd=w227:actions_add_action_pedit_munge_offset_12_u32_a_0_f_0_set_1_index_1","cmd":"tc actions add action pedit munge offset 12 u32 a 0 f 0 set 1 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w227","json":"0","words":"actions add action pedit munge offset 12 u32 a 0 f 0 set 1 index 1"}} +{"id":"tcact2write/ec-096","desc":"corner: opt=plain cmd=w227-u:actions_add_action_pedit_munge_offset_12_u_set_1_index_1","cmd":"tc actions add action pedit munge offset 12 u set 1 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w227-u","json":"0","words":"actions add action pedit munge offset 12 u set 1 index 1"}} +{"id":"tcact2write/ec-097","desc":"corner: opt=plain cmd=w227-u1:actions_add_action_pedit_munge_offset_12_u1_set_1_index_1","cmd":"tc actions add action pedit munge offset 12 u1 set 1 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w227-u1","json":"0","words":"actions add action pedit munge offset 12 u1 set 1 index 1"}} +{"id":"tcact2write/ec-098","desc":"corner: opt=plain cmd=w232-junk:actions_add_action_pedit_ex_munge_eth_dst_set_02:00:00:00:00:01junk_index_1","cmd":"tc actions add action pedit ex munge eth dst set 02:00:00:00:00:01junk index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w232-junk","json":"0","words":"actions add action pedit ex munge eth dst set 02:00:00:00:00:01junk index 1"}} +{"id":"tcact2write/ec-099","desc":"corner: opt=plain cmd=w233:actions_add_action_pedit_munge_ip_src_set_10.0.0.1/8_index_1","cmd":"tc actions add action pedit munge ip src set 10.0.0.1/8 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w233","json":"0","words":"actions add action pedit munge ip src set 10.0.0.1/8 index 1"}} +{"id":"tcact2write/ec-100","desc":"corner: opt=plain cmd=w233-legacy:actions_add_action_pedit_munge_ip_src_set_010.1_index_1","cmd":"tc actions add action pedit munge ip src set 010.1 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w233-legacy","json":"0","words":"actions add action pedit munge ip src set 010.1 index 1"}} +{"id":"tcact2write/ec-101","desc":"corner: opt=plain cmd=w233-any:actions_add_action_pedit_munge_ip_dst_set_any_index_1","cmd":"tc actions add action pedit munge ip dst set any index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w233-any","json":"0","words":"actions add action pedit munge ip dst set any index 1"}} +{"id":"tcact2write/ec-102","desc":"corner: opt=plain cmd=w234:actions_add_action_pedit_ex_munge_ip6_src_set_any_index_1","cmd":"tc actions add action pedit ex munge ip6 src set any index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w234","json":"0","words":"actions add action pedit ex munge ip6 src set any index 1"}} +{"id":"tcact2write/ec-103","desc":"corner: opt=plain cmd=w234-len:actions_add_action_pedit_ex_munge_ip6_src_set_2001:db8::1/64_index_1","cmd":"tc actions add action pedit ex munge ip6 src set 2001:db8::1/64 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w234-len","json":"0","words":"actions add action pedit ex munge ip6 src set 2001:db8::1/64 index 1"}} +{"id":"tcact2write/ec-104","desc":"corner: opt=plain cmd=w235:actions_add_action_pedit_munge_offset_-4_u32_set_1_index_1","cmd":"tc actions add action pedit munge offset -4 u32 set 1 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w235","json":"0","words":"actions add action pedit munge offset -4 u32 set 1 index 1"}} +{"id":"tcact2write/ec-105","desc":"corner: opt=plain cmd=w236:actions_add_action_pedit_munge_ip_icmp_code_set_3_index_1","cmd":"tc actions add action pedit munge ip icmp_code set 3 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w236","json":"0","words":"actions add action pedit munge ip icmp_code set 3 index 1"}} +{"id":"tcact2write/ec-106","desc":"corner: opt=plain cmd=w237-d:actions_add_action_pedit_munge_ip_d_set_1_index_1","cmd":"tc actions add action pedit munge ip d set 1 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w237-d","json":"0","words":"actions add action pedit munge ip d set 1 index 1"}} +{"id":"tcact2write/ec-107","desc":"corner: opt=plain cmd=w237-p:actions_add_action_pedit_munge_ip_p_set_1_index_1","cmd":"tc actions add action pedit munge ip p set 1 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w237-p","json":"0","words":"actions add action pedit munge ip p set 1 index 1"}} +{"id":"tcact2write/ec-108","desc":"corner: opt=plain cmd=w238:actions_add_action_pedit_ex_munge_ip6_flow_lbl_set_0xfffff_index_1","cmd":"tc actions add action pedit ex munge ip6 flow_lbl set 0xfffff index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w238","json":"0","words":"actions add action pedit ex munge ip6 flow_lbl set 0xfffff index 1"}} +{"id":"tcact2write/ec-109","desc":"corner: opt=plain cmd=w243:actions_add_action_pedit_munge_ip_ttl_set_1_index_5_pipe","cmd":"tc actions add action pedit munge ip ttl set 1 index 5 pipe","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w243","json":"0","words":"actions add action pedit munge ip ttl set 1 index 5 pipe"}} +{"id":"tcact2write/ec-110","desc":"corner: opt=plain cmd=w249:actions_add_action_pedit_ex_munge_ip6_src_add_::1_index_1","cmd":"tc actions add action pedit ex munge ip6 src add ::1 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w249","json":"0","words":"actions add action pedit ex munge ip6 src add ::1 index 1"}} +{"id":"tcact2write/ec-111","desc":"corner: opt=plain cmd=w249-eth:actions_add_action_pedit_ex_munge_eth_dst_add_00:00:00:00:00:01_index_1","cmd":"tc actions add action pedit ex munge eth dst add 00:00:00:00:00:01 index 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 actions ls action pedit"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w249-eth","json":"0","words":"actions add action pedit ex munge eth dst add 00:00:00:00:00:01 index 1"}} +{"id":"tcact2write/ec-112","desc":"positive: opt=plain cmd=tk:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_7_dst_port_4789_tos_0x10_ttl_64_index_1","cmd":"tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 dst_port 4789 tos 0x10 ttl 64 index 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 actions ls action tunnel_key"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"tk","json":"0","words":"actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 dst_port 4789 tos 0x10 ttl 64 index 1"}} +{"id":"tcact2write/ec-113","desc":"positive: opt=plain cmd=tk:actions_add_action_tunnel_key_set_src_ip_2001:db8::1_dst_ip_2001:db8::2_id_8_dst_port_6081_index_1","cmd":"tc actions add action tunnel_key set src_ip 2001:db8::1 dst_ip 2001:db8::2 id 8 dst_port 6081 index 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 actions ls action tunnel_key"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"tk","json":"0","words":"actions add action tunnel_key set src_ip 2001:db8::1 dst_ip 2001:db8::2 id 8 dst_port 6081 index 1"}} +{"id":"tcact2write/ec-114","desc":"positive: opt=plain cmd=tk:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_7_nocsum_nofrag_index_1","cmd":"tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 nocsum nofrag index 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 actions ls action tunnel_key"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"tk","json":"0","words":"actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 nocsum nofrag index 1"}} +{"id":"tcact2write/ec-115","desc":"positive: opt=plain cmd=tk:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_7_csum_index_1","cmd":"tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 csum index 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 actions ls action tunnel_key"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"tk","json":"0","words":"actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 csum index 1"}} +{"id":"tcact2write/ec-116","desc":"positive: opt=plain cmd=tk:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_index_1","cmd":"tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 index 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 actions ls action tunnel_key"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"tk","json":"0","words":"actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 index 1"}} +{"id":"tcact2write/ec-117","desc":"positive: opt=plain cmd=tk:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_7_geneve_opts_0102:80:00880022_index_1","cmd":"tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 geneve_opts 0102:80:00880022 index 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 actions ls action tunnel_key"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"tk","json":"0","words":"actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 geneve_opts 0102:80:00880022 index 1"}} +{"id":"tcact2write/ec-118","desc":"positive: opt=plain cmd=tk:actions_add_action_tunnel_key_set_src_ip_2001:db8::1_dst_ip_2001:db8::2_id_8_geneve_opts_0102:80:00880022,0103:81:00a000b0,0104:82:0011223344556677_index_1","cmd":"tc actions add action tunnel_key set src_ip 2001:db8::1 dst_ip 2001:db8::2 id 8 geneve_opts 0102:80:00880022,0103:81:00a000b0,0104:82:0011223344556677 index 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 actions ls action tunnel_key"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"tk","json":"0","words":"actions add action tunnel_key set src_ip 2001:db8::1 dst_ip 2001:db8::2 id 8 geneve_opts 0102:80:00880022,0103:81:00a000b0,0104:82:0011223344556677 index 1"}} +{"id":"tcact2write/ec-119","desc":"positive: opt=plain cmd=tk:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_9_vxlan_opts_4660_index_1","cmd":"tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 9 vxlan_opts 4660 index 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 actions ls action tunnel_key"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"tk","json":"0","words":"actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 9 vxlan_opts 4660 index 1"}} +{"id":"tcact2write/ec-120","desc":"positive: opt=plain cmd=tk:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_10_erspan_opts_1:12:0:0_index_1","cmd":"tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 10 erspan_opts 1:12:0:0 index 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 actions ls action tunnel_key"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"tk","json":"0","words":"actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 10 erspan_opts 1:12:0:0 index 1"}} +{"id":"tcact2write/ec-121","desc":"positive: opt=plain cmd=tk:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_11_erspan_opts_2:0:1:7_index_1","cmd":"tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 11 erspan_opts 2:0:1:7 index 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 actions ls action tunnel_key"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"tk","json":"0","words":"actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 11 erspan_opts 2:0:1:7 index 1"}} +{"id":"tcact2write/ec-122","desc":"positive: opt=plain cmd=tk:actions_add_action_tunnel_key_unset_drop_index_1","cmd":"tc actions add action tunnel_key unset drop index 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 actions ls action tunnel_key"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"tk","json":"0","words":"actions add action tunnel_key unset drop index 1"}} +{"id":"tcact2write/ec-123","desc":"positive: opt=plain cmd=tk:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_7_pipe_index_1","cmd":"tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 pipe index 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 actions ls action tunnel_key"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"tk","json":"0","words":"actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 pipe index 1"}} +{"id":"tcact2write/ec-124","desc":"boundary: opt=plain cmd=tk:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_7_tos_255_ttl_255_index_1","cmd":"tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 tos 255 ttl 255 index 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 actions ls action tunnel_key"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"tk","json":"0","words":"actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 tos 255 ttl 255 index 1"}} +{"id":"tcact2write/ec-125","desc":"boundary: opt=plain cmd=tk:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_4294967295_dst_port_65535_index_1","cmd":"tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 4294967295 dst_port 65535 index 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 actions ls action tunnel_key"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"tk","json":"0","words":"actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 4294967295 dst_port 65535 index 1"}} +{"id":"tcact2write/ec-126","desc":"corner: opt=plain cmd=w255:actions_add_action_tunnel_key_s_src_ip_10.0.0.1_d_10.0.0.2_i_7_t_1_n_index_1","cmd":"tc actions add action tunnel_key s src_ip 10.0.0.1 d 10.0.0.2 i 7 t 1 n index 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 actions ls action tunnel_key"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w255","json":"0","words":"actions add action tunnel_key s src_ip 10.0.0.1 d 10.0.0.2 i 7 t 1 n index 1"}} +{"id":"tcact2write/ec-127","desc":"corner: opt=plain cmd=w257:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_7_tos_1a_ttl_010_index_1","cmd":"tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 tos 1a ttl 010 index 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 actions ls action tunnel_key"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w257","json":"0","words":"actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 tos 1a ttl 010 index 1"}} +{"id":"tcact2write/ec-128","desc":"corner: opt=plain cmd=w259-8:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_7_geneve_opts_0102:80:00112233_index_1","cmd":"tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 geneve_opts 0102:80:00112233 index 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 actions ls action tunnel_key"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w259-8","json":"0","words":"actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 geneve_opts 0102:80:00112233 index 1"}} +{"id":"tcact2write/ec-129","desc":"corner: opt=plain cmd=w262:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_7_geneve_opts_0102:80:00880022_vxlan_opts_4660_index_1","cmd":"tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 geneve_opts 0102:80:00880022 vxlan_opts 4660 index 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 actions ls action tunnel_key"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w262","json":"0","words":"actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 geneve_opts 0102:80:00880022 vxlan_opts 4660 index 1"}} +{"id":"tcact2write/ec-130","desc":"corner: opt=plain cmd=w263:actions_add_action_tunnel_key_unset_src_ip_10.0.0.1_dst_ip_10.0.0.2_nocsum_index_1","cmd":"tc actions add action tunnel_key unset src_ip 10.0.0.1 dst_ip 10.0.0.2 nocsum index 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 actions ls action tunnel_key"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w263","json":"0","words":"actions add action tunnel_key unset src_ip 10.0.0.1 dst_ip 10.0.0.2 nocsum index 1"}} +{"id":"tcact2write/ec-131","desc":"corner: opt=plain cmd=w264:actions_add_action_tunnel_key_unset_index_5_pipe","cmd":"tc actions add action tunnel_key unset index 5 pipe","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action tunnel_key"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w264","json":"0","words":"actions add action tunnel_key unset index 5 pipe"}} +{"id":"tcact2write/ec-132","desc":"positive: opt=plain cmd=w274:actions_add_action_ife_encode_type_0xED3E_dst_02:00:00:00:00:01_src_02:00:00:00:00:02_use_mark_7_index_1","cmd":"tc actions add action ife encode type 0xED3E dst 02:00:00:00:00:01 src 02:00:00:00:00:02 use mark 7 index 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 actions ls action ife"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w274","json":"0","words":"actions add action ife encode type 0xED3E dst 02:00:00:00:00:01 src 02:00:00:00:00:02 use mark 7 index 1"}} +{"id":"tcact2write/ec-133","desc":"positive: opt=plain cmd=w275:actions_add_action_ife_encode_allow_mark_allow_prio_allow_tcindex_index_1","cmd":"tc actions add action ife encode allow mark allow prio allow tcindex index 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 actions ls action ife"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w275","json":"0","words":"actions add action ife encode allow mark allow prio allow tcindex index 1"}} +{"id":"tcact2write/ec-134","desc":"positive: opt=plain cmd=ife:actions_add_action_ife_encode_use_prio_5_use_tcindex_3_index_1","cmd":"tc actions add action ife encode use prio 5 use tcindex 3 index 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 actions ls action ife"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ife","json":"0","words":"actions add action ife encode use prio 5 use tcindex 3 index 1"}} +{"id":"tcact2write/ec-135","desc":"positive: opt=plain cmd=ife:actions_add_action_ife_decode_index_1","cmd":"tc actions add action ife decode index 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 actions ls action ife"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ife","json":"0","words":"actions add action ife decode index 1"}} +{"id":"tcact2write/ec-136","desc":"positive: opt=plain cmd=ife:actions_add_action_ife_encode_allow_mark_drop_index_1","cmd":"tc actions add action ife encode allow mark drop index 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 actions ls action ife"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ife","json":"0","words":"actions add action ife encode allow mark drop index 1"}} +{"id":"tcact2write/ec-137","desc":"boundary: opt=plain cmd=ife:actions_add_action_ife_encode_use_mark_4294967295_use_tcindex_65535_index_1","cmd":"tc actions add action ife encode use mark 4294967295 use tcindex 65535 index 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 actions ls action ife"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ife","json":"0","words":"actions add action ife encode use mark 4294967295 use tcindex 65535 index 1"}} +{"id":"tcact2write/ec-138","desc":"corner: opt=plain cmd=w267:actions_add_action_ife_index_5","cmd":"tc actions add action ife index 5","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action ife"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w267","json":"0","words":"actions add action ife index 5"}} +{"id":"tcact2write/ec-139","desc":"corner: opt=plain cmd=w269:actions_add_action_ife_ife_i_decode_index_1","cmd":"tc actions add action ife ife i decode index 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 actions ls action ife"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w269","json":"0","words":"actions add action ife ife i decode index 1"}} +{"id":"tcact2write/ec-140","desc":"corner: opt=plain cmd=w270:actions_add_action_ife_e_a_mark_ds_02:00:00:00:00:01_t_0x1234_index_1","cmd":"tc actions add action ife e a mark ds 02:00:00:00:00:01 t 0x1234 index 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 actions ls action ife"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w270","json":"0","words":"actions add action ife e a mark ds 02:00:00:00:00:01 t 0x1234 index 1"}} +{"id":"tcact2write/ec-141","desc":"corner: opt=plain cmd=w270-last:actions_add_action_ife_encode_decode_index_1","cmd":"tc actions add action ife encode decode index 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 actions ls action ife"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w270-last","json":"0","words":"actions add action ife encode decode index 1"}} +{"id":"tcact2write/ec-142","desc":"corner: opt=plain cmd=w271:actions_add_action_ife_encode_use_mark_0_index_1","cmd":"tc actions add action ife encode use mark 0 index 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 actions ls action ife"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w271","json":"0","words":"actions add action ife encode use mark 0 index 1"}} +{"id":"tcact2write/ec-143","desc":"corner: opt=plain cmd=w271-order:actions_add_action_ife_encode_use_tcindex_1_use_mark_2_allow_prio_index_1","cmd":"tc actions add action ife encode use tcindex 1 use mark 2 allow prio index 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 actions ls action ife"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w271-order","json":"0","words":"actions add action ife encode use tcindex 1 use mark 2 allow prio index 1"}} +{"id":"tcact2write/ec-144","desc":"corner: opt=plain cmd=w271-over:actions_add_action_ife_encode_allow_mark_use_mark_9_index_1","cmd":"tc actions add action ife encode allow mark use mark 9 index 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 actions ls action ife"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w271-over","json":"0","words":"actions add action ife encode allow mark use mark 9 index 1"}} +{"id":"tcact2write/ec-145","desc":"corner: opt=plain cmd=w272:actions_add_action_ife_encode_use_mark_010_index_0x5","cmd":"tc actions add action ife encode use mark 010 index 0x5","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action ife"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w272","json":"0","words":"actions add action ife encode use mark 010 index 0x5"}} +{"id":"tcact2write/ec-146","desc":"corner: opt=plain cmd=w273:actions_add_action_ife_decode_dst_02:00:00:00:00:01_type_0x1234_allow_mark_index_1","cmd":"tc actions add action ife decode dst 02:00:00:00:00:01 type 0x1234 allow mark index 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 actions ls action ife"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w273","json":"0","words":"actions add action ife decode dst 02:00:00:00:00:01 type 0x1234 allow mark index 1"}} +{"id":"tcact2write/ec-147","desc":"corner: opt=plain cmd=w196-ife:actions_add_action_ife_encode_dst_02:00:00:00:00:01junk_allow_mark_index_1","cmd":"tc actions add action ife encode dst 02:00:00:00:00:01junk allow mark index 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 actions ls action ife"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w196-ife","json":"0","words":"actions add action ife encode dst 02:00:00:00:00:01junk allow mark index 1"}} +{"id":"tcact2write/ec-148","desc":"corner: opt=plain cmd=w196-ife-x:actions_add_action_ife_encode_dst_0x2:1aa:00:00:00:01_allow_mark_index_1","cmd":"tc actions add action ife encode dst 0x2:1aa:00:00:00:01 allow mark index 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 actions ls action ife"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w196-ife-x","json":"0","words":"actions add action ife encode dst 0x2:1aa:00:00:00:01 allow mark index 1"}} +{"id":"tcact2write/ec-149","desc":"positive: opt=plain cmd=ct:actions_add_action_ct_index_1","cmd":"tc actions add action ct index 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 actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ct","json":"0","words":"actions add action ct index 1"}} +{"id":"tcact2write/ec-150","desc":"positive: opt=plain cmd=ct:actions_add_action_ct_commit_force_index_1","cmd":"tc actions add action ct commit force index 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 actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ct","json":"0","words":"actions add action ct commit force index 1"}} +{"id":"tcact2write/ec-151","desc":"positive: opt=plain cmd=ct:actions_add_action_ct_clear_index_1","cmd":"tc actions add action ct clear index 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 actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ct","json":"0","words":"actions add action ct clear index 1"}} +{"id":"tcact2write/ec-152","desc":"positive: opt=plain cmd=ct:actions_add_action_ct_zone_5_index_1","cmd":"tc actions add action ct zone 5 index 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 actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ct","json":"0","words":"actions add action ct zone 5 index 1"}} +{"id":"tcact2write/ec-153","desc":"positive: opt=plain cmd=ct:actions_add_action_ct_commit_zone_404_mark_0x42/0xf0_label_12312300000000000000000000000001/ffffffff000000000000000000000001_index_1","cmd":"tc actions add action ct commit zone 404 mark 0x42/0xf0 label 12312300000000000000000000000001/ffffffff000000000000000000000001 index 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 actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ct","json":"0","words":"actions add action ct commit zone 404 mark 0x42/0xf0 label 12312300000000000000000000000001/ffffffff000000000000000000000001 index 1"}} +{"id":"tcact2write/ec-154","desc":"positive: opt=plain cmd=ct:actions_add_action_ct_commit_mark_5_index_1","cmd":"tc actions add action ct commit mark 5 index 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 actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ct","json":"0","words":"actions add action ct commit mark 5 index 1"}} +{"id":"tcact2write/ec-155","desc":"positive: opt=plain cmd=ct:actions_add_action_ct_commit_label_0102_index_1","cmd":"tc actions add action ct commit label 0102 index 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 actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ct","json":"0","words":"actions add action ct commit label 0102 index 1"}} +{"id":"tcact2write/ec-156","desc":"positive: opt=plain cmd=ct:actions_add_action_ct_commit_nat_src_addr_10.0.0.1-10.0.0.9_port_1000-2000_index_1","cmd":"tc actions add action ct commit nat src addr 10.0.0.1-10.0.0.9 port 1000-2000 index 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 actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ct","json":"0","words":"actions add action ct commit nat src addr 10.0.0.1-10.0.0.9 port 1000-2000 index 1"}} +{"id":"tcact2write/ec-157","desc":"positive: opt=plain cmd=ct:actions_add_action_ct_commit_nat_dst_addr_10.0.0.1_port_80_index_1","cmd":"tc actions add action ct commit nat dst addr 10.0.0.1 port 80 index 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 actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ct","json":"0","words":"actions add action ct commit nat dst addr 10.0.0.1 port 80 index 1"}} +{"id":"tcact2write/ec-158","desc":"positive: opt=plain cmd=ct:actions_add_action_ct_commit_nat_dst_addr_2001:db8::1_index_1","cmd":"tc actions add action ct commit nat dst addr 2001:db8::1 index 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 actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ct","json":"0","words":"actions add action ct commit nat dst addr 2001:db8::1 index 1"}} +{"id":"tcact2write/ec-159","desc":"positive: opt=plain cmd=ct:actions_add_action_ct_commit_nat_src_addr_2001:db8::1-2001:db8::9_port_80-90_index_1","cmd":"tc actions add action ct commit nat src addr 2001:db8::1-2001:db8::9 port 80-90 index 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 actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ct","json":"0","words":"actions add action ct commit nat src addr 2001:db8::1-2001:db8::9 port 80-90 index 1"}} +{"id":"tcact2write/ec-160","desc":"positive: opt=plain cmd=ct:actions_add_action_ct_nat_index_1","cmd":"tc actions add action ct nat index 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 actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ct","json":"0","words":"actions add action ct nat index 1"}} +{"id":"tcact2write/ec-161","desc":"positive: opt=plain cmd=ct:actions_add_action_ct_nat_zone_3_index_1","cmd":"tc actions add action ct nat zone 3 index 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 actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ct","json":"0","words":"actions add action ct nat zone 3 index 1"}} +{"id":"tcact2write/ec-162","desc":"positive: opt=plain cmd=ct:actions_add_action_ct_commit_helper_ipv4-tcp-ftp_index_1","cmd":"tc actions add action ct commit helper ipv4-tcp-ftp index 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 actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ct","json":"0","words":"actions add action ct commit helper ipv4-tcp-ftp index 1"}} +{"id":"tcact2write/ec-163","desc":"positive: opt=plain cmd=ct:actions_add_action_ct_commit_helper_ipv6-tcp-ftp_index_1","cmd":"tc actions add action ct commit helper ipv6-tcp-ftp index 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 actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ct","json":"0","words":"actions add action ct commit helper ipv6-tcp-ftp index 1"}} +{"id":"tcact2write/ec-164","desc":"positive: opt=plain cmd=ct:actions_add_action_ct_commit_index_1_drop","cmd":"tc actions add action ct commit index 1 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 actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ct","json":"0","words":"actions add action ct commit index 1 drop"}} +{"id":"tcact2write/ec-165","desc":"boundary: opt=plain cmd=ct:actions_add_action_ct_zone_65535_index_1","cmd":"tc actions add action ct zone 65535 index 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 actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"ct","json":"0","words":"actions add action ct zone 65535 index 1"}} +{"id":"tcact2write/ec-166","desc":"boundary: opt=plain cmd=w285-32:actions_add_action_ct_commit_label_0123456789abcdef0123456789abcdef_index_1","cmd":"tc actions add action ct commit label 0123456789abcdef0123456789abcdef index 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 actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w285-32","json":"0","words":"actions add action ct commit label 0123456789abcdef0123456789abcdef index 1"}} +{"id":"tcact2write/ec-167","desc":"boundary: opt=plain cmd=w280-62:actions_add_action_ct_commit_nat_src_addr_2001:0db8:0000:0000:0000:0000:0000:0001-2001:0db8:0000:0000::9_index_1","cmd":"tc actions add action ct commit nat src addr 2001:0db8:0000:0000:0000:0000:0000:0001-2001:0db8:0000:0000::9 index 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 actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w280-62","json":"0","words":"actions add action ct commit nat src addr 2001:0db8:0000:0000:0000:0000:0000:0001-2001:0db8:0000:0000::9 index 1"}} +{"id":"tcact2write/ec-168","desc":"corner: opt=plain cmd=w280:actions_add_action_ct_commit_nat_src_addr_2001:0db8:0000:0000:0000:0000:0000:0001-2001:0db8:0000:0000::09_index_1","cmd":"tc actions add action ct commit nat src addr 2001:0db8:0000:0000:0000:0000:0000:0001-2001:0db8:0000:0000::09 index 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 actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w280","json":"0","words":"actions add action ct commit nat src addr 2001:0db8:0000:0000:0000:0000:0000:0001-2001:0db8:0000:0000::09 index 1"}} +{"id":"tcact2write/ec-169","desc":"corner: opt=plain cmd=w281:actions_add_action_ct_commit_nat_src_addr_10.0.0.1_index_1","cmd":"tc actions add action ct commit nat src addr 10.0.0.1 index 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 actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w281","json":"0","words":"actions add action ct commit nat src addr 10.0.0.1 index 1"}} +{"id":"tcact2write/ec-170","desc":"corner: opt=plain cmd=w282:actions_add_action_ct_commit_nat_src_addr_10.0.0.1_port_2000-1000_index_1","cmd":"tc actions add action ct commit nat src addr 10.0.0.1 port 2000-1000 index 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 actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w282","json":"0","words":"actions add action ct commit nat src addr 10.0.0.1 port 2000-1000 index 1"}} +{"id":"tcact2write/ec-171","desc":"corner: opt=plain cmd=w284:actions_add_action_ct_commit_helper_ipv4-6-ftp_index_1","cmd":"tc actions add action ct commit helper ipv4-6-ftp index 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 actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w284","json":"0","words":"actions add action ct commit helper ipv4-6-ftp index 1"}} +{"id":"tcact2write/ec-172","desc":"corner: opt=plain cmd=w287-odd:actions_add_action_ct_commit_label_00g_index_1","cmd":"tc actions add action ct commit label 00g index 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 actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w287-odd","json":"0","words":"actions add action ct commit label 00g index 1"}} +{"id":"tcact2write/ec-173","desc":"corner: opt=plain cmd=w287-0:actions_add_action_ct_commit_label_0_index_1","cmd":"tc actions add action ct commit label 0 index 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 actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w287-0","json":"0","words":"actions add action ct commit label 0 index 1"}} +{"id":"tcact2write/ec-174","desc":"corner: opt=plain cmd=w289:actions_add_action_ct_clear_zone_5_mark_1_index_1","cmd":"tc actions add action ct clear zone 5 mark 1 index 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 actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w289","json":"0","words":"actions add action ct clear zone 5 mark 1 index 1"}} +{"id":"tcact2write/ec-175","desc":"corner: opt=plain cmd=w289-force:actions_add_action_ct_force_index_1","cmd":"tc actions add action ct force index 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 actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w289-force","json":"0","words":"actions add action ct force index 1"}} +{"id":"tcact2write/ec-176","desc":"corner: opt=plain cmd=w290:actions_add_action_ct_zone_010_index_1","cmd":"tc actions add action ct zone 010 index 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 actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w290","json":"0","words":"actions add action ct zone 010 index 1"}} +{"id":"tcact2write/ec-177","desc":"corner: opt=plain cmd=w292:actions_add_action_ct_co_z_5_m_1_index_1","cmd":"tc actions add action ct co z 5 m 1 index 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 actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w292","json":"0","words":"actions add action ct co z 5 m 1 index 1"}} +{"id":"tcact2write/ec-178","desc":"corner: opt=plain cmd=w292-c:actions_add_action_ct_c_index_1","cmd":"tc actions add action ct c index 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 actions ls action ct"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w292-c","json":"0","words":"actions add action ct c index 1"}} +{"id":"tcact2write/ec-179","desc":"positive: opt=plain cmd=gate:actions_add_action_gate_priority_2_clockid_CLOCK_TAI_base-time_200000000000ns_cycle-time_300000000ns_cycle-time-ext_1000ns_sched-entry_open_100000000ns_3_8000_sched-entry_close_100000000ns_-1_-1_sched-entry_open_100000000ns_1_-1_index_1","cmd":"tc actions add action gate priority 2 clockid CLOCK_TAI base-time 200000000000ns cycle-time 300000000ns cycle-time-ext 1000ns sched-entry open 100000000ns 3 8000 sched-entry close 100000000ns -1 -1 sched-entry open 100000000ns 1 -1 index 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"gate","json":"0","words":"actions add action gate priority 2 clockid CLOCK_TAI base-time 200000000000ns cycle-time 300000000ns cycle-time-ext 1000ns sched-entry open 100000000ns 3 8000 sched-entry close 100000000ns -1 -1 sched-entry open 100000000ns 1 -1 index 1"}} +{"id":"tcact2write/ec-180","desc":"positive: opt=plain cmd=gate:actions_add_action_gate_sched-entry_close_100000000ns_index_1","cmd":"tc actions add action gate sched-entry close 100000000ns index 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"gate","json":"0","words":"actions add action gate sched-entry close 100000000ns index 1"}} +{"id":"tcact2write/ec-181","desc":"positive: opt=plain cmd=gate:actions_add_action_gate_sched-entry_open_1ms_index_1","cmd":"tc actions add action gate sched-entry open 1ms index 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"gate","json":"0","words":"actions add action gate sched-entry open 1ms index 1"}} +{"id":"tcact2write/ec-182","desc":"positive: opt=plain cmd=gate:actions_add_action_gate_sched-entry_open_1us_-1_-1_index_1","cmd":"tc actions add action gate sched-entry open 1us -1 -1 index 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"gate","json":"0","words":"actions add action gate sched-entry open 1us -1 -1 index 1"}} +{"id":"tcact2write/ec-183","desc":"positive: opt=plain cmd=gate:actions_add_action_gate_sched-entry_open_1000000_3_8k_index_1","cmd":"tc actions add action gate sched-entry open 1000000 3 8k index 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"gate","json":"0","words":"actions add action gate sched-entry open 1000000 3 8k index 1"}} +{"id":"tcact2write/ec-184","desc":"positive: opt=plain cmd=gate-clk:actions_add_action_gate_clockid_CLOCK_TAI_sched-entry_open_1000000_-1_-1_index_1","cmd":"tc actions add action gate clockid CLOCK_TAI sched-entry open 1000000 -1 -1 index 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"gate-clk","json":"0","words":"actions add action gate clockid CLOCK_TAI sched-entry open 1000000 -1 -1 index 1"}} +{"id":"tcact2write/ec-185","desc":"positive: opt=plain cmd=gate-clk:actions_add_action_gate_clockid_CLOCK_REALTIME_sched-entry_open_1000000_-1_-1_index_1","cmd":"tc actions add action gate clockid CLOCK_REALTIME sched-entry open 1000000 -1 -1 index 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"gate-clk","json":"0","words":"actions add action gate clockid CLOCK_REALTIME sched-entry open 1000000 -1 -1 index 1"}} +{"id":"tcact2write/ec-186","desc":"positive: opt=plain cmd=gate-clk:actions_add_action_gate_clockid_CLOCK_MONOTONIC_sched-entry_open_1000000_-1_-1_index_1","cmd":"tc actions add action gate clockid CLOCK_MONOTONIC sched-entry open 1000000 -1 -1 index 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"gate-clk","json":"0","words":"actions add action gate clockid CLOCK_MONOTONIC sched-entry open 1000000 -1 -1 index 1"}} +{"id":"tcact2write/ec-187","desc":"positive: opt=plain cmd=gate-clk:actions_add_action_gate_clockid_CLOCK_BOOTTIME_sched-entry_open_1000000_-1_-1_index_1","cmd":"tc actions add action gate clockid CLOCK_BOOTTIME sched-entry open 1000000 -1 -1 index 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"gate-clk","json":"0","words":"actions add action gate clockid CLOCK_BOOTTIME sched-entry open 1000000 -1 -1 index 1"}} +{"id":"tcact2write/ec-188","desc":"positive: opt=plain cmd=gate-clk:actions_add_action_gate_clockid_tai_sched-entry_open_1000000_-1_-1_index_1","cmd":"tc actions add action gate clockid tai sched-entry open 1000000 -1 -1 index 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"gate-clk","json":"0","words":"actions add action gate clockid tai sched-entry open 1000000 -1 -1 index 1"}} +{"id":"tcact2write/ec-189","desc":"positive: opt=plain cmd=gate-clk:actions_add_action_gate_clockid_clock_boottime_sched-entry_open_1000000_-1_-1_index_1","cmd":"tc actions add action gate clockid clock_boottime sched-entry open 1000000 -1 -1 index 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"gate-clk","json":"0","words":"actions add action gate clockid clock_boottime sched-entry open 1000000 -1 -1 index 1"}} +{"id":"tcact2write/ec-190","desc":"positive: opt=plain cmd=gate:actions_add_action_gate_base-time_1_cycle-time_2000000_sched-entry_open_1000000_-1_-1_sched-entry_close_1000000_index_1","cmd":"tc actions add action gate base-time 1 cycle-time 2000000 sched-entry open 1000000 -1 -1 sched-entry close 1000000 index 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"gate","json":"0","words":"actions add action gate base-time 1 cycle-time 2000000 sched-entry open 1000000 -1 -1 sched-entry close 1000000 index 1"}} +{"id":"tcact2write/ec-191","desc":"positive: opt=plain cmd=gate:actions_add_action_gate_flags_1_sched-entry_open_1000000_-1_-1_index_1","cmd":"tc actions add action gate flags 1 sched-entry open 1000000 -1 -1 index 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"gate","json":"0","words":"actions add action gate flags 1 sched-entry open 1000000 -1 -1 index 1"}} +{"id":"tcact2write/ec-192","desc":"positive: opt=plain cmd=gate:actions_add_action_gate_sched-entry_open_1000000_-1_-1_index_1_drop","cmd":"tc actions add action gate sched-entry open 1000000 -1 -1 index 1 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"gate","json":"0","words":"actions add action gate sched-entry open 1000000 -1 -1 index 1 drop"}} +{"id":"tcact2write/ec-193","desc":"boundary: opt=plain cmd=gate:actions_add_action_gate_sched-entry_open_4294967295_-1_-1_index_1","cmd":"tc actions add action gate sched-entry open 4294967295 -1 -1 index 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"gate","json":"0","words":"actions add action gate sched-entry open 4294967295 -1 -1 index 1"}} +{"id":"tcact2write/ec-194","desc":"boundary: opt=plain cmd=gate:actions_add_action_gate_sched-entry_open_4294967295ns_-1_-1_index_1","cmd":"tc actions add action gate sched-entry open 4294967295ns -1 -1 index 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"gate","json":"0","words":"actions add action gate sched-entry open 4294967295ns -1 -1 index 1"}} +{"id":"tcact2write/ec-195","desc":"boundary: opt=plain cmd=gate:actions_add_action_gate_sched-entry_open_1000_2147483647_2147483647_index_1","cmd":"tc actions add action gate sched-entry open 1000 2147483647 2147483647 index 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"gate","json":"0","words":"actions add action gate sched-entry open 1000 2147483647 2147483647 index 1"}} +{"id":"tcact2write/ec-196","desc":"boundary: opt=plain cmd=w293-30:actions_add_action_gate_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_index_1","cmd":"tc actions add action gate sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 index 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w293-30","json":"0","words":"actions add action gate sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 index 1"}} +{"id":"tcact2write/ec-197","desc":"corner: opt=plain cmd=w293-31:actions_add_action_gate_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_index_1","cmd":"tc actions add action gate sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 index 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w293-31","json":"0","words":"actions add action gate sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 index 1"}} +{"id":"tcact2write/ec-198","desc":"corner: opt=plain cmd=w293-40:actions_add_action_gate_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_index_1","cmd":"tc actions add action gate sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 index 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w293-40","json":"0","words":"actions add action gate sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 index 1"}} +{"id":"tcact2write/ec-199","desc":"corner: opt=plain cmd=w293-close:actions_add_action_gate_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_index_1","cmd":"tc actions add action gate sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 index 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w293-close","json":"0","words":"actions add action gate sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 index 1"}} +{"id":"tcact2write/ec-200","desc":"corner: opt=plain cmd=w295:actions_add_action_gate_sched-entry_open_1ms_1_1.5_index_1","cmd":"tc actions add action gate sched-entry open 1ms 1 1.5 index 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w295","json":"0","words":"actions add action gate sched-entry open 1ms 1 1.5 index 1"}} +{"id":"tcact2write/ec-201","desc":"corner: opt=plain cmd=w295-0kb:actions_add_action_gate_sched-entry_open_1ms_1_0kb_index_1","cmd":"tc actions add action gate sched-entry open 1ms 1 0kb index 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w295-0kb","json":"0","words":"actions add action gate sched-entry open 1ms 1 0kb index 1"}} +{"id":"tcact2write/ec-202","desc":"corner: opt=plain cmd=w296:actions_add_action_gate_priority_0x2_sched-entry_open_0x10_0x3_0x10_index_1","cmd":"tc actions add action gate priority 0x2 sched-entry open 0x10 0x3 0x10 index 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w296","json":"0","words":"actions add action gate priority 0x2 sched-entry open 0x10 0x3 0x10 index 1"}} +{"id":"tcact2write/ec-203","desc":"corner: opt=plain cmd=w296-time:actions_add_action_gate_base-time_0x10_cycle-time_1.5_sched-entry_open_1000000_-1_-1_index_1","cmd":"tc actions add action gate base-time 0x10 cycle-time 1.5 sched-entry open 1000000 -1 -1 index 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w296-time","json":"0","words":"actions add action gate base-time 0x10 cycle-time 1.5 sched-entry open 1000000 -1 -1 index 1"}} +{"id":"tcact2write/ec-204","desc":"corner: opt=plain cmd=w297-inf:actions_add_action_gate_base-time_inf_sched-entry_open_1000000_-1_-1_index_1","cmd":"tc actions add action gate base-time inf sched-entry open 1000000 -1 -1 index 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w297-inf","json":"0","words":"actions add action gate base-time inf sched-entry open 1000000 -1 -1 index 1"}} +{"id":"tcact2write/ec-205","desc":"corner: opt=plain cmd=w297-nan:actions_add_action_gate_base-time_nan_sched-entry_open_1000000_-1_-1_index_1","cmd":"tc actions add action gate base-time nan sched-entry open 1000000 -1 -1 index 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w297-nan","json":"0","words":"actions add action gate base-time nan sched-entry open 1000000 -1 -1 index 1"}} +{"id":"tcact2write/ec-206","desc":"corner: opt=plain cmd=w297-big:actions_add_action_gate_cycle-time_1e30_sched-entry_open_1000000_-1_-1_index_1","cmd":"tc actions add action gate cycle-time 1e30 sched-entry open 1000000 -1 -1 index 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w297-big","json":"0","words":"actions add action gate cycle-time 1e30 sched-entry open 1000000 -1 -1 index 1"}} +{"id":"tcact2write/ec-207","desc":"corner: opt=plain cmd=w297-frac:actions_add_action_gate_base-time_1.9ns_sched-entry_open_1000000_-1_-1_index_1","cmd":"tc actions add action gate base-time 1.9ns sched-entry open 1000000 -1 -1 index 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w297-frac","json":"0","words":"actions add action gate base-time 1.9ns sched-entry open 1000000 -1 -1 index 1"}} +{"id":"tcact2write/ec-208","desc":"corner: opt=plain cmd=w298:actions_add_action_gate_base-time_-1_sched-entry_open_1000000_-1_-1_index_1","cmd":"tc actions add action gate base-time -1 sched-entry open 1000000 -1 -1 index 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w298","json":"0","words":"actions add action gate base-time -1 sched-entry open 1000000 -1 -1 index 1"}} +{"id":"tcact2write/ec-209","desc":"corner: opt=plain cmd=w299:actions_add_action_gate_priority_-1_flags_0_base-time_0_cycle-time_0_sched-entry_open_1000000_-1_-1_index_1","cmd":"tc actions add action gate priority -1 flags 0 base-time 0 cycle-time 0 sched-entry open 1000000 -1 -1 index 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w299","json":"0","words":"actions add action gate priority -1 flags 0 base-time 0 cycle-time 0 sched-entry open 1000000 -1 -1 index 1"}} +{"id":"tcact2write/ec-210","desc":"corner: opt=plain cmd=w302:actions_add_action_gate_p_2_c_2000000_sched-entry_open_1000000_-1_-1_index_1","cmd":"tc actions add action gate p 2 c 2000000 sched-entry open 1000000 -1 -1 index 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w302","json":"0","words":"actions add action gate p 2 c 2000000 sched-entry open 1000000 -1 -1 index 1"}} +{"id":"tcact2write/ec-211","desc":"corner: opt=plain cmd=w304:actions_add_action_gate_sched-entry_close_1000000_3_8000_index_1","cmd":"tc actions add action gate sched-entry close 1000000 3 8000 index 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w304","json":"0","words":"actions add action gate sched-entry close 1000000 3 8000 index 1"}} +{"id":"tcact2write/ec-212","desc":"corner: opt=plain cmd=w306:actions_add_action_gate_cycle-time_1000_sched-entry_open_1000000_-1_-1_sched-entry_open_1000000_-1_-1_index_1","cmd":"tc actions add action gate cycle-time 1000 sched-entry open 1000000 -1 -1 sched-entry open 1000000 -1 -1 index 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 actions ls action gate"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w306","json":"0","words":"actions add action gate cycle-time 1000 sched-entry open 1000000 -1 -1 sched-entry open 1000000 -1 -1 index 1"}} +{"id":"tcact2write/ec-213","desc":"positive: opt=plain cmd=bpf:actions_add_action_bpf_bytecode_'4,40_0_0_12,21_0_1_2048,6_0_0_262144,6_0_0_0'_index_1","cmd":"tc actions add action bpf bytecode '4,40 0 0 12,21 0 1 2048,6 0 0 262144,6 0 0 0' index 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 actions ls action bpf"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"bpf","json":"0","words":"actions add action bpf bytecode '4,40 0 0 12,21 0 1 2048,6 0 0 262144,6 0 0 0' index 1"}} +{"id":"tcact2write/ec-214","desc":"positive: opt=plain cmd=bpf:actions_add_action_bpf_bc_'1,6_0_0_0'_index_1","cmd":"tc actions add action bpf bc '1,6 0 0 0' index 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 actions ls action bpf"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"bpf","json":"0","words":"actions add action bpf bc '1,6 0 0 0' index 1"}} +{"id":"tcact2write/ec-215","desc":"positive: opt=plain cmd=bpf:actions_add_action_bpf_run_bytecode_'1,6_0_0_0'_index_1","cmd":"tc actions add action bpf run bytecode '1,6 0 0 0' index 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 actions ls action bpf"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"bpf","json":"0","words":"actions add action bpf run bytecode '1,6 0 0 0' index 1"}} +{"id":"tcact2write/ec-216","desc":"positive: opt=plain cmd=bpf:actions_add_action_bpf_bytecode_'1,6_0_0_0'_drop_index_1","cmd":"tc actions add action bpf bytecode '1,6 0 0 0' drop index 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 actions ls action bpf"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"bpf","json":"0","words":"actions add action bpf bytecode '1,6 0 0 0' drop index 1"}} +{"id":"tcact2write/ec-217","desc":"positive: opt=plain cmd=bpf:actions_add_action_bpf_bytecode_'1,6_0_0_0,'_index_1","cmd":"tc actions add action bpf bytecode '1,6 0 0 0,' index 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 actions ls action bpf"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"bpf","json":"0","words":"actions add action bpf bytecode '1,6 0 0 0,' index 1"}} +{"id":"tcact2write/ec-218","desc":"positive: opt=plain cmd=bpf-file:actions_add_action_bpf_bytecode-file_bpf.txt_index_1","cmd":"tc actions add action bpf bytecode-file bpf.txt index 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","printf '%s' '4\n40 0 0 12\n21 0 1 2048\n6 0 0 262144\n6 0 0 0\n' > bpf.txt"],"readback":[{"name":"dump","cmd":"tc actions ls action bpf"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"bpf-file","json":"0","words":"actions add action bpf bytecode-file bpf.txt index 1"}} +{"id":"tcact2write/ec-219","desc":"positive: opt=plain cmd=bpf-file:actions_add_action_bpf_bcf_bpf.txt_index_1","cmd":"tc actions add action bpf bcf bpf.txt index 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","printf '%s' '1,6 0 0 0' > bpf.txt"],"readback":[{"name":"dump","cmd":"tc actions ls action bpf"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"bpf-file","json":"0","words":"actions add action bpf bcf bpf.txt index 1"}} +{"id":"tcact2write/ec-220","desc":"positive: opt=plain cmd=bpf-file:actions_add_action_bpf_bytecode-file_bpf.txt_index_1","cmd":"tc actions add action bpf bytecode-file bpf.txt index 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","printf '%s' '2,\t6 0 0 0\n\n6 0 0 1\n' > bpf.txt"],"readback":[{"name":"dump","cmd":"tc actions ls action bpf"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"bpf-file","json":"0","words":"actions add action bpf bytecode-file bpf.txt index 1"}} +{"id":"tcact2write/ec-221","desc":"corner: opt=plain cmd=w311-dash:actions_add_action_bpf_bytecode-file_-_index_1","cmd":"tc actions add action bpf bytecode-file - index 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","printf '1,6 0 0 0' > ./-"],"readback":[{"name":"dump","cmd":"tc actions ls action bpf"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w311-dash","json":"0","words":"actions add action bpf bytecode-file - index 1"}} +{"id":"tcact2write/ec-222","desc":"boundary: opt=plain cmd=w307-2038:actions_add_action_bpf_bytecode-file_bpf.txt_index_1","cmd":"tc actions add action bpf bytecode-file bpf.txt index 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","{ printf '%s\\n' 2038; i=0; while [ $i -lt 2038 ]; do printf '6 0 0 0\\n'; i=$((i+1)); done; } > bpf.txt"],"readback":[{"name":"dump","cmd":"tc actions ls action bpf"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w307-2038","json":"0","words":"actions add action bpf bytecode-file bpf.txt index 1"}} +{"id":"tcact2write/ec-223","desc":"corner: opt=plain cmd=w308:actions_add_action_bpf_bytecode_'65537,6_0_0_0'_index_1","cmd":"tc actions add action bpf bytecode '65537,6 0 0 0' index 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 actions ls action bpf"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w308","json":"0","words":"actions add action bpf bytecode '65537,6 0 0 0' index 1"}} +{"id":"tcact2write/ec-224","desc":"corner: opt=plain cmd=w309:actions_add_action_bpf_bytecode_'1,6_0_0_0xffff'_index_1","cmd":"tc actions add action bpf bytecode '1,6 0 0 0xffff' index 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 actions ls action bpf"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w309","json":"0","words":"actions add action bpf bytecode '1,6 0 0 0xffff' index 1"}} +{"id":"tcact2write/ec-225","desc":"corner: opt=plain cmd=w309-wrap:actions_add_action_bpf_bytecode_'1,65542_256_0_4294967296'_index_1","cmd":"tc actions add action bpf bytecode '1,65542 256 0 4294967296' index 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 actions ls action bpf"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w309-wrap","json":"0","words":"actions add action bpf bytecode '1,65542 256 0 4294967296' index 1"}} +{"id":"tcact2write/ec-226","desc":"corner: opt=plain cmd=w314:actions_add_action_bpf_b_'1,6_0_0_0'_index_1","cmd":"tc actions add action bpf b '1,6 0 0 0' index 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 actions ls action bpf"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w314","json":"0","words":"actions add action bpf b '1,6 0 0 0' index 1"}} +{"id":"tcact2write/ec-227","desc":"positive: opt=plain cmd=f-pedit:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_matchall_action_pedit_munge_offset_12_u32_set_0x1","cmd":"tc filter add dev d0 egress pref 1 protocol all handle 1 matchall action pedit munge offset 12 u32 set 0x1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"f-pedit","json":"0","words":"filter add dev d0 egress pref 1 protocol all handle 1 matchall action pedit munge offset 12 u32 set 0x1"}} +{"id":"tcact2write/ec-228","desc":"positive: opt=plain cmd=f-tunnel_key:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_matchall_action_tunnel_key_unset","cmd":"tc filter add dev d0 egress pref 1 protocol all handle 1 matchall action tunnel_key unset","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"f-tunnel_key","json":"0","words":"filter add dev d0 egress pref 1 protocol all handle 1 matchall action tunnel_key unset"}} +{"id":"tcact2write/ec-229","desc":"positive: opt=plain cmd=f-ife:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_matchall_action_ife_decode","cmd":"tc filter add dev d0 egress pref 1 protocol all handle 1 matchall action ife decode","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"f-ife","json":"0","words":"filter add dev d0 egress pref 1 protocol all handle 1 matchall action ife decode"}} +{"id":"tcact2write/ec-230","desc":"positive: opt=plain cmd=f-ct:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_matchall_action_ct_commit","cmd":"tc filter add dev d0 egress pref 1 protocol all handle 1 matchall action ct commit","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"f-ct","json":"0","words":"filter add dev d0 egress pref 1 protocol all handle 1 matchall action ct commit"}} +{"id":"tcact2write/ec-231","desc":"positive: opt=plain cmd=f-gate:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_matchall_action_gate_sched-entry_open_1000000_-1_-1","cmd":"tc filter add dev d0 egress pref 1 protocol all handle 1 matchall action gate sched-entry open 1000000 -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 egress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"f-gate","json":"0","words":"filter add dev d0 egress pref 1 protocol all handle 1 matchall action gate sched-entry open 1000000 -1 -1"}} +{"id":"tcact2write/ec-232","desc":"positive: opt=plain cmd=f-bpf:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_matchall_action_bpf_bytecode_'1,6_0_0_0'","cmd":"tc filter add dev d0 egress pref 1 protocol all handle 1 matchall action bpf bytecode '1,6 0 0 0'","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"f-bpf","json":"0","words":"filter add dev d0 egress pref 1 protocol all handle 1 matchall action bpf bytecode '1,6 0 0 0'"}} +{"id":"tcact2write/ec-233","desc":"positive: opt=plain cmd=f-list:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_matchall_action_pedit_ex_munge_ip_ttl_add_1_action_ct_commit_zone_3_action_gate_sched-entry_open_1ms_action_tunnel_key_unset_action_ife_decode_action_bpf_bytecode_'1,6_0_0_0'","cmd":"tc filter add dev d0 egress pref 1 protocol all handle 1 matchall action pedit ex munge ip ttl add 1 action ct commit zone 3 action gate sched-entry open 1ms action tunnel_key unset action ife decode action bpf bytecode '1,6 0 0 0'","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"f-list","json":"0","words":"filter add dev d0 egress pref 1 protocol all handle 1 matchall action pedit ex munge ip ttl add 1 action ct commit zone 3 action gate sched-entry open 1ms action tunnel_key unset action ife decode action bpf bytecode '1,6 0 0 0'"}} +{"id":"tcact2write/ec-234","desc":"positive: opt=plain cmd=f-bind:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_matchall_action_ct_index_1","cmd":"tc filter add dev d0 egress pref 1 protocol all handle 1 matchall action ct index 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 actions add action ct commit index 1"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 egress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"f-bind","json":"0","words":"filter add dev d0 egress pref 1 protocol all handle 1 matchall action ct index 1"}} +{"id":"tcact2write/ec-235","desc":"corner: opt=plain cmd=w242-bind:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_matchall_action_pedit_index_1","cmd":"tc filter add dev d0 egress pref 1 protocol all handle 1 matchall action pedit index 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 actions add action pedit munge offset 12 u32 set 0x1 index 1"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 egress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w242-bind","json":"0","words":"filter add dev d0 egress pref 1 protocol all handle 1 matchall action pedit index 1"}} +{"id":"tcact2write/ec-236","desc":"corner: opt=plain cmd=w305-bind:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_matchall_action_gate_index_1","cmd":"tc filter add dev d0 egress pref 1 protocol all handle 1 matchall action gate index 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 actions add action gate sched-entry open 1000000 -1 -1 index 1"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 egress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w305-bind","json":"0","words":"filter add dev d0 egress pref 1 protocol all handle 1 matchall action gate index 1"}} +{"id":"tcact2write/ec-237","desc":"corner: opt=plain cmd=w312-bind:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_matchall_action_bpf_index_1","cmd":"tc filter add dev d0 egress pref 1 protocol all handle 1 matchall action bpf index 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 actions add action bpf bytecode '1,6 0 0 0' index 1"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 egress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w312-bind","json":"0","words":"filter add dev d0 egress pref 1 protocol all handle 1 matchall action bpf index 1"}} +{"id":"tcact2write/ec-238","desc":"corner: opt=plain cmd=w248-2:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_matchall_action_pedit_ex_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_action_pedit_ex_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1","cmd":"tc filter add dev d0 egress pref 1 protocol all handle 1 matchall action pedit ex munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 action pedit ex munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 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 egress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w248-2","json":"0","words":"filter add dev d0 egress pref 1 protocol all handle 1 matchall action pedit ex munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 action pedit ex munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1"}} +{"id":"tcact2write/ec-239","desc":"positive: opt=plain cmd=fb:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_bytecode_'4,40_0_0_12,21_0_1_2048,6_0_0_262144,6_0_0_0'_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '4,40 0 0 12,21 0 1 2048,6 0 0 262144,6 0 0 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"fb","json":"0","words":"filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '4,40 0 0 12,21 0 1 2048,6 0 0 262144,6 0 0 0' classid 1:1"}} +{"id":"tcact2write/ec-240","desc":"positive: opt=plain cmd=fb:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_bytecode_'1,6_0_0_0'_da_skip_hw","cmd":"tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 0' da skip_hw","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"fb","json":"0","words":"filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 0' da skip_hw"}} +{"id":"tcact2write/ec-241","desc":"positive: opt=plain cmd=fb:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_bytecode_'1,6_0_0_4294967295'_action_gact_pass","cmd":"tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 4294967295' action gact 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"fb","json":"0","words":"filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 4294967295' action gact pass"}} +{"id":"tcact2write/ec-242","desc":"positive: opt=plain cmd=fb:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_bytecode_'1,6_0_0_4294967295'_police_rate_1mbit_burst_10k_drop","cmd":"tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 4294967295' 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"fb","json":"0","words":"filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 4294967295' police rate 1mbit burst 10k drop"}} +{"id":"tcact2write/ec-243","desc":"positive: opt=plain cmd=fb:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_run_bytecode_'1,6_0_0_0'_flowid_1:2","cmd":"tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf run bytecode '1,6 0 0 0' 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"fb","json":"0","words":"filter add dev d0 ingress pref 1 protocol ip handle 1 bpf run bytecode '1,6 0 0 0' flowid 1:2"}} +{"id":"tcact2write/ec-244","desc":"positive: opt=plain cmd=fb:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_bc_'1,6_0_0_0'_direct-action","cmd":"tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bc '1,6 0 0 0' direct-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"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"fb","json":"0","words":"filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bc '1,6 0 0 0' direct-action"}} +{"id":"tcact2write/ec-245","desc":"positive: opt=plain cmd=fb:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_flowid_1:1_bytecode_'1,6_0_0_0'","cmd":"tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf flowid 1:1 bytecode '1,6 0 0 0'","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"fb","json":"0","words":"filter add dev d0 ingress pref 1 protocol ip handle 1 bpf flowid 1:1 bytecode '1,6 0 0 0'"}} +{"id":"tcact2write/ec-246","desc":"positive: opt=plain cmd=fb:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_bytecode_'1,6_0_0_0'_action_pedit_ex_munge_ip_ttl_add_1_action_ct_commit","cmd":"tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 0' action pedit ex munge ip ttl add 1 action ct commit","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"fb","json":"0","words":"filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 0' action pedit ex munge ip ttl add 1 action ct commit"}} +{"id":"tcact2write/ec-247","desc":"positive: opt=plain cmd=fb-file:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_bytecode-file_bpf.txt_classid_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode-file bpf.txt 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","printf '%s' '4,40 0 0 12,21 0 1 2048,6 0 0 262144,6 0 0 0' > bpf.txt"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"fb-file","json":"0","words":"filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode-file bpf.txt classid 1:1"}} +{"id":"tcact2write/ec-248","desc":"positive: opt=plain cmd=fb-v:filter_change_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_bytecode_'1,6_0_0_1'_classid_1:2","cmd":"tc filter change dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 1' 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 ip handle 1 bpf bytecode '1,6 0 0 0' 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"fb-v","json":"0","words":"filter change dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 1' classid 1:2"}} +{"id":"tcact2write/ec-249","desc":"positive: opt=plain cmd=fb-v:filter_replace_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_bytecode_'1,6_0_0_1'_classid_1:2","cmd":"tc filter replace dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 1' 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 ip handle 1 bpf bytecode '1,6 0 0 0' 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"fb-v","json":"0","words":"filter replace dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 1' classid 1:2"}} +{"id":"tcact2write/ec-250","desc":"positive: opt=plain cmd=fb-v:filter_replace_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_bytecode_'1,6_0_0_1'","cmd":"tc filter replace dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"fb-v","json":"0","words":"filter replace dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 1'"}} +{"id":"tcact2write/ec-251","desc":"positive: opt=plain cmd=fb-v:filter_delete_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf","cmd":"tc filter delete dev d0 ingress pref 1 protocol ip handle 1 bpf","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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 ip handle 1 bpf bytecode '1,6 0 0 0' 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"fb-v","json":"0","words":"filter delete dev d0 ingress pref 1 protocol ip handle 1 bpf"}} +{"id":"tcact2write/ec-252","desc":"positive: opt=plain cmd=fb-p:filter_add_dev_d1_parent_1:_pref_1_protocol_ip_handle_7_bpf_bytecode_'1,6_0_0_0'_classid_1:2","cmd":"tc filter add dev d1 parent 1: pref 1 protocol ip handle 7 bpf bytecode '1,6 0 0 0' 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"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d1 parent 1:"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"fb-p","json":"0","words":"filter add dev d1 parent 1: pref 1 protocol ip handle 7 bpf bytecode '1,6 0 0 0' classid 1:2"}} +{"id":"tcact2write/ec-253","desc":"corner: opt=plain cmd=w317:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_classid_1:1_bytecode_'1,6_0_0_0'_classid_1:2_da_action_gact_pass","cmd":"tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf classid 1:1 bytecode '1,6 0 0 0' classid 1:2 da action gact 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w317","json":"0","words":"filter add dev d0 ingress pref 1 protocol ip handle 1 bpf classid 1:1 bytecode '1,6 0 0 0' classid 1:2 da action gact pass"}} +{"id":"tcact2write/ec-254","desc":"corner: opt=plain cmd=w318:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_bytecode_'1,6_0_0_0'_s_f_1:1","cmd":"tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 0' s f 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"fix":"w318","json":"0","words":"filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 0' s f 1:1"}} +{"id":"tcact2write/ec-255","desc":"corner: opt=plain cmd=w232-batch:batch:eth-colons","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' 'actions add action pedit ex munge eth dst set 02:00:00:00:00:01 index 1' 'actions add action simple sdata x' > b.txt"],"readback":[{"name":"dump","cmd":"tc actions ls action simple"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"batch":"eth-colons","fix":"w232-batch","json":"0","words":"-batch b.txt"}} +{"id":"tcact2write/ec-256","desc":"corner: opt=plain cmd=w265-batch:batch:strtok","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' 'actions add action tunnel_key geneve_opts 0102:80:00880022,0103:81:00a000b0 set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 1 index 1' 'actions add action simple sdata x' > b.txt"],"readback":[{"name":"dump","cmd":"tc actions ls action simple"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"batch":"strtok","fix":"w265-batch","json":"0","words":"-batch b.txt"}} +{"id":"tcact2write/ec-257","desc":"corner: opt=plain cmd=w291-batch:batch:slash","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' 'actions add action ct commit mark 0x1/0xff label 01/ff index 1' 'actions add action simple sdata x' > b.txt"],"readback":[{"name":"dump","cmd":"tc actions ls action simple"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"batch":"slash","fix":"w291-batch","json":"0","words":"-batch b.txt"}} +{"id":"tcact2write/ec-258","desc":"positive: opt=plain cmd=bpf-batch:batch:file","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' '1,6 0 0 0' > bpf.txt","printf '%s\\n' 'actions add action bpf bytecode-file bpf.txt index 1' 'filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode-file bpf.txt action bpf index 1' > b.txt"],"readback":[{"name":"dump","cmd":"tc -d filter show dev d0 ingress"}],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":0,"refused_by":"none"},"axes":{"batch":"file","fix":"bpf-batch","json":"0","words":"-batch b.txt"}} +{"id":"tcact2write/ng-001","desc":"negative: opt=plain cmd=ng:w191-ped:actions_add_action_pedit: a bare pedit: NEXT_ARG (W246)","cmd":"tc actions add action pedit","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w191-ped","json":"0","words":"actions add action pedit"}} +{"id":"tcact2write/ng-002","desc":"negative: opt=plain cmd=ng:w216:actions_add_action_pedit_munge_offset_12_u32_at_0_offmask_f_shift_0_set_1_index_1: the man page's at form: Bad pedit construct (12) (W216)","cmd":"tc actions add action pedit munge offset 12 u32 at 0 offmask f shift 0 set 1 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w216","json":"0","words":"actions add action pedit munge offset 12 u32 at 0 offmask f shift 0 set 1 index 1"}} +{"id":"tcact2write/ng-003","desc":"negative: opt=plain cmd=ng:w218:actions_add_action_pedit_munge_offset_2_u32_set_1: a failed pack at the end of the line: Bad pedit construct ((null)) (W218)","cmd":"tc actions add action pedit munge offset 2 u32 set 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w218","json":"0","words":"actions add action pedit munge offset 2 u32 set 1"}} +{"id":"tcact2write/ng-004","desc":"negative: opt=plain cmd=ng:w218-idx:actions_add_action_pedit_munge_offset_2_u32_set_1_index_1: the same with index after: (index) (W218)","cmd":"tc actions add action pedit munge offset 2 u32 set 1 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w218-idx","json":"0","words":"actions add action pedit munge offset 2 u32 set 1 index 1"}} +{"id":"tcact2write/ng-005","desc":"negative: opt=plain cmd=ng:w219:actions_add_action_pedit_munge_ip_foo_set_1_index_1: bad pedit parsing, then Bad pedit construct (ip) (W219)","cmd":"tc actions add action pedit munge ip foo set 1 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w219","json":"0","words":"actions add action pedit munge ip foo set 1 index 1"}} +{"id":"tcact2write/ng-006","desc":"negative: opt=plain cmd=ng:w220-129:actions_add_action_pedit_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_index_1: key 129: pack_key returns -1 with no message of its own (W220)","cmd":"tc actions add action pedit munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w220-129","json":"0","words":"actions add action pedit munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 index 1"}} +{"id":"tcact2write/ng-007","desc":"negative: opt=plain cmd=ng:w221:actions_add_action_pedit_munge_ip_ttl_set_256_index_1: pack_key8 bad value (val 100 mask 0 (W221)","cmd":"tc actions add action pedit munge ip ttl set 256 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w221","json":"0","words":"actions add action pedit munge ip ttl set 256 index 1"}} +{"id":"tcact2write/ng-008","desc":"negative: opt=plain cmd=ng:w221-16:actions_add_action_pedit_munge_ip_dport_set_65536_index_1: pack_key16 bad value (W221)","cmd":"tc actions add action pedit munge ip dport set 65536 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w221-16","json":"0","words":"actions add action pedit munge ip dport set 65536 index 1"}} +{"id":"tcact2write/ng-009","desc":"negative: opt=plain cmd=ng:w222:actions_add_action_pedit_ex_munge_eth_dst_preserve_index_1: retain is not supported for fields longer the 32 bits (W222)","cmd":"tc actions add action pedit ex munge eth dst preserve index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w222","json":"0","words":"actions add action pedit ex munge eth dst preserve index 1"}} +{"id":"tcact2write/ng-010","desc":"negative: opt=plain cmd=ng:w222-ip6:actions_add_action_pedit_ex_munge_ip6_src_set_::1_retain_0xff_index_1: the same for ip6 (W222)","cmd":"tc actions add action pedit ex munge ip6 src set ::1 retain 0xff index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w222-ip6","json":"0","words":"actions add action pedit ex munge ip6 src set ::1 retain 0xff index 1"}} +{"id":"tcact2write/ng-011","desc":"negative: opt=plain cmd=ng:w225:actions_add_action_pedit_munge_ip_ttl_set_5_r: r is retain: NEXT_ARG (W225)","cmd":"tc actions add action pedit munge ip ttl set 5 r","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w225","json":"0","words":"actions add action pedit munge ip ttl set 5 r"}} +{"id":"tcact2write/ng-012","desc":"negative: opt=plain cmd=ng:w226:actions_add_action_pedit_munge_ip_ttl_set_5_p: p is pedit: NEXT_ARG (W226)","cmd":"tc actions add action pedit munge ip ttl set 5 p","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w226","json":"0","words":"actions add action pedit munge ip ttl set 5 p"}} +{"id":"tcact2write/ng-013","desc":"negative: opt=plain cmd=ng:w228:actions_add_action_pedit_help: the usage, exit(-1) (W228)","cmd":"tc actions add action pedit 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w228","json":"0","words":"actions add action pedit help"}} +{"id":"tcact2write/ng-014","desc":"negative: opt=plain cmd=ng:w229:actions_add_action_pedit_munge_ip_ttl_add_1_index_1: Non extended mode. only 'set' command is supported (W229)","cmd":"tc actions add action pedit munge ip ttl add 1 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w229","json":"0","words":"actions add action pedit munge ip ttl add 1 index 1"}} +{"id":"tcact2write/ng-015","desc":"negative: opt=plain cmd=ng:w229-dec:actions_add_action_pedit_munge_ip_ttl_decrement_index_1: decrement without ex (W229)","cmd":"tc actions add action pedit munge ip ttl decrement index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w229-dec","json":"0","words":"actions add action pedit munge ip ttl decrement index 1"}} +{"id":"tcact2write/ng-016","desc":"negative: opt=plain cmd=ng:w230:actions_add_action_pedit_munge_foo_bar_index_1: Unknown action hence option \"bar\" is unparsable (W230)","cmd":"tc actions add action pedit munge foo bar index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w230","json":"0","words":"actions add action pedit munge foo bar index 1"}} +{"id":"tcact2write/ng-017","desc":"negative: opt=plain cmd=ng:w230-end:actions_add_action_pedit_munge_foo: an unknown kind at the end of the line: NEXT_ARG (W230)","cmd":"tc actions add action pedit munge foo","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w230-end","json":"0","words":"actions add action pedit munge foo"}} +{"id":"tcact2write/ng-018","desc":"negative: opt=plain cmd=ng:w231:actions_add_action_pedit_munge_abcdefghijklmnopq_bar_index_1: a 17-byte kind: k[16] unterminated (W231)","cmd":"tc actions add action pedit munge abcdefghijklmnopq bar index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w231","json":"0","words":"actions add action pedit munge abcdefghijklmnopq bar index 1"}} +{"id":"tcact2write/ng-019","desc":"negative: opt=plain cmd=ng:w232:actions_add_action_pedit_ex_munge_eth_dst_set_aa_index_1: one MAC group (W232)","cmd":"tc actions add action pedit ex munge eth dst set aa index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w232","json":"0","words":"actions add action pedit ex munge eth dst set aa index 1"}} +{"id":"tcact2write/ng-020","desc":"negative: opt=plain cmd=ng:w232-p4:actions_add_action_pedit_ex_munge_eth_dst_set_1.2.3.4_index_1: a dotted MAC is 4 bytes (W232)","cmd":"tc actions add action pedit ex munge eth dst set 1.2.3.4 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w232-p4","json":"0","words":"actions add action pedit ex munge eth dst set 1.2.3.4 index 1"}} +{"id":"tcact2write/ng-021","desc":"negative: opt=plain cmd=ng:w232-long:actions_add_action_pedit_ex_munge_eth_dst_set_02:00:00:00:00:01:02_index_1: seven MAC groups (W232)","cmd":"tc actions add action pedit ex munge eth dst set 02:00:00:00:00:01:02 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w232-long","json":"0","words":"actions add action pedit ex munge eth dst set 02:00:00:00:00:01:02 index 1"}} +{"id":"tcact2write/ng-022","desc":"negative: opt=plain cmd=ng:w232-bad:actions_add_action_pedit_ex_munge_eth_dst_set_zz:00:00:00:00:01_index_1: a bad group (W232)","cmd":"tc actions add action pedit ex munge eth dst set zz:00:00:00:00:01 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w232-bad","json":"0","words":"actions add action pedit ex munge eth dst set zz:00:00:00:00:01 index 1"}} +{"id":"tcact2write/ng-023","desc":"negative: opt=plain cmd=ng:w239:actions_add_action_pedit_munge_icmp_type_set_1_index_1: icmp always fails (W239)","cmd":"tc actions add action pedit munge icmp type set 1 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w239","json":"0","words":"actions add action pedit munge icmp type set 1 index 1"}} +{"id":"tcact2write/ng-024","desc":"negative: opt=plain cmd=ng:w240-ip6:actions_add_action_pedit_munge_ip6_src_set_::1_index_1: ip6 without ex (W240)","cmd":"tc actions add action pedit munge ip6 src set ::1 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w240-ip6","json":"0","words":"actions add action pedit munge ip6 src set ::1 index 1"}} +{"id":"tcact2write/ng-025","desc":"negative: opt=plain cmd=ng:w240-tcp:actions_add_action_pedit_munge_tcp_dport_set_80_index_1: tcp without ex (W240)","cmd":"tc actions add action pedit munge tcp dport set 80 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w240-tcp","json":"0","words":"actions add action pedit munge tcp dport set 80 index 1"}} +{"id":"tcact2write/ng-026","desc":"negative: opt=plain cmd=ng:w240-udp:actions_add_action_pedit_munge_udp_sport_set_53_index_1: udp without ex (W240)","cmd":"tc actions add action pedit munge udp sport set 53 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w240-udp","json":"0","words":"actions add action pedit munge udp sport set 53 index 1"}} +{"id":"tcact2write/ng-027","desc":"negative: opt=plain cmd=ng:w240-eth:actions_add_action_pedit_munge_eth_type_set_0x800_index_1: eth without ex (W240)","cmd":"tc actions add action pedit munge eth type set 0x800 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w240-eth","json":"0","words":"actions add action pedit munge eth type set 0x800 index 1"}} +{"id":"tcact2write/ng-028","desc":"negative: opt=plain cmd=ng:w240-sport:actions_add_action_pedit_ex_munge_ip_sport_set_1_index_1: ip sport with ex (W240)","cmd":"tc actions add action pedit ex munge ip sport set 1 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w240-sport","json":"0","words":"actions add action pedit ex munge ip sport set 1 index 1"}} +{"id":"tcact2write/ng-029","desc":"negative: opt=plain cmd=ng:w240-icmp:actions_add_action_pedit_ex_munge_ip_icmp_type_set_1_index_1: ip icmp_type with ex (W240)","cmd":"tc actions add action pedit ex munge ip icmp_type set 1 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w240-icmp","json":"0","words":"actions add action pedit ex munge ip icmp_type set 1 index 1"}} +{"id":"tcact2write/ng-030","desc":"negative: opt=plain cmd=ng:w241:actions_add_action_pedit_pedit_ex_munge_ip_ttl_set_1_index_1: 'ex' must be before first 'munge' (W241)","cmd":"tc actions add action pedit pedit ex munge ip ttl set 1 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w241","json":"0","words":"actions add action pedit pedit ex munge ip ttl set 1 index 1"}} +{"id":"tcact2write/ng-031","desc":"negative: opt=plain cmd=ng:w242:actions_add_action_pedit_pipe_index_1: no keys on a create (W242)","cmd":"tc actions add action pedit pipe index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"errno":"EINVAL","refused_by":"kernel"},"axes":{"fix":"w242","json":"0","words":"actions add action pedit pipe index 1"}} +{"id":"tcact2write/ng-032","desc":"negative: opt=plain cmd=ng:w242-ex:actions_add_action_pedit_ex_pipe_index_1: no keys with ex: an empty KEYS_EX (W242)","cmd":"tc actions add action pedit ex pipe index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"errno":"EINVAL","refused_by":"kernel"},"axes":{"fix":"w242-ex","json":"0","words":"actions add action pedit ex pipe index 1"}} +{"id":"tcact2write/ng-033","desc":"negative: opt=plain cmd=ng:w244:actions_add_action_pedit_munge_ip_ttl_set_1_goto_chain_x_index_1: Illegal \"chain index\" twice (W244)","cmd":"tc actions add action pedit munge ip ttl set 1 goto chain x index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w244","json":"0","words":"actions add action pedit munge ip ttl set 1 goto chain x index 1"}} +{"id":"tcact2write/ng-034","desc":"negative: opt=plain cmd=ng:w245:actions_add_action_pedit_munge_ip_ttl_set_1_foo_index_1: an unknown word becomes the next kind (W245)","cmd":"tc actions add action pedit munge ip ttl set 1 foo index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w245","json":"0","words":"actions add action pedit munge ip ttl set 1 foo index 1"}} +{"id":"tcact2write/ng-035","desc":"negative: opt=plain cmd=ng:w246:actions_add_action_pedit_munge_ip_src: a bare ip src: -1, Bad pedit construct (W246)","cmd":"tc actions add action pedit munge ip src","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w246","json":"0","words":"actions add action pedit munge ip src"}} +{"id":"tcact2write/ng-036","desc":"negative: opt=plain cmd=ng:w246-set:actions_add_action_pedit_munge_ip_src_set: set with no value: NEXT_ARG (W246)","cmd":"tc actions add action pedit munge ip src set","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w246-set","json":"0","words":"actions add action pedit munge ip src set"}} +{"id":"tcact2write/ng-037","desc":"negative: opt=plain cmd=ng:w247:actions_add_action_pedit_munge_ip_ttl_set_1_index_0x5: Pedit: Illegal \"index\" (W247)","cmd":"tc actions add action pedit munge ip ttl set 1 index 0x5","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w247","json":"0","words":"actions add action pedit munge ip ttl set 1 index 0x5"}} +{"id":"tcact2write/ng-038","desc":"negative: opt=plain cmd=ng:ped-off:actions_add_action_pedit_munge_offset_13_u32_set_1_index_1: pack_key32: 32 bit offsets must begin in 32bit boundaries","cmd":"tc actions add action pedit munge offset 13 u32 set 1 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"ped-off","json":"0","words":"actions add action pedit munge offset 13 u32 set 1 index 1"}} +{"id":"tcact2write/ng-039","desc":"negative: opt=plain cmd=ng:ped-off16:actions_add_action_pedit_munge_offset_3_u16_set_1_index_1: pack_key16 bad index value 3","cmd":"tc actions add action pedit munge offset 3 u16 set 1 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"ped-off16","json":"0","words":"actions add action pedit munge offset 3 u16 set 1 index 1"}} +{"id":"tcact2write/ng-040","desc":"negative: opt=plain cmd=ng:ped-offzz:actions_add_action_pedit_munge_offset_zz_u32_set_1_index_1: an unparsable offset: Bad pedit construct (zz)","cmd":"tc actions add action pedit munge offset zz u32 set 1 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"ped-offzz","json":"0","words":"actions add action pedit munge offset zz u32 set 1 index 1"}} +{"id":"tcact2write/ng-041","desc":"negative: opt=plain cmd=ng:ped-u64:actions_add_action_pedit_munge_offset_12_u64_set_1_index_1: no such width","cmd":"tc actions add action pedit munge offset 12 u64 set 1 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"ped-u64","json":"0","words":"actions add action pedit munge offset 12 u64 set 1 index 1"}} +{"id":"tcact2write/ng-042","desc":"negative: opt=plain cmd=ng:ped-dec:actions_add_action_pedit_ex_munge_ip_tos_decrement_index_1: decrement command is not supported for this field","cmd":"tc actions add action pedit ex munge ip tos decrement index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"ped-dec","json":"0","words":"actions add action pedit ex munge ip tos decrement index 1"}} +{"id":"tcact2write/ng-043","desc":"negative: opt=plain cmd=ng:ped-cmd:actions_add_action_pedit_munge_offset_12_u32_bogus_index_1: no such command","cmd":"tc actions add action pedit munge offset 12 u32 bogus index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"ped-cmd","json":"0","words":"actions add action pedit munge offset 12 u32 bogus index 1"}} +{"id":"tcact2write/ng-044","desc":"negative: opt=plain cmd=ng:ped-nomunge:actions_add_action_pedit_offset_12_u32_set_1_index_1: offset is the next kind after an empty pedit","cmd":"tc actions add action pedit offset 12 u32 set 1 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"ped-nomunge","json":"0","words":"actions add action pedit offset 12 u32 set 1 index 1"}} +{"id":"tcact2write/ng-045","desc":"negative: opt=plain cmd=ng:w250:actions_add_action_tunnel_key_set_src_ip_bogus_dst_ip_10.0.0.2_id_1_index_1: get_addr's message and exit(1); Illegal \"src_ip\" can't be reached (W250)","cmd":"tc actions add action tunnel_key set src_ip bogus dst_ip 10.0.0.2 id 1 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":1,"refused_by":"iproute2"},"axes":{"fix":"w250","json":"0","words":"actions add action tunnel_key set src_ip bogus dst_ip 10.0.0.2 id 1 index 1"}} +{"id":"tcact2write/ng-046","desc":"negative: opt=plain cmd=ng:w251:actions_add_action_tunnel_key_set_src_ip_any_dst_ip_10.0.0.2_id_1_index_1: a 0-byte IPV6_SRC (W251)","cmd":"tc actions add action tunnel_key set src_ip any dst_ip 10.0.0.2 id 1 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"errno":"ERANGE","refused_by":"kernel"},"axes":{"fix":"w251","json":"0","words":"actions add action tunnel_key set src_ip any dst_ip 10.0.0.2 id 1 index 1"}} +{"id":"tcact2write/ng-047","desc":"negative: opt=plain cmd=ng:w252:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_2001:db8::2_id_1_index_1: mixed families (W252)","cmd":"tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 2001:db8::2 id 1 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"errno":"EINVAL","refused_by":"kernel"},"axes":{"fix":"w252","json":"0","words":"actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 2001:db8::2 id 1 index 1"}} +{"id":"tcact2write/ng-048","desc":"negative: opt=plain cmd=ng:w253:actions_add_action_tunnel_key_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_1_index_1: t_action 0: Unknown tunnel key action (W253)","cmd":"tc actions add action tunnel_key src_ip 10.0.0.1 dst_ip 10.0.0.2 id 1 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"errno":"EINVAL","refused_by":"kernel"},"axes":{"fix":"w253","json":"0","words":"actions add action tunnel_key src_ip 10.0.0.1 dst_ip 10.0.0.2 id 1 index 1"}} +{"id":"tcact2write/ng-049","desc":"negative: opt=plain cmd=ng:w254:actions_add_action_tunnel_key: a bare tunnel_key: NEXT_ARG (W254)","cmd":"tc actions add action tunnel_key","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w254","json":"0","words":"actions add action tunnel_key"}} +{"id":"tcact2write/ng-050","desc":"negative: opt=plain cmd=ng:w256-id:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_0x7_index_1: Illegal \"id\" (W256)","cmd":"tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 0x7 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w256-id","json":"0","words":"actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 0x7 index 1"}} +{"id":"tcact2write/ng-051","desc":"negative: opt=plain cmd=ng:w256-port:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_7_dst_port_0x12b5_index_1: Illegal \"dst port\" (W256)","cmd":"tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 dst_port 0x12b5 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w256-port","json":"0","words":"actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 dst_port 0x12b5 index 1"}} +{"id":"tcact2write/ng-052","desc":"negative: opt=plain cmd=ng:w256-index:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_7_index_0x1: tunnel_key: Illegal \"index\" (W256)","cmd":"tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 index 0x1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w256-index","json":"0","words":"actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 index 0x1"}} +{"id":"tcact2write/ng-053","desc":"negative: opt=plain cmd=ng:w258:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_7_geneve_opts_0102::01020304_index_1: strtok merges the empty field: Illegal \"geneve_opts\" (W258)","cmd":"tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 geneve_opts 0102::01020304 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w258","json":"0","words":"actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 geneve_opts 0102::01020304 index 1"}} +{"id":"tcact2write/ng-054","desc":"negative: opt=plain cmd=ng:w258-nodata:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_7_geneve_opts_0102:80_index_1: no DATA (W258)","cmd":"tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 geneve_opts 0102:80 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"errno":"EINVAL","refused_by":"kernel"},"axes":{"fix":"w258-nodata","json":"0","words":"actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 geneve_opts 0102:80 index 1"}} +{"id":"tcact2write/ng-055","desc":"negative: opt=plain cmd=ng:w259-1:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_7_geneve_opts_0102:80:0_index_1: 1 hex char is 0 bytes of DATA: less than 4 bytes long (W259)","cmd":"tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 geneve_opts 0102:80:0 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"errno":"ERANGE","refused_by":"kernel"},"axes":{"fix":"w259-1","json":"0","words":"actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 geneve_opts 0102:80:0 index 1"}} +{"id":"tcact2write/ng-056","desc":"negative: opt=plain cmd=ng:w259-7:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_7_geneve_opts_0102:80:0011223_index_1: 7 hex chars are 3 bytes: the odd nibble is dropped (W259)","cmd":"tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 geneve_opts 0102:80:0011223 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"errno":"ERANGE","refused_by":"kernel"},"axes":{"fix":"w259-7","json":"0","words":"actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 geneve_opts 0102:80:0011223 index 1"}} +{"id":"tcact2write/ng-057","desc":"negative: opt=plain cmd=ng:w261:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_7_erspan_opts_2::1:16_index_1: strtok shifts the fields: Missing tunnel key erspan option dir or hwid (W261)","cmd":"tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 erspan_opts 2::1:16 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"errno":"EINVAL","refused_by":"kernel"},"axes":{"fix":"w261","json":"0","words":"actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 erspan_opts 2::1:16 index 1"}} +{"id":"tcact2write/ng-058","desc":"negative: opt=plain cmd=ng:w260:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_7_geneve_opts_''_index_1: an empty ENC_OPTS (W260)","cmd":"tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 geneve_opts '' index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"errno":"EINVAL","refused_by":"kernel"},"axes":{"fix":"w260","json":"0","words":"actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 geneve_opts '' index 1"}} +{"id":"tcact2write/ng-059","desc":"negative: opt=plain cmd=ng:w266:actions_add_action_tunnel_key_set_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_index_1: unexpected \"set\" - action already specified (W266)","cmd":"tc actions add action tunnel_key set set src_ip 10.0.0.1 dst_ip 10.0.0.2 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w266","json":"0","words":"actions add action tunnel_key set set src_ip 10.0.0.1 dst_ip 10.0.0.2 index 1"}} +{"id":"tcact2write/ng-060","desc":"negative: opt=plain cmd=ng:tk-noaddr:actions_add_action_tunnel_key_set_id_1_index_1: set needs tunnel_key parameters","cmd":"tc actions add action tunnel_key set id 1 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"tk-noaddr","json":"0","words":"actions add action tunnel_key set id 1 index 1"}} +{"id":"tcact2write/ng-061","desc":"negative: opt=plain cmd=ng:tk-tos:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_7_tos_256_index_1: Illegal \"tos\"","cmd":"tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 tos 256 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"tk-tos","json":"0","words":"actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 tos 256 index 1"}} +{"id":"tcact2write/ng-062","desc":"negative: opt=plain cmd=ng:tk-vx:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_7_vxlan_opts_zz_index_1: Illegal \"vxlan_opts\"","cmd":"tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 vxlan_opts zz index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"tk-vx","json":"0","words":"actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 vxlan_opts zz index 1"}} +{"id":"tcact2write/ng-063","desc":"negative: opt=plain cmd=ng:tk-er:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_7_erspan_opts_1:2:3:4:5_index_1: Illegal \"erspan_opts\"","cmd":"tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 erspan_opts 1:2:3:4:5 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"tk-er","json":"0","words":"actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 erspan_opts 1:2:3:4:5 index 1"}} +{"id":"tcact2write/ng-064","desc":"negative: opt=plain cmd=ng:tk-help:actions_add_action_tunnel_key_help: the usage, exit(-1)","cmd":"tc actions add action tunnel_key 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"tk-help","json":"0","words":"actions add action tunnel_key help"}} +{"id":"tcact2write/ng-065","desc":"negative: opt=plain cmd=ng:tk-tail:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id: id with no value: NEXT_ARG","cmd":"tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"tk-tail","json":"0","words":"actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id"}} +{"id":"tcact2write/ng-066","desc":"negative: opt=plain cmd=ng:w268:actions_add_action_ife_pipe: IFE requires decode/encode specified, usage, exit(-1) (W268)","cmd":"tc actions add action ife pipe","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w268","json":"0","words":"actions add action ife pipe"}} +{"id":"tcact2write/ng-067","desc":"negative: opt=plain cmd=ng:w269-end:actions_add_action_ife_decode_ife: ife at the end of the line: NEXT_ARG (W269)","cmd":"tc actions add action ife decode ife","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w269-end","json":"0","words":"actions add action ife decode ife"}} +{"id":"tcact2write/ng-068","desc":"negative: opt=plain cmd=ng:w191-ife:actions_add_action_ife: a bare ife (W269)","cmd":"tc actions add action ife","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w191-ife","json":"0","words":"actions add action ife"}} +{"id":"tcact2write/ng-069","desc":"negative: opt=plain cmd=ng:ife-allow:actions_add_action_ife_encode_allow_foo_index_1: Illegal meta define, exit(-1)","cmd":"tc actions add action ife encode allow foo index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"ife-allow","json":"0","words":"actions add action ife encode allow foo index 1"}} +{"id":"tcact2write/ng-070","desc":"negative: opt=plain cmd=ng:ife-use:actions_add_action_ife_encode_use_mark_zz_index_1: ife mark val is invalid","cmd":"tc actions add action ife encode use mark zz index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"ife-use","json":"0","words":"actions add action ife encode use mark zz index 1"}} +{"id":"tcact2write/ng-071","desc":"negative: opt=plain cmd=ng:ife-use-kind:actions_add_action_ife_encode_use_foo_1_index_1: Illegal meta use type","cmd":"tc actions add action ife encode use foo 1 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"ife-use-kind","json":"0","words":"actions add action ife encode use foo 1 index 1"}} +{"id":"tcact2write/ng-072","desc":"negative: opt=plain cmd=ng:ife-tcindex:actions_add_action_ife_encode_use_tcindex_65536_index_1: ife tcindex val is invalid","cmd":"tc actions add action ife encode use tcindex 65536 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"ife-tcindex","json":"0","words":"actions add action ife encode use tcindex 65536 index 1"}} +{"id":"tcact2write/ng-073","desc":"negative: opt=plain cmd=ng:ife-type:actions_add_action_ife_encode_type_zz_index_1: ife type is invalid","cmd":"tc actions add action ife encode type zz index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"ife-type","json":"0","words":"actions add action ife encode type zz index 1"}} +{"id":"tcact2write/ng-074","desc":"negative: opt=plain cmd=ng:ife-mac:actions_add_action_ife_encode_dst_zz_index_1: Invalid mac address","cmd":"tc actions add action ife encode dst zz index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"ife-mac","json":"0","words":"actions add action ife encode dst zz index 1"}} +{"id":"tcact2write/ng-075","desc":"negative: opt=plain cmd=ng:ife-index:actions_add_action_ife_encode_allow_mark_index_zz: ife: Illegal \"index\"","cmd":"tc actions add action ife encode allow mark index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"ife-index","json":"0","words":"actions add action ife encode allow mark index zz"}} +{"id":"tcact2write/ng-076","desc":"negative: opt=plain cmd=ng:ife-help:actions_add_action_ife_help: the usage, exit(-1)","cmd":"tc actions add action ife 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"ife-help","json":"0","words":"actions add action ife help"}} +{"id":"tcact2write/ng-077","desc":"negative: opt=plain cmd=ng:w276:actions_add_action_ct_commit_nat_src_addr_1.1.1.1: nat's range as the last words: NEXT_ARG (W276)","cmd":"tc actions add action ct commit nat src addr 1.1.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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w276","json":"0","words":"actions add action ct commit nat src addr 1.1.1.1"}} +{"id":"tcact2write/ng-078","desc":"negative: opt=plain cmd=ng:w277:actions_add_action_ct_nat: nat as the last word: NEXT_ARG (W277)","cmd":"tc actions add action ct nat","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w277","json":"0","words":"actions add action ct nat"}} +{"id":"tcact2write/ng-079","desc":"negative: opt=plain cmd=ng:w278:actions_add_action_ct_commit_nat_src_foo_index_1: no addr: the usage, exit(-1) (W278)","cmd":"tc actions add action ct commit nat src foo index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w278","json":"0","words":"actions add action ct commit nat src foo index 1"}} +{"id":"tcact2write/ng-080","desc":"negative: opt=plain cmd=ng:w279:actions_add_action_ct_commit_nat_src_addr_bogus_index_1: get_addr's message, exit(1) (W279)","cmd":"tc actions add action ct commit nat src addr bogus index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":1,"refused_by":"iproute2"},"axes":{"fix":"w279","json":"0","words":"actions add action ct commit nat src addr bogus index 1"}} +{"id":"tcact2write/ng-081","desc":"negative: opt=plain cmd=ng:w279-fam:actions_add_action_ct_commit_nat_src_addr_10.0.0.1-2001:db8::1_index_1: the second address takes the first's family (W279)","cmd":"tc actions add action ct commit nat src addr 10.0.0.1-2001:db8::1 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":1,"refused_by":"iproute2"},"axes":{"fix":"w279-fam","json":"0","words":"actions add action ct commit nat src addr 10.0.0.1-2001:db8::1 index 1"}} +{"id":"tcact2write/ng-082","desc":"negative: opt=plain cmd=ng:w281-any:actions_add_action_ct_commit_nat_src_addr_any_index_1: a 0-byte IPV6_MIN (W281)","cmd":"tc actions add action ct commit nat src addr any index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"errno":"ERANGE","refused_by":"kernel"},"axes":{"fix":"w281-any","json":"0","words":"actions add action ct commit nat src addr any index 1"}} +{"id":"tcact2write/ng-083","desc":"negative: opt=plain cmd=ng:w282:actions_add_action_ct_commit_nat_src_addr_10.0.0.1_port_80-_index_1: ct: Illegal nat port range (W282)","cmd":"tc actions add action ct commit nat src addr 10.0.0.1 port 80- index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w282","json":"0","words":"actions add action ct commit nat src addr 10.0.0.1 port 80- index 1"}} +{"id":"tcact2write/ng-084","desc":"negative: opt=plain cmd=ng:w282-hex:actions_add_action_ct_commit_nat_src_addr_10.0.0.1_port_0x50_index_1: ports are base 10 (W282)","cmd":"tc actions add action ct commit nat src addr 10.0.0.1 port 0x50 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w282-hex","json":"0","words":"actions add action ct commit nat src addr 10.0.0.1 port 0x50 index 1"}} +{"id":"tcact2write/ng-085","desc":"negative: opt=plain cmd=ng:w283:actions_add_action_ct_commit_helper_ipv4-udp-netbios-ns_index_1: %[^-] keeps 3 fields: netbios, no such helper (W283)","cmd":"tc actions add action ct commit helper ipv4-udp-netbios-ns index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"errno":"EINVAL","refused_by":"kernel"},"axes":{"fix":"w283","json":"0","words":"actions add action ct commit helper ipv4-udp-netbios-ns index 1"}} +{"id":"tcact2write/ng-086","desc":"negative: opt=plain cmd=ng:w283-long:actions_add_action_ct_commit_helper_ipv4-tcp-abcdefghijklmnopqrstuv_index_1: a 22-byte name, past the kernel's 16 (W283)","cmd":"tc actions add action ct commit helper ipv4-tcp-abcdefghijklmnopqrstuv index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"errno":"ERANGE","refused_by":"kernel"},"axes":{"fix":"w283-long","json":"0","words":"actions add action ct commit helper ipv4-tcp-abcdefghijklmnopqrstuv index 1"}} +{"id":"tcact2write/ng-087","desc":"negative: opt=plain cmd=ng:w284-hex:actions_add_action_ct_commit_helper_ipv4-0x6-ftp_index_1: ct: Illegal \"helper\" (W284)","cmd":"tc actions add action ct commit helper ipv4-0x6-ftp index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w284-hex","json":"0","words":"actions add action ct commit helper ipv4-0x6-ftp index 1"}} +{"id":"tcact2write/ng-088","desc":"negative: opt=plain cmd=ng:w285:actions_add_action_ct_commit_label_0123456789abcdef0123456789abcdef01_index_1: label too long, exit(-1) (W285)","cmd":"tc actions add action ct commit label 0123456789abcdef0123456789abcdef01 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w285","json":"0","words":"actions add action ct commit label 0123456789abcdef0123456789abcdef01 index 1"}} +{"id":"tcact2write/ng-089","desc":"negative: opt=plain cmd=ng:w285-mask:actions_add_action_ct_commit_label_01/0123456789abcdef0123456789abcdef01_index_1: mask too long, named as the label (W285)","cmd":"tc actions add action ct commit label 01/0123456789abcdef0123456789abcdef01 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w285-mask","json":"0","words":"actions add action ct commit label 01/0123456789abcdef0123456789abcdef01 index 1"}} +{"id":"tcact2write/ng-090","desc":"negative: opt=plain cmd=ng:w286:actions_add_action_ct_commit_label_zz_index_1: ct: labels must be a hex string, then a blank line (W286)","cmd":"tc actions add action ct commit label zz index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w286","json":"0","words":"actions add action ct commit label zz index 1"}} +{"id":"tcact2write/ng-091","desc":"negative: opt=plain cmd=ng:w288:actions_add_action_ct_commit_pipe_index_5: index after control is the next kind: Failed to load TC action module (W288)","cmd":"tc actions add action ct commit pipe index 5","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"errno":"ENOENT","refused_by":"kernel"},"axes":{"fix":"w288","json":"0","words":"actions add action ct commit pipe index 5"}} +{"id":"tcact2write/ng-092","desc":"negative: opt=plain cmd=ng:w290-mask:actions_add_action_ct_zone_5/1_index_1: zone takes no mask: ct: Illegal \"zone\" (W290)","cmd":"tc actions add action ct zone 5/1 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w290-mask","json":"0","words":"actions add action ct zone 5/1 index 1"}} +{"id":"tcact2write/ng-093","desc":"negative: opt=plain cmd=ng:w292-h:actions_add_action_ct_h: h is help: the usage, exit(-1) (W292)","cmd":"tc actions add action ct 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w292-h","json":"0","words":"actions add action ct h"}} +{"id":"tcact2write/ng-094","desc":"negative: opt=plain cmd=ng:ct-clear:actions_add_action_ct_clear_commit_index_1: ct: clear can only be used alone","cmd":"tc actions add action ct clear commit index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"ct-clear","json":"0","words":"actions add action ct clear commit index 1"}} +{"id":"tcact2write/ng-095","desc":"negative: opt=plain cmd=ng:ct-both:actions_add_action_ct_commit_nat_src_addr_1.1.1.1_nat_dst_addr_2.2.2.2_index_1: ct: src and dst nat can't be used together","cmd":"tc actions add action ct commit nat src addr 1.1.1.1 nat dst addr 2.2.2.2 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"ct-both","json":"0","words":"actions add action ct commit nat src addr 1.1.1.1 nat dst addr 2.2.2.2 index 1"}} +{"id":"tcact2write/ng-096","desc":"negative: opt=plain cmd=ng:ct-natonly:actions_add_action_ct_commit_nat_index_1: ct: commit and nat must set src or dst","cmd":"tc actions add action ct commit nat index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"ct-natonly","json":"0","words":"actions add action ct commit nat index 1"}} +{"id":"tcact2write/ng-097","desc":"negative: opt=plain cmd=ng:ct-nocommit:actions_add_action_ct_nat_src_addr_1.1.1.1_index_1: ct: src or dst is only valid if commit is set","cmd":"tc actions add action ct nat src addr 1.1.1.1 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"ct-nocommit","json":"0","words":"actions add action ct nat src addr 1.1.1.1 index 1"}} +{"id":"tcact2write/ng-098","desc":"negative: opt=plain cmd=ng:ct-mark:actions_add_action_ct_commit_mark_zz_index_1: ct: Illegal \"mark\"","cmd":"tc actions add action ct commit mark zz index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"ct-mark","json":"0","words":"actions add action ct commit mark zz index 1"}} +{"id":"tcact2write/ng-099","desc":"negative: opt=plain cmd=ng:ct-index:actions_add_action_ct_index_0x5: ct: Illegal \"index\"","cmd":"tc actions add action ct index 0x5","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"ct-index","json":"0","words":"actions add action ct index 0x5"}} +{"id":"tcact2write/ng-100","desc":"negative: opt=plain cmd=ng:ct-helper:actions_add_action_ct_commit_helper_ipv5-tcp-ftp_index_1: an unknown family","cmd":"tc actions add action ct commit helper ipv5-tcp-ftp index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"ct-helper","json":"0","words":"actions add action ct commit helper ipv5-tcp-ftp index 1"}} +{"id":"tcact2write/ng-101","desc":"negative: opt=plain cmd=ng:ct-help:actions_add_action_ct_help: the usage, exit(-1)","cmd":"tc actions add action ct 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"ct-help","json":"0","words":"actions add action ct help"}} +{"id":"tcact2write/ng-102","desc":"negative: opt=plain cmd=ng:w191-gate:actions_add_action_gate: a bare gate: NEXT_ARG","cmd":"tc actions add action gate","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w191-gate","json":"0","words":"actions add action gate"}} +{"id":"tcact2write/ng-103","desc":"negative: opt=plain cmd=ng:w295-big:actions_add_action_gate_sched-entry_open_1ms_1_2147483648_index_1: \"maxoctets\" is too large","cmd":"tc actions add action gate sched-entry open 1ms 1 2147483648 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w295-big","json":"0","words":"actions add action gate sched-entry open 1ms 1 2147483648 index 1"}} +{"id":"tcact2write/ng-104","desc":"negative: opt=plain cmd=ng:w296-index:actions_add_action_gate_sched-entry_open_1000000_-1_-1_index_0x1: index is base 10: invarg, exit(-1) (W296)","cmd":"tc actions add action gate sched-entry open 1000000 -1 -1 index 0x1","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w296-index","json":"0","words":"actions add action gate sched-entry open 1000000 -1 -1 index 0x1"}} +{"id":"tcact2write/ng-105","desc":"negative: opt=plain cmd=ng:w297-half:actions_add_action_gate_sched-entry_open_0.5_-1_-1_index_1: interval 0.5 is 0 (W297)","cmd":"tc actions add action gate sched-entry open 0.5 -1 -1 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"errno":"EINVAL","refused_by":"kernel"},"axes":{"fix":"w297-half","json":"0","words":"actions add action gate sched-entry open 0.5 -1 -1 index 1"}} +{"id":"tcact2write/ng-106","desc":"negative: opt=plain cmd=ng:w298-ms:actions_add_action_gate_base-time_-1ms_sched-entry_open_1000000_-1_-1_index_1: a negative time with a unit: invarg (W298)","cmd":"tc actions add action gate base-time -1ms sched-entry open 1000000 -1 -1 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w298-ms","json":"0","words":"actions add action gate base-time -1ms sched-entry open 1000000 -1 -1 index 1"}} +{"id":"tcact2write/ng-107","desc":"negative: opt=plain cmd=ng:w300:actions_add_action_gate_sched-entry_opn_1ms_index_1: the entry usage and \"sched-entry\" is incomplete (W300)","cmd":"tc actions add action gate sched-entry opn 1ms index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w300","json":"0","words":"actions add action gate sched-entry opn 1ms index 1"}} +{"id":"tcact2write/ng-108","desc":"negative: opt=plain cmd=ng:w300-end:actions_add_action_gate_sched-entry: sched-entry at the end (W300)","cmd":"tc actions add action gate sched-entry","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w300-end","json":"0","words":"actions add action gate sched-entry"}} +{"id":"tcact2write/ng-109","desc":"negative: opt=plain cmd=ng:w300-state:actions_add_action_gate_sched-entry_open: no interval (W300)","cmd":"tc actions add action gate sched-entry open","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w300-state","json":"0","words":"actions add action gate sched-entry open"}} +{"id":"tcact2write/ng-110","desc":"negative: opt=plain cmd=ng:w300-int:actions_add_action_gate_sched-entry_open_zz_index_1: a bad interval (W300)","cmd":"tc actions add action gate sched-entry open zz index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w300-int","json":"0","words":"actions add action gate sched-entry open zz index 1"}} +{"id":"tcact2write/ng-111","desc":"negative: opt=plain cmd=ng:w301:actions_add_action_gate_help: the usage, exit(-1) (W301)","cmd":"tc actions add action gate 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w301","json":"0","words":"actions add action gate help"}} +{"id":"tcact2write/ng-112","desc":"negative: opt=plain cmd=ng:w301-prio:actions_add_action_gate_priority_zz_sched-entry_open_1ms_index_1: invarg, exit(-1) (W301)","cmd":"tc actions add action gate priority zz sched-entry open 1ms index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w301-prio","json":"0","words":"actions add action gate priority zz sched-entry open 1ms index 1"}} +{"id":"tcact2write/ng-113","desc":"negative: opt=plain cmd=ng:w302-h:actions_add_action_gate_h: h is help (W302)","cmd":"tc actions add action gate 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w302-h","json":"0","words":"actions add action gate h"}} +{"id":"tcact2write/ng-114","desc":"negative: opt=plain cmd=ng:w303:actions_add_action_gate_sched-entry_open_1000000_-1_-1_pipe_index_5: index after control is the next kind: Failed to load TC action module (W303)","cmd":"tc actions add action gate sched-entry open 1000000 -1 -1 pipe index 5","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"errno":"ENOENT","refused_by":"kernel"},"axes":{"fix":"w303","json":"0","words":"actions add action gate sched-entry open 1000000 -1 -1 pipe index 5"}} +{"id":"tcact2write/ng-115","desc":"negative: opt=plain cmd=ng:w303-goto:actions_add_action_gate_sched-entry_open_1000000_-1_-1_goto_chain_x: Illegal \"chain index\" twice (W303)","cmd":"tc actions add action gate sched-entry open 1000000 -1 -1 goto chain x","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w303-goto","json":"0","words":"actions add action gate sched-entry open 1000000 -1 -1 goto chain x"}} +{"id":"tcact2write/ng-116","desc":"negative: opt=plain cmd=ng:w305:actions_add_action_gate_index_5: an empty ENTRY_LIST on create (W305)","cmd":"tc actions add action gate index 5","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"errno":"EINVAL","refused_by":"kernel"},"axes":{"fix":"w305","json":"0","words":"actions add action gate index 5"}} +{"id":"tcact2write/ng-117","desc":"negative: opt=plain cmd=ng:gate-big:actions_add_action_gate_sched-entry_open_4294967296_-1_-1_index_1: \"interval\" is too large","cmd":"tc actions add action gate sched-entry open 4294967296 -1 -1 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"gate-big","json":"0","words":"actions add action gate sched-entry open 4294967296 -1 -1 index 1"}} +{"id":"tcact2write/ng-118","desc":"negative: opt=plain cmd=ng:gate-clk:actions_add_action_gate_clockid_FOO_sched-entry_open_1ms_index_1: an unknown clockid","cmd":"tc actions add action gate clockid FOO sched-entry open 1ms index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"gate-clk","json":"0","words":"actions add action gate clockid FOO sched-entry open 1ms index 1"}} +{"id":"tcact2write/ng-119","desc":"negative: opt=plain cmd=ng:gate-none:actions_add_action_gate_priority_2: gate: must add at least one entry","cmd":"tc actions add action gate priority 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"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"gate-none","json":"0","words":"actions add action gate priority 2"}} +{"id":"tcact2write/ng-120","desc":"negative: opt=plain cmd=ng:w307-2039:actions_add_action_bpf_bytecode-file_bpf.txt_index_1: 2039 instructions: PARMS past 16384, addattr_l ERROR (W307)","cmd":"tc actions add action bpf bytecode-file bpf.txt index 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","{ printf '%s\\n' 2039; i=0; while [ $i -lt 2039 ]; do printf '6 0 0 0\\n'; i=$((i+1)); done; } > bpf.txt"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"errno":"EINVAL","refused_by":"kernel"},"axes":{"fix":"w307-2039","json":"0","words":"actions add action bpf bytecode-file bpf.txt index 1"}} +{"id":"tcact2write/ng-121","desc":"negative: opt=plain cmd=ng:w307-2041:actions_add_action_bpf_bytecode-file_bpf.txt_index_1: 2041 instructions: PARMS past 16384 (W307)","cmd":"tc actions add action bpf bytecode-file bpf.txt index 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","{ printf '%s\\n' 2041; i=0; while [ $i -lt 2041 ]; do printf '6 0 0 0\\n'; i=$((i+1)); done; } > bpf.txt"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"errno":"EINVAL","refused_by":"kernel"},"axes":{"fix":"w307-2041","json":"0","words":"actions add action bpf bytecode-file bpf.txt index 1"}} +{"id":"tcact2write/ng-122","desc":"negative: opt=plain cmd=ng:w307-2042:actions_add_action_bpf_bytecode-file_bpf.txt_index_1: 2042: OPS_LEN with no OPS (W307)","cmd":"tc actions add action bpf bytecode-file bpf.txt index 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","{ printf '%s\\n' 2042; i=0; while [ $i -lt 2042 ]; do printf '6 0 0 0\\n'; i=$((i+1)); done; } > bpf.txt"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"errno":"EINVAL","refused_by":"kernel"},"axes":{"fix":"w307-2042","json":"0","words":"actions add action bpf bytecode-file bpf.txt index 1"}} +{"id":"tcact2write/ng-123","desc":"negative: opt=plain cmd=ng:w307-4097:actions_add_action_bpf_bytecode-file_bpf.txt_index_1: past BPF_MAXINSNS: no message (W307)","cmd":"tc actions add action bpf bytecode-file bpf.txt index 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","{ printf '%s\\n' 4097; i=0; while [ $i -lt 4097 ]; do printf '6 0 0 0\\n'; i=$((i+1)); done; } > bpf.txt"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w307-4097","json":"0","words":"actions add action bpf bytecode-file bpf.txt index 1"}} +{"id":"tcact2write/ng-124","desc":"negative: opt=plain cmd=ng:w308-space:actions_add_action_bpf_bytecode_'4_,6_0_0_0'_index_1: the header's separator: -EINVAL with no message (W308)","cmd":"tc actions add action bpf bytecode '4 ,6 0 0 0' index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w308-space","json":"0","words":"actions add action bpf bytecode '4 ,6 0 0 0' index 1"}} +{"id":"tcact2write/ng-125","desc":"negative: opt=plain cmd=ng:w308-zero:actions_add_action_bpf_bytecode_'0,6_0_0_0'_index_1: a header of 0 (W308)","cmd":"tc actions add action bpf bytecode '0,6 0 0 0' index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w308-zero","json":"0","words":"actions add action bpf bytecode '0,6 0 0 0' index 1"}} +{"id":"tcact2write/ng-126","desc":"negative: opt=plain cmd=ng:w309-hex:actions_add_action_bpf_bytecode_'1,0x6_0_0_0'_index_1: Error at instruction 0! (W309)","cmd":"tc actions add action bpf bytecode '1,0x6 0 0 0' index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w309-hex","json":"0","words":"actions add action bpf bytecode '1,0x6 0 0 0' index 1"}} +{"id":"tcact2write/ng-127","desc":"negative: opt=plain cmd=ng:w310:actions_add_action_bpf_bytecode_'1,6_0_0_0,_'_index_1: Real program length exceeds encoded length parameter! (W310)","cmd":"tc actions add action bpf bytecode '1,6 0 0 0, ' index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w310","json":"0","words":"actions add action bpf bytecode '1,6 0 0 0, ' index 1"}} +{"id":"tcact2write/ng-128","desc":"negative: opt=plain cmd=ng:w310-less:actions_add_action_bpf_bytecode_'2,6_0_0_0'_index_1: Parsed program length is less than encoded length parameter! (W310)","cmd":"tc actions add action bpf bytecode '2,6 0 0 0' index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w310-less","json":"0","words":"actions add action bpf bytecode '2,6 0 0 0' index 1"}} +{"id":"tcact2write/ng-129","desc":"negative: opt=plain cmd=ng:w311-blank:actions_add_action_bpf_bytecode-file_bpf.txt_index_1: a leading blank line: no message (W311)","cmd":"tc actions add action bpf bytecode-file bpf.txt index 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","printf '%s' '\n1\n6 0 0 0\n' > bpf.txt"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w311-blank","json":"0","words":"actions add action bpf bytecode-file bpf.txt index 1"}} +{"id":"tcact2write/ng-130","desc":"negative: opt=plain cmd=ng:w311-crlf:actions_add_action_bpf_bytecode-file_bpf.txt_index_1: CRLF: no message (W311)","cmd":"tc actions add action bpf bytecode-file bpf.txt index 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","printf '%s' '1\r\n6 0 0 0\r\n' > bpf.txt"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w311-crlf","json":"0","words":"actions add action bpf bytecode-file bpf.txt index 1"}} +{"id":"tcact2write/ng-131","desc":"negative: opt=plain cmd=ng:w311-dir:actions_add_action_bpf_bytecode-file_._index_1: a directory: -E2BIG with no message (W311)","cmd":"tc actions add action bpf bytecode-file . index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w311-dir","json":"0","words":"actions add action bpf bytecode-file . index 1"}} +{"id":"tcact2write/ng-132","desc":"negative: opt=plain cmd=ng:w311-none:actions_add_action_bpf_bytecode-file_nosuch.txt_index_1: Cannot fopen: No such file or directory (W311)","cmd":"tc actions add action bpf bytecode-file nosuch.txt index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w311-none","json":"0","words":"actions add action bpf bytecode-file nosuch.txt index 1"}} +{"id":"tcact2write/ng-133","desc":"negative: opt=plain cmd=ng:w312-two:actions_add_action_bpf_bytecode_'1,6_0_0_0'_bytecode_'1,6_0_0_1'_index_1: a second program word is the next kind (W312)","cmd":"tc actions add action bpf bytecode '1,6 0 0 0' bytecode '1,6 0 0 1' index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w312-two","json":"0","words":"actions add action bpf bytecode '1,6 0 0 0' bytecode '1,6 0 0 1' index 1"}} +{"id":"tcact2write/ng-134","desc":"negative: opt=plain cmd=ng:w312-drop:actions_add_action_bpf_drop: What mode is \"drop\"? (W312)","cmd":"tc actions add action bpf 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"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w312-drop","json":"0","words":"actions add action bpf drop"}} +{"id":"tcact2write/ng-135","desc":"negative: opt=plain cmd=ng:w312:actions_add_action_bpf_index_5: index ends the loop: PARMS only on a create (W312)","cmd":"tc actions add action bpf index 5","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"errno":"EINVAL","refused_by":"kernel"},"axes":{"fix":"w312","json":"0","words":"actions add action bpf index 5"}} +{"id":"tcact2write/ng-136","desc":"negative: opt=plain cmd=ng:w313:actions_add_action_bpf: a bare bpf: NEXT_ARG (W313)","cmd":"tc actions add action bpf","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w313","json":"0","words":"actions add action bpf"}} +{"id":"tcact2write/ng-137","desc":"negative: opt=plain cmd=ng:w313-help:actions_add_action_bpf_help: help returns -1: bad action parsing (W313)","cmd":"tc actions add action bpf 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w313-help","json":"0","words":"actions add action bpf help"}} +{"id":"tcact2write/ng-138","desc":"negative: opt=plain cmd=ng:w313-index:actions_add_action_bpf_bytecode_'1,6_0_0_0'_index_zz: bpf: Illegal \"index\" (W313)","cmd":"tc actions add action bpf bytecode '1,6 0 0 0' index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w313-index","json":"0","words":"actions add action bpf bytecode '1,6 0 0 0' index zz"}} +{"id":"tcact2write/ng-139","desc":"negative: opt=plain cmd=ng:w314-obj:actions_add_action_bpf_o_nosuch.o_index_1: o is object-file: an eBPF load (W314)","cmd":"tc actions add action bpf o nosuch.o index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w314-obj","json":"0","words":"actions add action bpf o nosuch.o index 1"}} +{"id":"tcact2write/ng-140","desc":"negative: opt=plain cmd=ng:w314-p:actions_add_action_bpf_p_/sys/fs/bpf/nosuch_index_1: p is pinned: bpf(2) (W314)","cmd":"tc actions add action bpf p /sys/fs/bpf/nosuch index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w314-p","json":"0","words":"actions add action bpf p /sys/fs/bpf/nosuch index 1"}} +{"id":"tcact2write/ng-141","desc":"negative: opt=plain cmd=ng:w314-fd:actions_add_action_bpf_f_3_index_1: f is fd: pinned, bpf(2) (W314)","cmd":"tc actions add action bpf f 3 index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"w314-fd","json":"0","words":"actions add action bpf f 3 index 1"}} +{"id":"tcact2write/ng-142","desc":"negative: opt=plain cmd=ng:ebpf-obj:actions_add_action_bpf_object-file_nosuch.o_index_1: eBPF object-file: tc's answer, refused by name in gotc","cmd":"tc actions add action bpf object-file nosuch.o index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"ebpf-obj","json":"0","words":"actions add action bpf object-file nosuch.o index 1"}} +{"id":"tcact2write/ng-143","desc":"negative: opt=plain cmd=ng:ebpf-pinned:actions_add_action_bpf_object-pinned_/sys/fs/bpf/nosuch_index_1: eBPF object-pinned: bpf(2)","cmd":"tc actions add action bpf object-pinned /sys/fs/bpf/nosuch index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"ebpf-pinned","json":"0","words":"actions add action bpf object-pinned /sys/fs/bpf/nosuch index 1"}} +{"id":"tcact2write/ng-144","desc":"negative: opt=plain cmd=ng:ebpf-run:actions_add_action_bpf_run_obj_nosuch.o_index_1: eBPF obj after run","cmd":"tc actions add action bpf run obj nosuch.o index 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"iproute2"},"axes":{"fix":"ebpf-run","json":"0","words":"actions add action bpf run obj nosuch.o index 1"}} +{"id":"tcact2write/ng-145","desc":"negative: opt=plain cmd=ng:w315:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_classid_1:1: options but no program: OPS_LEN 0 (W315)","cmd":"tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":2,"errno":"EINVAL","refused_by":"kernel"},"axes":{"fix":"w315","json":"0","words":"filter add dev d0 ingress pref 1 protocol ip handle 1 bpf classid 1:1"}} +{"id":"tcact2write/ng-146","desc":"negative: opt=plain cmd=ng:w316:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf: no words: no OPTIONS (W316)","cmd":"tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":2,"errno":"EINVAL","refused_by":"kernel"},"axes":{"fix":"w316","json":"0","words":"filter add dev d0 ingress pref 1 protocol ip handle 1 bpf"}} +{"id":"tcact2write/ng-147","desc":"negative: opt=plain cmd=ng:w319:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_bytecode_'1,6_0_0_0'_bogus: What is \"bogus\"?, the usage (W319)","cmd":"tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 0' bogus","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"w319","json":"0","words":"filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 0' bogus"}} +{"id":"tcact2write/ng-148","desc":"negative: opt=plain cmd=ng:w319-flowid:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_bytecode_'1,6_0_0_0'_flowid_zz: Illegal \"classid\" for flowid (W319)","cmd":"tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 0' flowid 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"w319-flowid","json":"0","words":"filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 0' flowid zz"}} +{"id":"tcact2write/ng-149","desc":"negative: opt=plain cmd=ng:w319-parse:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_bytecode_'1,6_0_0': Unable to parse bpf command line (W319)","cmd":"tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0'","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"w319-parse","json":"0","words":"filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0'"}} +{"id":"tcact2write/ng-150","desc":"negative: opt=plain cmd=ng:w320:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_bytecode_'1,6_0_0_0'_skip_hw_skip_sw: both skip flags (W320)","cmd":"tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 0' skip_hw skip_sw","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":2,"errno":"EINVAL","refused_by":"kernel"},"axes":{"fix":"w320","json":"0","words":"filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 0' skip_hw skip_sw"}} +{"id":"tcact2write/ng-151","desc":"negative: opt=plain cmd=ng:w320-sw:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_bytecode_'1,6_0_0_0'_skip_sw: skip_sw on a dummy (W320)","cmd":"tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 0' skip_sw","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":2,"errno":"ENOTSUP","refused_by":"kernel"},"axes":{"fix":"w320-sw","json":"0","words":"filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 0' skip_sw"}} +{"id":"tcact2write/ng-152","desc":"negative: opt=plain cmd=ng:fb-help:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_help: the filter's usage","cmd":"tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"fb-help","json":"0","words":"filter add dev d0 ingress pref 1 protocol ip handle 1 bpf help"}} +{"id":"tcact2write/ng-153","desc":"negative: opt=plain cmd=ng:fb-obj:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_object-file_nosuch.o: eBPF object-file in a filter: tc's answer","cmd":"tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf object-file nosuch.o","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"fb-obj","json":"0","words":"filter add dev d0 ingress pref 1 protocol ip handle 1 bpf object-file nosuch.o"}} +{"id":"tcact2write/ng-154","desc":"negative: opt=plain cmd=ng:fb-pinned:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_pinned_/sys/fs/bpf/nosuch: eBPF pinned in a filter: bpf(2)","cmd":"tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf pinned /sys/fs/bpf/nosuch","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"fb-pinned","json":"0","words":"filter add dev d0 ingress pref 1 protocol ip handle 1 bpf pinned /sys/fs/bpf/nosuch"}} +{"id":"tcact2write/ng-155","desc":"negative: opt=plain cmd=ng:fb-action:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_bytecode_'1,6_0_0_0'_action_bogus: Bad action type bogus: gact's usage, exit(-1)","cmd":"tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 0' action bogus","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"ack-then-fail"},"axes":{"fix":"fb-action","json":"0","words":"filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 0' action bogus"}} +{"id":"tcact2write/ng-156","desc":"negative: opt=plain cmd=ng:fb-ops:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_bytecode_'1,6_0_0_0,6_0_0_0': an encoded length of 1 with two instructions","cmd":"tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 0,6 0 0 0'","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"fix":"fb-ops","json":"0","words":"filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 0,6 0 0 0'"}} +{"id":"tcact2write/ng-157","desc":"negative: opt=plain cmd=ng:w248:actions_add_action_pedit_ex_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_index_1_action_pedit_ex_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_index_2_action_pedit_ex_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_index_3: three 128-key ex actions pass 16384: the errors are ignored and a malformed nest is sent (W248)","cmd":"tc actions add action pedit ex munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 index 1 action pedit ex munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 index 2 action pedit ex munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 index 3","pre":["ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up","tc qdisc add dev d0 clsact","tc qdisc add dev d1 root handle 1: htb","tc class add dev d1 parent 1: classid 1:1 htb 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","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"errno":"EINVAL","refused_by":"kernel"},"axes":{"fix":"w248","json":"0","words":"actions add action pedit ex munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 index 1 action pedit ex munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 index 2 action pedit ex munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 index 3"}} +{"id":"tcact2write/ng-158","desc":"negative: opt=plain cmd=ng:w268-force:batch:ife-exit: ife's usage exit ends -force (W268)","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' 'actions add action ife pipe' 'actions add action gact pass index 2' > b.txt"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":255,"refused_by":"ack-then-fail"},"axes":{"batch":"ife-exit","fix":"w268-force","json":"0","words":"-force -batch b.txt"}} +{"id":"tcact2write/ng-159","desc":"negative: opt=plain cmd=ng:w250-force:batch:addr-exit: get_addr's exit(1) ends -force (W250)","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' 'actions add action tunnel_key set src_ip bogus dst_ip 10.0.0.2 id 1 index 1' 'actions add action gact pass index 2' > b.txt"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"batch":"addr-exit","fix":"w250-force","json":"0","words":"-force -batch b.txt"}} +{"id":"tcact2write/ng-160","desc":"negative: opt=plain cmd=ng:ct-force:batch:return: ct returns -1, so -force carries on","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' 'actions add action ct clear commit index 1' 'actions add action gact pass index 2' > b.txt"],"modules":["sch_htb","sch_ingress","cls_basic","cls_cgroup","cls_flow","cls_fw","cls_matchall","cls_route","cls_u32","act_gact","act_police","act_mirred","act_skbedit","act_vlan","act_csum","act_nat","act_simple","act_connmark","act_ctinfo","act_sample","act_skbmod","act_mpls","act_pedit","act_tunnel_key","act_ife","act_ct","act_gate","act_bpf","cls_bpf","act_meta_mark","act_meta_skbprio","act_meta_skbtcindex"],"proto":"route","expect":{"rc":1,"refused_by":"ack-then-fail"},"axes":{"batch":"return","fix":"ct-force","json":"0","words":"-force -batch b.txt"}} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-001/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-001/cmd.json new file mode 100644 index 000000000..e3e15a413 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-001/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "v-add", + "json": "0", + "words": "actions add action pedit munge offset 12 u32 set 0x1 index 1" + }, + "cmd": "tc actions add action pedit munge offset 12 u32 set 0x1 index 1", + "desc": "positive: opt=plain cmd=v-add:actions_add_action_pedit_munge_offset_12_u32_set_0x1_index_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": "tcact2write/ec-001", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-001/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-001/dump.out new file mode 100644 index 000000000..39572662b --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-001/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at 12: val 00000001 mask 00000000 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-001/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-001/ip.err new file mode 100644 index 000000000..78b532626 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-001/ip.err @@ -0,0 +1 @@ +Warning: act_pedit: Unsupported pedit command offload. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-001/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-001/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-001/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-001/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..e2352d591efc78d148b073ddc173cda4ed5f0f44 GIT binary patch literal 272 zcmca|c+)~A1{MYcU}5+R3Q z@Bm^iATCHv$t(d%STHa(m@qH_MKA%97$XmwG|2u-K>IU*;vkG}e*{p7iGhI`WPeN< z#H0kE7_yrTfwm?lm&AkJVx*~JO(fZnb`$2^97I(!suq+016oa)q~8uQU=n+z`()44A#2` zNbUggk;?K;1t8S~3NfSk8vseI9iRXJ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-002/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-002/cmd.json new file mode 100644 index 000000000..9fb0429c3 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-002/cmd.json @@ -0,0 +1,109 @@ +{ + "axes": { + "fix": "v-change", + "json": "0", + "words": "actions change action pedit ex munge ip ttl add 1 index 1" + }, + "cmd": "tc actions change action pedit ex munge ip ttl add 1 index 1", + "desc": "positive: opt=plain cmd=v-change:actions_change_action_pedit_ex_munge_ip_ttl_add_1_index_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": "tcact2write/ec-002", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions add action pedit munge offset 12 u32 set 0x1 index 1" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc actions ls action pedit", + "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 actions add action pedit munge offset 12 u32 set 0x1 index 1", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-002/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-002/dump.out new file mode 100644 index 000000000..b68084dab --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-002/dump.out @@ -0,0 +1,7 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at ipv4+8: add 01000000 mask 00ffffff + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-002/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-002/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-002/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-002/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-002/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-002/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..e320ad8000fb7c303051f8bc09e29ee821009933 GIT binary patch literal 244 zcmca|c+)~A1{MYcU}5+RAfF9L hg4BWBwF&4h6CfLe(cPs26auPe1i34z3}P#~TLGVk8NdJl literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-002/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-002/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-002/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-002/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-002/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..44579860ebfa2f6acb809730e2fe842e0b256cd4 GIT binary patch literal 444 zcmZutu?@m75WK_&42lp%gi=z3f;LLQ02zT1pg=Sf5gS0q5UjuotUw0^gMiGv!NRim z=>329?|bL3m-8uw#?Lff1pCEsGd=#PHmW2!{ z5uA(Wl$sd{@mTXos$#!r-geRe7$|r5!ShZWYBzkh%#1BZFQ!mX=bvThJ6fuS>S8V5 zP@qHYF295bjGzCgIWwH-a~G|(5{-xiR`SN=i+v2rE|uNPxSNtlJl;)CN=3VQ1KeXD AO#lD@ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-003/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-003/cmd.json new file mode 100644 index 000000000..9230857cb --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-003/cmd.json @@ -0,0 +1,109 @@ +{ + "axes": { + "fix": "v-replace", + "json": "0", + "words": "actions replace action pedit ex munge ip ttl add 1 index 1" + }, + "cmd": "tc actions replace action pedit ex munge ip ttl add 1 index 1", + "desc": "positive: opt=plain cmd=v-replace:actions_replace_action_pedit_ex_munge_ip_ttl_add_1_index_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": "tcact2write/ec-003", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions add action pedit munge offset 12 u32 set 0x1 index 1" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc actions ls action pedit", + "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 actions add action pedit munge offset 12 u32 set 0x1 index 1", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-003/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-003/dump.out new file mode 100644 index 000000000..b68084dab --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-003/dump.out @@ -0,0 +1,7 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at ipv4+8: add 01000000 mask 00ffffff + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-003/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-003/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-003/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-003/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-003/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-003/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..fffca19351a2a47c680c2fb857c242a796da3071 GIT binary patch literal 244 zcmca|c+)~A1{MYcU}5+R2m@OK8&D?`kk1Ar hLFz#6at6A~1jq(qba$x$g@EcALGDT}gV>7hRsbxU80-K5 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-003/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-003/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-003/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-003/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-003/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..3ea7573c5af699f9cb5b91315520ae6e4fbced48 GIT binary patch literal 444 zcmZutu?@m75WK_z46+bKij)+YAWFdi8G#X?Kr|E)10ca3tiTGa01cvG0xC+7xi?r? z79YL;@BV%7{ONeur^xWL3@?K1bhtckfQGp^GBuIlt!7doQ9Jf|E=Ph9eL!E$XN#5v zgOmu)Me|NgLqa^(e3GizFPfLNGyodP-M#U=5{KFi-z_s^%h8J|6x8`=27O0MRa0H8 zr6q?Zjy ig4BWBRS9&L36KrK=MxccX3PeK@u>tJC3ar2ih>C&{7yxAMO)Mgd zi$3SS|J*x&y_`=GV*C)}&Ezm2ZJ!IE=2-%ATCHv$t(d%@Gvj|c?@6-GIKT1Ocfv>gwf3u0SYk#)q~75tpMp_U;qHuS`Z2V literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-006/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-006/cmd.json new file mode 100644 index 000000000..059547fa4 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-006/cmd.json @@ -0,0 +1,114 @@ +{ + "axes": { + "fix": "v-flush", + "json": "0", + "words": "actions flush action pedit" + }, + "cmd": "tc actions flush action pedit", + "desc": "positive: opt=plain cmd=v-flush:actions_flush_action_pedit", + "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": "tcact2write/ec-006", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions add action pedit munge offset 12 u32 set 0x1 index 1", + "tc actions add action pedit munge offset 12 u32 set 0x1 index 2" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc actions ls action pedit", + "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 actions add action pedit munge offset 12 u32 set 0x1 index 1", + "rc": 0 + }, + { + "cmd": "tc actions add action pedit munge offset 12 u32 set 0x1 index 2", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-006/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-006/dump.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-006/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-006/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-006/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-006/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-006/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-006/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..c8af1a260b516d0ad4c7fdad109e8005fa14044d GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+R*~JO(fZndt*G6Qmb}(alr=3NZndg3LTz4$=ithinf3%;^#l literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-006/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-006/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-006/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-006/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-006/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..1fe1e26f2fd7def785ba12d36ffdc95ad7276d28 GIT binary patch literal 160 zcmca|c+)~A1{MYcU}5+R*~JO(fZnK=(=rV5Y`!sup-0EL)=>Op2&R)BOdFaQAOUJyJ0 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-007/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-007/cmd.json new file mode 100644 index 000000000..09d8d8f6b --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-007/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "v-add", + "json": "0", + "words": "actions add action tunnel_key unset index 1" + }, + "cmd": "tc actions add action tunnel_key unset index 1", + "desc": "positive: opt=plain cmd=v-add:actions_add_action_tunnel_key_unset_index_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": "tcact2write/ec-007", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action tunnel_key", + "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/tcact2write/ec-007/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-007/dump.out new file mode 100644 index 000000000..2cd305829 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-007/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: tunnel_key unset pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-007/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-007/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-007/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-007/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-007/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-007/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..bf843ce9051e48684d66bc77b8c567e6d13b8ce4 GIT binary patch literal 208 zcmca|c+)~A1{MYcU}5+R5JvYeNFOtre*yN&AvXX3 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-008/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-008/cmd.json new file mode 100644 index 000000000..00aa3804e --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-008/cmd.json @@ -0,0 +1,109 @@ +{ + "axes": { + "fix": "v-change", + "json": "0", + "words": "actions change action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 index 1" + }, + "cmd": "tc actions change action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 index 1", + "desc": "positive: opt=plain cmd=v-change:actions_change_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_7_index_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": "tcact2write/ec-008", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions add action tunnel_key unset index 1" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc actions ls action tunnel_key", + "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 actions add action tunnel_key unset index 1", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-008/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-008/dump.out new file mode 100644 index 000000000..ce9ca4220 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-008/dump.out @@ -0,0 +1,10 @@ +total acts 1 + + action order 0: tunnel_key set + src_ip 10.0.0.1 + dst_ip 10.0.0.2 + key_id 7 + csum pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-008/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-008/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-008/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-008/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-008/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-008/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..9e9b200b9cf7ad0b1b592320eefd2074c4301420 GIT binary patch literal 232 zcmca|c+)~A1{MYcU}5+R$z`)Ad22=+Vi(p`6 z2mxY#ATBA*%S+9P&rYpmU~phyYT#gCX5eCAVB`SW1*Dlc7}!DD*jYh5Adq2T0_uVQ lW+)A!Kw==byal?&1jq(qbhoGgg_wX!L2fx(4lxDYeE?QW7z_Xa literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-008/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-008/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-008/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-008/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-008/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..b9f23a6c745b85fbc6b779ddbc98a31c6eb7b82e GIT binary patch literal 436 zcmca|c+)~A1{MYcU}5+RY4&AOSQB8{lE!1Pg;?IT(QM1A-KwyJetm2k}92Fk3)0 z2gH1Kko!PB;sCk>NHeiQ^{W6?%Y!rm0gQ(55F{u(W&*=Q1t}zNHo(Kc2^I#)axid#*(pGG%Rt=@5&+4;Yyr_6 z5cAnV?gQ#z$z`)Ad4pavdi(p`6 z2mxY#ATBA*%S+9P&rYpmU~phyYT#gCX5eCAVB`SW1*Dlc7}!DD*jYh5Adq2T0zwF2 nhSDI45r{!Y4&AOSQB8{lE!1Pg;?IT*OW>=dB8Wq_CossSVivjs$R zK+I|)hX()> Cej&mD literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-011/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-011/cmd.json new file mode 100644 index 000000000..d53f59eb2 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-011/cmd.json @@ -0,0 +1,109 @@ +{ + "axes": { + "fix": "v-delete", + "json": "0", + "words": "actions delete action tunnel_key index 1" + }, + "cmd": "tc actions delete action tunnel_key index 1", + "desc": "positive: opt=plain cmd=v-delete:actions_delete_action_tunnel_key_index_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": "tcact2write/ec-011", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions add action tunnel_key unset index 1" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc actions ls action tunnel_key", + "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 actions add action tunnel_key unset index 1", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-011/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-011/dump.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-011/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-011/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-011/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-011/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-011/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-011/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..8561a9b23d881aed9fbe8adca4d48208383a15b0 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RX7XL E0GQ?zsQ>@~ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-011/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-011/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-011/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-011/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-011/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..d758f27210cc1b32507da48697b0ba3089cb26ee GIT binary patch literal 164 zcmca|c+)~A1{MYcU}5+RR0=ZJs1l@$fdSnv E059wn1ONa4 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-012/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-012/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-012/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-012/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-012/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..4e0ee1089dd9dee7bd1ac229a397bd514d891972 GIT binary patch literal 164 zcmca|c+)~A1{MYcU}5+RPGAJ-GHOK(jj8Fy4FojSWWXEiv9VS3N2&3Df0u*9mU|If% D!Cex3 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-013/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-013/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-013/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-013/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-013/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..d5a7fc0e735a8623a76f85499b32aa09340c501a GIT binary patch literal 400 zcmca|c+)~A1{MYcU}5+RP0@+MJ76TZA%&P&K_XNlXVRZAZ0ELWz>Otncs{-j_0Gh)L*1H2pZUOTl z=DGmgD*~1QD}xgv4D4_=j3EIu0~_FA-~tQB0PU0kngy|u0jwIv1}RVh%8Nh^fYDGc ooMK~O1+xVh*nlo$1Y%|&W(9{~Bhb$(Kv@t*_cO>mW;8zo053uuTmS$7 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-014/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-014/cmd.json new file mode 100644 index 000000000..97343cec5 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-014/cmd.json @@ -0,0 +1,109 @@ +{ + "axes": { + "fix": "v-change", + "json": "0", + "words": "actions change action ife encode allow mark index 1" + }, + "cmd": "tc actions change action ife encode allow mark index 1", + "desc": "positive: opt=plain cmd=v-change:actions_change_action_ife_encode_allow_mark_index_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": "tcact2write/ec-014", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions add action ife decode index 1" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc actions ls action ife", + "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 actions add action ife decode index 1", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-014/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-014/dump.out new file mode 100644 index 000000000..88186865c --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-014/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: ife encode action pipe type 0XED3E + allow mark + index 1 ref 1 bind 0 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-014/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-014/ip.err new file mode 100644 index 000000000..301050e59 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-014/ip.err @@ -0,0 +1 @@ +IFE type 0xED3E diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-014/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-014/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-014/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-014/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dda2d19096b3b1cafe0c64c8b6653adbda7942d8 GIT binary patch literal 200 zcmca|c+)~A1{MYcU}5+RW{3f@L70Js*#bntfDe#iz`)Ad4pavdvtVFk zFacr?AkIunWzb+?YLEf48KDZ8VG4mXNQ{Gl4QMkX*e)NST_!*=5JtC41t`P>)B>`r KwhCezy8QreQWHD? literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-014/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-014/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-014/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-014/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-014/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..397c195ce0074a9f2f3163ae748614fafc3f2f87 GIT binary patch literal 392 zcmca|c+)~A1{MYcU}5+RP0@+MJ76TZA%OtoHssia^0Gh)L*1G{nt^xBQ z=DGmgD*~1QD}xgv4D4_=j3EIu0~_FA-~tPW0PU0kngy|u0jwIv2GJ@&c}1uJFdE%F kHU?G(ySE_svH@Mj2oAf6K)PGH5U`HOK(jj8Fy4Foi%GB*wwO2DF(GY}aC-T_!*=5JtC41t`P>)B>`r KvkGDwy8Qr1ND}b? literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-015/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-015/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-015/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-015/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-015/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..80faf7aeb75690db681c342b0c041e901c5dc363 GIT binary patch literal 392 zcmca|c+)~A1{MYcU}5+Rst21_4bsH`G=~|icLR`I1Li}_ zbpg6p1S|tq1}8)q*x_s#Ljq_9Ho(Ea1r`ng+9?Ax3t}S!ST&3dqE&$M3Qz-JG?WXc k*cezD?B0Uh%La5ABRK3X0{yB2Q~|>1eiZ=@~ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-016/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-016/cmd.json new file mode 100644 index 000000000..996dc66f9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-016/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "v-replace-new", + "json": "0", + "words": "actions replace action ife encode allow mark index 2" + }, + "cmd": "tc actions replace action ife encode allow mark index 2", + "desc": "positive: opt=plain cmd=v-replace-new:actions_replace_action_ife_encode_allow_mark_index_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": "tcact2write/ec-016", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action ife", + "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/tcact2write/ec-016/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-016/dump.out new file mode 100644 index 000000000..f7b64b437 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-016/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: ife encode action pipe type 0XED3E + allow mark + index 2 ref 1 bind 0 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-016/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-016/ip.err new file mode 100644 index 000000000..301050e59 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-016/ip.err @@ -0,0 +1 @@ +IFE type 0xED3E diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-016/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-016/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-016/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-016/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..00d2a2451d211b5c37ed474c0395d74adb1d8a7d GIT binary patch literal 200 zcmca|c+)~A1{MYcU}5+RP0@+MJ76TZA%xedlcL&G^VRZA(0ELWz>Otl)R)cgg0L@_r>)ik(*MRvD zb6tS$6#>hDmB9%S26i|b#*hG-femmlaDjzGfOg6N&0>No0;z`B4xv?mG9pkp7!BpZ kDK-XH2D`T)_p$+9#t06(exP4ffGR*3-LD{Xn9=+S05l02<^TWy literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-017/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-017/cmd.json new file mode 100644 index 000000000..c1c0efa78 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-017/cmd.json @@ -0,0 +1,109 @@ +{ + "axes": { + "fix": "v-delete", + "json": "0", + "words": "actions delete action ife index 1" + }, + "cmd": "tc actions delete action ife index 1", + "desc": "positive: opt=plain cmd=v-delete:actions_delete_action_ife_index_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": "tcact2write/ec-017", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions add action ife decode index 1" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc actions ls action ife", + "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 actions add action ife decode index 1", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-017/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-017/dump.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-017/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-017/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-017/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-017/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-017/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-017/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..7a632b071c4938f1bbebbfe6e36a924aa2cca9ab GIT binary patch literal 168 zcmca|c+)~A1{MYcU}5+RW3U0TL70Js*#bntfDVvh$iT|b2~-CYlVD(E u5CLKiAkIun1=7qw7R0RkK(kDMY!F5_O9d#z#K6D^GV6LZNCyK0y7>T1#}S7B literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-017/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-017/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-017/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-017/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-017/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..4290250f2f29ff195a5417f14665932f3c7c34c2 GIT binary patch literal 156 zcmca|c+)~A1{MYcU}5+RaGB^O)Ak4tRYyqNRzyQcFVqj$M0IGwD2{14+ t@BlFf5ND>P0@+MJ76TZA%u@xLrvl`IFuHjnKp|$JdXRbkH6UFK3;_GP4etN| literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-018/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-018/cmd.json new file mode 100644 index 000000000..b8bb7340d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-018/cmd.json @@ -0,0 +1,114 @@ +{ + "axes": { + "fix": "v-flush", + "json": "0", + "words": "actions flush action ife" + }, + "cmd": "tc actions flush action ife", + "desc": "positive: opt=plain cmd=v-flush:actions_flush_action_ife", + "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": "tcact2write/ec-018", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions add action ife decode index 1", + "tc actions add action ife decode index 2" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc actions ls action ife", + "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 actions add action ife decode index 1", + "rc": 0 + }, + { + "cmd": "tc actions add action ife decode index 2", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-018/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-018/dump.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-018/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-018/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-018/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-018/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-018/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-018/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..d48025016026d6f048c6809fd4285498fb1bfefb GIT binary patch literal 172 zcmca|c+)~A1{MYcU}5+R__r6BX3R)cggFreE30Na-mj{pDw literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-018/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-018/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-018/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-018/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-018/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..d7a7905881cd5ddf5b7a82c865d95ec2b3fe7b98 GIT binary patch literal 156 zcmca|c+)~A1{MYcU}5+RP0@+MJ76TZA%H6UFK3;;JE4yXVC literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-019/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-019/cmd.json new file mode 100644 index 000000000..487c7ba11 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-019/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "v-add", + "json": "0", + "words": "actions add action ct commit index 1" + }, + "cmd": "tc actions add action ct commit index 1", + "desc": "positive: opt=plain cmd=v-add:actions_add_action_ct_commit_index_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": "tcact2write/ec-019", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action ct", + "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/tcact2write/ec-019/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-019/dump.out new file mode 100644 index 000000000..810b55ab7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-019/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: ct commit zone 0 pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-019/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-019/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-019/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-019/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-019/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-019/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..fcc9a57dd1aec913a1bdccdf2739348020905106 GIT binary patch literal 196 zcmca|c+)~A1{MYcU}5+RxrX2QS- z6k}vy2jb)s1_l)drUo_!W+0D&K>|pEXb@nAP+$^dkL+DG1`{9;gwgF$0SYlOFffAb Lc~T8A0o`r@gccL4 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-019/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-019/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-019/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-019/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-019/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..326b30d3d47d735b33aa491795827cba599b0d99 GIT binary patch literal 400 zcmca|c+)~A1{MYcU}5+RXb;3S3}BOB iY!#qd5vaj18p?%JAV1#)`dI}i0>bEi2I*r)^D_XBmKq=c literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-020/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-020/cmd.json new file mode 100644 index 000000000..082e78da8 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-020/cmd.json @@ -0,0 +1,109 @@ +{ + "axes": { + "fix": "v-change", + "json": "0", + "words": "actions change action ct commit zone 5 index 1" + }, + "cmd": "tc actions change action ct commit zone 5 index 1", + "desc": "positive: opt=plain cmd=v-change:actions_change_action_ct_commit_zone_5_index_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": "tcact2write/ec-020", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions add action ct commit index 1" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc actions ls action ct", + "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 actions add action ct commit index 1", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-020/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-020/dump.out new file mode 100644 index 000000000..c722847c6 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-020/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: ct commit zone 5 pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-020/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-020/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-020/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-020/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-020/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-020/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..ae29d2c97fed55cfff41ea64896e7eb9bd136e9a GIT binary patch literal 204 zcmca|c+)~A1{MYcU}5+RV_*h~GB8L0Ne~SJ%n%Apg6uN`+GhgffiSv#DnKD7 Q1_nlueXpt^CZM|k0L3m5zW@LL literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-020/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-020/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-020/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-020/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-020/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..511d03582dd646c6849d294ffb9589899cad9881 GIT binary patch literal 400 zcmca|c+)~A1{MYcU}5+R literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-021/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-021/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-021/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-021/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-021/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..e9125421981a338cf1a5ad273f444ddec0930fd4 GIT binary patch literal 400 zcmca|c+)~A1{MYcU}5+R5Jva22vCR_&CdYLcN^IN literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-022/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-022/cmd.json new file mode 100644 index 000000000..395fc2793 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-022/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "v-replace-new", + "json": "0", + "words": "actions replace action ct commit zone 5 index 2" + }, + "cmd": "tc actions replace action ct commit zone 5 index 2", + "desc": "positive: opt=plain cmd=v-replace-new:actions_replace_action_ct_commit_zone_5_index_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": "tcact2write/ec-022", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action ct", + "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/tcact2write/ec-022/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-022/dump.out new file mode 100644 index 000000000..3cfb6a0fc --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-022/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: ct commit zone 5 pipe + index 2 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-022/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-022/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-022/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-022/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-022/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-022/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..1095c68fa3a1f3df293461f88529f642134ed325 GIT binary patch literal 204 zcmca|c+)~A1{MYcU}5+RSF}i=U59eiGcy#4FGnL61M;V literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-022/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-022/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-022/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-022/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-022/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..fcc516e803c557da19c27eef70644f8a493ecc5b GIT binary patch literal 400 zcmZusF%H5o47?_x6jULG41GW!fI2ZU@BjvWfS6cW+2I*{0TqdznXUYQZy<3tNs%Hf zU2LE2bKKo8X9I_yIlP%1*OT3K>#$%ffU|RP(Pj)9WcI|q$W4)=(WEAX7jAtFt%0E%T_mH-7-Lv>Ueo literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-023/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-023/cmd.json new file mode 100644 index 000000000..8132aed9e --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-023/cmd.json @@ -0,0 +1,109 @@ +{ + "axes": { + "fix": "v-delete", + "json": "0", + "words": "actions delete action ct index 1" + }, + "cmd": "tc actions delete action ct index 1", + "desc": "positive: opt=plain cmd=v-delete:actions_delete_action_ct_index_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": "tcact2write/ec-023", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions add action ct commit index 1" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc actions ls action ct", + "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 actions add action ct commit index 1", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-023/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-023/dump.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-023/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-023/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-023/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-023/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-023/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-023/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..30d6eddb686dbf2a032209523a9988417cfd235d GIT binary patch literal 168 zcmca|c+)~A1{MYcU}5+R+hfAtnX}Mvz%JlL70Js*#bntfB}$U#K6eh2~-CY6JTIu u-~nQGAWkk}0J52YECw(JnP(0(PX)*aVRZ9EfI`eb^&s>1)q->}FaQ8y8xLjx literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-024/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-024/cmd.json new file mode 100644 index 000000000..610fd390c --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-024/cmd.json @@ -0,0 +1,114 @@ +{ + "axes": { + "fix": "v-flush", + "json": "0", + "words": "actions flush action ct" + }, + "cmd": "tc actions flush action ct", + "desc": "positive: opt=plain cmd=v-flush:actions_flush_action_ct", + "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": "tcact2write/ec-024", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions add action ct commit index 1", + "tc actions add action ct commit index 2" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc actions ls action ct", + "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 actions add action ct commit index 1", + "rc": 0 + }, + { + "cmd": "tc actions add action ct commit index 2", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-024/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-024/dump.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-024/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-024/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-024/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-024/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-024/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-024/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..b8dca7ac50fdd89c66a14ec06576b407db4e7900 GIT binary patch literal 172 zcmca|c+)~A1{MYcU}5+R}FreE30A3vs+5i9m literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-024/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-024/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-024/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-024/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-024/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..8524c6bcf8f40565ec280810418b84a715549b41 GIT binary patch literal 156 zcmca|c+)~A1{MYcU}5+RD z5CFuSK%Aafk_r-cU|?#HU|<4@Kmaq822m;utPKhbj14S6c@73<1_vj8AkD(?9|$-Y jSiv;N9hZUbFafFuVRUz>0EL(s7#KnBm{J1`p9>z` literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-025/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-025/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-025/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-025/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-025/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..f5cce3844dbea750404b2972f8a64247c6ef31ba GIT binary patch literal 496 zcmZutF^prxmUXV6je1!}171^0}TPB3F- z1+o}vyh&{*TO6uk5_YwdOX?U9_^d|N0z2MyH86!s{rZAw-CwMvvx^-xU z{LC2!)!cSxT|B;mMjy{Uvw1hvp05q^X|r&Zx8s}-VuU(|oYz$|XY8T>lZWG-G^Q=6 a=~sq!n!laeXL9eLAfbr&nUhMReLevqkSG`c literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-026/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-026/cmd.json new file mode 100644 index 000000000..3e24d8190 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-026/cmd.json @@ -0,0 +1,109 @@ +{ + "axes": { + "fix": "v-change", + "json": "0", + "words": "actions change action gate base-time 1000 sched-entry close 2000000 index 1" + }, + "cmd": "tc actions change action gate base-time 1000 sched-entry close 2000000 index 1", + "desc": "positive: opt=plain cmd=v-change:actions_change_action_gate_base-time_1000_sched-entry_close_2000000_index_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": "tcact2write/ec-026", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions add action gate sched-entry open 1000000 -1 -1 index 1" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc actions ls action gate", + "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 actions add action gate sched-entry open 1000000 -1 -1 index 1", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-026/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-026/dump.out new file mode 100644 index 000000000..5074f1449 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-026/dump.out @@ -0,0 +1,11 @@ +total acts 1 + + action order 0: + priority wildcard clockid TAI flags 0 + base-time 1us cycle-time 2ms cycle-time-ext 0ns + schedule: + number 0 gate-state close interval 2ms ipv wildcard max-octets wildcard + pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-026/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-026/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-026/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-026/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-026/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-026/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..d3e30bdcf907b3b49ebc6a21d88ab660034875cd GIT binary patch literal 236 zcmca|c+)~A1{MYcU}5+Rn4O>l;xb=zFqWKc6&&t&crxv!#!U_4<&TDuW>u;Z|XPX_3rCb({W-i= o{RaXL239Z)a?cTM0fi{EdI|-{kT`(@XjFQ=PFzBG?`Id; zc*$gD-p;(4o$L9yFCf7e37$;0lltOvs$!sOTsQ@sD^WH`j!IJvb9&>Na43VN7Qpl+D50;98UJa^w zeBch5+uOhSDHbI>oRsC9^`@2gSay3zr^duMZNoiZL>EPLxUX?L>u>5eM0Z)L*fLk;0g{QaRy;#eH*ed z$zP}jY$Q%zQw W`O|y*Q@fmTmmLaXxJ&gV!7kq=iz#vd literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-029/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-029/cmd.json new file mode 100644 index 000000000..be0bc2a26 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-029/cmd.json @@ -0,0 +1,109 @@ +{ + "axes": { + "fix": "v-delete", + "json": "0", + "words": "actions delete action gate index 1" + }, + "cmd": "tc actions delete action gate index 1", + "desc": "positive: opt=plain cmd=v-delete:actions_delete_action_gate_index_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": "tcact2write/ec-029", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions add action gate sched-entry open 1000000 -1 -1 index 1" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc actions ls action gate", + "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 actions add action gate sched-entry open 1000000 -1 -1 index 1", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-029/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-029/dump.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-029/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-029/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-029/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-029/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-029/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-029/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..d5f903a9cecddfcdbe06ae89afe0d63f8be99547 GIT binary patch literal 172 zcmca|c+)~A1{MYcU}5+RFfapo5c7niSQ$)!Y!F5_PX#E%#K6D^GVe=0NCyK0x*Y(4K<3wg&)BUJyJ0 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-030/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-030/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-030/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-030/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-030/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dedf75d14370c25a3ad66b870eb8f70f548e6d50 GIT binary patch literal 160 zcmca|c+)~A1{MYcU}5+Rw^cL&G^VRZA(0ELWz>Otm}Hh^?70L@_r>)ik(*MRvD zb6tS$6#>hDmB9%S26i|b#*hG-femmlaDjzGfObki-3bx^sfO6jz`zEzp9g3k8(1|1 hg9=bq1j>fdP%fMT`85&fR~4WL2&4NIq>mZRuK=~78R`H4 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-032/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-032/cmd.json new file mode 100644 index 000000000..e32a2bfab --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-032/cmd.json @@ -0,0 +1,109 @@ +{ + "axes": { + "fix": "v-change", + "json": "0", + "words": "actions change action bpf bytecode '1,6 0 0 4294967295' index 1" + }, + "cmd": "tc actions change action bpf bytecode '1,6 0 0 4294967295' index 1", + "desc": "positive: opt=plain cmd=v-change:actions_change_action_bpf_bytecode_'1,6_0_0_4294967295'_index_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": "tcact2write/ec-032", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions add action bpf bytecode '1,6 0 0 0' index 1" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc actions ls action bpf", + "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 actions add action bpf bytecode '1,6 0 0 0' index 1", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-032/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-032/dump.out new file mode 100644 index 000000000..110a2613c --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-032/dump.out @@ -0,0 +1,5 @@ +total acts 1 + + action order 0: bpf bytecode '1,6 0 0 4294967295' default-action pipe + index 1 ref 1 bind 0 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-032/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-032/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-032/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-032/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-032/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-032/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..d5b756d82f5349d8bdb060f4eae4558176b757df GIT binary patch literal 208 zcmca|c+)~A1{MYcU}5+RCejcEGY(Vk< lK%fGYRRk#n0vHY9AxMy4`+1pxLXAW{GT literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-034/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-034/cmd.json new file mode 100644 index 000000000..c4b76d6d2 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-034/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "v-replace-new", + "json": "0", + "words": "actions replace action bpf bytecode '1,6 0 0 4294967295' index 2" + }, + "cmd": "tc actions replace action bpf bytecode '1,6 0 0 4294967295' index 2", + "desc": "positive: opt=plain cmd=v-replace-new:actions_replace_action_bpf_bytecode_'1,6_0_0_4294967295'_index_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": "tcact2write/ec-034", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action bpf", + "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/tcact2write/ec-034/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-034/dump.out new file mode 100644 index 000000000..6274361dc --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-034/dump.out @@ -0,0 +1,5 @@ +total acts 1 + + action order 0: bpf bytecode '1,6 0 0 4294967295' default-action pipe + index 2 ref 1 bind 0 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-034/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-034/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-034/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-034/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-034/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-034/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..44e64d807ec0a8558455054d218446322faed471 GIT binary patch literal 208 zcmca|c+)~A1{MYcU}5+RkK@CcwbR zzyrh_K%7*N24phK1}J0%R1Y%mTq8&q1JE31u-*+oat)Xd zG1mp?UJDj}0jP k9|%-{vLaBmFdE8*Qy{-G%wT3v0g8Yyx?e&1n9=+S01OBqssI20 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-035/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-035/cmd.json new file mode 100644 index 000000000..a00edf407 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-035/cmd.json @@ -0,0 +1,109 @@ +{ + "axes": { + "fix": "v-delete", + "json": "0", + "words": "actions delete action bpf index 1" + }, + "cmd": "tc actions delete action bpf index 1", + "desc": "positive: opt=plain cmd=v-delete:actions_delete_action_bpf_index_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": "tcact2write/ec-035", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions add action bpf bytecode '1,6 0 0 0' index 1" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc actions ls action bpf", + "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 actions add action bpf bytecode '1,6 0 0 0' index 1", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-035/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-035/dump.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-035/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-035/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-035/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-035/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-035/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-035/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..98d0f3c37f22b42434c8f3b87aca90ece9033a97 GIT binary patch literal 168 zcmca|c+)~A1{MYcU}5+RW^e$qL70Js*#bntfB}$U#K6eh4O9mc6JTIu u-~nO|AWkYs1G1TbECw(JnHK^yPX)*aVRZ9EfI`eb^&s;uH-dCAFaQ99;Sc%% literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-036/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-036/cmd.json new file mode 100644 index 000000000..3632e2bda --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-036/cmd.json @@ -0,0 +1,114 @@ +{ + "axes": { + "fix": "v-flush", + "json": "0", + "words": "actions flush action bpf" + }, + "cmd": "tc actions flush action bpf", + "desc": "positive: opt=plain cmd=v-flush:actions_flush_action_bpf", + "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": "tcact2write/ec-036", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions add action bpf bytecode '1,6 0 0 0' index 1", + "tc actions add action bpf bytecode '1,6 0 0 0' index 2" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc actions ls action bpf", + "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 actions add action bpf bytecode '1,6 0 0 0' index 1", + "rc": 0 + }, + { + "cmd": "tc actions add action bpf bytecode '1,6 0 0 0' index 2", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-036/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-036/dump.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-036/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-036/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-036/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-036/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-036/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-036/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..593028651c05f4aae7d453ab110a04c4c0f8a01d GIT binary patch literal 172 zcmca|c+)~A1{MYcU}5+RkK@CcwbR wzyrh_K%7*N24phVQ>JlL70Js*#bntfB}$U#K6eh4O9mc6JTIu u-~nO|AWkYs1G1TbECw(Jnb!d{PX)*aVRZ9EfI`eb^&s;;HiC39FaQ9kEf9qO literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-037/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-037/cmd.json new file mode 100644 index 000000000..7868112e4 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-037/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ped", + "json": "0", + "words": "actions add action pedit munge offset 0 u8 set 0x1 index 1" + }, + "cmd": "tc actions add action pedit munge offset 0 u8 set 0x1 index 1", + "desc": "positive: opt=plain cmd=ped:actions_add_action_pedit_munge_offset_0_u8_set_0x1_index_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": "tcact2write/ec-037", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-037/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-037/dump.out new file mode 100644 index 000000000..07191ce1d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-037/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at 0: val 01000000 mask 00ffffff + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-037/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-037/ip.err new file mode 100644 index 000000000..78b532626 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-037/ip.err @@ -0,0 +1 @@ +Warning: act_pedit: Unsupported pedit command offload. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-037/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-037/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-037/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-037/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..0aa62b38df93ac18010f4ed0904a97115c9766a3 GIT binary patch literal 272 zcmca|c+)~A1{MYcU}5+R=rA9(7fW(f`a^_lGGFhu#iG>er|4JUW!6~T3SwiVhT_@ F0|1>FDE$Bc literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-037/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-037/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-037/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-037/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-037/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..cf834f1ac051e51f2160a74001464370d96f8204 GIT binary patch literal 408 zcmca|c+)~A1{MYcU}5+RATCHv$t(d%@Gvj|c?@6-GLt)-m*EAF55nkX-T(?20o8-d)M^IlVqoB4U!u%inxNC3^j1~`Bwf(t?8gqLS1U1+b7pa(-@ZVqS_uep*^ieqstx GI|BeS11Mnt literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-038/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-038/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-038/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-038/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-038/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..a4059969dab0bb688628cd391025b79719d74522 GIT binary patch literal 408 zcmca|c+)~A1{MYcU}5+RATCHv$t(d%@Gvj|c?@6-GIJKt%ojjD2&0>M11Mw!R1Y#!zZs;9fq{d88LW2? zklX>}Bb)64bT`OObRfdOjxNL?0W=32-~gHk0x>{)O`vXtse_peqW?4e|BuBg1{I*7 fC{zQChUtgVAb&3e`dbAk0K(}076A$|qxl;E=}{na literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-039/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-039/cmd.json new file mode 100644 index 000000000..63f3783c3 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-039/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ped", + "json": "0", + "words": "actions add action pedit munge offset 3 u8 set 0x1 index 1" + }, + "cmd": "tc actions add action pedit munge offset 3 u8 set 0x1 index 1", + "desc": "positive: opt=plain cmd=ped:actions_add_action_pedit_munge_offset_3_u8_set_0x1_index_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": "tcact2write/ec-039", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-039/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-039/dump.out new file mode 100644 index 000000000..4dede43b3 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-039/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at 0: val 00000001 mask ffffff00 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-039/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-039/ip.err new file mode 100644 index 000000000..78b532626 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-039/ip.err @@ -0,0 +1 @@ +Warning: act_pedit: Unsupported pedit command offload. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-039/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-039/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-039/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-039/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..375ef0d127c79bafa22aace8ed312a5b692f43ff GIT binary patch literal 272 zcmca|c+)~A1{MYcU}5+R3Q z@Bm^iATCHv$t(d%STHa(m@qH_MKA$K?EnA&APEd~DJ19T<|gK)DCDQ5<>V)( I0JSp!02#X}RR910 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-039/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-039/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-039/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-039/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-039/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..23b35da5904e1e74876254e8728f94813e39bbeb GIT binary patch literal 408 zcmca|c+)~A1{MYcU}5+RATCHv$t(d%@Gvj|c?@6-GBX}%<_jPngwf5s0TeOkK@Cc?nT zAOOT%KwOZTl34g99=x&gm=s<*l9bJe)0%#64zyUN71Y&^pnn2wOQwK8{MF0N}7KI7HlrX3O f?H7UaU^HA3$^iL$AJE?_Kt2eg`x~T>8O`4S?5`jN literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-041/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-041/cmd.json new file mode 100644 index 000000000..90ecc31f4 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-041/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ped", + "json": "0", + "words": "actions add action pedit munge offset 12 u16 set 0x0800 retain 0xff00 index 1" + }, + "cmd": "tc actions add action pedit munge offset 12 u16 set 0x0800 retain 0xff00 index 1", + "desc": "positive: opt=plain cmd=ped:actions_add_action_pedit_munge_offset_12_u16_set_0x0800_retain_0xff00_index_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": "tcact2write/ec-041", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-041/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-041/dump.out new file mode 100644 index 000000000..7ef033303 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-041/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at 12: val 08000000 mask 00ffffff + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-041/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-041/ip.err new file mode 100644 index 000000000..78b532626 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-041/ip.err @@ -0,0 +1 @@ +Warning: act_pedit: Unsupported pedit command offload. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-041/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-041/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-041/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-041/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..899c8f860fc41fd9e3f21e82afe661b50458a9ca GIT binary patch literal 272 zcmca|c+)~A1{MYcU}5+R#VLpY literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-041/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-041/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-041/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-041/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-041/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..7f821036cecf65ff6a2d1985b8a390aa0883ab2c GIT binary patch literal 408 zcmca|c+)~A1{MYcU}5+R*~JO(fZnQ0F+^97I(!suq+016oa)q~7zZ2{?GVBlb22J77e zBzFM$$Y#3$-3_u69f&ZnqYE)e0L{S$IDjUCKn&1c6R2BZ>R={=>Hq)#a{wiHV3JT; g1!%u0lntZNlz_w173gmjpack``&$Gk#Ej-|0J(M^c>n+a literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-042/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-042/cmd.json new file mode 100644 index 000000000..6d464427d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-042/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ped", + "json": "0", + "words": "actions add action pedit munge offset 12 u32 at 0 f 2 set 0x1 index 1" + }, + "cmd": "tc actions add action pedit munge offset 12 u32 at 0 f 2 set 0x1 index 1", + "desc": "positive: opt=plain cmd=ped:actions_add_action_pedit_munge_offset_12_u32_at_0_f_2_set_0x1_index_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": "tcact2write/ec-042", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-042/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-042/dump.out new file mode 100644 index 000000000..39572662b --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-042/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at 12: val 00000001 mask 00000000 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-042/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-042/ip.err new file mode 100644 index 000000000..78b532626 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-042/ip.err @@ -0,0 +1 @@ +Warning: act_pedit: Unsupported pedit command offload. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-042/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-042/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-042/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-042/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..3fc9796e15b80ec3ecf0238357dbbbb5852775bf GIT binary patch literal 272 zcmca|c+)~A1{MYcU}5+R3Q z@Bm^iATCHv$t(d%STHa(m@qH_MKA%97$Xl~DJ19T<|gK)DCDQ5<>V)( I0JSp!01*i#)Bpeg literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-042/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-042/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-042/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-042/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-042/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..08ad4a5ba6e47c1c8980639699e7ceab8f8ca940 GIT binary patch literal 408 zcmca|c+)~A1{MYcU}5+R*~JO(fZnW+Ob^97I(!suq+016oa)q~9JX#weCVBlb22J77e zBzFM$$Y#3$-3_u69f&ZnqYE)e0L{S$IDjUCKn&1c6R2BZ>R=|rXrMSF4^)yLNHYPk h3ebKLs2Gffa^V!n-$p=xtAN!53AC^T>0?IoHvlBj97q5F literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-043/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-043/cmd.json new file mode 100644 index 000000000..f97d464a8 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-043/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ped", + "json": "0", + "words": "actions add action pedit munge offset 12 u32 clear index 1" + }, + "cmd": "tc actions add action pedit munge offset 12 u32 clear index 1", + "desc": "positive: opt=plain cmd=ped:actions_add_action_pedit_munge_offset_12_u32_clear_index_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": "tcact2write/ec-043", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-043/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-043/dump.out new file mode 100644 index 000000000..f07806995 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-043/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at 12: val 00000000 mask 00000000 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-043/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-043/ip.err new file mode 100644 index 000000000..78b532626 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-043/ip.err @@ -0,0 +1 @@ +Warning: act_pedit: Unsupported pedit command offload. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-043/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-043/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-043/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-043/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..89d9f81c76738f51a9378d80e808a5bcafa81065 GIT binary patch literal 272 zcmca|c+)~A1{MYcU}5+RFV+Gv zDFG;k>?T8?t%=Dc@nE-DDTL+~mlhP{7nP)@D1e0&lJj$O6Z29O^3&3C@)J{l+8F?9 C4*~JO(fZnK>V5<_jPngwf5s0TeOWo4z(NYi`MJ4?c_|9{X=yq6i77zs F3;*~JO(fZnYjRH<_jPngwf5s0TeO}Bb)64bT`OObRfdOjxNL?0W=32-~gHk0x>{)O`vXtse_peqW?ny4@?qDs{rj6 cfwEyVni6nWt^oR51t7)jV@C5g07E_{7XSbN literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-045/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-045/cmd.json new file mode 100644 index 000000000..e79b2c007 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-045/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ped", + "json": "0", + "words": "actions add action pedit munge offset 12 u32 preserve index 1" + }, + "cmd": "tc actions add action pedit munge offset 12 u32 preserve index 1", + "desc": "positive: opt=plain cmd=ped:actions_add_action_pedit_munge_offset_12_u32_preserve_index_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": "tcact2write/ec-045", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-045/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-045/dump.out new file mode 100644 index 000000000..4b71b9563 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-045/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at 12: val 00000000 mask ffffffff + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-045/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-045/ip.err new file mode 100644 index 000000000..78b532626 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-045/ip.err @@ -0,0 +1 @@ +Warning: act_pedit: Unsupported pedit command offload. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-045/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-045/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-045/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-045/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..a91d6464cee443c54e3b3203e0d0d42d8f3d0b70 GIT binary patch literal 272 zcmca|c+)~A1{MYcU}5+R3Q z@Bm^iATCHv$t(d%STHa(m@qH_MKA$K>^~5IWO&e|LH3sb?au&;gD|@N5kMg(1_ox3 z{h6&0(-VMV$Zj$O+M1YL5)XEZl|pD*~JO(fZnW+ji^97I(!suq+016oa)q~7@)C$tYz`()44A#2` zNbUggk%X`9G31tf2#l`Kp5TMAbree{ssV*uOVju literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-046/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-046/cmd.json new file mode 100644 index 000000000..86e081410 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-046/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ped", + "json": "0", + "words": "actions add action pedit munge offset 12 u32 set 0x1 drop index 1" + }, + "cmd": "tc actions add action pedit munge offset 12 u32 set 0x1 drop index 1", + "desc": "positive: opt=plain cmd=ped:actions_add_action_pedit_munge_offset_12_u32_set_0x1_drop_index_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": "tcact2write/ec-046", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-046/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-046/dump.out new file mode 100644 index 000000000..aea456f68 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-046/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: pedit action drop keys 1 + index 1 ref 1 bind 0 + key #0 at 12: val 00000001 mask 00000000 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-046/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-046/ip.err new file mode 100644 index 000000000..78b532626 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-046/ip.err @@ -0,0 +1 @@ +Warning: act_pedit: Unsupported pedit command offload. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-046/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-046/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-046/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-046/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..bf38c801d7cfa0800d9908e80c1b23a345a6f598 GIT binary patch literal 272 zcmca|c+)~A1{MYcU}5+RsV<-T!L70Js*#bntKmw3qz`)AZ15^hS^I>3Q z@Bm^iATCHv$t(d%STHa(m@qH_MIe9)rWi=W#6V0QBykWEWPd8q{tO@+gwgGf015%k zVg}it*9tKy0Vsy-CPSbNiOD7LV7FK)gyt2O78K+cm87O9fQ1y2^K)|(^HLP@)6#PC J6H|cN832yZCcOXv literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-046/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-046/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-046/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-046/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-046/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..2391d5933558918c94179c898fa9645b4e7047b0 GIT binary patch literal 408 zcmca|c+)~A1{MYcU}5+RATCHv$t(d%@Gvj|c?@6-GE)<1CR_l`%nx8QnHWH3zH9~QVqoB4U!u%inxNC3^j1~`Bwfvg7_fSFq45Uh5<$%7z>qV5jT3>1t2m@OK8&oG70~449a+h}k d1A_@r4G5#VO9d#z#K6D^a#vd`#0GS?0sx(l6}*~JO(fZnK=n)CJ#^mgwf6X0~9g>st1|*qZOopfq{d88LamK zkh}xrBb)64bT`OObRfdOjxNL?0W=32;9=kd3xi}ifTn{$3D6A^46H!2*?C=`!Uh1>0v)FS literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-049/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-049/cmd.json new file mode 100644 index 000000000..818c29a58 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-049/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ped-ip", + "json": "0", + "words": "actions add action pedit munge ip src set 10.0.0.1 index 1" + }, + "cmd": "tc actions add action pedit munge ip src set 10.0.0.1 index 1", + "desc": "positive: opt=plain cmd=ped-ip:actions_add_action_pedit_munge_ip_src_set_10.0.0.1_index_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": "tcact2write/ec-049", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-049/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-049/dump.out new file mode 100644 index 000000000..c7b356c65 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-049/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at 12: val 0a000001 mask 00000000 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-049/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-049/ip.err new file mode 100644 index 000000000..78b532626 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-049/ip.err @@ -0,0 +1 @@ +Warning: act_pedit: Unsupported pedit command offload. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-049/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-049/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-049/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-049/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..c90d8ab4aa545b952cbd6885f1e3428ecdd70140 GIT binary patch literal 272 zcmca|c+)~A1{MYcU}5+RK$E$b%*gvflz|e+Ez-gwgGf017cNFffDc zKh_2@DFG;k>?T8?t%=Dc@nE-DDTL+~mlhP{7nP)@D1e0&lJj$O6Z29O^3&3C@)J{l G+8F>lMmL70Js*#bntfC-Rc#K6eh3seUa6JcOv z5CCE>ATCHv$t(d%@Gvj|c?@6-GV?sp%ojjD2&0>M11Mw!R1Y%Kt{tR{fq{d88LW2? zklX>}Bb)64bT`OObRfdOjxNL?0W=32-~gHk0x>{)O`vXtse_peqk$?Jd0>)IS_Npo c2$T(@(UgG0@*2?JDnJPkM)x;JA2XW20W1X_761SM literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-050/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-050/cmd.json new file mode 100644 index 000000000..e944b2d9e --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-050/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ped-ip", + "json": "0", + "words": "actions add action pedit munge ip dst set 10.0.0.2 index 1" + }, + "cmd": "tc actions add action pedit munge ip dst set 10.0.0.2 index 1", + "desc": "positive: opt=plain cmd=ped-ip:actions_add_action_pedit_munge_ip_dst_set_10.0.0.2_index_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": "tcact2write/ec-050", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-050/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-050/dump.out new file mode 100644 index 000000000..787717684 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-050/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at 16: val 0a000002 mask 00000000 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-050/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-050/ip.err new file mode 100644 index 000000000..78b532626 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-050/ip.err @@ -0,0 +1 @@ +Warning: act_pedit: Unsupported pedit command offload. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-050/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-050/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-050/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-050/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..1660a1df7226b160f752ec803e26458447cd061c GIT binary patch literal 272 zcmca|c+)~A1{MYcU}5+RK$EB!DIjvcDZ@e+Ez-gwgGf017cNFffDc zKiLK`DFG;k>?T8?t%=Dc@nE-DDTL+~mlhP{7nP)@D1e0&lJj$O6Z29O^3&3C@)J{l G+8F@(DJCBP literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-050/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-050/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-050/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-050/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-050/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..2dc09b0212747ddc1a301917a12dbf34418fc260 GIT binary patch literal 408 zcmca|c+)~A1{MYcU}5+RMmL70Js*#bntfC-Rc#K6eh3seUa6JcOv z5CCE>ATCHv$t(d%@Gvj|c?@6-GE*p*hv5Z~55nkX-T(?20o8-dbZ!UfVqoB4U!u%inxNC3^j1~`Bwf0?IoHvm&?9Jc@f literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-051/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-051/cmd.json new file mode 100644 index 000000000..cf9678b82 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-051/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ped-ip", + "json": "0", + "words": "actions add action pedit munge ip tos set 0x10 index 1" + }, + "cmd": "tc actions add action pedit munge ip tos set 0x10 index 1", + "desc": "positive: opt=plain cmd=ped-ip:actions_add_action_pedit_munge_ip_tos_set_0x10_index_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": "tcact2write/ec-051", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-051/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-051/dump.out new file mode 100644 index 000000000..3cb842026 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-051/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at 0: val 00100000 mask ff00ffff + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-051/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-051/ip.err new file mode 100644 index 000000000..78b532626 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-051/ip.err @@ -0,0 +1 @@ +Warning: act_pedit: Unsupported pedit command offload. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-051/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-051/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-051/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-051/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..01644d1c808846391867ccdd8fc17aa5a16d1612 GIT binary patch literal 272 zcmca|c+)~A1{MYcU}5+RIU*QXq_Oe*{p7iGhI` zWdFG~i0KJHF=RIx0&Pu9E{O-b#Y!PGueh|JAit<2HAMj|q>!ASo12)IqL81KmXn{D I0@Tg`0D>ea>;M1& literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-051/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-051/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-051/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-051/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-051/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..e5b54821417c70c7d8a4d932d685d91ea25f65c1 GIT binary patch literal 408 zcmca|c+)~A1{MYcU}5+RMmL70Js*#bntfC-Rc#K6eh3seUa6JcOv z5CCE>ATCHv$t(d%@Gvj|c?@6-GLx^Dhv5Z~55nkX-T(?20o8-dbZrOeVqoB4U!u%inxNC3^j1~`BwffH1nhMSw!gX#NHO=*A!a literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-052/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-052/cmd.json new file mode 100644 index 000000000..2720f8e34 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-052/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ped-ip", + "json": "0", + "words": "actions add action pedit munge ip dsfield set 0x10 index 1" + }, + "cmd": "tc actions add action pedit munge ip dsfield set 0x10 index 1", + "desc": "positive: opt=plain cmd=ped-ip:actions_add_action_pedit_munge_ip_dsfield_set_0x10_index_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": "tcact2write/ec-052", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-052/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-052/dump.out new file mode 100644 index 000000000..3cb842026 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-052/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at 0: val 00100000 mask ff00ffff + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-052/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-052/ip.err new file mode 100644 index 000000000..78b532626 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-052/ip.err @@ -0,0 +1 @@ +Warning: act_pedit: Unsupported pedit command offload. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-052/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-052/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-052/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-052/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..94a00d9b7065b19de3a36768a7b388880b392aaa GIT binary patch literal 272 zcmca|c+)~A1{MYcU}5+R=rA9(7fW(f`a^_lGGFhu#iG>er|4JUW!6~T3Swi JVhT_@0{{d|D#HK( literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-052/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-052/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-052/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-052/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-052/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..af94937487be5c9978997d60c17f22744bfc26e4 GIT binary patch literal 408 zcmca|c+)~A1{MYcU}5+RATCHv$t(d%@Gvj|c?@6-GV?Cb%ojjD2&0>M11Mw!R1Y#Uq8+4*fq{d88LW2? zklX>}Bb)64bT`OObRfdOjxNL?0W=32-~gHk0x>{)O`vXtse_peqW?4e{}1#W22cUo dF9H>X(dddm{(cPfw+c`Kgwg#C(#MSEZvd8AAV&ZI literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-053/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-053/cmd.json new file mode 100644 index 000000000..1e2591dff --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-053/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ped-ip", + "json": "0", + "words": "actions add action pedit munge ip ihl set 5 index 1" + }, + "cmd": "tc actions add action pedit munge ip ihl set 5 index 1", + "desc": "positive: opt=plain cmd=ped-ip:actions_add_action_pedit_munge_ip_ihl_set_5_index_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": "tcact2write/ec-053", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-053/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-053/dump.out new file mode 100644 index 000000000..0fd4fcfc2 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-053/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at 0: val 05000000 mask f0ffffff + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-053/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-053/ip.err new file mode 100644 index 000000000..78b532626 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-053/ip.err @@ -0,0 +1 @@ +Warning: act_pedit: Unsupported pedit command offload. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-053/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-053/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-053/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-053/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..3ce66d0fa704474812777be99bfdc777c0d121d5 GIT binary patch literal 272 zcmca|c+)~A1{MYcU}5+RATCHv$t(d%@Gvj|c?@6-GIIgY%ojjD2&0>M11Mw!R1Y$9W(Pg99=x&gm=s<*l9bJe)0%#64zyUN71Y&^pnn2wOQwK8{M1T1I|352C0*O`u g+Ajj-!)PRFFcakO3Q z@Bm^iATCHv$t(d%STHa(m@qH_MKA$a?EnA&4nQdmG-;6ijO;8789;FmMz=o#D8$6T zzzniqvjbv!0#FRuO@=^Q6O&8g!EUiq2+b=lEhxw@DoIUI01GK3=jY}o=A|g)r={iO KC#C?kGXMZ}cql6X literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-054/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-054/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-054/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-054/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-054/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..8bc4ec17bcac19835b5d46f4316935d81a4cf3a2 GIT binary patch literal 408 zcmca|c+)~A1{MYcU}5+R*~JO(fZnb{3A^97I(!suq+016oa)q~7j+yTutjDFKJ&M4-P_fD#~#?r)GjW;A~T06+mCQUCw| literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-055/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-055/cmd.json new file mode 100644 index 000000000..bac60eaed --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-055/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ped-ip", + "json": "0", + "words": "actions add action pedit munge ip protocol set 17 index 1" + }, + "cmd": "tc actions add action pedit munge ip protocol set 17 index 1", + "desc": "positive: opt=plain cmd=ped-ip:actions_add_action_pedit_munge_ip_protocol_set_17_index_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": "tcact2write/ec-055", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-055/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-055/dump.out new file mode 100644 index 000000000..fabfed715 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-055/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at 8: val 00110000 mask ff00ffff + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-055/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-055/ip.err new file mode 100644 index 000000000..78b532626 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-055/ip.err @@ -0,0 +1 @@ +Warning: act_pedit: Unsupported pedit command offload. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-055/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-055/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-055/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-055/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..0f52bae3190a6bdc8e5fb96bf5d5cdf3ef86604c GIT binary patch literal 272 zcmca|c+)~A1{MYcU}5+R_%uoPigD?XNvjvEPfdnAKfPs~*52y|%=EK0q z-~q&3KwOZTl34VPVf literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-055/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-055/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-055/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-055/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-055/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..5de23bfae65b9975ec3251c85d19628dcad1d6e3 GIT binary patch literal 408 zcmca|c+)~A1{MYcU}5+RATCHv$t(d%@Gvj|c?@6-GLub^o#6$L55nkX-T(?20o8-doZkV`#lXP9zzo*A z2T1M!@{!GU0lFJxCpr*eU`H2XkN}#44R8QW1c4Z!y(Un%!qmY`2GRc+{{LqX1i1$l gr~vI3feOKBR27i07)jV@C5g0M&XQF8}}l literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-056/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-056/cmd.json new file mode 100644 index 000000000..e92edbe13 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-056/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ped-ip", + "json": "0", + "words": "actions add action pedit munge ip precedence set 0x20 index 1" + }, + "cmd": "tc actions add action pedit munge ip precedence set 0x20 index 1", + "desc": "positive: opt=plain cmd=ped-ip:actions_add_action_pedit_munge_ip_precedence_set_0x20_index_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": "tcact2write/ec-056", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-056/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-056/dump.out new file mode 100644 index 000000000..90a730ef4 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-056/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at 0: val 00200000 mask ff00ffff + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-056/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-056/ip.err new file mode 100644 index 000000000..78b532626 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-056/ip.err @@ -0,0 +1 @@ +Warning: act_pedit: Unsupported pedit command offload. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-056/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-056/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-056/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-056/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..12beb52903d5d038d5e0a4a9960dbf86fa53790c GIT binary patch literal 272 zcmca|c+)~A1{MYcU}5+R^e91XK?)bA1O$7Xt$a12b6f z9w4~`$VWEY1?X;&o#;S>fgN3lK>}zFHoyTi5d>m@_L@N53R4F&8AShQ`2U|l0Vac> iRe<&jL%A>-Aq!!F{LKsWw+fI8!sz}M0SYmr`5OR&46|v zff;0fT_?o!1fUqQn+$=rCMK7}gWY1K5Smw9T2PQ*RFaya02We6&d<$F%u7+oPfN?m KPfP)7X8-`=WGQg~ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-057/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-057/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-057/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-057/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-057/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..e183912050d0bbd429a57ac69f41f574d3722fa4 GIT binary patch literal 408 zcmca|c+)~A1{MYcU}5+RATCHv$t(d%@Gvj|c?@6-GV>A8%ojjD2&0>M11Mw!R1Y%qTPH{t0|N&GGg$8) zAh`p`M>g99=x&gm=s<*l9bJe)0%#64zyUN71Y&^pnn2wOQwK8{MF0PP;6F$lIix^* j6`=j1AO;Y?Xb2BMg8cmw=x-IE5D26DTLdV?jOK3u#*!k6 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-058/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-058/cmd.json new file mode 100644 index 000000000..2349a0ff8 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-058/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ped-ip", + "json": "0", + "words": "actions add action pedit munge ip firstfrag set 0 index 1" + }, + "cmd": "tc actions add action pedit munge ip firstfrag set 0 index 1", + "desc": "positive: opt=plain cmd=ped-ip:actions_add_action_pedit_munge_ip_firstfrag_set_0_index_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": "tcact2write/ec-058", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-058/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-058/dump.out new file mode 100644 index 000000000..4502246cc --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-058/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at 4: val 00000000 mask ffffe0ff + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-058/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-058/ip.err new file mode 100644 index 000000000..78b532626 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-058/ip.err @@ -0,0 +1 @@ +Warning: act_pedit: Unsupported pedit command offload. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-058/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-058/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-058/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-058/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..0fd850915fca430e8b615dce7b477baa639aa6c9 GIT binary patch literal 272 zcmca|c+)~A1{MYcU}5+R3Q z@Bm^iATCHv$t(d%STHa(m@qH_MKA$K?En7<|3NayE&%aC_S*vO&j7MP7~TE|pb!%S z12f3}mQIN22|zJqHyHwLO-wF{2fM{eAvCYJw4flrs3bK-0W74DoS&PUn3tlEpO%)B KpO^yF&Hw-{VJYSS literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-058/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-058/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-058/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-058/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-058/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..0288c326f6a8cd40b7cd7209d6c0143c94a098e7 GIT binary patch literal 408 zcmca|c+)~A1{MYcU}5+RATCHv$t(d%@Gvj|c?@6-GIKr9%ojjD2&0>M11Mw!R1Y%qZzo6>0|N&GGg$8) zAh`p`M>g99=x&gm=s<*l9bJe)0%#64zyUN71Y&^pnn2wOQwK8{MF0Q);6F$lIix^* j6`=j1AO;Y?Xb2BMg8aP&=x-IE5D26DTLdV?jOK3uF_$AC literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-059/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-059/cmd.json new file mode 100644 index 000000000..4682d0574 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-059/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ped-ip", + "json": "0", + "words": "actions add action pedit munge ip ce set 0x80 index 1" + }, + "cmd": "tc actions add action pedit munge ip ce set 0x80 index 1", + "desc": "positive: opt=plain cmd=ped-ip:actions_add_action_pedit_munge_ip_ce_set_0x80_index_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": "tcact2write/ec-059", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-059/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-059/dump.out new file mode 100644 index 000000000..1014b2d3b --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-059/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at 4: val 00008000 mask ffff7fff + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-059/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-059/ip.err new file mode 100644 index 000000000..78b532626 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-059/ip.err @@ -0,0 +1 @@ +Warning: act_pedit: Unsupported pedit command offload. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-059/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-059/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-059/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-059/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..1007090c2ac1b56ebeca15a6826ab03400370b1e GIT binary patch literal 272 zcmca|c+)~A1{MYcU}5+RP+R~~39_GaEiXd`kPX7<_D2AP zm>3wCLH4(HLQGEpiXpqn5NK;+a!EYcEmjJldBvp#1^GoKsVNFzA%*1p+}y;x6ove> Mw4D6J6rgqn0OVpSn*aa+ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-059/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-059/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-059/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-059/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-059/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..0e0b62be6bde46afb6ba396c801566f851e7d923 GIT binary patch literal 408 zcmca|c+)~A1{MYcU}5+RATCHv$t(d%@Gvj|c?@6-GE*98<_jPngwf5s0TeO}Bb)64bT`OObRfdOjxNL?0W=32-~gHk0x>{)O`vXtse_peqW}M||IfhCfD%$5 ibt*vnMW7mBG?WXcK>k(&`dbC89!Q{tB}gALn!f?giXo%` literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-060/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-060/cmd.json new file mode 100644 index 000000000..116b73dec --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-060/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ped-ip", + "json": "0", + "words": "actions add action pedit munge ip df set 0x40 index 1" + }, + "cmd": "tc actions add action pedit munge ip df set 0x40 index 1", + "desc": "positive: opt=plain cmd=ped-ip:actions_add_action_pedit_munge_ip_df_set_0x40_index_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": "tcact2write/ec-060", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-060/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-060/dump.out new file mode 100644 index 000000000..4d04ce0c5 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-060/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at 4: val 00004000 mask ffffbfff + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-060/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-060/ip.err new file mode 100644 index 000000000..78b532626 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-060/ip.err @@ -0,0 +1 @@ +Warning: act_pedit: Unsupported pedit command offload. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-060/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-060/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-060/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-060/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..a794844291a6505c316350d154c89d6039b7bee4 GIT binary patch literal 272 zcmca|c+)~A1{MYcU}5+R3Q z@Bm^iATCHv$t(d%STHa(m@qH_MKA$K?EnA${}~t@P+R~~39|nZ(Ebb{8-&sAj{piW zF)%QL?4Q&LF+Bk&hU_Lopsk6?CGlXlSSf_&6_*wiXfZ7=Vbz3S~ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-060/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-060/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-060/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-060/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-060/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..0657b794266335392e08d766b5bff31ac15dd1c5 GIT binary patch literal 408 zcmca|c+)~A1{MYcU}5+Rg99=x&gm=s<*l9bJe)0%#64zyUN71Y&^pnn2wOQwK8{MF0Q4|33qR14>AN k)TsdN7lvwp(NHd&0{NTy8zWFHNIejsg{25kh#Ae_03mWBZ~y=R literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-061/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-061/cmd.json new file mode 100644 index 000000000..3e99eaa67 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-061/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ped-ip", + "json": "0", + "words": "actions add action pedit munge ip mf set 0x20 index 1" + }, + "cmd": "tc actions add action pedit munge ip mf set 0x20 index 1", + "desc": "positive: opt=plain cmd=ped-ip:actions_add_action_pedit_munge_ip_mf_set_0x20_index_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": "tcact2write/ec-061", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-061/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-061/dump.out new file mode 100644 index 000000000..80d019c8a --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-061/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at 4: val 00002000 mask ffffdfff + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-061/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-061/ip.err new file mode 100644 index 000000000..78b532626 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-061/ip.err @@ -0,0 +1 @@ +Warning: act_pedit: Unsupported pedit command offload. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-061/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-061/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-061/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-061/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..c337832bcb6c9f7862b5d1d74180c19da6890cec GIT binary patch literal 272 zcmca|c+)~A1{MYcU}5+R3Q z@Bm^iATCHv$t(d%STHa(m@qH_MKA$K?EnA!{}~t*P+R~~39>&1XnzKf4Z`U5M*xMG z7#NsA_TTD)n4SO>Lw1uP(ALD{l6bINtQ11?ic1R$@{3ARQxw2L3d#Aoxruox3i)Yi LIr)hxK^e91XK?)GpHM+i-CcIff=lK z50KmeY4&AOSQ78{hz%2m&!cdrhEjg{gy?45I)4zyF_sK>;PC kK2xL70Js*#bntKmw3qz`)AZ4^#&e^I>3Q z@Bm^iATCHv$t(d%STHa(m@qH_MKA$K?EinTcz_6+G|2vwK>IU*;vkG}e*{p7iGhI` zWdE}+i0KJHF=RIx0&Pu9E{O-b#Y!PGueh|JAit<2HAMj|q>!ASo12)IqL81KmXn{D I0@Tg`0PNr?bN~PV literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-062/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-062/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-062/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-062/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-062/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..69e39031d20e258dfdcea8248404b86b5473beba GIT binary patch literal 408 zcmca|c+)~A1{MYcU}5+RATCHv$t(d%@Gvj|c?@6-GV>+S%ojjD2&0>M11Mw!R1Y#Ut{bF_fq{d88LW2? zklX>}Bb)64bT`OObRfdOjxNL?0W=32-~gHk0x>{)O`vXtse_peqW}K~iw20mB%!nl e(0-U0j7C!e4$F@~f2#l`Kp5TMAbree{ssWK!XYjI literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-063/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-063/cmd.json new file mode 100644 index 000000000..00c762b12 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-063/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ped-ip", + "json": "0", + "words": "actions add action pedit munge ip sport set 53 index 1" + }, + "cmd": "tc actions add action pedit munge ip sport set 53 index 1", + "desc": "positive: opt=plain cmd=ped-ip:actions_add_action_pedit_munge_ip_sport_set_53_index_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": "tcact2write/ec-063", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-063/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-063/dump.out new file mode 100644 index 000000000..d3c152656 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-063/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at 20: val 00350000 mask 0000ffff + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-063/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-063/ip.err new file mode 100644 index 000000000..78b532626 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-063/ip.err @@ -0,0 +1 @@ +Warning: act_pedit: Unsupported pedit command offload. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-063/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-063/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-063/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-063/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..2db43e09ffcc6a5e0085a1c3e14997776f7d5bec GIT binary patch literal 272 zcmca|c+)~A1{MYcU}5+R3xL z8D#(SE{I79Krv)D83JuhOfHEByTwW&G_Sa{pdi1fBsE0=EToW}pPQSQm!goLmX?#B Jm;%(!005RTDER;Y literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-063/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-063/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-063/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-063/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-063/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..de4b77a60f1f44b2984964527a86d483edcb58bd GIT binary patch literal 408 zcmca|c+)~A1{MYcU}5+RATCHv$t(d%@Gvj|c?@6-GSeAo<_jPngwf5s0TeOATCHv$t(d%@Gvj|c?@6-GP4C}<_jPngwf5s0TeOutjDFKINKhWPQKnV~=_czE)W;A~T0E@&SZ2$lO literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-065/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-065/cmd.json new file mode 100644 index 000000000..4158e17e3 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-065/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ped-ex", + "json": "0", + "words": "actions add action pedit ex munge ip src set 10.0.0.1 index 1" + }, + "cmd": "tc actions add action pedit ex munge ip src set 10.0.0.1 index 1", + "desc": "positive: opt=plain cmd=ped-ex:actions_add_action_pedit_ex_munge_ip_src_set_10.0.0.1_index_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": "tcact2write/ec-065", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-065/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-065/dump.out new file mode 100644 index 000000000..d3e478c30 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-065/dump.out @@ -0,0 +1,7 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at ipv4+12: val 0a000001 mask 00000000 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-065/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-065/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-065/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-065/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-065/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-065/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..f6db42a93366baab052394c33c34b6b25dea9252 GIT binary patch literal 244 zcmca|c+)~A1{MYcU}5+RMqmUe5Di7fK!O!0X((7B6+I;dgMh?4gXPHL ztoywCytD4!Ur!kfq8Pjh4$Im0T;^yQi^AxIxF8LK8cHA87jg~?bLy13Tdy`93l

zyb5PePRoR7%K2idX1{P=_R;_p(0=ww`yd{2xBR#4OvPcGrcjdSpIA(MTB-%vMLPbW xL{9DzpCSUiSfJs~;l>aLPX=XuXEYTj+z$pHtKUd&bK`9)Leca#GN+T0Z@zsNgTwKU|?+!VPI=u1L|Y~^4WkS hNIl41#z1$O0NEgn?k*Le5KuiM$X$*-5L?mR3IL~<8Vmpc literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-066/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-066/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-066/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-066/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-066/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..8d361716aed3e9d1c2be483d1e0973a611e970b8 GIT binary patch literal 444 zcmZutyA8rH6ujUB0*VktiVTnmq7)2}5f}jqL_?7=kYEK?prWUwr9q-#11dTY+!-t^ zi;K?he|FyKu-kSJ1e8*jcY^UG3)1-IR>Pa5tJW!EWB8<0E$f literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-067/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-067/cmd.json new file mode 100644 index 000000000..079ab4a71 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-067/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ped-ex", + "json": "0", + "words": "actions add action pedit ex munge ip ttl add 1 index 1" + }, + "cmd": "tc actions add action pedit ex munge ip ttl add 1 index 1", + "desc": "positive: opt=plain cmd=ped-ex:actions_add_action_pedit_ex_munge_ip_ttl_add_1_index_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": "tcact2write/ec-067", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-067/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-067/dump.out new file mode 100644 index 000000000..b68084dab --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-067/dump.out @@ -0,0 +1,7 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at ipv4+8: add 01000000 mask 00ffffff + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-067/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-067/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-067/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-067/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-067/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-067/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..e78c75d148ffe6edeed991839feb6aa401d726e6 GIT binary patch literal 244 zcmca|c+)~A1{MYcU}5+RAfF9L hg4BWBWdd}U36KrK=@#=X>-l&H5#whuUL?EuWPRxpG>iqr(M---&7eXM?b&B@IRZ?HF|k=LRxJw| zLNXXg^Fhsw3BlLwn5x(>&C^y5K#IuB-g(~0UG0YN)}6lP82Tv`)cI!_MkcLlN_APw zHxx*yJ>VCRf&TL!HSct9w6XDh-^-^GajfJ-{^iy?WfN*QPwu896a3w1F7kHs2E1@1 A2mk;8 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-068/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-068/cmd.json new file mode 100644 index 000000000..457494a82 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-068/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ped-ex", + "json": "0", + "words": "actions add action pedit ex munge ip tos set 0x10 retain 0xf0 index 1" + }, + "cmd": "tc actions add action pedit ex munge ip tos set 0x10 retain 0xf0 index 1", + "desc": "positive: opt=plain cmd=ped-ex:actions_add_action_pedit_ex_munge_ip_tos_set_0x10_retain_0xf0_index_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": "tcact2write/ec-068", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-068/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-068/dump.out new file mode 100644 index 000000000..8a606acbf --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-068/dump.out @@ -0,0 +1,7 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at ipv4+0: val 00100000 mask ff0fffff + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-068/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-068/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-068/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-068/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-068/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-068/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..0bbaffc657c28decc81062b5f2ee8d63428815fb GIT binary patch literal 244 zcmca|c+)~A1{MYcU}5+R40mazB gB*a})f$lN^ih(e?yHtQeK=q6uce(XIY(;k~0PFo4SpWb4 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-068/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-068/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-068/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-068/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-068/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..504c2d251b2468d9da7d62ff3ceea0707b37d1a2 GIT binary patch literal 444 zcmZutF%E)25F9vAG(;^ZcmOXT6h43__yjGCjRnszkuUfKdn+q@OAG&CV}ZdL;ze>g zm%Y86-JQMc^?W?|2=GOK7lZv`vbi)NO1@xzjO zJ|lD{%?CAO5;9k_A(gXUnx~x#fC#4Rz4N{??rWF)w`RIXFmx%T)cJ=PqmEWKqPkG= y4=F-w4|qIApw|r)oY|jf-}3FWZMlFSWb8;jto3e@cJt(JGA3m1Zq#R--Mj(J6eA)4 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-069/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-069/cmd.json new file mode 100644 index 000000000..7e42dc222 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-069/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ped-ex", + "json": "0", + "words": "actions add action pedit ex munge ip6 src set 2001:db8::1 index 1" + }, + "cmd": "tc actions add action pedit ex munge ip6 src set 2001:db8::1 index 1", + "desc": "positive: opt=plain cmd=ped-ex:actions_add_action_pedit_ex_munge_ip6_src_set_2001:db8::1_index_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": "tcact2write/ec-069", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-069/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-069/dump.out new file mode 100644 index 000000000..0e6e49ce9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-069/dump.out @@ -0,0 +1,10 @@ +total acts 1 + + action order 0: pedit action pass keys 4 + index 1 ref 1 bind 0 + key #0 at ipv6+8: val 20010db8 mask 00000000 + key #1 at ipv6+12: val 00000000 mask 00000000 + key #2 at ipv6+16: val 00000000 mask 00000000 + key #3 at ipv6+20: val 00000001 mask 00000000 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-069/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-069/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-069/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-069/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-069/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-069/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..fd5e30e739cce873759ec57071bfaf6107506277 GIT binary patch literal 376 zcmca|c+)~A1{MYcU}5+R&!kfVdzvC9?!5!Nb4=@u0D_g1_llWX0YBA zMn;ANpb)azE_i754D9Ga3=%+dumK(hPOvaYmIG)y2>bxLA%uYyXf_)VGJeJ$^v?n9ab3((ylJJEp%13S79g9OkVY=DP>6D$mpt>!?(SPVul#5vRqDkyzqo#QenOlf10mb>bx<7j literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-072/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-072/cmd.json new file mode 100644 index 000000000..2474f493c --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-072/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ped-ex", + "json": "0", + "words": "actions add action pedit ex munge ip6 payload_len set 100 index 1" + }, + "cmd": "tc actions add action pedit ex munge ip6 payload_len set 100 index 1", + "desc": "positive: opt=plain cmd=ped-ex:actions_add_action_pedit_ex_munge_ip6_payload_len_set_100_index_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": "tcact2write/ec-072", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-072/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-072/dump.out new file mode 100644 index 000000000..6fb3291fe --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-072/dump.out @@ -0,0 +1,7 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at ipv6+4: val 00640000 mask 0000ffff + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-072/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-072/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-072/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-072/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-072/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-072/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..23fad66f31325a727029ecf8cef1ab8130264ac8 GIT binary patch literal 244 zcmca|c+)~A1{MYcU}5+R41Nm$W iOkfotcWnW>%LK>+VRUz?0EK`m8A0w^)C;iz-K_vMpBX*? literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-072/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-072/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-072/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-072/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-072/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..8ac9ab0ff17e6cdddb36a707eeb6e1c0da502e39 GIT binary patch literal 444 zcmZut!3}~y5F9u}G{pEg6XKf+2oDRO1Y-sGFn)YchtU#j!48Zq7+*XrM1!-3mm?RK z%Y#-21LW&EGPe?#MZ@_@&mnY9GmNTJ9!iD)4usNhxnPUwd*M A@c;k- literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-073/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-073/cmd.json new file mode 100644 index 000000000..77ef9b4ff --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-073/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ped-ex", + "json": "0", + "words": "actions add action pedit ex munge ip6 nexthdr set 6 index 1" + }, + "cmd": "tc actions add action pedit ex munge ip6 nexthdr set 6 index 1", + "desc": "positive: opt=plain cmd=ped-ex:actions_add_action_pedit_ex_munge_ip6_nexthdr_set_6_index_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": "tcact2write/ec-073", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-073/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-073/dump.out new file mode 100644 index 000000000..88ea6354c --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-073/dump.out @@ -0,0 +1,7 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at ipv6+4: val 00000600 mask ffff00ff + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-073/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-073/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-073/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-073/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-073/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-073/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..f79e06e3df67a15dcd8c7c0a212e59ce4afde276 GIT binary patch literal 244 zcmca|c+)~A1{MYcU}5+RMqmU$LNpZF0~mpxiWO++XecQd1QhO!tV9-P zz5oCGe{cQcdO3xN&?CZ!$zd_wp7Rt9V;Ledmvg8YR0zzGb&kssU`CtJcB|#4cl~$8ekKDcO-LAe{eY{jJ^Hxto%d%-@arjJKOFHs>Et literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-074/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-074/cmd.json new file mode 100644 index 000000000..903ff154d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-074/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ped-ex", + "json": "0", + "words": "actions add action pedit ex munge ip6 hoplimit set 64 index 1" + }, + "cmd": "tc actions add action pedit ex munge ip6 hoplimit set 64 index 1", + "desc": "positive: opt=plain cmd=ped-ex:actions_add_action_pedit_ex_munge_ip6_hoplimit_set_64_index_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": "tcact2write/ec-074", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-074/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-074/dump.out new file mode 100644 index 000000000..156a41b75 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-074/dump.out @@ -0,0 +1,7 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at ipv6+4: val 00000040 mask ffffff00 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-074/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-074/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-074/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-074/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-074/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-074/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..a18e7661656d152c30fa630bff730e5c7fd5b875 GIT binary patch literal 244 zcmca|c+)~A1{MYcU}5+RG3Q!2Bk`d&tUwsf;(cKCF2V)y6 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-074/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-074/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-074/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-074/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-074/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dec57a2bc13fdde994fb4c9c08a85e40884bdae2 GIT binary patch literal 444 zcmZutu?@mN47}t+NKk|*Qe=Qk5T&4`$Ow!81)@PHdjKP_0wcfz6qFRKKt%%zcR{a2 zFYe{HeQ%#%zFkg79|1Z9_%PYe$Ls4kM#Wf$z)a;VN(Kcyb6}n2Qh1oqMzqaxv8wry zz-NZmr1_*~LPF+hzDX6Vm*#e-0w98Edmp^-%=_9E|E-xWQVd-R8Fl_4LEO@Mji@fv z{6mHTwL>1S?F`8YC1>_0+E~768kNlY+Z2(rBUM0H|I4~tyLoXpIVqXD8}%7yH(&4q BA|L<& literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-075/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-075/cmd.json new file mode 100644 index 000000000..bf4d73db8 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-075/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ped-ex", + "json": "0", + "words": "actions add action pedit ex munge ip6 hoplimit decrement index 1" + }, + "cmd": "tc actions add action pedit ex munge ip6 hoplimit decrement index 1", + "desc": "positive: opt=plain cmd=ped-ex:actions_add_action_pedit_ex_munge_ip6_hoplimit_decrement_index_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": "tcact2write/ec-075", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-075/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-075/dump.out new file mode 100644 index 000000000..6d42bbbb9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-075/dump.out @@ -0,0 +1,7 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at ipv6+4: add 000000ff mask ffffff00 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-075/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-075/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-075/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-075/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-075/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-075/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..ce146c433c54127083408f06fa7c4c43e92877d1 GIT binary patch literal 244 zcmca|c+)~A1{MYcU}5+R3U4*&oF literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-075/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-075/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-075/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-075/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-075/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..c9ca70dfbf4d91c35ba935ce64b4e9625a118dfe GIT binary patch literal 444 zcmZutF%E)25F9u}FvM6;@Bm&wD0~11_52p2Vk|>orgAMx1_eBGVqMFn@Gzl`Xq)9?Rr4Z& z&kWY2xua%6Lgs3|NENJ?=JuchAcC>IPo59veeH_x)=U>EhAxGSI{%O$wzO^|stYyW zkYPaWke_Ee!{2|DoY|k)#_~MqmUe5Di5Nwt$Sl3N&;ytUyV@2n+xUcdxvN zUfj!X`)uF8e7~Jf0|fXXz=z3kIoUSz7!_j~0)HWAQ8Fmt`3?Ilm%_u07Snd?)uv`4 z!GIZzN%KO@goMo1e3L5JFU|cy4L}6n%szQPnD@0S{#$RlNHKCLWYqbG1Y<+18c|)S z`G*WcYKJ_YnGDGZCEx77Xk+=;v~6u}n!79KMB2sH_v?zan=5ydGnTo#(VXw><_iKM BA1wd? literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-077/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-077/cmd.json new file mode 100644 index 000000000..440386807 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-077/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ped-ex", + "json": "0", + "words": "actions add action pedit ex munge tcp sport set 80 index 1" + }, + "cmd": "tc actions add action pedit ex munge tcp sport set 80 index 1", + "desc": "positive: opt=plain cmd=ped-ex:actions_add_action_pedit_ex_munge_tcp_sport_set_80_index_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": "tcact2write/ec-077", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-077/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-077/dump.out new file mode 100644 index 000000000..6a90ce507 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-077/dump.out @@ -0,0 +1,7 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at tcp+0: val 00500000 mask 0000ffff + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-077/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-077/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-077/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-077/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-077/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-077/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..fdba19680c8489c33ddd1f6a68963b94100f6a14 GIT binary patch literal 244 zcmca|c+)~A1{MYcU}5+ROpXEQNuQ zApwZFfVdzvC9?!55x~IIU;;Fs5vB-Sl_*nm1gu47|h0;>VJ eOU9pp!34+yVRUz?0EK`m8A0yym;kW>-K_vEg&1A{ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-077/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-077/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-077/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-077/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-077/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..3ff813087a1faa3903bcee1eb94b6d7c45eeab68 GIT binary patch literal 444 zcmZutu?@m75In~r1Qa0(7a1TEL@B6I2B4ruLLvpCp~xVC4OoE*kXV6|fQf?ak&5=NKO9 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-078/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-078/cmd.json new file mode 100644 index 000000000..80f4e1dd4 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-078/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ped-ex", + "json": "0", + "words": "actions add action pedit ex munge tcp dport set 443 index 1" + }, + "cmd": "tc actions add action pedit ex munge tcp dport set 443 index 1", + "desc": "positive: opt=plain cmd=ped-ex:actions_add_action_pedit_ex_munge_tcp_dport_set_443_index_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": "tcact2write/ec-078", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-078/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-078/dump.out new file mode 100644 index 000000000..8cc9b7ab8 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-078/dump.out @@ -0,0 +1,7 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at tcp+0: val 000001bb mask ffff0000 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-078/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-078/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-078/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-078/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-078/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-078/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..34af5731d998293d7a29c9a5b9b95f83101a31ad GIT binary patch literal 244 zcmca|c+)~A1{MYcU}5+ROpXEQNuQ zApwZFfVdzvC9?!55x~IIU;;Fs5vB-<28sRu4-#P9jU)_aN-(fCh%m4~T*t=1 i1QrLmYXQ(*CO{qtqq|E5Cr|*6jT|35uiXc6d45AfE8#d8Gwe8f_Bkyp?UwPzOlXU^j17!yi`w literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-081/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-081/cmd.json new file mode 100644 index 000000000..4c30e6c98 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-081/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ped-ex", + "json": "0", + "words": "actions add action pedit ex munge udp dport set 67 index 1" + }, + "cmd": "tc actions add action pedit ex munge udp dport set 67 index 1", + "desc": "positive: opt=plain cmd=ped-ex:actions_add_action_pedit_ex_munge_udp_dport_set_67_index_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": "tcact2write/ec-081", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-081/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-081/dump.out new file mode 100644 index 000000000..c1b84db28 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-081/dump.out @@ -0,0 +1,7 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at udp+0: val 00000043 mask ffff0000 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-081/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-081/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-081/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-081/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-081/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-081/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..1475b90fccb0fb78ce9aec967298bdacc6d1cab9 GIT binary patch literal 244 zcmca|c+)~A1{MYcU}5+ROpXEQNuQ zApwZFfVdzvC9?!55x~IIU;;Fs5vB-<28sRu4;FAn5(YCR7+4!b7}y%vfI3-$B5Vvy iU~!PUc*MCFOn^KPMt7GAPzb1!5#+9A6Ct*uyA=TUxEMVE literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-081/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-081/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-081/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-081/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-081/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..d347443d3fd1d6d5017c7de933893f3b8fc36b07 GIT binary patch literal 444 zcmZutyA8rX41LK32q-}*B9RISlnJ5~^kf7^fCAA_WD&9fE3g79P*Si34JbTYoH(8E z>G|*HlW*6{IYfk?M0hheZKj9kB1J=AfXJ-GSgGk$2u#O5o68X(BPPUgx81iaBnTNn zA)MJVMZ$!@=X^0$v0pgnoiqS3jLtr&?~GmUhX0nGzT_DBDHP=SCke)ymTF9Pk(Pfb yFd+AkFQ5n7P-``Jx*M%8w(qrNt=dr~C-QG>ty5N4ZZqR;N=5?zHZo_t+k5~vp&b_h literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-082/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-082/cmd.json new file mode 100644 index 000000000..34b237f6b --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-082/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ped-ex", + "json": "0", + "words": "actions add action pedit ex munge eth dst set 02:00:00:00:00:09 index 1" + }, + "cmd": "tc actions add action pedit ex munge eth dst set 02:00:00:00:00:09 index 1", + "desc": "positive: opt=plain cmd=ped-ex:actions_add_action_pedit_ex_munge_eth_dst_set_02:00:00:00:00:09_index_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": "tcact2write/ec-082", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-082/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-082/dump.out new file mode 100644 index 000000000..4c7c2efe7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-082/dump.out @@ -0,0 +1,8 @@ +total acts 1 + + action order 0: pedit action pass keys 2 + index 1 ref 1 bind 0 + key #0 at eth+0: val 02000000 mask 00000000 + key #1 at eth+4: val 00090000 mask 0000ffff + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-082/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-082/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-082/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-082/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-082/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-082/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..cabd763993b5faa4c61382b2d75a439e85afd63f GIT binary patch literal 288 zcmca|c+)~A1{MYcU}5+R11;hoZDVZfei5do`1|OjLj4(w=G!v8!qmiV5%>VxxIDyup3Nq+0ur`P=ur;s& qO$3?A#sJZcO$_7*=4vhm6QDW}M)!jXPzb1-5#)!}6Co}{_ZI*w=^D%c literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-082/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-082/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-082/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-082/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-082/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..fe419815ebca959afbc969c443b48c46ee20439e GIT binary patch literal 488 zcmZuuF%H5o47@a@1XK`12Odx)2BwOk59r9q6JS6r47`Gkz5v)+;0b(z@1SxHjfkRN z<-|GLXUl!R9@hvl{)qA6ccWRa-#6rzExq|tkIjbcBFwnL(RSJfbuU&C&=@}wJKcq0FP8U)PEG&hOV++%L@c?ADP I>U6NjFQGggoB#j- literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-083/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-083/cmd.json new file mode 100644 index 000000000..4d2f232b5 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-083/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ped-ex", + "json": "0", + "words": "actions add action pedit ex munge eth src set 02:00:00:00:00:0a index 1" + }, + "cmd": "tc actions add action pedit ex munge eth src set 02:00:00:00:00:0a index 1", + "desc": "positive: opt=plain cmd=ped-ex:actions_add_action_pedit_ex_munge_eth_src_set_02:00:00:00:00:0a_index_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": "tcact2write/ec-083", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-083/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-083/dump.out new file mode 100644 index 000000000..0ef627b2b --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-083/dump.out @@ -0,0 +1,8 @@ +total acts 1 + + action order 0: pedit action pass keys 2 + index 1 ref 1 bind 0 + key #0 at eth+4: val 00000200 mask ffff0000 + key #1 at eth+8: val 0000000a mask 00000000 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-083/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-083/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-083/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-083/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-083/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-083/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..43eca7f581689f4204655385c357d57cc8dc720f GIT binary patch literal 288 zcmca|c+)~A1{MYcU}5+R11;hoZDVZfei5do`1|OjLj4(w=G!u~h|363o)dfgOxHynFAf^rjYl8>_TLT-= pM39+mK)oPPlCpR!Uqszp$)O%0hE?DmL^gd8w)=oFVHXW1;5~T49;G-h!=)T zZf|yXZnL~!%`-rVA3}V1x$kF}O*2KwScp&;ayV=mwCzolf}zy+E;+Zn=_AG1m$0DE5E4wRELlT$!Gklb zF`{?GPuUkDYJwqc$2s~_xL7*cR=WN-EJ}yixTrfbI;CCgPOrrNn~)Uh!z ifmMLq^#JHD6Ce+S(cPs26auPb1i5R+M2HROZUq3+S#h|9k82x9cTDgdPz-49=VRY5kg^q%Vd@t>kei=;R1g!#c+q1X$3fwCb=w)=X%G zj9^VPx75@m#C**+shstqxoo5WNT6)*llO!1P`l*6Wu^~kT&Oc~OEG^lD>Vleo zNHL;z%oErNF*!lOnZt?B@7}geSfg!ae`V}2ztFvXw)12+JMJc9DCX}*`joeuFA&rp AX8-^I literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-085/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-085/cmd.json new file mode 100644 index 000000000..b84344ed1 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-085/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ped-ex", + "json": "0", + "words": "actions add action pedit ex munge ip ttl set 10 munge ip6 hoplimit set 10 munge tcp dport set 80 munge eth type set 0x86dd index 1" + }, + "cmd": "tc actions add action pedit ex munge ip ttl set 10 munge ip6 hoplimit set 10 munge tcp dport set 80 munge eth type set 0x86dd index 1", + "desc": "positive: opt=plain cmd=ped-ex:actions_add_action_pedit_ex_munge_ip_ttl_set_10_munge_ip6_hoplimit_set_10_munge_tcp_dport_set_80_munge_eth_type_set_0x86dd_index_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": "tcact2write/ec-085", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-085/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-085/dump.out new file mode 100644 index 000000000..fe46ae53b --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-085/dump.out @@ -0,0 +1,10 @@ +total acts 1 + + action order 0: pedit action pass keys 4 + index 1 ref 1 bind 0 + key #0 at ipv4+8: val 0a000000 mask 00ffffff + key #1 at ipv6+4: val 0000000a mask ffffff00 + key #2 at tcp+0: val 00000050 mask ffff0000 + key #3 at eth+12: val 86dd0000 mask 0000ffff + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-085/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-085/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-085/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-085/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-085/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-085/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..0e8d30498eb26d9b96da785ad341b4fd344eb360 GIT binary patch literal 376 zcmca|c+)~A1{MYcU}5+ROz;<^zqv0AO4H|NqYgl;J>=1qy>ixR6~25`YLZ1c2D6 z;Q#-&yFj<13NnN+ur`P=ur;s&UBCpCV*`^63@|ZfEMg!#(ba+64-*50jeIZ*g9%U! XgwexB1tS) z7HTLkgEMJfsktE`i#1o|+U%F+Vy6ZmL*mYkjKPppsNLh-x-&+Oa!jE~oqwpI;%HSf zstb3{FhG&oC4Pn(==H~kQ-93q6=P1*d2Y#h!)bl&Uf)`)+cR1S(n_nYCn&sV^aJW0 hTD!jJ-G9;I&H0=1{2HD>Tv_AtV4#Md6M*xMG7#NsA z_H#^zn4SO>Lw1uP(ALD{l6bINtQ11?ic1R$@{3ARQxw2L3d#Aoxruox3i)YiIr)hx HKt literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-086/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-086/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-086/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-086/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-086/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..2f01a098be35f93bf3f4a0beb34a542c95696ea6 GIT binary patch literal 408 zcmca|c+)~A1{MYcU}5+R&!kfVdzvC9?!5!Nb4=&!kfVdzvC9?!5!Nb4=Mlq2uu=6 fs{rkXiNRf literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-088/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-088/cmd.json new file mode 100644 index 000000000..8afde7972 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-088/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w220", + "json": "0", + "words": "actions add action pedit munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 index 1" + }, + "cmd": "tc actions add action pedit munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 index 1", + "desc": "boundary: opt=plain cmd=w220:actions_add_action_pedit_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_index_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": "tcact2write/ec-088", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-088/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-088/dump.out new file mode 100644 index 000000000..9315c556f --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-088/dump.out @@ -0,0 +1,133 @@ +total acts 1 + + action order 0: pedit action pass keys 128 + index 1 ref 1 bind 0 + key #0 at 0: val 00000001 mask 00000000 + key #1 at 0: val 00000001 mask 00000000 + key #2 at 0: val 00000001 mask 00000000 + key #3 at 0: val 00000001 mask 00000000 + key #4 at 0: val 00000001 mask 00000000 + key #5 at 0: val 00000001 mask 00000000 + key #6 at 0: val 00000001 mask 00000000 + key #7 at 0: val 00000001 mask 00000000 + key #8 at 0: val 00000001 mask 00000000 + key #9 at 0: val 00000001 mask 00000000 + key #10 at 0: val 00000001 mask 00000000 + key #11 at 0: val 00000001 mask 00000000 + key #12 at 0: val 00000001 mask 00000000 + key #13 at 0: val 00000001 mask 00000000 + key #14 at 0: val 00000001 mask 00000000 + key #15 at 0: val 00000001 mask 00000000 + key #16 at 0: val 00000001 mask 00000000 + key #17 at 0: val 00000001 mask 00000000 + key #18 at 0: val 00000001 mask 00000000 + key #19 at 0: val 00000001 mask 00000000 + key #20 at 0: val 00000001 mask 00000000 + key #21 at 0: val 00000001 mask 00000000 + key #22 at 0: val 00000001 mask 00000000 + key #23 at 0: val 00000001 mask 00000000 + key #24 at 0: val 00000001 mask 00000000 + key #25 at 0: val 00000001 mask 00000000 + key #26 at 0: val 00000001 mask 00000000 + key #27 at 0: val 00000001 mask 00000000 + key #28 at 0: val 00000001 mask 00000000 + key #29 at 0: val 00000001 mask 00000000 + key #30 at 0: val 00000001 mask 00000000 + key #31 at 0: val 00000001 mask 00000000 + key #32 at 0: val 00000001 mask 00000000 + key #33 at 0: val 00000001 mask 00000000 + key #34 at 0: val 00000001 mask 00000000 + key #35 at 0: val 00000001 mask 00000000 + key #36 at 0: val 00000001 mask 00000000 + key #37 at 0: val 00000001 mask 00000000 + key #38 at 0: val 00000001 mask 00000000 + key #39 at 0: val 00000001 mask 00000000 + key #40 at 0: val 00000001 mask 00000000 + key #41 at 0: val 00000001 mask 00000000 + key #42 at 0: val 00000001 mask 00000000 + key #43 at 0: val 00000001 mask 00000000 + key #44 at 0: val 00000001 mask 00000000 + key #45 at 0: val 00000001 mask 00000000 + key #46 at 0: val 00000001 mask 00000000 + key #47 at 0: val 00000001 mask 00000000 + key #48 at 0: val 00000001 mask 00000000 + key #49 at 0: val 00000001 mask 00000000 + key #50 at 0: val 00000001 mask 00000000 + key #51 at 0: val 00000001 mask 00000000 + key #52 at 0: val 00000001 mask 00000000 + key #53 at 0: val 00000001 mask 00000000 + key #54 at 0: val 00000001 mask 00000000 + key #55 at 0: val 00000001 mask 00000000 + key #56 at 0: val 00000001 mask 00000000 + key #57 at 0: val 00000001 mask 00000000 + key #58 at 0: val 00000001 mask 00000000 + key #59 at 0: val 00000001 mask 00000000 + key #60 at 0: val 00000001 mask 00000000 + key #61 at 0: val 00000001 mask 00000000 + key #62 at 0: val 00000001 mask 00000000 + key #63 at 0: val 00000001 mask 00000000 + key #64 at 0: val 00000001 mask 00000000 + key #65 at 0: val 00000001 mask 00000000 + key #66 at 0: val 00000001 mask 00000000 + key #67 at 0: val 00000001 mask 00000000 + key #68 at 0: val 00000001 mask 00000000 + key #69 at 0: val 00000001 mask 00000000 + key #70 at 0: val 00000001 mask 00000000 + key #71 at 0: val 00000001 mask 00000000 + key #72 at 0: val 00000001 mask 00000000 + key #73 at 0: val 00000001 mask 00000000 + key #74 at 0: val 00000001 mask 00000000 + key #75 at 0: val 00000001 mask 00000000 + key #76 at 0: val 00000001 mask 00000000 + key #77 at 0: val 00000001 mask 00000000 + key #78 at 0: val 00000001 mask 00000000 + key #79 at 0: val 00000001 mask 00000000 + key #80 at 0: val 00000001 mask 00000000 + key #81 at 0: val 00000001 mask 00000000 + key #82 at 0: val 00000001 mask 00000000 + key #83 at 0: val 00000001 mask 00000000 + key #84 at 0: val 00000001 mask 00000000 + key #85 at 0: val 00000001 mask 00000000 + key #86 at 0: val 00000001 mask 00000000 + key #87 at 0: val 00000001 mask 00000000 + key #88 at 0: val 00000001 mask 00000000 + key #89 at 0: val 00000001 mask 00000000 + key #90 at 0: val 00000001 mask 00000000 + key #91 at 0: val 00000001 mask 00000000 + key #92 at 0: val 00000001 mask 00000000 + key #93 at 0: val 00000001 mask 00000000 + key #94 at 0: val 00000001 mask 00000000 + key #95 at 0: val 00000001 mask 00000000 + key #96 at 0: val 00000001 mask 00000000 + key #97 at 0: val 00000001 mask 00000000 + key #98 at 0: val 00000001 mask 00000000 + key #99 at 0: val 00000001 mask 00000000 + key #100 at 0: val 00000001 mask 00000000 + key #101 at 0: val 00000001 mask 00000000 + key #102 at 0: val 00000001 mask 00000000 + key #103 at 0: val 00000001 mask 00000000 + key #104 at 0: val 00000001 mask 00000000 + key #105 at 0: val 00000001 mask 00000000 + key #106 at 0: val 00000001 mask 00000000 + key #107 at 0: val 00000001 mask 00000000 + key #108 at 0: val 00000001 mask 00000000 + key #109 at 0: val 00000001 mask 00000000 + key #110 at 0: val 00000001 mask 00000000 + key #111 at 0: val 00000001 mask 00000000 + key #112 at 0: val 00000001 mask 00000000 + key #113 at 0: val 00000001 mask 00000000 + key #114 at 0: val 00000001 mask 00000000 + key #115 at 0: val 00000001 mask 00000000 + key #116 at 0: val 00000001 mask 00000000 + key #117 at 0: val 00000001 mask 00000000 + key #118 at 0: val 00000001 mask 00000000 + key #119 at 0: val 00000001 mask 00000000 + key #120 at 0: val 00000001 mask 00000000 + key #121 at 0: val 00000001 mask 00000000 + key #122 at 0: val 00000001 mask 00000000 + key #123 at 0: val 00000001 mask 00000000 + key #124 at 0: val 00000001 mask 00000000 + key #125 at 0: val 00000001 mask 00000000 + key #126 at 0: val 00000001 mask 00000000 + key #127 at 0: val 00000001 mask 00000000 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-088/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-088/ip.err new file mode 100644 index 000000000..78b532626 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-088/ip.err @@ -0,0 +1 @@ +Warning: act_pedit: Unsupported pedit command offload. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-088/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-088/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-088/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-088/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..27626710292918897628a7b3237d075a56c7a250 GIT binary patch literal 3320 zcmca|c+)~A1{MYcU}5+RIFhK)C2%9uWc2pb^Mx)^{8V-;U7!8Nfa6k@$ z(e!{E8l&apXnGh;56B@fnjVltW3+r2Wa$Ca&o~L}XJi1~1;Xh4j0m6*69WS?sGlJ= z84`WyeGfxmHz6^(Bp%%7uu=%kD=sZ4$S*2MO;G>~DJ19T<|gK)DCDQ5<>V)(fUE%k Da)Ktt literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-088/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-088/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-088/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-088/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-088/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..d6c933464564552a36220abaf8a5571702abe3f0 GIT binary patch literal 3456 zcmca|c+)~A1{MYcU}5+R&!kfVdzvC9?!5!Nb4= eG;)N2*r5K+3t<071;_?r^!|+qP>30=e**vxMIRji literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-089/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-089/cmd.json new file mode 100644 index 000000000..b1f23de59 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-089/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w216-at", + "json": "0", + "words": "actions add action pedit munge offset 12 u32 at 4 0xff 24 set 1 index 1" + }, + "cmd": "tc actions add action pedit munge offset 12 u32 at 4 0xff 24 set 1 index 1", + "desc": "corner: opt=plain cmd=w216-at:actions_add_action_pedit_munge_offset_12_u32_at_4_0xff_24_set_1_index_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": "tcact2write/ec-089", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-089/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-089/dump.out new file mode 100644 index 000000000..39572662b --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-089/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at 12: val 00000001 mask 00000000 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-089/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-089/ip.err new file mode 100644 index 000000000..78b532626 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-089/ip.err @@ -0,0 +1 @@ +Warning: act_pedit: Unsupported pedit command offload. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-089/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-089/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-089/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-089/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcd3c20acca907a4afc6ab0dc58acc3394592058 GIT binary patch literal 272 zcmca|c+)~A1{MYcU}5+R Mw4D6J6rgqn0Emw$HUIzs literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-089/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-089/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-089/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-089/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-089/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..d61ac5e47ef8768d8690706b341e542ef956d585 GIT binary patch literal 408 zcmca|c+)~A1{MYcU}5+R&!kfVdzvC9?!5!Nb4==^c-DC)~H8Hs)9_$t?h0wg>(t?8gqLS1U1+b7pa(-@ZVqS_uep*^i KeqstxI|BgW_a{F9 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-090/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-090/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-090/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-090/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-090/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..fbbdf7dcd09bff82cfeeced6b022507c4b1dc4b1 GIT binary patch literal 408 zcmca|c+)~A1{MYcU}5+RM11Mw!R1Y%q_7spV1_llWX0YBp zKyn9=k8HLJ(A^+A(SZm9JGu~q1kfC8fCFeE2*d#GHG#SnrVeH@j0TD`@&E}?XbAu@ k6A-Ha?H2*kAONEwJOl~yw;s^nDnKC+M)x;JA2XW20m+UXQUCw| literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-091/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-091/cmd.json new file mode 100644 index 000000000..18c68bbcc --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-091/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w223", + "json": "0", + "words": "actions add action pedit ex munge eth dst invert index 1" + }, + "cmd": "tc actions add action pedit ex munge eth dst invert index 1", + "desc": "corner: opt=plain cmd=w223:actions_add_action_pedit_ex_munge_eth_dst_invert_index_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": "tcact2write/ec-091", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-091/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-091/dump.out new file mode 100644 index 000000000..37a348772 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-091/dump.out @@ -0,0 +1,8 @@ +total acts 1 + + action order 0: pedit action pass keys 2 + index 1 ref 1 bind 0 + key #0 at eth+0: val ff000000 mask 00000000 + key #1 at eth+4: val 00000000 mask 0000ffff + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-091/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-091/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-091/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-091/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-091/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-091/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..ff091f539df151496d3d29860830a8bbf6d4b5dc GIT binary patch literal 288 zcmca|c+)~A1{MYcU}5+R@tv?4g+h02m@OK8_-0M onQROYQ?QAF{J=MfkHG|}4usMDpaK*E>ShG_A$%b_uEy&;tz{A569JD_d02m%q3t=A)Cj7Ne*Qy>O7Z1VaVt+_M7$gz>5T$ zC%6#L@mZrFArX4c$mP_F=d%(45W~3IL@C6in%*V*mN!GB=!O&~^l3wao}=Y9rn}(6 z9_HxKJL0F@3lTX%8@FU1%`SZYtpI9Q87{S>o0AtsMyJtF>i4ix<~ZdXGpFYg{F{`N H3Fi0#t6U!w literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-092/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-092/cmd.json new file mode 100644 index 000000000..86777a1a7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-092/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w223-ip6", + "json": "0", + "words": "actions add action pedit ex munge ip6 dst invert index 1" + }, + "cmd": "tc actions add action pedit ex munge ip6 dst invert index 1", + "desc": "corner: opt=plain cmd=w223-ip6:actions_add_action_pedit_ex_munge_ip6_dst_invert_index_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": "tcact2write/ec-092", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-092/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-092/dump.out new file mode 100644 index 000000000..0c43394dc --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-092/dump.out @@ -0,0 +1,10 @@ +total acts 1 + + action order 0: pedit action pass keys 4 + index 1 ref 1 bind 0 + key #0 at ipv6+24: val ff000000 mask 00000000 + key #1 at ipv6+28: val 00000000 mask 00000000 + key #2 at ipv6+32: val 00000000 mask 00000000 + key #3 at ipv6+36: val 00000000 mask 00000000 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-092/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-092/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-092/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-092/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-092/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-092/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..94ee0832b8277ad330529cd96a17bee313c4e841 GIT binary patch literal 376 zcmca|c+)~A1{MYcU}5+R$$H2qL0LBa~%oYeW3=DsO90LYcw#h(sF!2`* zj0{hJmOz;<^zqv05Dts17##IWFZ1FIK&ljh^wH9hcK`tniNOWP24MykW(yDn113O*5d$Oh6rehom4Di1wa_x%m$#C5l}tI%okHY3K$qT7?{C& zQy3W;5`aR;X1f604YCs*h%m6D3o%Fl&A|qE7&yVgAXyHe=^*d}=!OsmR-oBzK*$Kz z$p#by0ZPPbfbKp<*x^O$j*8C4un+ R(hJs)7Uv>Bab~pm0RZ}NAuIp@ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-093/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-093/cmd.json new file mode 100644 index 000000000..ec60a07a7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-093/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w224", + "json": "0", + "words": "actions add action pedit munge offset 12 u32 preserve retain 0xff index 1" + }, + "cmd": "tc actions add action pedit munge offset 12 u32 preserve retain 0xff index 1", + "desc": "corner: opt=plain cmd=w224:actions_add_action_pedit_munge_offset_12_u32_preserve_retain_0xff_index_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": "tcact2write/ec-093", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-093/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-093/dump.out new file mode 100644 index 000000000..2905bcbbd --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-093/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at 12: val 00000000 mask ffffff00 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-093/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-093/ip.err new file mode 100644 index 000000000..78b532626 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-093/ip.err @@ -0,0 +1 @@ +Warning: act_pedit: Unsupported pedit command offload. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-093/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-093/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-093/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-093/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..20fa5ccf061c84b9b65b35a0becd463e63b042f0 GIT binary patch literal 272 zcmca|c+)~A1{MYcU}5+Rw4D6J I6rgqn009^&qW}N^ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-093/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-093/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-093/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-093/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-093/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..bdfe2d2d750af7140dac8c82de53fce9f3dbcaf1 GIT binary patch literal 408 zcmca|c+)~A1{MYcU}5+R&!kfVdzvC9?!5!Nb4=Wo4z(NYi`MJ4?c_|9{X=yq6 Ji77zs3;^93DSZF{ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-094/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-094/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-094/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-094/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-094/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..2364b57ac575b90d19d9bc0acdc4b22c174882ef GIT binary patch literal 408 zcmca|c+)~A1{MYcU}5+RMmL70Js*#bntfC-Rc#K6cr1*i@tCc?nT zAOOT%KwOZTl34_R49p<= z4^D-clmHY%c9S8{*2LtJc(7Zn6hiZgOA89}i%L>c6u?3X$@#gtiFqjs`Dtl6`H3k& G?F;~uCncKz literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-095/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-095/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-095/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-095/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-095/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..6be9f6f897441d284c5a6ade6eea0f1c1bd61836 GIT binary patch literal 408 zcmca|c+)~A1{MYcU}5+R&!kfVdzvC9?!5!Nb4=@%V{883=A9$%wWBH zfaDG!AK7ddpu0hKq5}~Ic61>I37|RH00+=S5QqWVYXWsEOdZT*7!4F>zeRvT%xL}w0KO+3#sB~S literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-096/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-096/cmd.json new file mode 100644 index 000000000..ab97d150d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-096/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w227-u", + "json": "0", + "words": "actions add action pedit munge offset 12 u set 1 index 1" + }, + "cmd": "tc actions add action pedit munge offset 12 u set 1 index 1", + "desc": "corner: opt=plain cmd=w227-u:actions_add_action_pedit_munge_offset_12_u_set_1_index_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": "tcact2write/ec-096", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-096/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-096/dump.out new file mode 100644 index 000000000..39572662b --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-096/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at 12: val 00000001 mask 00000000 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-096/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-096/ip.err new file mode 100644 index 000000000..78b532626 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-096/ip.err @@ -0,0 +1 @@ +Warning: act_pedit: Unsupported pedit command offload. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-096/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-096/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-096/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-096/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..fc443f29be7ed37785053ff9d90f47e788c8ccc3 GIT binary patch literal 272 zcmca|c+)~A1{MYcU}5+RxFw literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-097/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-097/cmd.json new file mode 100644 index 000000000..bb3ce9e00 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-097/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w227-u1", + "json": "0", + "words": "actions add action pedit munge offset 12 u1 set 1 index 1" + }, + "cmd": "tc actions add action pedit munge offset 12 u1 set 1 index 1", + "desc": "corner: opt=plain cmd=w227-u1:actions_add_action_pedit_munge_offset_12_u1_set_1_index_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": "tcact2write/ec-097", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-097/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-097/dump.out new file mode 100644 index 000000000..4e3b77867 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-097/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at 12: val 00010000 mask 0000ffff + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-097/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-097/ip.err new file mode 100644 index 000000000..78b532626 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-097/ip.err @@ -0,0 +1 @@ +Warning: act_pedit: Unsupported pedit command offload. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-097/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-097/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-097/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-097/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..548d3a8159971f4651437b3f1a4b1edc1b5e6f2b GIT binary patch literal 272 zcmca|c+)~A1{MYcU}5+R&!kfVdzvC9?!5!Nb4=%X`9G1O6f2#l`Kp5TMAbree{ssU|z#zo{ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-098/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-098/cmd.json new file mode 100644 index 000000000..87d9eabe4 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-098/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w232-junk", + "json": "0", + "words": "actions add action pedit ex munge eth dst set 02:00:00:00:00:01junk index 1" + }, + "cmd": "tc actions add action pedit ex munge eth dst set 02:00:00:00:00:01junk index 1", + "desc": "corner: opt=plain cmd=w232-junk:actions_add_action_pedit_ex_munge_eth_dst_set_02:00:00:00:00:01junk_index_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": "tcact2write/ec-098", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-098/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-098/dump.out new file mode 100644 index 000000000..780fda4cd --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-098/dump.out @@ -0,0 +1,8 @@ +total acts 1 + + action order 0: pedit action pass keys 2 + index 1 ref 1 bind 0 + key #0 at eth+0: val 02000000 mask 00000000 + key #1 at eth+4: val 00010000 mask 0000ffff + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-098/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-098/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-098/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-098/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-098/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-098/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..ee4572a5dd074c4edb0c5d9f796a5bb561e0634d GIT binary patch literal 288 zcmca|c+)~A1{MYcU}5+R24MykW(yDn151Dm0|r*MsX%owu?Y-} z3_U>11;hoZDVZfei5do`1|OjLj4(w=G!v8!qmiV5%>VyEnvh)vlGkBiZ4hB#YhVLP og3M%Nfau012J%BU&<`d+bs&uH2Nj?YP&XsU4^q=1E=2bi01LPp#Q*>R literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-098/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-098/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-098/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-098/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-098/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..da43e13eb6e4d562f9aa295094c3ff2e0ebac3b8 GIT binary patch literal 488 zcmZuuu?@m75Io}$0*Vkt3I<3)K^0MCfRvPs00p9|5Rpkzo*0n9`>UDTYeRZ9;d! zl|9VSr+3WH=nFA9K^M1VAAT1u|0&QaRqicKBO-tDa+#CN+A6nuB28tEHRqUXJ(u9$ Jh|UIc`~ntdAQb=r literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-099/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-099/cmd.json new file mode 100644 index 000000000..42b0f7db6 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-099/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w233", + "json": "0", + "words": "actions add action pedit munge ip src set 10.0.0.1/8 index 1" + }, + "cmd": "tc actions add action pedit munge ip src set 10.0.0.1/8 index 1", + "desc": "corner: opt=plain cmd=w233:actions_add_action_pedit_munge_ip_src_set_10.0.0.1/8_index_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": "tcact2write/ec-099", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-099/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-099/dump.out new file mode 100644 index 000000000..c7b356c65 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-099/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at 12: val 0a000001 mask 00000000 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-099/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-099/ip.err new file mode 100644 index 000000000..78b532626 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-099/ip.err @@ -0,0 +1 @@ +Warning: act_pedit: Unsupported pedit command offload. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-099/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-099/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-099/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-099/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..b1a3b5002158f6a28673d3072c1283ce65897022 GIT binary patch literal 272 zcmca|c+)~A1{MYcU}5+RPTm=6OZ zg9i|E0dYZUN@fXA!h(UR!GwVcD1r%KVq6Rij67)4Ap1W6?au&;gD|@N5kMg(1_ox3 z{W8-bCM5vHklkbmv^6ogBp&P*D}~U!;?jbG{GyW76a}!5LUMj?Zem`FLVj9WPJUtv HP&)$vL769; literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-099/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-099/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-099/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-099/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-099/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..fe74f6e3f946e8668a606d90271d11248a6b7c2e GIT binary patch literal 408 zcmca|c+)~A1{MYcU}5+R&!kfVdzvC9?!5!Nb4=I37|RH00+=S5QqWVYXWsEOdZT*7!6d($ODsv(kejv dMWAdLjiv+~mfb*qs{kcH7~S6>eavY71^^M11Mw!R1Y$9!E}%=1_llWX0YBp zKyn9=k8HLJ(A^+A(SZm9JGu~q1kfC8fCFeE2*d#GHG#SnrVeH@jOG9`cwmxHS_Npo c2$T(@(UgG0ax&20DnJPkM)x;JA2XW20i)j?{{R30 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-101/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-101/cmd.json new file mode 100644 index 000000000..e2862ae1d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-101/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w233-any", + "json": "0", + "words": "actions add action pedit munge ip dst set any index 1" + }, + "cmd": "tc actions add action pedit munge ip dst set any index 1", + "desc": "corner: opt=plain cmd=w233-any:actions_add_action_pedit_munge_ip_dst_set_any_index_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": "tcact2write/ec-101", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-101/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-101/dump.out new file mode 100644 index 000000000..ff9862039 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-101/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at 16: val 00000000 mask 00000000 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-101/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-101/ip.err new file mode 100644 index 000000000..78b532626 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-101/ip.err @@ -0,0 +1 @@ +Warning: act_pedit: Unsupported pedit command offload. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-101/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-101/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-101/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-101/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..c9b814122d89784b1ec6019192bcbcc1629bb8aa GIT binary patch literal 272 zcmca|c+)~A1{MYcU}5+RM11Mw!R1Y%q)eMj>1_llWX0YBp zKyn9=k8HLJ(A^+A(SZm9JGu~q1kfC8fCFeE2*d#GHG#SnrVeH@j0TAdz$Brx3ebL0 cC>utjDFKJ22GHLsKnV~=_qPa8h#Ae_011U0kpKVy literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-102/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-102/cmd.json new file mode 100644 index 000000000..bb9a877ec --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-102/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w234", + "json": "0", + "words": "actions add action pedit ex munge ip6 src set any index 1" + }, + "cmd": "tc actions add action pedit ex munge ip6 src set any index 1", + "desc": "corner: opt=plain cmd=w234:actions_add_action_pedit_ex_munge_ip6_src_set_any_index_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": "tcact2write/ec-102", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-102/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-102/dump.out new file mode 100644 index 000000000..328da2462 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-102/dump.out @@ -0,0 +1,10 @@ +total acts 1 + + action order 0: pedit action pass keys 4 + index 1 ref 1 bind 0 + key #0 at ipv6+8: val 00000000 mask 00000000 + key #1 at ipv6+12: val 00000000 mask 00000000 + key #2 at ipv6+16: val 00000000 mask 00000000 + key #3 at ipv6+20: val 00000000 mask 00000000 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-102/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-102/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-102/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-102/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-102/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-102/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..61ba6b6ed2c7cdf6d1457ddd4031f26938d2ff51 GIT binary patch literal 376 zcmca|c+)~A1{MYcU}5+R&!kfVdzvC9?!5!Nb4=bFcv(22QXrNR|U=Itcs#x*>#t6=*ga5Hf;w zvH`_FfD*A9pnH*B3u7aPJ_pzqOo9hf2rMFiLtF$+Tm@*eC{zqaqbUK$xezdZRDcp7 Nj2=HAGnvui2LSzh9&i8v literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-103/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-103/cmd.json new file mode 100644 index 000000000..6b45e5250 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-103/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w234-len", + "json": "0", + "words": "actions add action pedit ex munge ip6 src set 2001:db8::1/64 index 1" + }, + "cmd": "tc actions add action pedit ex munge ip6 src set 2001:db8::1/64 index 1", + "desc": "corner: opt=plain cmd=w234-len:actions_add_action_pedit_ex_munge_ip6_src_set_2001:db8::1/64_index_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": "tcact2write/ec-103", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-103/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-103/dump.out new file mode 100644 index 000000000..0e6e49ce9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-103/dump.out @@ -0,0 +1,10 @@ +total acts 1 + + action order 0: pedit action pass keys 4 + index 1 ref 1 bind 0 + key #0 at ipv6+8: val 20010db8 mask 00000000 + key #1 at ipv6+12: val 00000000 mask 00000000 + key #2 at ipv6+16: val 00000000 mask 00000000 + key #3 at ipv6+20: val 00000001 mask 00000000 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-103/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-103/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-103/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-103/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-103/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-103/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..abb4ad2b4abf432eda5bae799c26139fcc72c69f GIT binary patch literal 376 zcmca|c+)~A1{MYcU}5+RtLq@Zb;^z%I@xf+ilqz}g_f xz}CP9bOAF^j*Wo{tb!6TP}uNJ;bkxZngqh=VWR>R0@}g|3Y*Fq5TB!m7XXxc94Y_+ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-103/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-103/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-103/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-103/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-103/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..6cf34058a8b705f5b25efce81d3e550a782735c2 GIT binary patch literal 576 zcmca|c+)~A1{MYcU}5+R&!kfVdzvC9?!5!Nb4=%Sm-M-^6uaO+k#2(U~DJ19T<|gK)DCDQ5<>V)( I0JSp!0O*1#$p8QV literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-104/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-104/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-104/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-104/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-104/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..579fb1d0fb89aabf5c604d8cb13d642b0bef894f GIT binary patch literal 408 zcmca|c+)~A1{MYcU}5+R&!kfVdzvC9?!5!Nb4=@rkNmJ3=A9$%wWBH zfaDG!AK7ddpu0hKq5}~Ic61>I37|RH00+=S5QqWVYXWsEOdZT*7!4F>{PX|+f0#Uo jRsq^C3Kf9S$nqdI$ltes{#F69K^WcNB0wQ#G=BpCaeE+% literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-105/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-105/cmd.json new file mode 100644 index 000000000..fe50253e2 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-105/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w236", + "json": "0", + "words": "actions add action pedit munge ip icmp_code set 3 index 1" + }, + "cmd": "tc actions add action pedit munge ip icmp_code set 3 index 1", + "desc": "corner: opt=plain cmd=w236:actions_add_action_pedit_munge_ip_icmp_code_set_3_index_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": "tcact2write/ec-105", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-105/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-105/dump.out new file mode 100644 index 000000000..8fb441902 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-105/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at 20: val 03000000 mask 00ffffff + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-105/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-105/ip.err new file mode 100644 index 000000000..78b532626 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-105/ip.err @@ -0,0 +1 @@ +Warning: act_pedit: Unsupported pedit command offload. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-105/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-105/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-105/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-105/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..810693e55759b26bb01e770b020c3a09631702f8 GIT binary patch literal 272 zcmca|c+)~A1{MYcU}5+R2xL70Js*#bntKmw3qz`)8j4X6$#=EK0q z-~q&3KwOZTl34=rA9(7fW(f`a^_lGGFhu#iG>er|4JUW!6~T3Swi JVhT_@0{|21C}scv literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-105/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-105/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-105/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-105/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-105/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..3b8553235094ea6efcfa0f89ccec608301ce9437 GIT binary patch literal 408 zcmca|c+)~A1{MYcU}5+RM11Mw!R1Y%KV-`pk0|N&GGg$8) zAh`p`M>g99=x&gm=s<*l9bJe)0%#64zyUN71Y&^pnn2wOQwK8{O#lD?A7p|EOcF|~ f0PPorvSBou5^z`+0R623lmKCLe}l|qM)NlSF+?Bh literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-106/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-106/cmd.json new file mode 100644 index 000000000..502afb31a --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-106/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w237-d", + "json": "0", + "words": "actions add action pedit munge ip d set 1 index 1" + }, + "cmd": "tc actions add action pedit munge ip d set 1 index 1", + "desc": "corner: opt=plain cmd=w237-d:actions_add_action_pedit_munge_ip_d_set_1_index_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": "tcact2write/ec-106", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-106/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-106/dump.out new file mode 100644 index 000000000..8cf2866b0 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-106/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at 0: val 00010000 mask ff00ffff + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-106/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-106/ip.err new file mode 100644 index 000000000..78b532626 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-106/ip.err @@ -0,0 +1 @@ +Warning: act_pedit: Unsupported pedit command offload. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-106/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-106/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-106/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-106/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..2ae7fd83b81ec2dbbe6d15d2018ba1a22b9c2573 GIT binary patch literal 272 zcmca|c+)~A1{MYcU}5+R ze{m+n^aP+7vYQNn1}7$$#Dm>pr4X7|Tv||&UsRHsq5u|BNY2mAP0UMC$WKel$xloH HYG(id1D`3g literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-106/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-106/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-106/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-106/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-106/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..cf9dff9da0e93cf6c54d09aedec5d662a2f320b5 GIT binary patch literal 408 zcmca|c+)~A1{MYcU}5+R&!kfVdzvC9?!5!Nb4=@&siW{3=A9$%wWBH zfaDG!AK7ddpu0hKq5}~Ic61>I37|RH00+=S5QqWVYXWsEOdZT*5dELw|9>o2F{l6q fMWGsCG)zB?2KoCQ(BCRR0T4#_w+K*(8O`4SemNmI literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-107/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-107/cmd.json new file mode 100644 index 000000000..9588f7b26 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-107/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w237-p", + "json": "0", + "words": "actions add action pedit munge ip p set 1 index 1" + }, + "cmd": "tc actions add action pedit munge ip p set 1 index 1", + "desc": "corner: opt=plain cmd=w237-p:actions_add_action_pedit_munge_ip_p_set_1_index_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": "tcact2write/ec-107", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-107/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-107/dump.out new file mode 100644 index 000000000..8cf2866b0 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-107/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 1 ref 1 bind 0 + key #0 at 0: val 00010000 mask ff00ffff + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-107/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-107/ip.err new file mode 100644 index 000000000..78b532626 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-107/ip.err @@ -0,0 +1 @@ +Warning: act_pedit: Unsupported pedit command offload. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-107/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-107/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-107/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-107/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..8be12bd86914fcd9fe1dfb8475a33b82ce9b56a7 GIT binary patch literal 272 zcmca|c+)~A1{MYcU}5+R2xL70Js*#bntKmw3qz`)8j4X6$#=EK0q z-~q&3KwOZTl34|X=4KLe-+gwgGf017cNFffDc zzcv$MdIC@k*-eH(gA&!kfVdzvC9?!5!Nb4=U8$=k`8rXn3nSml~ k3`}5gkh|pBIT=iVJP<~AmkLk_sFD%nu4gkLwxYWg0J1F_KL7v# literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-108/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-108/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-108/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-108/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-108/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..32360ccbd7f778d7a22529e22ffb62fe2da703df GIT binary patch literal 444 zcmZutu?@m75WL`!1Qa2PAZ36|5T#&%H1xDc6i^@_*xm>4JKwH$&3|jAj|{O-A*aqiq!?IQ*@Wss z!$0KcQ#;}bY-dDHs5sM|*v0bglULlfs&i4WWAY_B@8%V2H+$};U@Y@@laVssZa!<~ BARPbz literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-109/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-109/cmd.json new file mode 100644 index 000000000..0d0714bbd --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-109/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w243", + "json": "0", + "words": "actions add action pedit munge ip ttl set 1 index 5 pipe" + }, + "cmd": "tc actions add action pedit munge ip ttl set 1 index 5 pipe", + "desc": "corner: opt=plain cmd=w243:actions_add_action_pedit_munge_ip_ttl_set_1_index_5_pipe", + "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": "tcact2write/ec-109", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-109/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-109/dump.out new file mode 100644 index 000000000..60eac190f --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-109/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: pedit action pass keys 1 + index 5 ref 1 bind 0 + key #0 at 8: val 01000000 mask 00ffffff + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-109/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-109/ip.err new file mode 100644 index 000000000..78b532626 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-109/ip.err @@ -0,0 +1 @@ +Warning: act_pedit: Unsupported pedit command offload. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-109/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-109/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-109/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-109/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..59b37c5475c6fb95008927381bdc4178165d4253 GIT binary patch literal 316 zcmca|c+)~A1{MYcU}5+R9!{V+>50i8V;E$B z=12g=V1OCM0Ma10E&;kV1IPwpbhkzTg@8JlL2lKV4Yrj5-Tj6@yMR{3gWYYV5Smw9 hT2PQ*RFaya02We6&d<$F%u7+oPfN?mPfP(>0|3b{Ewcas literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-109/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-109/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-109/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-109/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-109/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..194cbe2f1179bc6f15ab902f19641213a5a1d83c GIT binary patch literal 408 zcmca|c+)~A1{MYcU}5+RM11Mw!R1Y$9>1>cL1_llWX0YBp zKyn9=k8HLJ(A^+A(SZm9JGu~q1kfC8fCFeE2*d#GH34E)BtQgDh8v`lz_uB8t88ouzDbY7M3DFA!amx0|3YqAI<;( literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-110/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-110/cmd.json new file mode 100644 index 000000000..ab136a76d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-110/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w249", + "json": "0", + "words": "actions add action pedit ex munge ip6 src add ::1 index 1" + }, + "cmd": "tc actions add action pedit ex munge ip6 src add ::1 index 1", + "desc": "corner: opt=plain cmd=w249:actions_add_action_pedit_ex_munge_ip6_src_add_::1_index_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": "tcact2write/ec-110", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-110/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-110/dump.out new file mode 100644 index 000000000..251ec981f --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-110/dump.out @@ -0,0 +1,10 @@ +total acts 1 + + action order 0: pedit action pass keys 4 + index 1 ref 1 bind 0 + key #0 at ipv6+8: add 00000000 mask 00000000 + key #1 at ipv6+12: add 00000000 mask 00000000 + key #2 at ipv6+16: add 00000000 mask 00000000 + key #3 at ipv6+20: add 00000001 mask 00000000 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-110/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-110/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-110/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-110/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-110/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-110/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..7397b04203a8e4ad235ccb57931d64903fad050e GIT binary patch literal 376 zcmca|c+)~A1{MYcU}5+RKV`E?fyM+=lP}pby!^Q+?9tfj{jS5hRiGhI;6gIlEAwEYBF948e83q6V literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-110/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-110/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-110/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-110/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-110/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..037cd02ac3d84c867fbe25fdfba38fd69acc31b2 GIT binary patch literal 576 zcmca|c+)~A1{MYcU}5+R_i754D9Ga3=%+dumK(hPOvaYmIG)y2>bxLA%uYyXf_)VGJ;g=J2U7?vB7j|-Q3Op~1!%JMfD#~# M9zP&6nbG100LnQXBLDyZ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-111/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-111/cmd.json new file mode 100644 index 000000000..71590f9ba --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-111/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w249-eth", + "json": "0", + "words": "actions add action pedit ex munge eth dst add 00:00:00:00:00:01 index 1" + }, + "cmd": "tc actions add action pedit ex munge eth dst add 00:00:00:00:00:01 index 1", + "desc": "corner: opt=plain cmd=w249-eth:actions_add_action_pedit_ex_munge_eth_dst_add_00:00:00:00:00:01_index_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": "tcact2write/ec-111", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action pedit", + "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/tcact2write/ec-111/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-111/dump.out new file mode 100644 index 000000000..7cba86332 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-111/dump.out @@ -0,0 +1,8 @@ +total acts 1 + + action order 0: pedit action pass keys 2 + index 1 ref 1 bind 0 + key #0 at eth+0: add 00000000 mask 00000000 + key #1 at eth+4: add 00010000 mask 0000ffff + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-111/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-111/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-111/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-111/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-111/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-111/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..559285bfe2d63a4b885a32ecdf596bdb46bf3b74 GIT binary patch literal 288 zcmca|c+)~A1{MYcU}5+RG+tPLUzYz=HcNsyUr m3`}4en;6IsjX*z`0M&sox*t@4LO?e#g8X1K8{$HAe*plOLmDLj literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-111/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-111/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-111/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-111/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-111/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..934bfd90507eac86e2976df4de5d306e8d7c3b1e GIT binary patch literal 488 zcmca|c+)~A1{MYcU}5+R&!kfVdzvC9?!5!Nb4=|Gl5ORMg0E{(u5rHAeAaWK@q4H7>#ZMC>-Ad!%+pS9!Q|Y4M-m| HS~vm#=$RiP literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-112/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-112/cmd.json new file mode 100644 index 000000000..9db49eb61 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-112/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "tk", + "json": "0", + "words": "actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 dst_port 4789 tos 0x10 ttl 64 index 1" + }, + "cmd": "tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 dst_port 4789 tos 0x10 ttl 64 index 1", + "desc": "positive: opt=plain cmd=tk:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_7_dst_port_4789_tos_0x10_ttl_64_index_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": "tcact2write/ec-112", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action tunnel_key", + "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/tcact2write/ec-112/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-112/dump.out new file mode 100644 index 000000000..cb6d85b7c --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-112/dump.out @@ -0,0 +1,13 @@ +total acts 1 + + action order 0: tunnel_key set + src_ip 10.0.0.1 + dst_ip 10.0.0.2 + key_id 7 + dst_port 4789 + csum + tos 0x10 + ttl 64 pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-112/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-112/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-112/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-112/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-112/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-112/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..75e173939b7dff5e073a73c3ebc4d6f319cbc4c7 GIT binary patch literal 256 zcmca|c+)~A1{MYcU}5+RR0?vV(`<+- H=97IHiSgsa} zY(AZ3YaoP61v%tR0?uy`y7ZV=Ir|9lix6)f4zuPW+5=PO0>WS{vY|r?FF3N!YF&6RM2lE&R;z3| zUu0V#flmcFSf`PJ7AgQ_c`ORs;Cpq9(J zjZx3@9p~tkvrEvO?IMl~|Jb0ye`#D*Q-)^{xtbrbN9P7s7yd)Kneu^UYhYRX8gXAk N3WB>Yy$hUueE~zCBennl literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-114/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-114/cmd.json new file mode 100644 index 000000000..dc83c191d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-114/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "tk", + "json": "0", + "words": "actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 nocsum nofrag index 1" + }, + "cmd": "tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 nocsum nofrag index 1", + "desc": "positive: opt=plain cmd=tk:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_7_nocsum_nofrag_index_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": "tcact2write/ec-114", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action tunnel_key", + "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/tcact2write/ec-114/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-114/dump.out new file mode 100644 index 000000000..b43e48def --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-114/dump.out @@ -0,0 +1,10 @@ +total acts 1 + + action order 0: tunnel_key set + src_ip 10.0.0.1 + dst_ip 10.0.0.2 + key_id 7 + nocsum nofrag pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-114/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-114/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-114/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-114/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-114/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-114/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..2f4e76a778a7b3d3149a5bf499f63a864407e42b GIT binary patch literal 236 zcmca|c+)~A1{MYcU}5+R83Q&j%Xgz$GjHGQ<28@_HH1ND25%OpWm?T{z=F8|6HOJIshA*$&V1*%904+7MC=cBUG6qj zc?1%KWMCoP6?F{>!Pk9R-4N0ZE_wjOi0tf>zG3a_&$++;^({l+r;t$z`)8j9jFc_7Qw*C z5CX*fKwMIqmzSCopPgFCz~I2Z)WE^O%)rIKz{ml#3rI6@FtCHPv9p4BKp?}w1k?oq l%upIcfy6*=SqyZG36KrK=x$K~3NZndg51(K2Vx4k`vAzQ7X|q+;?3eT9~7GxFymc77)+F!P%(xVoY~iKDLf>^kl60l>wL8+ z@;wm4Cj$%V9;o{z9NnkY^&#EvMN@!5VB1Tc57w^!l>YUv8wnzpLQ1WF5u;~my&ClG zeM#S=+Pet7HNPmENIc$NlzCI literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-116/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-116/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-116/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-116/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-116/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..97b11f1e99e5ac0aec6c56c7155979d69e8d6cf1 GIT binary patch literal 428 zcmca|c+)~A1{MYcU}5+Ru14TvD2smzoowom$Djz{9`<6kz~kkhxQU=KcWkK^WcK7eFB+pn8zGVsk;d7#KJh zn8A9_0Lc?TKDzlXK=*^}MF%1b?C3%a57|K$?kzfgPlcU4em{K?bOv4Tu?; z7#LU?m>3#>5+L;q9SlmWAk{!10~BWjvlu`!Z~zhmx%C&&ttLP=2&21I1tNUxpM(dmF*pM1<( Xk>|83PVMW(ef3ER?!Kh+oqhcPw_qaw literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-118/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-118/cmd.json new file mode 100644 index 000000000..a287709ba --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-118/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "tk", + "json": "0", + "words": "actions add action tunnel_key set src_ip 2001:db8::1 dst_ip 2001:db8::2 id 8 geneve_opts 0102:80:00880022,0103:81:00a000b0,0104:82:0011223344556677 index 1" + }, + "cmd": "tc actions add action tunnel_key set src_ip 2001:db8::1 dst_ip 2001:db8::2 id 8 geneve_opts 0102:80:00880022,0103:81:00a000b0,0104:82:0011223344556677 index 1", + "desc": "positive: opt=plain cmd=tk:actions_add_action_tunnel_key_set_src_ip_2001:db8::1_dst_ip_2001:db8::2_id_8_geneve_opts_0102:80:00880022,0103:81:00a000b0,0104:82:0011223344556677_index_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": "tcact2write/ec-118", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action tunnel_key", + "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/tcact2write/ec-118/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-118/dump.out new file mode 100644 index 000000000..e57f9a91b --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-118/dump.out @@ -0,0 +1,11 @@ +total acts 1 + + action order 0: tunnel_key set + src_ip 2001:db8::1 + dst_ip 2001:db8::2 + key_id 8 + geneve_opts 0102:80:00880022,0103:81:00a000b0,0104:82:0011223344556677 + csum pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-118/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-118/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-118/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-118/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-118/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-118/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..137ddbdc9fe38b3cd4a5a5e1b17a9e02ea97e566 GIT binary patch literal 348 zcmca|c+)~A1{MYcU}5+R*e z3@3n?ABamz^YT)2;7rgj9o(0 z%2^q>fFcY)^O=AuApj@~2Ou$!|7C*N8BBm|5JvaE3Q!2>EJl$3pU#Dt@&G7?93}vy C_#-F) literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-118/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-118/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-118/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-118/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-118/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..7bcafc50755c21f22133a57d0ee66100646f4255 GIT binary patch literal 544 zcmZvZF;7A<6opUw9`MA6hNJ_7gCQjDxG*@7$bcIIY#1h3AWRx#;-F6c1D%Nc1LEZF zA8_#Rn0QWk4W#iV=e7NM?`hxd&)3J=BE>FJ{BrR+Jer?9RMF>LLYj0mgwUc5le{r6 zum%hqbxhsdE|=5AWInwIa##|0$@h}J3j!(j9h0@0FW>8x5`YYeuk9Lx3!>P+$NTHt zI2p=ij`?NpW`p?S)e`W?TQvp@dUY`&3R5#-SWDTPl2qIK+TX zWy)Bv+TxLg`cJ%|={cw3Pl3N<<2j#7{Fyvge!Y3#8_n)o^m1g1Fm6}7uX=yQ-nWRP Mxc90{=)K?jKbR{h0ssI2 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-119/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-119/cmd.json new file mode 100644 index 000000000..347a509f0 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-119/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "tk", + "json": "0", + "words": "actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 9 vxlan_opts 4660 index 1" + }, + "cmd": "tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 9 vxlan_opts 4660 index 1", + "desc": "positive: opt=plain cmd=tk:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_9_vxlan_opts_4660_index_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": "tcact2write/ec-119", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action tunnel_key", + "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/tcact2write/ec-119/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-119/dump.out new file mode 100644 index 000000000..06ec4d4e0 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-119/dump.out @@ -0,0 +1,11 @@ +total acts 1 + + action order 0: tunnel_key set + src_ip 10.0.0.1 + dst_ip 10.0.0.2 + key_id 9 + vxlan_opts 4660 + csum pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-119/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-119/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-119/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-119/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-119/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-119/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..7ef20e72a8871dbc445f70b8199f563a0a5a2970 GIT binary patch literal 248 zcmca|c+)~A1{MYcU}5+Rv7gD?XNvjvEPff^vgfPs~522dSLEQ5iO zAq9x}fw-hJFE2GGK0CFNfgyl_seyxmnSqOefsq4f7m#M+U|R0?w2%efF!(A^6Fak3h! literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-119/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-119/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-119/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-119/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-119/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..a71d5df5b31793c0a23b3cac67d04dc90966d4ec GIT binary patch literal 452 zcmZutOAY}+5PkCzZ3rSGv9O#Ih=l`Ku(y|x*%+DCSU3qQi7U8*g$p=*K{Nu zmAtO5S5>d8>wdkQL&W%5j2DB$qFu~y31++th@**|GX*0A(UEnI8z4YRbckwKmicyB zrXkq-t{d--KQ|1)<0{ZVQFOz z5__*W$M8G52<6->^5&!8(0uF&4CkN^Yv2AZn)dI8UE>~*(f1`pbN&uy N^gsAsbRctq9 zaR6fYWY9pmHFZ-Gf~#xE21X8`T|kCg@T|!;CTcn!WR%Y6ov<&Q9J;FC1Iwe zX>wtcxxJm+ncM9BdOG?D&_sX_i`}F} z7Ss7`1H|yjpoDxM^vy^Ju5X`Q!G8Ik4{87`OsReIe6e=@N1R{(x{;veQb_6bFJiPy zTCWzJ^1kI9gWv2T^j80(Y%Bjr^HJeh&cW=5KYfOXdV`QEpZy{4(uM5PWI3yZSyAVz TYEJFz$$jOd1b1K38E0Q#_mLy8 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-122/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-122/cmd.json new file mode 100644 index 000000000..9fb694f59 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-122/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "tk", + "json": "0", + "words": "actions add action tunnel_key unset drop index 1" + }, + "cmd": "tc actions add action tunnel_key unset drop index 1", + "desc": "positive: opt=plain cmd=tk:actions_add_action_tunnel_key_unset_drop_index_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": "tcact2write/ec-122", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action tunnel_key", + "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/tcact2write/ec-122/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-122/dump.out new file mode 100644 index 000000000..27eb036a9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-122/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: tunnel_key unset drop + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-122/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-122/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-122/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-122/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-122/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-122/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..b05c78af420d374969369f3190c857335e5e03f5 GIT binary patch literal 208 zcmca|c+)~A1{MYcU}5+RvXkjBBZCQ$4Z`Sl TssM$6>KH+GI?jifg6<9go%t5m literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-122/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-122/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-122/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-122/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-122/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..04d1045865476a13ba1c17ea9770487915b2fd04 GIT binary patch literal 404 zcmca|c+)~A1{MYcU}5+Ru14TvD2smzoowom$Djz{9`<6kz~kkh$eRa~}ZtAdGJA1)z`-P(8@po%2Du7#KJh zn8A9t0LcwNKDzlXK=*^}MF%1b?C3%a5 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-123/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-123/cmd.json new file mode 100644 index 000000000..b95a83299 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-123/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "tk", + "json": "0", + "words": "actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 pipe index 1" + }, + "cmd": "tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 pipe index 1", + "desc": "positive: opt=plain cmd=tk:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_7_pipe_index_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": "tcact2write/ec-123", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action tunnel_key", + "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/tcact2write/ec-123/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-123/dump.out new file mode 100644 index 000000000..ce9ca4220 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-123/dump.out @@ -0,0 +1,10 @@ +total acts 1 + + action order 0: tunnel_key set + src_ip 10.0.0.1 + dst_ip 10.0.0.2 + key_id 7 + csum pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-123/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-123/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-123/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-123/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-123/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-123/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..b8c9eb834c2cd63ea11b2b57451cecfacedb5b88 GIT binary patch literal 232 zcmca|c+)~A1{MYcU}5+R__r69L>%!inQ?mhqklNP%G literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-123/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-123/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-123/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-123/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-123/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..ef47e98a28ad2dd7599f4bbc93e71595aa8495e0 GIT binary patch literal 436 zcmZutu?@m75WLulVo(H4kWx@)07R7mC>VgAhExeuP_PM9h!t1?2B63wbW}*(JF$W+ zUOK=3{C_@ubH7~`Li7>h!{W3WRqr~&l6L_@T}W~v#T$Z<7#M z9C$lBZ)V=k&hvIY`3TWkh!2Cqa9r42fd5-R7Is zI^P35_+(%q-3xU`Bm`GiMN`&G_i5y~~M$eT(()_m;n4CkQtqq;xh&%dmT(6>Hg_n5J)@m18G+Rv5y$w&$A KeiBlFv!5Rlvn101 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-125/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-125/cmd.json new file mode 100644 index 000000000..58c257794 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-125/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "tk", + "json": "0", + "words": "actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 4294967295 dst_port 65535 index 1" + }, + "cmd": "tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 4294967295 dst_port 65535 index 1", + "desc": "boundary: opt=plain cmd=tk:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_4294967295_dst_port_65535_index_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": "tcact2write/ec-125", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action tunnel_key", + "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/tcact2write/ec-125/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-125/dump.out new file mode 100644 index 000000000..f530f3002 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-125/dump.out @@ -0,0 +1,11 @@ +total acts 1 + + action order 0: tunnel_key set + src_ip 10.0.0.1 + dst_ip 10.0.0.2 + key_id 4294967295 + dst_port 65535 + csum pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-125/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-125/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-125/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-125/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-125/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-125/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..4be088c8dc571bd438048226fe8108e7001f24cb GIT binary patch literal 240 zcmca|c+)~A1{MYcU}5+Rp-J#D-TA#e5<$(s5#L;P{V)AYgYcd1p^K&R13IW-mmhRxrqJ!LO5?jmk$>OCtLsk literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-126/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-126/cmd.json new file mode 100644 index 000000000..3be5a383d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-126/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w255", + "json": "0", + "words": "actions add action tunnel_key s src_ip 10.0.0.1 d 10.0.0.2 i 7 t 1 n index 1" + }, + "cmd": "tc actions add action tunnel_key s src_ip 10.0.0.1 d 10.0.0.2 i 7 t 1 n index 1", + "desc": "corner: opt=plain cmd=w255:actions_add_action_tunnel_key_s_src_ip_10.0.0.1_d_10.0.0.2_i_7_t_1_n_index_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": "tcact2write/ec-126", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action tunnel_key", + "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/tcact2write/ec-126/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-126/dump.out new file mode 100644 index 000000000..454f224b1 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-126/dump.out @@ -0,0 +1,11 @@ +total acts 1 + + action order 0: tunnel_key set + src_ip 10.0.0.1 + dst_ip 10.0.0.2 + key_id 7 + nocsum + tos 0x1 pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-126/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-126/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-126/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-126/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-126/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-126/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..8881ce327e0b0d53785e0883a5ec0102d29f45e2 GIT binary patch literal 240 zcmca|c+)~A1{MYcU}5+R3GUPqgF>^a_UlH0)f28?%Be0x>8>VRW~t0EL)00IJ%hHLJ z=Js}WcW!T=k9*_7$6!9b46cW1`B?&c-UayHR<1V%IUMiCx}HnnAR%T%eXgqFbS#St z5W^({1L?XeU`|4?bybwJUb^c>1waVT^uBq%7~A?g&aZcEOE9u2q}2LnF(N}N8)9tk zHRsrLvx`u!e?>lQ^+%eI9ZtwO=-r^}5BPI_6#*uO$=JPMEbDz64X5@Ku_+@Z*!xLH HdDeb@+s__x literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-128/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-128/cmd.json new file mode 100644 index 000000000..e720b9e31 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-128/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w259-8", + "json": "0", + "words": "actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 geneve_opts 0102:80:00112233 index 1" + }, + "cmd": "tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 geneve_opts 0102:80:00112233 index 1", + "desc": "corner: opt=plain cmd=w259-8:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_7_geneve_opts_0102:80:00112233_index_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": "tcact2write/ec-128", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action tunnel_key", + "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/tcact2write/ec-128/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-128/dump.out new file mode 100644 index 000000000..de72f3cf6 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-128/dump.out @@ -0,0 +1,11 @@ +total acts 1 + + action order 0: tunnel_key set + src_ip 10.0.0.1 + dst_ip 10.0.0.2 + key_id 7 + geneve_opts 0102:80:00112233 + csum pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-128/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-128/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-128/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-128/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-128/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-128/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..309cf21d9023a85b280007d71e0137cb5e91bd58 GIT binary patch literal 264 zcmca|c+)~A1{MYcU}5+R7|K$?kzfgPlcU4em{K?bOv4Tu?; z7#LU?m>3#>5+L;qf=b4$Ak{!10~BWjvlu`!Z~zhmxz!cuRudo_gwfrq0u%xo%?NVq L<^>Q_(A^IJ844M? literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-128/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-128/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-128/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-128/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-128/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..1aed4f0109cdadc204218c1c7e2c069504037cfb GIT binary patch literal 468 zcmZutD-Oa?5S-T*TA<;RR8&+nO&tyl2S9KDJgN$U0)azt04%s(fh%wY4uZgvFw@eI zys*i<-JRW?x7o-2Ryy$TGY@Yjmt}wLpMeEq0iHXPYfQ-m#=Wwy;bIs>#DLiCx7%W~ zS{DZ(ghK`uq?=GTB_Y_lLvj=LOLttV0SMqi(Tnes-qxRUfBkD)1mC6*Q|q6F=v1_- z0lHOu;vUI&cM+;JzsLu*zOVf_VFK2aZ0BeZAw`d$NtBRM7aby?=SZIK^< z3fema7y-(07pr!NWGq@BMnbILy9ci>s7mf3@FNhX45hEEOB@ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-129/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-129/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-129/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-129/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-129/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..091ee084ca495fc514788a313310e50f5b4d44fe GIT binary patch literal 452 zcmZutyA8rX41M{aTmS(=L85>z6GRjYK*0d?R8&Esfr2fdgbqev1y*1H3bsH>`w_UXeFH{Ydk%!!w+N-fxusJ+$oK4Z9|NAf+Ejh*tSuRG-?fw-hJFE2GGK0CFNfx&`-seyxmnSqOefsq4f7m#LR1(J+FjWP^OU>alwGt3|$ l%>=|CHz?JzF_-|^AdKz?6`&AM9V5sMKNo^bV_-mc7Xa0}7w-T7 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-130/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-130/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-130/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-130/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-130/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..cc1a948352534b084b409b3631b455b02e6109ca GIT binary patch literal 404 zcmca|c+)~A1{MYcU}5+Ru14TvD2smzoowom$Djz{9`<6kz~kkhz9Ha~}ZtAdGJA1)z`-P(8@p%0(bu3=A9$ z%wWA+faC@sAKiQxp!-4gq5}~Ic61>I37}cn01pEvSQsSB!N3J(y8zuG1H`OQ4Inv~ mElfbR3XmrXm4nexE}R1S*AnPo6|j0BffkM;Kp|!{{{jHR&>&O* literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-132/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-132/cmd.json new file mode 100644 index 000000000..c823845ab --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-132/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w274", + "json": "0", + "words": "actions add action ife encode type 0xED3E dst 02:00:00:00:00:01 src 02:00:00:00:00:02 use mark 7 index 1" + }, + "cmd": "tc actions add action ife encode type 0xED3E dst 02:00:00:00:00:01 src 02:00:00:00:00:02 use mark 7 index 1", + "desc": "positive: opt=plain cmd=w274:actions_add_action_ife_encode_type_0xED3E_dst_02:00:00:00:00:01_src_02:00:00:00:00:02_use_mark_7_index_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": "tcact2write/ec-132", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action ife", + "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/tcact2write/ec-132/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-132/dump.out new file mode 100644 index 000000000..cf0ee7881 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-132/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: ife encode action pipe type 0XED3E + use mark 7 dst 02:00:00:00:00:01 src 02:00:00:00:00:02 + index 1 ref 1 bind 0 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-132/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-132/ip.err new file mode 100644 index 000000000..94b1ac954 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-132/ip.err @@ -0,0 +1,3 @@ +IFE type 0xED3E +dst MAC address <02:00:00:00:00:01> +src MAC address <02:00:00:00:00:02> diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-132/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-132/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-132/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-132/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..2c8d5c74f5e3ca52a6a87fc3386f19b52d7dfefc GIT binary patch literal 236 zcmca|c+)~A1{MYcU}5+R;1}?C00nknvpji+b8NjMxY!Iyilox>-0He{( z;{xhp0to^&Z~@&0W&;T}237{Uw+z5=U;~E<$aSD_cmxaw6(Adg(Zc~`2go$!Z~y?` CJRc7L literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-133/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-133/cmd.json new file mode 100644 index 000000000..0a8021eb3 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-133/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w275", + "json": "0", + "words": "actions add action ife encode allow mark allow prio allow tcindex index 1" + }, + "cmd": "tc actions add action ife encode allow mark allow prio allow tcindex index 1", + "desc": "positive: opt=plain cmd=w275:actions_add_action_ife_encode_allow_mark_allow_prio_allow_tcindex_index_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": "tcact2write/ec-133", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action ife", + "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/tcact2write/ec-133/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-133/dump.out new file mode 100644 index 000000000..4ee68c1c4 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-133/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: ife encode action pipe type 0XED3E + allow mark allow tcindex allow prio + index 1 ref 1 bind 0 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-133/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-133/ip.err new file mode 100644 index 000000000..301050e59 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-133/ip.err @@ -0,0 +1 @@ +IFE type 0xED3E diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-133/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-133/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-133/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-133/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..f80b7571d76d0be6def0570331fa7c42c51fffde GIT binary patch literal 208 zcmca|c+)~A1{MYcU}5+RorDgD?XNvjvEPfe;|WfPs~5Hc%Z*%z=TC z!3KyqfH*TP6)4ZtAOmDGLKQH>6as0Gm;eJC&}K#;W(Hzbu$?P_cA5a?Kp5Rl6`&9k PP%FsJz{L<#(cJ+6T(A_B literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-133/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-133/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-133/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-133/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-133/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..99653cf7c8e53772c79b5d2e063aa0cf784f9dde GIT binary patch literal 400 zcmca|c+)~A1{MYcU}5+RJlL70Js*#bntfB}$U#K6cr8>kK@CcwbR zzyrh_K%AMD3S=_@SqxwdGA|rx-V-1ngwf5r0u(X=st1{OYB5L`1JE31u-+X&atoLb zG1mp?UJfx{MKsnSq!U9EPz#KdXSv0TO6oC;}8>M)NZOXfYgQ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-134/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-134/cmd.json new file mode 100644 index 000000000..c3574abdb --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-134/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ife", + "json": "0", + "words": "actions add action ife encode use prio 5 use tcindex 3 index 1" + }, + "cmd": "tc actions add action ife encode use prio 5 use tcindex 3 index 1", + "desc": "positive: opt=plain cmd=ife:actions_add_action_ife_encode_use_prio_5_use_tcindex_3_index_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": "tcact2write/ec-134", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action ife", + "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/tcact2write/ec-134/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-134/dump.out new file mode 100644 index 000000000..14d62e918 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-134/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: ife encode action pipe type 0XED3E + use tcindex 3 use prio 5 + index 1 ref 1 bind 0 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-134/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-134/ip.err new file mode 100644 index 000000000..301050e59 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-134/ip.err @@ -0,0 +1 @@ +IFE type 0xED3E diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-134/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-134/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-134/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-134/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..0c08a14fc780897b05047f48f9b3199516308f89 GIT binary patch literal 212 zcmca|c+)~A1{MYcU}5+RWXJ%rL70Js*#bntKm?Fsz`)8j8>kK@=EA_p z-~hxNK%AMD%3#94)F1<7GeQ+G!xRE(keCPq8&EAX11pft1|&i9AbX90_L>0MAdGIW T3Q&j%s2yZ)*kXvu=xzZ3h~*M| literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-134/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-134/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-134/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-134/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-134/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..a6a0f6fc497af3c056bcaf1dc8e540d0ce5a63f1 GIT binary patch literal 404 zcmca|c+)~A1{MYcU}5+R%mAkQm5jkiYi={jCCIgD|?kL1r?e`5OSLf*y4M literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-135/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-135/cmd.json new file mode 100644 index 000000000..8d27bd8f3 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-135/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ife", + "json": "0", + "words": "actions add action ife decode index 1" + }, + "cmd": "tc actions add action ife decode index 1", + "desc": "positive: opt=plain cmd=ife:actions_add_action_ife_decode_index_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": "tcact2write/ec-135", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action ife", + "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/tcact2write/ec-135/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-135/dump.out new file mode 100644 index 000000000..1bbb497bd --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-135/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: ife decode action pipe type 0 + allow mark allow tcindex allow prio + index 1 ref 1 bind 0 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-135/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-135/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-135/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-135/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-135/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-135/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..6fc7990624388657f59e1309749587c8468c4b98 GIT binary patch literal 192 zcmca|c+)~A1{MYcU}5+R{fPs~5Hc%Z*%z%NB zK?jIAfH*TPl|g}lsX+$FW`rtWhAD*7AUiyOc9;P9AdGH@3Q&lNfq@ZZNAhBbDd_eB E0QLeCBLDyZ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-135/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-135/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-135/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-135/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-135/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..325daafd2d7e0be189fc50be2a5c56c13f5fbd54 GIT binary patch literal 400 zcmca|c+)~A1{MYcU}5+RK1t??$R1Y%m=3;1}?C04A4#)pji+b8NjMxY>)yKpu7mw02mGB o!YMWeRxn$Dfeq*~Mj&PeVpeb%CIS7d0+a<|bU%a4V@C5c0D=}B=>Px# literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-136/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-136/cmd.json new file mode 100644 index 000000000..d81edda62 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-136/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ife", + "json": "0", + "words": "actions add action ife encode allow mark drop index 1" + }, + "cmd": "tc actions add action ife encode allow mark drop index 1", + "desc": "positive: opt=plain cmd=ife:actions_add_action_ife_encode_allow_mark_drop_index_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": "tcact2write/ec-136", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action ife", + "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/tcact2write/ec-136/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-136/dump.out new file mode 100644 index 000000000..3bd16395d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-136/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: ife encode action drop type 0XED3E + allow mark + index 1 ref 1 bind 0 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-136/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-136/ip.err new file mode 100644 index 000000000..301050e59 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-136/ip.err @@ -0,0 +1 @@ +IFE type 0xED3E diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-136/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-136/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-136/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-136/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..eaceda5247a8c298c8e050850b25c2fca8044d7a GIT binary patch literal 200 zcmca|c+)~A1{MYcU}5+RAlVpL8SLJI+{*@Z86!CCegXZe0#pLR=zay6!;I!v06^v*AOHXW literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-137/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-137/cmd.json new file mode 100644 index 000000000..8b137bdc5 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-137/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ife", + "json": "0", + "words": "actions add action ife encode use mark 4294967295 use tcindex 65535 index 1" + }, + "cmd": "tc actions add action ife encode use mark 4294967295 use tcindex 65535 index 1", + "desc": "boundary: opt=plain cmd=ife:actions_add_action_ife_encode_use_mark_4294967295_use_tcindex_65535_index_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": "tcact2write/ec-137", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action ife", + "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/tcact2write/ec-137/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-137/dump.out new file mode 100644 index 000000000..90f5077d3 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-137/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: ife encode action pipe type 0XED3E + use mark 4294967295 use tcindex 65535 + index 1 ref 1 bind 0 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-137/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-137/ip.err new file mode 100644 index 000000000..301050e59 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-137/ip.err @@ -0,0 +1 @@ +IFE type 0xED3E diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-137/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-137/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-137/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-137/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..c1169bc19343fe84704eb78121cc1130fcbeb3b3 GIT binary patch literal 212 zcmca|c+)~A1{MYcU}5+R;1}?C00?0He{( rV`E@tuzSk@bQ2rc@Be`SB=-M5Bpe?A{jCBv3rL`aqXkK@X28J6 zpaaAlK%AMD%Aml&)F1<7vqBXx!xTbkkR8TAJ4}Fl5JtB{1t`SCz`zKyW8)G=kO~HL FdjV`?5-k7# literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-138/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-138/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-138/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-138/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-138/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..b04cc1afdf90cff3444fbcade74aa625804bb905 GIT binary patch literal 400 zcmca|c+)~A1{MYcU}5+RkK@CcwbR zzyrh_K%AMD3S=_@SqxwdGEW+4-V-1ngwf5r0u(X=st1{;xfG;}0cZ|0Snm!XxdqIJ znCk*`uLxKMtPD9lEx^DAbQvQMGXpUzI1CkmepUgh1YvYPgUn+_^D_XqZ5l-Y literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-139/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-139/cmd.json new file mode 100644 index 000000000..5e5a65fa1 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-139/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w269", + "json": "0", + "words": "actions add action ife ife i decode index 1" + }, + "cmd": "tc actions add action ife ife i decode index 1", + "desc": "corner: opt=plain cmd=w269:actions_add_action_ife_ife_i_decode_index_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": "tcact2write/ec-139", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action ife", + "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/tcact2write/ec-139/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-139/dump.out new file mode 100644 index 000000000..1bbb497bd --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-139/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: ife decode action pipe type 0 + allow mark allow tcindex allow prio + index 1 ref 1 bind 0 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-139/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-139/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-139/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-139/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-139/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-139/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..4365e037759b240fec60be72f678e7944dac3191 GIT binary patch literal 192 zcmca|c+)~A1{MYcU}5+R{fPs~5Hc%Z*%z%NB zK?jIAfH*TPl|g}lsX+$FW`rtWhAD*7AUkFQ?JxoIK^WZ*6`&9k0|O(-j{Qp@rl8vk E09O7KM*si- literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-139/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-139/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-139/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-139/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-139/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..fa41a2ecf94e71d6c59dd6b36d25459185020d62 GIT binary patch literal 400 zcmca|c+)~A1{MYcU}5+RkK@CcwbR zzyrh_K%AMD3S=_@SqxwdGOrG3-V-1ngwf5r0u(X=st1{8z7(X30cZ|0Snm!XxdqIJ znCk*`uLxKMtPDB!5C@%sv07gT( oaEgtA70ec3U<1005r~ +IFE type 0x1234 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-140/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-140/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-140/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-140/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..c1510ddd6531f06800d65a5e2c7709345391f2e3 GIT binary patch literal 220 zcmca|c+)~A1{MYcU}5+RGfj e_L~5uK^WbB6`&AMFC)nQqe~z*Bml*b-2?!1T^0%e literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-140/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-140/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-140/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-140/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-140/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..327173dab6cf6d74a61088cc3e4c7bf2d9bc32b2 GIT binary patch literal 404 zcmca|c+)~A1{MYcU}5+R&)@)LgD?XNvjvEP0Rtezh=GxLHc%Z*On`xr zfd_~=fH*TP706}+vKYV^WZoU1c`tx`5Jore22jWds2*gV?NX2~2B102V7+^Q;1}?C00?-0He{( s;{xhp0to^&uraVQmX+0 zbby!xh%?ht859_p8f1WMMyNb9Od*s8*`W@!!vx3&VRSoGfI>_R42&QB!5C@%~(07gT( paEgtA70ec3U<1005r~$-0A)cK-OnOGA!al`0|4;j8|MH3 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-142/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-142/cmd.json new file mode 100644 index 000000000..a6feb0504 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-142/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w271", + "json": "0", + "words": "actions add action ife encode use mark 0 index 1" + }, + "cmd": "tc actions add action ife encode use mark 0 index 1", + "desc": "corner: opt=plain cmd=w271:actions_add_action_ife_encode_use_mark_0_index_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": "tcact2write/ec-142", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action ife", + "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/tcact2write/ec-142/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-142/dump.out new file mode 100644 index 000000000..4d16c4ab9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-142/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: ife encode action pipe type 0XED3E + + index 1 ref 1 bind 0 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-142/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-142/ip.err new file mode 100644 index 000000000..301050e59 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-142/ip.err @@ -0,0 +1 @@ +IFE type 0xED3E diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-142/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-142/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-142/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-142/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..4839eaf3a559049ecd12ff4c9cced13f98202431 GIT binary patch literal 196 zcmca|c+)~A1{MYcU}5+Rhj*1Bf%zQW;bjm>Oh&Y(}U8W|%@C4H9EvU<2DDvxSwx1jq+rbbC~QLQFvAAbWV1 JK}0EFgD?XNvjvEP0Rtezh=GxL4p1FTOn`xr zfd_~=fH*TP706}+vKYV^WZr$Cd2fJx5Jore4p7Jls2*hAgk>OI3_x?3!Fmq>$vt2` z#9SAkdqu!9U}bPZgn=E-hA||7W?%yx3|wI06ri0lK(in=GJsXX*dSU3C@%sv07j#m u$Hu_QVE2}RL4tt|>~|)h0v4c2AaRfxAiqBW`dtOc24Qr+gUn?{^E&`A7#?Z> literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-144/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-144/cmd.json new file mode 100644 index 000000000..43451c540 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-144/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w271-over", + "json": "0", + "words": "actions add action ife encode allow mark use mark 9 index 1" + }, + "cmd": "tc actions add action ife encode allow mark use mark 9 index 1", + "desc": "corner: opt=plain cmd=w271-over:actions_add_action_ife_encode_allow_mark_use_mark_9_index_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": "tcact2write/ec-144", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action ife", + "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/tcact2write/ec-144/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-144/dump.out new file mode 100644 index 000000000..d521e3ee1 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-144/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: ife encode action pipe type 0XED3E + use mark 9 + index 1 ref 1 bind 0 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-144/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-144/ip.err new file mode 100644 index 000000000..301050e59 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-144/ip.err @@ -0,0 +1 @@ +IFE type 0xED3E diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-144/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-144/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-144/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-144/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..aab32813516e03710c5c088d436c570d8049a374 GIT binary patch literal 204 zcmca|c+)~A1{MYcU}5+RXgwf5r02DF;st1`jWf@2p1JE31u-+{|as!wT zG1mp?UJImzOn`xr zfd_~=fH*TP706}+vKYV^WZre4c@Kbm5Jore0#L{Zs2*hAz2zWX3_x?3!Fsm<$qisW z#9SAkdqu!9U}bPZgn=E-hA||7W?%yx3|wI02%w!ZK(kn(ia@F%wnJzYpu8wl4n{+{ naEcA6+wLs`(7$Y8zjFX(K>oc4^sfq#4Z`UD6#)t{qxlyAhn^l6 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-146/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-146/cmd.json new file mode 100644 index 000000000..1ebe66496 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-146/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w273", + "json": "0", + "words": "actions add action ife decode dst 02:00:00:00:00:01 type 0x1234 allow mark index 1" + }, + "cmd": "tc actions add action ife decode dst 02:00:00:00:00:01 type 0x1234 allow mark index 1", + "desc": "corner: opt=plain cmd=w273:actions_add_action_ife_decode_dst_02:00:00:00:00:01_type_0x1234_allow_mark_index_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": "tcact2write/ec-146", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action ife", + "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/tcact2write/ec-146/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-146/dump.out new file mode 100644 index 000000000..1bbb497bd --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-146/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: ife decode action pipe type 0 + allow mark allow tcindex allow prio + index 1 ref 1 bind 0 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-146/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-146/ip.err new file mode 100644 index 000000000..29a4a52a3 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-146/ip.err @@ -0,0 +1,2 @@ +dst MAC address <02:00:00:00:00:01> +IFE type 0x1234 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-146/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-146/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-146/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-146/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..7cbc004dc1ce7148768382f25bebfc85de7ed11a GIT binary patch literal 192 zcmca|c+)~A1{MYcU}5+R{fPs~5E>Imz%z%NB zK?jIAfH*TPl|g}lsX+$FW`rtWhAD*7AUnkK7#K`|d=N&rLj@?r#K6D^vLkCb#1wRU E0UC-E4*&oF literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-146/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-146/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-146/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-146/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-146/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..6d8d63e7e92ddac679df42a7f3d219907509eef0 GIT binary patch literal 400 zcmZuts}90I5S;5>OG5~$IDtS`p-2^y1QZ&Hg@o`y7!W8tLE!m?{sH_33A5YYku+>F zx3jOg+pC|qO9F?VIeZwL*2BZ(XfY=jz}cC&U{jI`#-7<1as> +IFE type 0xED3E diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-147/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-147/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-147/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-147/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..1db4c15ed435972804a2bc6041130e1e92d94056 GIT binary patch literal 212 zcmca|c+)~A1{MYcU}5+RooCgD?XNvjvEPfe0YOfPs~5E>Imz%!PrG z!2yUlfH*TPmBEC8sX+$FW`rtWhA9NnATcfmW(FpZ7?8ukzy@>$BiPImzOn`xr zfd_~=fH*TP706}+vKYV^WS%w9yca+|2&0>K11Mw!R1Y%m&2o?~2B102V7+^Q;1}?C00?-0He{( s;{xhp0to^&uraVQ*u4e0oek(pMsPSf0sXB4lm=mRe}l{f=|=W90J#AkrvLx| literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-148/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-148/cmd.json new file mode 100644 index 000000000..4c748e8e1 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-148/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w196-ife-x", + "json": "0", + "words": "actions add action ife encode dst 0x2:1aa:00:00:00:01 allow mark index 1" + }, + "cmd": "tc actions add action ife encode dst 0x2:1aa:00:00:00:01 allow mark index 1", + "desc": "corner: opt=plain cmd=w196-ife-x:actions_add_action_ife_encode_dst_0x2:1aa:00:00:00:01_allow_mark_index_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": "tcact2write/ec-148", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action ife", + "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/tcact2write/ec-148/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-148/dump.out new file mode 100644 index 000000000..d424b15e9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-148/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: ife encode action pipe type 0XED3E + allow mark dst 02:aa:00:00:00:01 + index 1 ref 1 bind 0 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-148/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-148/ip.err new file mode 100644 index 000000000..6928efcb1 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-148/ip.err @@ -0,0 +1,2 @@ +dst MAC address <0x2:1aa:00:00:00:01> +IFE type 0xED3E diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-148/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-148/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-148/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-148/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..7c831f28d048e89d95334f1fd20432781dd2bbb3 GIT binary patch literal 212 zcmca|c+)~A1{MYcU}5+RooCgD?XNvjvEPfe0YOfPs~5E>Imz%!PrG z!2yUlfH*TPmBEC8sX+$FW`rtWhA9NnATcfmW(KBJ5Do_e8_*SuV0+Vn_L=~NK^Wa$ T6`&9kP&>%p^5qbd(cJ<7jTIE- literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-148/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-148/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-148/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-148/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-148/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..f49760cf4c3f6c9a3ec22357c2ffde8b46cdbc3d GIT binary patch literal 404 zcmca|c+)~A1{MYcU}5+RImzOn`xr zfd_~=fH*TP706}+vKYV^WZrk6c`tx`5Jore22jWds2*hAhvgt$3_x?3!Fu-q$sJ%m z#9SAkdqu!9U}bPZgn=E-hA||7W?%yx3|wI01fZQVK(in=GJsXX*dSU3C@%^%07j#m v#|6~IvjsDEImz%!Gjv zD8|UZ4#deN3=Ap^Obu)d%wTB=pco@mAw&ei0okJiw8sR<1z~i1RDeQE3=E7Qdk(LF In1F6K0Q2t?3jhEB literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-149/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-149/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-149/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-149/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-149/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..1948ffc518c8b56f599f084d23923db4fd655f8b GIT binary patch literal 400 zcmca|c+)~A1{MYcU}5+RImzOn`xr zfd`1$fjGH@0mxK1t??$R1Y%GdL>8~0|N&GGg$8qAh`v| zhnedFbgu|l2CNKDhyYcf0|}rR*Z>a$Cs-IH%fY|}W(NT6XM?I|gNBI&&>o0u7{D?x iwhBkN}D?LKTAeFaWY=7SJ9Opa2M?+oJ*$Vq#!m1lep1&16BqnM1U&LfdtSDY=DP>6D$mp+FTsQ^tb2HG-DnJnsM)xyFKQo%20kDG_VgLXD literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-151/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-151/cmd.json new file mode 100644 index 000000000..ab930fb56 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-151/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ct", + "json": "0", + "words": "actions add action ct clear index 1" + }, + "cmd": "tc actions add action ct clear index 1", + "desc": "positive: opt=plain cmd=ct:actions_add_action_ct_clear_index_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": "tcact2write/ec-151", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action ct", + "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/tcact2write/ec-151/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-151/dump.out new file mode 100644 index 000000000..6a1866dd2 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-151/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: ct clear pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-151/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-151/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-151/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-151/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-151/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-151/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..431a3afa91d7f68db5524d09b62ae60e0e794665 GIT binary patch literal 196 zcmca|c+)~A1{MYcU}5+Rhj*9f*@l7#LI-m>Sp^n8Bt?0L2)g3YlRVfHcUSS3rAAfNT&(w?_pi#KgeB2(stW K3Wy2lb^`!{eiTsv literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-151/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-151/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-151/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-151/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-151/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..1c31ec0b1c6127eaed28e6007e1fcb1a26b26f9d GIT binary patch literal 392 zcmca|c+)~A1{MYcU}5+RImzOn`xr zfd`1$fjGH@0mxQ*V=w1=93|JYQ5CN({2NFOtumK(hPOvaYmVImz%!YxH z!2*ccfjGH@fkB6Xseuh>HY-p88v`>~nFLUd5vlz-<2R;3=A9$%wWAcfaDe+ zA7-u#(7hsH8L%=qAp%r^4kUnPU;{i1oM2&)EC&M@m>mGLpAD*>4QK}|P*ehF55zSL mU>O)&1*ld8tcw9oL%DDY%ie3k!Y~8K24MykW(yDn106ty0Rt=BJfJ$5SP26o zLje%8195T*149Y}Qv(~&>?w>43>*xs3{F6W91Ls>AAqz7P?eCOGE6IoW)uO+{s#gi yK}I$PW}s;d3=%*RM1ue`gaVTwcRm2R(*(!^VRUz@0EL)$BubDV0aMtS186Es5s%;n)Y8^NcmTml!Pe3%cmXNd@KZ(#%w?spSY~Ua8!w$6IBz M1oc}%eJ`5!jJ)EgD?XNvjvEPfe0YOfPs~59#9=j%!PrG z!2yWbfjGH@fx(1 XgwgF)0SYlOFffAb)m#NJ0o^SCxnLKM literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-154/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-154/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-154/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-154/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-154/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..96788f978b73e698da848140ce278b7a21c2d32c GIT binary patch literal 416 zcmZutyA8rH5PgY*V^D-BTx5U@fI>q-LBR+NfJ8~lIz&oK$qG;~03$F01r36CM;s)J zv!3tW@7cQB`P8P!@Usjr28Z={mp*eW$py&FTwJgzNsYub>M&Bi;rq6G t(_z3PHH$aRb~`Hh?)P_4<-jY>dR0O1yRdh%g9Ud`F(Zg~AoC{L!3VhiAhiGh literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-155/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-155/cmd.json new file mode 100644 index 000000000..385651388 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-155/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ct", + "json": "0", + "words": "actions add action ct commit label 0102 index 1" + }, + "cmd": "tc actions add action ct commit label 0102 index 1", + "desc": "positive: opt=plain cmd=ct:actions_add_action_ct_commit_label_0102_index_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": "tcact2write/ec-155", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action ct", + "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/tcact2write/ec-155/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-155/dump.out new file mode 100644 index 000000000..7d05a396b --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-155/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: ct commit zone 0 label 01020000000000000000000000000000 pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-155/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-155/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-155/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-155/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-155/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-155/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..a7ff3ccd77abef6fdc5ec151708884bd990dc7a5 GIT binary patch literal 224 zcmca|c+)~A1{MYcU}5+R%jV{0Wheo%L70Js*#bntKnjpyz`)8j52y|%7Qn#B z-~+_$K%5NJzy&A?pAD literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-155/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-155/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-155/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-155/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-155/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..9b540953161e25e27cb5b636133ed7c2b2506a15 GIT binary patch literal 440 zcmZvYJr2S!4255lsuUC5GusnOwmpbf!q`o^>HMLIOwisMQAa4LzuY zcO%a+Ac}bp4&x+UzGX9xEU&E5kF;IWYd9(IU uVI`*9=~?-TENgdHaGqvr=#RlK$@DEI++Aw3>zcbMnGnUhkv>b#?{40fxGLKK literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-156/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-156/cmd.json new file mode 100644 index 000000000..a93465fdd --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-156/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ct", + "json": "0", + "words": "actions add action ct commit nat src addr 10.0.0.1-10.0.0.9 port 1000-2000 index 1" + }, + "cmd": "tc actions add action ct commit nat src addr 10.0.0.1-10.0.0.9 port 1000-2000 index 1", + "desc": "positive: opt=plain cmd=ct:actions_add_action_ct_commit_nat_src_addr_10.0.0.1-10.0.0.9_port_1000-2000_index_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": "tcact2write/ec-156", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action ct", + "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/tcact2write/ec-156/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-156/dump.out new file mode 100644 index 000000000..dfede6456 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-156/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: ct commit zone 0 nat src addr 10.0.0.1-10.0.0.9 port 1000-2000 pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-156/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-156/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-156/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-156/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-156/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-156/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..4bbd7902769bb0e651268fac2f2313fe5cf18e19 GIT binary patch literal 228 zcmca|c+)~A1{MYcU}5+R%dWCyWvBqML70Js*#bntKn9Ruz`)8j52y|%7Q(>D z5CFvNK%88{z~I8b)WE^O$-u?Hz{mk4fix!@11|&f3kC)@20jM%3m}@AK@wyWQ@S9@ zvWl9UIO;eJM8lj!=)>G(o*_O11^4)D3;mPlCB1TWMVp(lO>&b5Z&I=&=-x!$8~Xg- F%bsk>$4~)egD?XNvjvEPfeawSfPs~59#9=jEQEoP zApnTkfjGH@fx(4=seyxmlYxtYfsq49f@n4dUIw5d1~vvhD9y~E2{b?gsD}}15Hrj` hAPsWIaiBX)fNT&(cZUj4hzV#e$Q{+IAts=^4FFkL6!QQ8 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-157/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-157/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-157/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-157/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-157/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..b49a4bd82d4a15ddd2aa135f77b9f2448e001ecb GIT binary patch literal 432 zcmZutAr8Vo5S-p!N+G2|G@%cu!4VV^!2=Nd0Et2H7hDM%#}_a>paPG>f+b;g=^dnD zlewMUolZAfpHBw^hi^E%SX9ewec2hz$OUkAD#^!~WP-@C^ zv5K3UB-C*liAHjaKCqB^rn%rApKYOk^1P(iP+bvnQ-&lrx$`C^JA(F2a<(jeesA&y D5;`5t literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-158/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-158/cmd.json new file mode 100644 index 000000000..160f51369 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-158/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ct", + "json": "0", + "words": "actions add action ct commit nat dst addr 2001:db8::1 index 1" + }, + "cmd": "tc actions add action ct commit nat dst addr 2001:db8::1 index 1", + "desc": "positive: opt=plain cmd=ct:actions_add_action_ct_commit_nat_dst_addr_2001:db8::1_index_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": "tcact2write/ec-158", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action ct", + "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/tcact2write/ec-158/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-158/dump.out new file mode 100644 index 000000000..294971cef --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-158/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: ct commit zone 0 nat dst addr 2001:db8::1 pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-158/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-158/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-158/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-158/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-158/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-158/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..9cb350973dc53d9bac2fc98bf6439615c7c1bc62 GIT binary patch literal 236 zcmca|c+)~A1{MYcU}5+R%bvfNkD&p`24MykW(yDn0|h{a0Rt=BJfJ$5SPTOr zLj(}B195T*1A`9(Q-cTtH-iEr?+%z6Ak8Skz=I*i#=y*=36zuo>Scr~W=7Hka?fF) bdrW|0AdK!F6`&9k&}@)<>Q_TdKzAbm`=}R8 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-158/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-158/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-158/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-158/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-158/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..b8dd4a37149ed8814abe7875135ba541b467d3dc GIT binary patch literal 440 zcmZuts}90I5S;5Zr9gRzBPkA1gCi&;f=}QNNI+l_d<_JRL*e-aB!a&H0SU9)9yAS` z%--zY+;qFw%jpmx#4kd;S?uQR^pnXPH$B9O^%9cr1ba~3F_LG+ZYYyTh1F% zKV%gZJ8@`YU|MGtZX8>dKIPqf E02PHD5C8xG literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-159/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-159/cmd.json new file mode 100644 index 000000000..0d902a1da --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-159/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ct", + "json": "0", + "words": "actions add action ct commit nat src addr 2001:db8::1-2001:db8::9 port 80-90 index 1" + }, + "cmd": "tc actions add action ct commit nat src addr 2001:db8::1-2001:db8::9 port 80-90 index 1", + "desc": "positive: opt=plain cmd=ct:actions_add_action_ct_commit_nat_src_addr_2001:db8::1-2001:db8::9_port_80-90_index_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": "tcact2write/ec-159", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action ct", + "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/tcact2write/ec-159/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-159/dump.out new file mode 100644 index 000000000..4740c336e --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-159/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: ct commit zone 0 nat src addr 2001:db8::1-2001:db8::9 port 80-90 pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-159/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-159/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-159/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-159/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-159/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-159/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..3e2124ae5d413378cbd02faeb0f8f71199284c79 GIT binary patch literal 252 zcmca|c+)~A1{MYcU}5+R%Z}CKXP5wFgD?XNvjvEPfd(MMfPs~59#9=jEQf)S zAp?lnfjGH@fgy&0sX>H+n?Zq*cLz)jkY*HN;6WGTWMklEU2a=7s!1*t05*d0L75q3;>?p7X$zR literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-159/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-159/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-159/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-159/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-159/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..15d69acc2f7409dad524c5f27436ed9cc94f4c6c GIT binary patch literal 456 zcmZutAr1mD5S-G>aljoxR2&Hc!2`%CB!UMZP*^0ENAQXxcoYhO;|nMh4?yq%5@z?V zKpHmLc6K_QZufdQ?i+~kjR-Fm<)XVjmljiENkn!cn~yO;0b_U6d9DY8l-XpiHXv>g zK~wy0^c#?n4E<7a1@+=*4R&hNOhYp4&JE@>rjN{J&t`#E#=5ntKEP%kGooXNUl@L70Js*#bntfCrFaz`)8j52y|%X2QS- z6k}vy2jb)s1_l)drUo_!W(E$R0tuiPBUB+XOaqVx*>f0Zj|q?s!szy>0EL(s7#KnJ Lbgzb(fNnPcD0F3I?EH14>%v0g;*tQP8tOMqmvj?w{C57B8Lu z{(V0C-9K*^1BYKYyjh%f(}V3S*5m>>yOI=RNz$UQXX;{ah5{8aBKAj+8!{-wZ%)4# zYeDYUv(-{Be&#Bt01vBYA6)OOqwj|A4Z5SUv;->hsOj-9DvY%)yB-teTi#z%?^%_@ kpVYkP`x>ZIf_&z{md$4V0BW8Y^Z)<= literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-161/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-161/cmd.json new file mode 100644 index 000000000..4439c5998 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-161/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ct", + "json": "0", + "words": "actions add action ct nat zone 3 index 1" + }, + "cmd": "tc actions add action ct nat zone 3 index 1", + "desc": "positive: opt=plain cmd=ct:actions_add_action_ct_nat_zone_3_index_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": "tcact2write/ec-161", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action ct", + "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/tcact2write/ec-161/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-161/dump.out new file mode 100644 index 000000000..b2eaca9d2 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-161/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: ct zone 3 nat pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-161/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-161/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-161/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-161/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-161/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-161/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..b94a249dd43fcb130b645191b1cc069422c22013 GIT binary patch literal 204 zcmca|c+)~A1{MYcU}5+RzRE0SbUHx_v4@AtnX} OMv#5i*Fa1_cLM;~nG!Dm literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-161/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-161/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-161/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-161/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-161/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..bbc20abc9e7b7344d7dbf9c6565ef32b1373c351 GIT binary patch literal 400 zcmZusu?+$-47_}zC!iOiNbv*w0O%`93VJBmfRdJd5ChPlm!PMn%LuH2#MzJ_MOeDn zXP@mj-Y=&L4nK2vksPurlsmJ(RjoCHT9mX<_@W~ g-1GSjl&83(HfR^J|I+N_mdJ*V89{lo^xNX*H`g&5p#T5? literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-162/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-162/cmd.json new file mode 100644 index 000000000..504c70375 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-162/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ct", + "json": "0", + "words": "actions add action ct commit helper ipv4-tcp-ftp index 1" + }, + "cmd": "tc actions add action ct commit helper ipv4-tcp-ftp index 1", + "desc": "positive: opt=plain cmd=ct:actions_add_action_ct_commit_helper_ipv4-tcp-ftp_index_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": "tcact2write/ec-162", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action ct", + "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/tcact2write/ec-162/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-162/dump.out new file mode 100644 index 000000000..e7d15a4ac --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-162/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: ct commit zone 0 helper ipv6-tcp-ftp pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-162/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-162/ip.err new file mode 100644 index 000000000..6c5f0e3c6 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-162/ip.err @@ -0,0 +1 @@ +Warning: act_api: Failed to setup tc actions for offload. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-162/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-162/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-162/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-162/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..2d05dbb7b6a31b37442801b0a2ab4f085e1ffdd8 GIT binary patch literal 272 zcmca|c+)~A1{MYcU}5+RsezS2kbw!PfR#arfelD=FbFWDl@tKk%s^EP3=%*RM1ue`gaVTw z`#%Eh&j9j37~TE|pb*epW{~~2*Fa220E!{I$pmO}Vsc4*VnL>rf?Hx{PHKumNxnjH fYDsByXGPs zF3j!h-rVf5k85-C5#SdA-YgEQ;ch<%X5<0{W-7_XgrtOLj?~#+3J(dBdY>yC^HH*$LXiv)db%WaH-@-62_ z?aZj%NsJVmxu0dmg&{t`OD@`4_jD$(V(?2_!_!d(>X2;5!Bd*kfl1DEt2 AGXMYp literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-163/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-163/cmd.json new file mode 100644 index 000000000..cd6b46a03 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-163/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ct", + "json": "0", + "words": "actions add action ct commit helper ipv6-tcp-ftp index 1" + }, + "cmd": "tc actions add action ct commit helper ipv6-tcp-ftp index 1", + "desc": "positive: opt=plain cmd=ct:actions_add_action_ct_commit_helper_ipv6-tcp-ftp_index_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": "tcact2write/ec-163", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action ct", + "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/tcact2write/ec-163/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-163/dump.out new file mode 100644 index 000000000..e7d15a4ac --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-163/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: ct commit zone 0 helper ipv6-tcp-ftp pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-163/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-163/ip.err new file mode 100644 index 000000000..6c5f0e3c6 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-163/ip.err @@ -0,0 +1 @@ +Warning: act_api: Failed to setup tc actions for offload. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-163/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-163/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-163/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-163/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..0270195c4f2ac1f157fd0f608357ccb4c209598e GIT binary patch literal 272 zcmca|c+)~A1{MYcU}5+RsezS2kbw)RfR#arfelD=FbFWDl@tKk%s^EP3=%*RM1ue`gaVTw z`ws){&j9j37~TE|pb!&K3&{R^Yak{h0L75qWCAofF}Wl@u^`h*!7VW}CpAT(BwwL8 fwWPE_p(I%WD3_U^SFDhhU!;(qmX?#Bn8E-6&afya literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-163/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-163/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-163/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-163/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-163/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..eac30ea7c6d4f5e824ea1ba5654da947068fd6ce GIT binary patch literal 424 zcmZutF$%&!5S-+a7$r!Q2zfwC3rS@uV&MY>A0UWeV-eq@KETE=*jiZl448?vp_w zepC9rSPNXgCtD@;;hj*9f*@l7#LI-m>Sp^n1MV71_>YuqCtQOLV-z;Jv_^K7)*dX5JtC01tp1&16BqnM1U&LfdtSDY=DP>6D$mpo0u7=W@6 lzkn300C^%{T?}v<%7s%PKYIZEtO8aKB+$YTq@Nkh&j7%;8kztA literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-165/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-165/cmd.json new file mode 100644 index 000000000..8ead380ed --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-165/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "ct", + "json": "0", + "words": "actions add action ct zone 65535 index 1" + }, + "cmd": "tc actions add action ct zone 65535 index 1", + "desc": "boundary: opt=plain cmd=ct:actions_add_action_ct_zone_65535_index_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": "tcact2write/ec-165", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action ct", + "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/tcact2write/ec-165/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-165/dump.out new file mode 100644 index 000000000..f85717d09 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-165/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: ct zone 65535 pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-165/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-165/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-165/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-165/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-165/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-165/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..0295fd5312bb7fb87b69555ad1d5cd089e1691e6 GIT binary patch literal 204 zcmca|c+)~A1{MYcU}5+R_W%D33~UU{U}X|OIYy`khzNuOvd0EFgD?XNvjvEP0Rtezh=GxL0Z<)GOn`xr zfd`1$fjGH@0mxK1t??$R1Y$5^*WF)1_llWX0YBJKynL^ z4>Q*V=w1=93|JYQ5CN({2NFOtumK(hPOvaYmVbEi76A$|qxl&CC{G`h literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-166/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-166/cmd.json new file mode 100644 index 000000000..2f619fef8 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-166/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w285-32", + "json": "0", + "words": "actions add action ct commit label 0123456789abcdef0123456789abcdef index 1" + }, + "cmd": "tc actions add action ct commit label 0123456789abcdef0123456789abcdef index 1", + "desc": "boundary: opt=plain cmd=w285-32:actions_add_action_ct_commit_label_0123456789abcdef0123456789abcdef_index_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": "tcact2write/ec-166", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action ct", + "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/tcact2write/ec-166/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-166/dump.out new file mode 100644 index 000000000..1c0a49622 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-166/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: ct commit zone 0 label 0123456789abcdef0123456789abcdef pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-166/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-166/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-166/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-166/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-166/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-166/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..4242d8cfded77d76d328ce66c9b0ec05a780e087 GIT binary patch literal 236 zcmca|c+)~A1{MYcU}5+RNFfFy_p0cHpVCPD5= d1iHrr$OB3usLGCeI2QdNNjQ~t*EF=H` literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-166/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-166/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-166/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-166/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-166/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..89d4b953fbcd27fbc96e352fac5f25571e001eb7 GIT binary patch literal 440 zcmca|c+)~A1{MYcU}5+Rp%(^7&sW1!FnG6$vZ$k z%v=|sdqu!9U}bPZ1gHWXNC3^i26z}a!NMR}4hAkTy8`H5HmIE-vlx|K(>qt6eGj8W zfGYo^0XAsZNdVmgaWw3054szH4 E0KP{uJ^%m! literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-167/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-167/cmd.json new file mode 100644 index 000000000..6fc949186 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-167/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w280-62", + "json": "0", + "words": "actions add action ct commit nat src addr 2001:0db8:0000:0000:0000:0000:0000:0001-2001:0db8:0000:0000::9 index 1" + }, + "cmd": "tc actions add action ct commit nat src addr 2001:0db8:0000:0000:0000:0000:0000:0001-2001:0db8:0000:0000::9 index 1", + "desc": "boundary: opt=plain cmd=w280-62:actions_add_action_ct_commit_nat_src_addr_2001:0db8:0000:0000:0000:0000:0000:0001-2001:0db8:0000:0000::9_index_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": "tcact2write/ec-167", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action ct", + "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/tcact2write/ec-167/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-167/dump.out new file mode 100644 index 000000000..37d628121 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-167/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: ct commit zone 0 nat src addr 2001:db8::1-2001:db8::9 pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-167/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-167/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-167/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-167/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-167/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-167/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..9ce745af9352e04d017e2b3ab9164c3f978dbe36 GIT binary patch literal 236 zcmca|c+)~A1{MYcU}5+Rm4gD?XNvjvEPfdU}IfPs~50Z<)GEQW!R zAp(fmfjGH@fx(A?sX>H+n?Zq*cLz)jkY*HN;6WGTWMg1vkOWFf0QE9L6*D7g0=Y*a do}Ix2CF#*j6xyN}O!~}FV0syYg76bqQ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-167/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-167/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-167/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-167/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-167/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..f78d9df3877fe8fc5f99f1e0f17df7de28a37759 GIT binary patch literal 440 zcmZutAr8Vo5S;d!(w0IHM^YT34!jFO;{~|}KZMjX5DPMBl znED>8xZa6H6aAodRzZ~l%RlpaX~B7_si9wVyrgHhe(cU4FQu}Z4R=$r68O8ZY#I9e G?&b}Ky&cd1 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-168/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-168/cmd.json new file mode 100644 index 000000000..c06e7604b --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-168/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w280", + "json": "0", + "words": "actions add action ct commit nat src addr 2001:0db8:0000:0000:0000:0000:0000:0001-2001:0db8:0000:0000::09 index 1" + }, + "cmd": "tc actions add action ct commit nat src addr 2001:0db8:0000:0000:0000:0000:0000:0001-2001:0db8:0000:0000::09 index 1", + "desc": "corner: opt=plain cmd=w280:actions_add_action_ct_commit_nat_src_addr_2001:0db8:0000:0000:0000:0000:0000:0001-2001:0db8:0000:0000::09_index_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": "tcact2write/ec-168", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action ct", + "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/tcact2write/ec-168/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-168/dump.out new file mode 100644 index 000000000..37d628121 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-168/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: ct commit zone 0 nat src addr 2001:db8::1-2001:db8::9 pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-168/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-168/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-168/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-168/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-168/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-168/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..e9a8c441c1dfb05d6e3640e103b8ce304218fef4 GIT binary patch literal 236 zcmca|c+)~A1{MYcU}5+Rm4gD?XNvjvEPfdU}IfPs~50Z<)GEQW!R zAp(fmfjGH@fx(A?sX>H+n?Zq*cLz)jkY*HN;6WGTWMg1vkOWFf0QE9L6*D7g0=Y*t dkDb8;CF#*j6xyNN4!~}FV0syU876t$S literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-168/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-168/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-168/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-168/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-168/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..893555509612060fd66ae568205c17065f64e8fb GIT binary patch literal 440 zcmZutAr8Vo5S;5Zr7eXZj-)t5A3#t@M4x~`6BHJ~ZvcZtpb$8|fJE>RNSNLBfHZ6} zd$W6U)9v1_r+t7B-w5$yv7L2Sf8N=8eb-vewK}NKQ#Tw)R85H6- zr(ec~py~HizX0NQIf?*?VfF2U`Oez=mYmn=jmkdBQPGT?9{(akqHVd2kt*MC-iZ1E ztEk?ILmNZWIjf*b#_`V@y(H&6)zr{0dS1}8UqANekC#%}&62w*SP7cDaco)o{O;xr D_hcPT literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-169/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-169/cmd.json new file mode 100644 index 000000000..c901ef352 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-169/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w281", + "json": "0", + "words": "actions add action ct commit nat src addr 10.0.0.1 index 1" + }, + "cmd": "tc actions add action ct commit nat src addr 10.0.0.1 index 1", + "desc": "corner: opt=plain cmd=w281:actions_add_action_ct_commit_nat_src_addr_10.0.0.1_index_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": "tcact2write/ec-169", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action ct", + "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/tcact2write/ec-169/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-169/dump.out new file mode 100644 index 000000000..d4aaf8645 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-169/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: ct commit zone 0 nat src addr 10.0.0.1 pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-169/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-169/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-169/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-169/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-169/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-169/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..c359795d28a3c3a3f85e29daf59a3466b642f654 GIT binary patch literal 212 zcmca|c+)~A1{MYcU}5+RmilzaC-&x?2F=Z4+$( literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-169/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-169/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-169/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-169/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-169/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..e40e064b9744f0ef6dbc189c49dd5bb82c72a0b2 GIT binary patch literal 416 zcmZutu?@m75In~wF(^V5DMFtCP%26aMqmIWN?N9%V*|25#0pR_0Ad10pha;1#6hxn z>HPQq=d<;<^QlST@C%0*i{om%J-jn4$OUkAE-A!}q=vB#b)h$bK~7}EW(V?w3<~kP zJC7%8LG1TntEOK3vQ};Z9#-#Od0tot-zEQB=tO1xQBV;_NsoV#W2kMJdW@8>`F=|M ulvUd8#8bzq5sl=M?|y#=bq>7Z-BMl9=dSFN>|j6esMrz2J1E$)(GEVv-5Z1e literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-170/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-170/cmd.json new file mode 100644 index 000000000..6cf4ee5d1 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-170/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w282", + "json": "0", + "words": "actions add action ct commit nat src addr 10.0.0.1 port 2000-1000 index 1" + }, + "cmd": "tc actions add action ct commit nat src addr 10.0.0.1 port 2000-1000 index 1", + "desc": "corner: opt=plain cmd=w282:actions_add_action_ct_commit_nat_src_addr_10.0.0.1_port_2000-1000_index_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": "tcact2write/ec-170", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action ct", + "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/tcact2write/ec-170/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-170/dump.out new file mode 100644 index 000000000..bbf2cbc66 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-170/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: ct commit zone 0 nat src addr 10.0.0.1 port 2000-1000 pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-170/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-170/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-170/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-170/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-170/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-170/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..d9ec226a3d87e582590a73fac789ae5d6370c7c1 GIT binary patch literal 228 zcmca|c+)~A1{MYcU}5+R09qu@4o^^o zrF)<4%f)hYz0?sLx^Q^0IIXk&wDMSz3*hWRQivJJ9LCnvh29tjDUlGnBgi8%D8z3= zKgWik@Ap){2;!HXMF4nM{r1kcVI6!|+&9;W%DzudML!C9{EHL=ZOhbSsQkcvW9lcY z;?GSyb(|W}NRBZ=a+7%m`v3~=(QXUsezS2kbw!PfR#arfelD=FbFWDl@tKk%s^EP3=%*RM1ue`gaVTw z`=rf?Hx{PHKumNxnjH fYDsB*xUKo^x)$cKHe<$i{a+9i!mb?z&BG#HYOw$JkwBTdnr65M4wpJAn%bu zA%1uIy;uuezXw|t_2QQu1tm-WSWU2`;q6R29|NBem1j|c$j8%y)w`G@P7f?B?E&5kOa{nzzm_lB*+aXfo?DX@<15f V4Jtq(CI$vZkQ-*NhnRrwE&vgRB_sd< literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-172/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-172/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-172/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-172/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-172/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..6d673d3de64ca5f73720ee18b418400d82f6be71 GIT binary patch literal 440 zcmZutF%H5o47@f`X;FnbWaz@y2OuU!2A;qJkQiAR_zD~S0b*ff;0uflJOl)1lN1#7 zq>ImvbFqB8p4t=^KUln&9G0WaepO&jErc~Q2>}y|DH7ANFVrd|D9Hi2-hw)%f>Qj> z^eb5q#(q!rOCf&MQ5t|8M&CYo-kAsA1?P2oqix;c*b$?qM;}TQT9(@!L)AOZoB2Qc tyc|2<5i-BKn)7_8hW;3IL(j1vAVi;bL3VTDZW>mE@opSThCcth`2c8@DnbAN literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-173/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-173/cmd.json new file mode 100644 index 000000000..6d300796b --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-173/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w287-0", + "json": "0", + "words": "actions add action ct commit label 0 index 1" + }, + "cmd": "tc actions add action ct commit label 0 index 1", + "desc": "corner: opt=plain cmd=w287-0:actions_add_action_ct_commit_label_0_index_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": "tcact2write/ec-173", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action ct", + "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/tcact2write/ec-173/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-173/dump.out new file mode 100644 index 000000000..224370a9c --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-173/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: ct commit zone 0 label 00000000000000000000000000000000 pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-173/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-173/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-173/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-173/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-173/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-173/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..4a1ba2401d609176c76faaa8943755e532aff37e GIT binary patch literal 220 zcmca|c+)~A1{MYcU}5+RseuK^6Jg+B_>TtI7?^>o7#JjgB!~t9W(Wl)LH0ia+HV5nfiSxL XDnKD71_nlu{jWDbOh^EVA-f3xN}?n< literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-173/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-173/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-173/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-173/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-173/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..449c394e0494637cb734bdb925da7a79bb5577bb GIT binary patch literal 440 zcmZutu?@m75WK`z2q;1nE;2v{Kva|zjDYA7B`pQ(0271>kPsVCQXu9ag8Rn~$jV9Q zzkk2aufJVR`xF*GSTsxyi{a*a&M>1E!kVdsfHB1ci8-<_)J8~9kUes}1$9aVrT9JR zSFj+A{a)&qLj0DsGypk_zJ2h#GY`IV&g=9>+uFmiBSuM&E)?i%S#EO-RPQ)%=Kt*S sa_oFZ$o%d~&hwob`eV=)Jy(8!5PjMP*-gXURICW&-8hyEeg1dz0h;425C8xG literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-174/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-174/cmd.json new file mode 100644 index 000000000..f416c5e79 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-174/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w289", + "json": "0", + "words": "actions add action ct clear zone 5 mark 1 index 1" + }, + "cmd": "tc actions add action ct clear zone 5 mark 1 index 1", + "desc": "corner: opt=plain cmd=w289:actions_add_action_ct_clear_zone_5_mark_1_index_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": "tcact2write/ec-174", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action ct", + "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/tcact2write/ec-174/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-174/dump.out new file mode 100644 index 000000000..6a1866dd2 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-174/dump.out @@ -0,0 +1,6 @@ +total acts 1 + + action order 0: ct clear pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-174/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-174/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-174/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-174/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-174/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-174/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..f1b8af00b52930fc9716afb70616d78eb490e6ce GIT binary patch literal 220 zcmca|c+)~A1{MYcU}5+Rseuh>HY-p82ase0(`*d?fq;#H8EmTrP!uE%0?ZH!OoHs!W#V8k d0rEf?-F_9I5EBCfBgp>u8z3em0L75q1OUt_7fk>F literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-174/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-174/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-174/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-174/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-174/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..f99ea4558a437e876e9af4a2cc332f29fb0e5cd1 GIT binary patch literal 392 zcmca|c+)~A1{MYcU}5+R$On`xr zfd`1$fjGH@0mxQ*V=w1=93|JYQ5CN({2NFOtumK(hPOvaYmVe0EK}18A0~^ K*#I#C-EIIfsuSP< literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-175/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-175/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-175/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-175/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-175/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..22b98440a6ad88a3901256430939f36d6acad666 GIT binary patch literal 400 zcmZutyA8rH5PgZQ5TXcCxX1t*0Hva&U;qj>pp58Ph%f;W1wB2LJ6hI2;@uG&6min? zef;j7&;HgQQ&@b>;>D!f&f4x#V8vJfYnI}IEf_RN%!#~EnHV04v8v`>~nFLUd5vl cKpqIA+phu?Vq#!m1ljMl31UJ5Pz>2k0Lso7r2qf` literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-177/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-177/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-177/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-177/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-177/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..d65ee668b1767596a64fc71ae5e40653254a6d96 GIT binary patch literal 416 zcmZutF%H5o47?^S1XLl04t+o$fI2ZUzz>jE5sXMoe24}1vY@Uo@Bp5`6IcH6CfLe(d|(I3NbM-FoNuH K*#t2G-EIIlF%vrg literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-178/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-178/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-178/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-178/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-178/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..a963258a4140cc09ba307af2001f07b3e7182bab GIT binary patch literal 392 zcmca|c+)~A1{MYcU}5+RmQy{;}0R5^06ais$zls2bn9=+S0Hj15cmMzZ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-179/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-179/cmd.json new file mode 100644 index 000000000..1b3259bd0 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-179/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "gate", + "json": "0", + "words": "actions add action gate priority 2 clockid CLOCK_TAI base-time 200000000000ns cycle-time 300000000ns cycle-time-ext 1000ns sched-entry open 100000000ns 3 8000 sched-entry close 100000000ns -1 -1 sched-entry open 100000000ns 1 -1 index 1" + }, + "cmd": "tc actions add action gate priority 2 clockid CLOCK_TAI base-time 200000000000ns cycle-time 300000000ns cycle-time-ext 1000ns sched-entry open 100000000ns 3 8000 sched-entry close 100000000ns -1 -1 sched-entry open 100000000ns 1 -1 index 1", + "desc": "positive: opt=plain cmd=gate:actions_add_action_gate_priority_2_clockid_CLOCK_TAI_base-time_200000000000ns_cycle-time_300000000ns_cycle-time-ext_1000ns_sched-entry_open_100000000ns_3_8000_sched-entry_close_100000000ns_-1_-1_sched-entry_open_100000000ns_1_-1_index_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": "tcact2write/ec-179", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action gate", + "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/tcact2write/ec-179/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-179/dump.out new file mode 100644 index 000000000..4f2c8bd9f --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-179/dump.out @@ -0,0 +1,13 @@ +total acts 1 + + action order 0: + priority 2 clockid TAI flags 0 + base-time 200s cycle-time 300ms cycle-time-ext 1us + schedule: + number 0 gate-state open interval 100ms ipv 3 max-octets 8000b + number 1 gate-state close interval 100ms ipv wildcard max-octets wildcard + number 2 gate-state open interval 100ms ipv 1 max-octets wildcard + pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-179/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-179/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-179/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-179/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-179/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-179/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..f9c517e61d2fbf71312283c8f95d07ec0d93df31 GIT binary patch literal 340 zcmca|c+)~A1{MYcU}5+R7%C8;3s4Gc^T5)4d05eQ(0(jbZhXfG3x=3!uCV7Tyhf*zR7&cLwvp&&?} z2dLr&R09VC7Xvp?EP;WwL4kp>0i=_I0Vw(KD=WwxkTMPiRt5)o1_l|RJhI$>AOOjM nXl!~xZiC5#{M`xkw+T=Tgwg%20u%zenGxh~uT2nNp@#(k5D_s% literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-179/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-179/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-179/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-179/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-179/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..38121db75b1eda17baccbcff6deec2e6ace83c10 GIT binary patch literal 572 zcmZuuEpGxr5PkOrTe@jzaspR#qN?J8s6_A+kO)ZHAg~Ao4%v$Sg{DpG`3o3iMgIT} zQwNgJ_pZC)vgssqv-9T7o4L&Qdi5G3#o1CEnS2bcrVsBK`h3fgCie>7x_p#~l27tH zmLo!&enFp%XOF@yVrHmZnoDXv6Of0R3t}bt(%h^>01T3y%xu^d*?<-=aQIl+J<|^%;(5( z%YBX8S*ZRG+e2np>)og)t#&CKPjl;>6HOdNuO;nJ%k$JPtqG&d$G`0S)oq@5n}U!$ NyiHCh;lB0T`~s#@Hsb&Q literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-180/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-180/cmd.json new file mode 100644 index 000000000..c4f3d2396 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-180/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "gate", + "json": "0", + "words": "actions add action gate sched-entry close 100000000ns index 1" + }, + "cmd": "tc actions add action gate sched-entry close 100000000ns index 1", + "desc": "positive: opt=plain cmd=gate:actions_add_action_gate_sched-entry_close_100000000ns_index_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": "tcact2write/ec-180", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action gate", + "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/tcact2write/ec-180/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-180/dump.out new file mode 100644 index 000000000..c1d264aef --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-180/dump.out @@ -0,0 +1,11 @@ +total acts 1 + + action order 0: + priority wildcard clockid TAI flags 0 + base-time 0ns cycle-time 100ms cycle-time-ext 0ns + schedule: + number 0 gate-state close interval 100ms ipv wildcard max-octets wildcard + pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-180/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-180/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-180/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-180/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-180/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-180/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..d9efb187c33e5eef4e07f3ee86f160b5b64108da GIT binary patch literal 224 zcmca|c+)~A1{MYcU}5+Rsv(0Nn>5VE_OC literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-180/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-180/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-180/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-180/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-180/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..22b5518d925a80877ea7e06c12677ad6754235f2 GIT binary patch literal 492 zcmZutK@I^y5UjO}!9*PPun*XSgOfNoxJW#~2S{)bH}M~daNjR@fQt`!griWkW{`3^A=VD($f-e$0SRAMA^>|ssgt-DqJk;SaVA4kvpE&2a6cIX%24gkbF2q|@ zSfLDQZm2mTp$Ij5Q{S0-+D7dih4*Pqs~8ADhlcvG|T)z z51I4rd;S%RS~;VS)jPL)^_`m!FP#=E$m!QO&-yprH{{j#bDEhuHGh7@ UU7}s?xXYZiBHU$4Dh_t}0^VCIyZ`_I literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-181/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-181/cmd.json new file mode 100644 index 000000000..9e34e0353 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-181/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "gate", + "json": "0", + "words": "actions add action gate sched-entry open 1ms index 1" + }, + "cmd": "tc actions add action gate sched-entry open 1ms index 1", + "desc": "positive: opt=plain cmd=gate:actions_add_action_gate_sched-entry_open_1ms_index_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": "tcact2write/ec-181", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action gate", + "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/tcact2write/ec-181/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-181/dump.out new file mode 100644 index 000000000..d1ef0a62e --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-181/dump.out @@ -0,0 +1,11 @@ +total acts 1 + + action order 0: + priority wildcard clockid TAI flags 0 + base-time 0ns cycle-time 1ms cycle-time-ext 0ns + schedule: + number 0 gate-state open interval 1ms ipv wildcard max-octets wildcard + pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-181/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-181/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-181/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-181/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-181/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-181/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..d5a1d859186a05e9bac1fda2435e49bd7baf46ff GIT binary patch literal 228 zcmca|c+)~A1{MYcU}5+Ria*e){f;oRxfilA$-CV* zZ+70h_q<=v6=e7#!;49=Ztsr|hZXM%Wa&(YVam${NqV8qxEu+(j0R)3Ic&vyRG1-z zJWupokWj>)V{#Mf<=MMQ063)KZJyAZ)UWr7bE{{J9QBw&pFaQK=_sh`&3 zt!7<3YC)rqXP?Eg6LQbj2Kls@xYFBk&Nnea6+_PJ%9%6v(ErK9u_lda2h_|X|&G|DXJ-R literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-182/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-182/cmd.json new file mode 100644 index 000000000..bc0321512 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-182/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "gate", + "json": "0", + "words": "actions add action gate sched-entry open 1us -1 -1 index 1" + }, + "cmd": "tc actions add action gate sched-entry open 1us -1 -1 index 1", + "desc": "positive: opt=plain cmd=gate:actions_add_action_gate_sched-entry_open_1us_-1_-1_index_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": "tcact2write/ec-182", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action gate", + "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/tcact2write/ec-182/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-182/dump.out new file mode 100644 index 000000000..de34e7362 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-182/dump.out @@ -0,0 +1,11 @@ +total acts 1 + + action order 0: + priority wildcard clockid TAI flags 0 + base-time 0ns cycle-time 1us cycle-time-ext 0ns + schedule: + number 0 gate-state open interval 1us ipv wildcard max-octets wildcard + pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-182/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-182/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-182/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-182/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-182/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-182/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..fad9e0321b0e5f9c9f84ff39d09a75adf91ee6a5 GIT binary patch literal 228 zcmca|c+)~A1{MYcU}5+R2Y4+I3D0*R6$Bd`DkqM&7=bfHCTzzPh(5(xf}Y=JDk zbg_N@es{UY{aSaB;Hv~L9-7_gggQmVy#h(R(c-n@rbHB9b*K@)e`adxY@8t2`f}XVl`qlIO Ts(H>h&w>d>IM0l!IGE=LEkh^` literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-183/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-183/cmd.json new file mode 100644 index 000000000..35a92f0f2 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-183/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "gate", + "json": "0", + "words": "actions add action gate sched-entry open 1000000 3 8k index 1" + }, + "cmd": "tc actions add action gate sched-entry open 1000000 3 8k index 1", + "desc": "positive: opt=plain cmd=gate:actions_add_action_gate_sched-entry_open_1000000_3_8k_index_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": "tcact2write/ec-183", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action gate", + "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/tcact2write/ec-183/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-183/dump.out new file mode 100644 index 000000000..b8ae4264f --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-183/dump.out @@ -0,0 +1,11 @@ +total acts 1 + + action order 0: + priority wildcard clockid TAI flags 0 + base-time 0ns cycle-time 1ms cycle-time-ext 0ns + schedule: + number 0 gate-state open interval 1ms ipv 3 max-octets 8Kb + pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-183/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-183/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-183/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-183/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-183/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-183/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..7cecf93c9c4411953246f88962c448544c8029d3 GIT binary patch literal 228 zcmca|c+)~A1{MYcU}5+RD z5CFuSK%Aafk_r-cU|?#HU|<4@Kmaq822m;utPKhbj14S6c@73<1_vj8Ak6|~F#u^+ j1_lL)J0<|#VFDBbVRUz>0EL(s7#KnB*s>X73%c6?8H5)N literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-183/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-183/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-183/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-183/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-183/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..2a8b9c961f0c96f24a3722103e8565cbada3840b GIT binary patch literal 496 zcmZutu?_)26r6L*EjCD8K}VucC`1%Wk^2Ncpb&-D59w&dANT}*Mj^~>ZbLREdAIxK zy`4Ar9=FS}0)sCMUQABw*8X|VQ1GsRNf$Z-=Df_1q-XX8E=Ph6qt4iE4qNdK6=v`u z&Hf|9l7u4GoRXWdUz**k8UTybzs(bBlls*z=vy;mf9}Ye4sy0M&yqx_eZBLQD({j3D>y+6=J`-HiZVQy>5U literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-184/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-184/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-184/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-184/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-184/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..3fbe435f44d2a12bacf7a0764d514dac3f1fcfcf GIT binary patch literal 496 zcmZutOAbLn5UlsXV1mV4yaQN}Scq6yia3G`Scr(NE7-Y&9b0h&S8yGnYVtZ{qLO|y zU0qY%ub+?GIYo{ya=e&aR-OGW^;q(*K%UKX7^b{TkYrctj4P0!$7nLP>%&I8N6HK# zB{)Z;OQ9q<+1ZoLfC(6lla0O8WeRr=y^%Lo3`boT04d zwwiVEs0WQco_*$vZpb}f8|2ew;wo>)Ip4$xH4Heft7gvGL;oia$C@;z?Nbx>P9HnX U-%joG#C`TjDB^t=rKVTsiHWq%!PS8s51%AO__y*D0Ba3o4 zu({p2x!KJ=?$=`qgD(tTEY7Rm?&%Gd%q3v5nH-8KlNw2Op-wrE1bs$_v0WcF!aJm_ z5JEijfx(=FMC>^sS5q&Z`C?L_<=MF p!+#*)U|H}eP_ox7cm>3usLGJms1!5bz8v(grAY%Xk literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-186/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-186/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-186/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-186/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-186/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..9aef2c8c124e845a3fc2754d8a262b9f31c718cd GIT binary patch literal 496 zcmZutF^U2~5UkxDb(BF3HrNLkTwrjBf#D)P!4HV2ftmOrBZa%@;9g*CcHcR)YS=~@ zEa>f->YD1_{=5F1ayUHU@XyQFvcJEr9Tq$*;EI`&Vame!P`AKdG+8`h4edFyp=bad%g%4JIGqYn4{hvHMYtoo@M9sJ{ Xv~2#Cwa+W}IU=D*_gRuEl6^h^-Fzub literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-187/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-187/cmd.json new file mode 100644 index 000000000..b89540420 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-187/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "gate-clk", + "json": "0", + "words": "actions add action gate clockid CLOCK_BOOTTIME sched-entry open 1000000 -1 -1 index 1" + }, + "cmd": "tc actions add action gate clockid CLOCK_BOOTTIME sched-entry open 1000000 -1 -1 index 1", + "desc": "positive: opt=plain cmd=gate-clk:actions_add_action_gate_clockid_CLOCK_BOOTTIME_sched-entry_open_1000000_-1_-1_index_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": "tcact2write/ec-187", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action gate", + "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/tcact2write/ec-187/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-187/dump.out new file mode 100644 index 000000000..4f999a559 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-187/dump.out @@ -0,0 +1,11 @@ +total acts 1 + + action order 0: + priority wildcard clockid BOOTTIME flags 0 + base-time 0ns cycle-time 1ms cycle-time-ext 0ns + schedule: + number 0 gate-state open interval 1ms ipv wildcard max-octets wildcard + pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-187/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-187/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-187/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-187/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-187/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-187/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..0ebe3233af09565e55421c863e2b54cff6057018 GIT binary patch literal 236 zcmca|c+)~A1{MYcU}5+Rf9}zd-kx0M&yqx_eZBLQD({j3D>?+XAr--HiZw@E~&l literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-187/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-187/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-187/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-187/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-187/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..61b04efbda5ad7e8a9337281ed8977af07e3d723 GIT binary patch literal 496 zcmZutL25!V6r6AJHI-0Z1a#Mpi!O>3vCyT6N9YB*5EtFn1Gy{cs?Zbk3ZBKC*qM-r z5<2jHlF4M={CE8Q-gV${g~yqP{oDP=Y2ISRy$asFYB9{YnW1q9>WoWhFl61aHt(Nn z@ev)KkV~GUmlg{Ws@n6J+>Cm8Zhs^I0$hHZ8hVqu^fd#0JgMpdB!HFM8 qvoQPz0uBaNFb#4~5zsv*K=mMu?j9AO5EBCfBgj4fw?J$|cOw7=ejk+p literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-188/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-188/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-188/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-188/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-188/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..66a9b67e29a3143a41f6c3abdaa909238bba63e1 GIT binary patch literal 496 zcmZut%MJlS5UjO}!FU|@upi*y;2=0SiueRS;2;jJ4t~c?LL!m)0>9vQgsRDQ$V4T* zGhJO%-P_N{?N~vEFEYHCoL8M)`&z}4cLlO^ro%AhWsD@fP-k3@1U*KBv0d*s;yo(N z5JH|qdd^8GV$Tt|G4=91+$8`U((pD<=uPU^d&#-gGe(YjOrfC9KX^I{syZ~o{lpoH za&D_x7mr%d=;PUEzUYSB^R+=fEhet?cAWD~3{k~^^SW~8j6L*!@^Gw4W72sjv6!8FJ{Vv|@IOn~Y^7~MT8Kp`du21by3g0?|yLw6$pYeyeR literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-189/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-189/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-189/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-189/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-189/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..45ac4a106313b937e87caa84405d701db90ff021 GIT binary patch literal 496 zcmZutF%AJi6n$$Kvob-k#U4PRP{>B16mbLxpb&-D5nM#4LKH5b)VhxF-ed-u_{ray z|Nfiz-~Pw#vacb-H!?g~9Ov!LF0W(8yAoMC))8XFONAsokr%K63A)Ujxn6Ep!Yyj7 z;8L0gYEB3!W6dG4ihOC_uOa{jse4-_)F$++J)>{UjH5s^hEP)HUsx(C)HP_i`+*)x z?>qFu6pM!A=wmr&GVQq9@^uL5$bs?NhCW}60qW?}ukoHU&d~o!!>}h#;P%K_c)@V` V@^fgPXYR8{L>ce1Ae2V?d;`qMDHH$z literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-190/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-190/cmd.json new file mode 100644 index 000000000..3b67135a5 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-190/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "gate", + "json": "0", + "words": "actions add action gate base-time 1 cycle-time 2000000 sched-entry open 1000000 -1 -1 sched-entry close 1000000 index 1" + }, + "cmd": "tc actions add action gate base-time 1 cycle-time 2000000 sched-entry open 1000000 -1 -1 sched-entry close 1000000 index 1", + "desc": "positive: opt=plain cmd=gate:actions_add_action_gate_base-time_1_cycle-time_2000000_sched-entry_open_1000000_-1_-1_sched-entry_close_1000000_index_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": "tcact2write/ec-190", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action gate", + "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/tcact2write/ec-190/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-190/dump.out new file mode 100644 index 000000000..aca645eb7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-190/dump.out @@ -0,0 +1,12 @@ +total acts 1 + + action order 0: + priority wildcard clockid TAI flags 0 + base-time 1ns cycle-time 2ms cycle-time-ext 0ns + schedule: + number 0 gate-state open interval 1ms ipv wildcard max-octets wildcard + number 1 gate-state close interval 1ms ipv wildcard max-octets wildcard + pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-190/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-190/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-190/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-190/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-190/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-190/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..228a2d049cd11c2541fc99945096a7f55286606a GIT binary patch literal 280 zcmca|c+)~A1{MYcU}5+Rl2nj*2?JAu1OpRL1Ok|$G>GD1V1tYEFt9T;w8(*F9T->}6c`vASb+LC z7?>FxocMt>3&VdP;9y_{(=tGLTyh|{iu+IqWSSE1i-__-oY63gbuYw&MlsK)R^TE8tVKN zfr=9H>Tw*;@0_7YbL*SB1XMf6K%d9WBK8D!YlzMXFFt8|&iTW*LW!2$J}EeQ$p0=b lPg%>zQSK`7#P>hWbu!heGia5aFS+v-0m*#lH6fer{1*^ZGcW)E literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-191/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-191/cmd.json new file mode 100644 index 000000000..1870107ba --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-191/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "gate", + "json": "0", + "words": "actions add action gate flags 1 sched-entry open 1000000 -1 -1 index 1" + }, + "cmd": "tc actions add action gate flags 1 sched-entry open 1000000 -1 -1 index 1", + "desc": "positive: opt=plain cmd=gate:actions_add_action_gate_flags_1_sched-entry_open_1000000_-1_-1_index_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": "tcact2write/ec-191", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action gate", + "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/tcact2write/ec-191/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-191/dump.out new file mode 100644 index 000000000..02f33e341 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-191/dump.out @@ -0,0 +1,11 @@ +total acts 1 + + action order 0: + priority wildcard clockid TAI flags 0x1 + base-time 0ns cycle-time 1ms cycle-time-ext 0ns + schedule: + number 0 gate-state open interval 1ms ipv wildcard max-octets wildcard + pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-191/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-191/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-191/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-191/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-191/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-191/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..07fe40477a3d9a0b6f6ae1b272ced0fb73a3136a GIT binary patch literal 236 zcmca|c+)~A1{MYcU}5+Rm4gD?XNvjvEPfdU}IfPs~59Z(%iEQW!R zAp(dwfjB*}Bo!p?!NAlY!N3F*fdFPG4Wc-}Dj6757+4z=7#JH^fa*9Hm>C?L_<=MF p!+#*)U|pcokHhs=x=4E%s!Ff;KZa#uBM zqYPKj+tbxG)xC4Op7%94yx{O;as2t*+$RO*JS*Vxv65lL!w^}1qRzMy8QP2nW4+j| z#0S(^A%;A+vjS5RiqvyJZb-d6Zx;ywk38NjGkTMH_nvca%}i0ENGWva^B)2o1$8}| z@qFM8ooa9E*_42fsL>~I&UE$_>%iLv`LtO0xUI6oFVROGJ?`tPogHWB|K#D>lg6}N bYL=CuW%IYJ_k4U8=#o&R?^%+{llS}s|A;C# literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-192/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-192/cmd.json new file mode 100644 index 000000000..208e18f9f --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-192/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "gate", + "json": "0", + "words": "actions add action gate sched-entry open 1000000 -1 -1 index 1 drop" + }, + "cmd": "tc actions add action gate sched-entry open 1000000 -1 -1 index 1 drop", + "desc": "positive: opt=plain cmd=gate:actions_add_action_gate_sched-entry_open_1000000_-1_-1_index_1_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": "tcact2write/ec-192", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action gate", + "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/tcact2write/ec-192/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-192/dump.out new file mode 100644 index 000000000..7021477a8 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-192/dump.out @@ -0,0 +1,11 @@ +total acts 1 + + action order 0: + priority wildcard clockid TAI flags 0 + base-time 0ns cycle-time 1ms cycle-time-ext 0ns + schedule: + number 0 gate-state open interval 1ms ipv wildcard max-octets wildcard + drop + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-192/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-192/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-192/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-192/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-192/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-192/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..a760a79803a8e2c408a60ea748c346f5aaf7f6e5 GIT binary patch literal 228 zcmca|c+)~A1{MYcU}5+R<8m>{ z-0b{2`_0@uZI@+xygZOnQxA6FFs7KwkGMr2bevvba^o>fcHs7lDl`DczqnQkpw{(R&N zSuwYSm>#+~)P0RUj(ukHuFoA`2NS2w#1?GJIX|=^Y8a4Y3z{KW|0jm!ooYgDpEb(@ Z7-HausC~Y;&pritb)PAvggwgp`~q3eD@FhS literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-193/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-193/cmd.json new file mode 100644 index 000000000..76a5af86a --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-193/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "gate", + "json": "0", + "words": "actions add action gate sched-entry open 4294967295 -1 -1 index 1" + }, + "cmd": "tc actions add action gate sched-entry open 4294967295 -1 -1 index 1", + "desc": "boundary: opt=plain cmd=gate:actions_add_action_gate_sched-entry_open_4294967295_-1_-1_index_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": "tcact2write/ec-193", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action gate", + "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/tcact2write/ec-193/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-193/dump.out new file mode 100644 index 000000000..ad63a3b14 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-193/dump.out @@ -0,0 +1,11 @@ +total acts 1 + + action order 0: + priority wildcard clockid TAI flags 0 + base-time 0ns cycle-time 4.29s cycle-time-ext 0ns + schedule: + number 0 gate-state open interval 4.29s ipv wildcard max-octets wildcard + pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-193/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-193/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-193/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-193/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-193/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-193/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..4a564ca7b5ed60f389a6e227d1d3565082fe3e1c GIT binary patch literal 228 zcmca|c+)~A1{MYcU}5+RS;Bq)A^Ll=YR3Gf{PGuK`r7dF}M z?(E#`cAxk1+(Lw}MR>6&*Tenl5uji$M-(m;oXwf!2*N9Q4oeVVMDNjeo8wk^j20_c zm*#<*O9FCVb4DyDUz+2a2!KIo-zEXI3H@pp+*>n!OVITpq}2ImF%@O%8uV>`;SOoN zx9hnnF*=r`Ps}-QT9umym(GBdskIIF6mN<)CfwK5J4c+M|5MMfSH+5(k>d{QVl$vl Sbk7s-nX#7p_e=gOu^ZdNsb`Akms-j0S5FAeY4uHg~w>H zLg~`HQ*%y0?rTnn<>X6qd=&vO2+OxgKy5<5+6(TjnZ6}x`w&v<{Ii&fGIb5QWq#rg zsomT4+>{utlA}+|Id58(n;Mr+kCn07hI@)PLK8#oYwXSuXXyXbGwfBd;%4ORtfGtc V0GsHZPu??QE%)!45DL9}egH!!F!lfd literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-195/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-195/cmd.json new file mode 100644 index 000000000..4e5e2d886 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-195/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "gate", + "json": "0", + "words": "actions add action gate sched-entry open 1000 2147483647 2147483647 index 1" + }, + "cmd": "tc actions add action gate sched-entry open 1000 2147483647 2147483647 index 1", + "desc": "boundary: opt=plain cmd=gate:actions_add_action_gate_sched-entry_open_1000_2147483647_2147483647_index_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": "tcact2write/ec-195", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action gate", + "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/tcact2write/ec-195/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-195/dump.out new file mode 100644 index 000000000..2aab44b0f --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-195/dump.out @@ -0,0 +1,11 @@ +total acts 1 + + action order 0: + priority wildcard clockid TAI flags 0 + base-time 0ns cycle-time 1us cycle-time-ext 0ns + schedule: + number 0 gate-state open interval 1us ipv 2147483647 max-octets 2Gb + pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-195/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-195/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-195/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-195/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-195/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-195/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..eb5d060e3075c6d924b9891443e619b1826ffabc GIT binary patch literal 228 zcmca|c+)~A1{MYcU}5+RD z5CFuSK%Aafk_r-cU|?#HU|<4@Kmaq822m;utPKhbj14S6c@73mh0Hkx$(T8zR?siZ(OC?DhH`IhLN=vecFDe_W*ipnSVBh5zc3_9$gM`# z?T_ps^L>ZAP{p9-Jn}KD^YmE5*CB+{<3W42W}k1y7)=b>ul7BstRep=49z=QD(|gw adbS=I*1!*|%=5;1<`g93d0I*;n&$^E87g1^ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-196/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-196/cmd.json new file mode 100644 index 000000000..74677108c --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-196/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w293-30", + "json": "0", + "words": "actions add action gate sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 index 1" + }, + "cmd": "tc actions add action gate sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 index 1", + "desc": "boundary: opt=plain cmd=w293-30:actions_add_action_gate_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_sched-entry_open_1000_-1_-1_index_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": "tcact2write/ec-196", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action gate", + "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/tcact2write/ec-196/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-196/dump.out new file mode 100644 index 000000000..a6cc389c1 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-196/dump.out @@ -0,0 +1,40 @@ +total acts 1 + + action order 0: + priority wildcard clockid TAI flags 0 + base-time 0ns cycle-time 30us cycle-time-ext 0ns + schedule: + number 0 gate-state open interval 1us ipv wildcard max-octets wildcard + number 1 gate-state open interval 1us ipv wildcard max-octets wildcard + number 2 gate-state open interval 1us ipv wildcard max-octets wildcard + number 3 gate-state open interval 1us ipv wildcard max-octets wildcard + number 4 gate-state open interval 1us ipv wildcard max-octets wildcard + number 5 gate-state open interval 1us ipv wildcard max-octets wildcard + number 6 gate-state open interval 1us ipv wildcard max-octets wildcard + number 7 gate-state open interval 1us ipv wildcard max-octets wildcard + number 8 gate-state open interval 1us ipv wildcard max-octets wildcard + number 9 gate-state open interval 1us ipv wildcard max-octets wildcard + number 10 gate-state open interval 1us ipv wildcard max-octets wildcard + number 11 gate-state open interval 1us ipv wildcard max-octets wildcard + number 12 gate-state open interval 1us ipv wildcard max-octets wildcard + number 13 gate-state open interval 1us ipv wildcard max-octets wildcard + number 14 gate-state open interval 1us ipv wildcard max-octets wildcard + number 15 gate-state open interval 1us ipv wildcard max-octets wildcard + number 16 gate-state open interval 1us ipv wildcard max-octets wildcard + number 17 gate-state open interval 1us ipv wildcard max-octets wildcard + number 18 gate-state open interval 1us ipv wildcard max-octets wildcard + number 19 gate-state open interval 1us ipv wildcard max-octets wildcard + number 20 gate-state open interval 1us ipv wildcard max-octets wildcard + number 21 gate-state open interval 1us ipv wildcard max-octets wildcard + number 22 gate-state open interval 1us ipv wildcard max-octets wildcard + number 23 gate-state open interval 1us ipv wildcard max-octets wildcard + number 24 gate-state open interval 1us ipv wildcard max-octets wildcard + number 25 gate-state open interval 1us ipv wildcard max-octets wildcard + number 26 gate-state open interval 1us ipv wildcard max-octets wildcard + number 27 gate-state open interval 1us ipv wildcard max-octets wildcard + number 28 gate-state open interval 1us ipv wildcard max-octets wildcard + number 29 gate-state open interval 1us ipv wildcard max-octets wildcard + pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-196/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-196/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-196/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-196/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-196/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-196/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..1a921726cb78b651470bfdabfa391ed886e1b7b2 GIT binary patch literal 1156 zcmca|c+)~A1{MYcU}5+R8evy<$FCiO8Z;^B$V-wMEZ0XULDiQ?ozgE;Dac-1}4)_K5Z0+7q0cHFIlh zIZs&+I)7P!B8{uwR^xnBm*CrTr?pfi*ivNp2&gl!iM4WH5UF?jQb44%9TDnlB9Wk>`tuY)jp8R7vHVq#!m29+V~J0T?mdby$q lEIAxYN{TX*N=s4|GK=%nOB6~f3sM!-Q}arSD%C;80st{iOke;2 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-197/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-197/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-197/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-197/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-197/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..8f21808268419f9864eb1d91d228108673c4df3d GIT binary patch literal 1656 zcma)+Jx&8L5QS%VZ7{@y01Je_E=9^HqTm22H~<%*Kq+XU;Ru`n2^y||f&?`U2jCD~ z0>OLUSV1c!-bl0dj6c8e?yUUr_VieqvxPbPLNGh)UQSOtHo=^3t~%k6?HH4>71cAi zoU5&{9()BpJ-@nOK3a*$l2h{*n(y9{w>4joAA_gn%`11A1*_8D2VdA7)_-eHaBkLY zTW!njl=Y$WmqjSjxEgFV%}2fj-<&(I+^)#=MQ%^z_C@YMSXaA=9d@vA9%?3}{!YbzYPt8nbR!m+Ok z7esDN>|Xx?7->5? literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-199/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-199/cmd.json new file mode 100644 index 000000000..2f622fbcf --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-199/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w293-close", + "json": "0", + "words": "actions add action gate sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 index 1" + }, + "cmd": "tc actions add action gate sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 index 1", + "desc": "corner: opt=plain cmd=w293-close:actions_add_action_gate_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_sched-entry_close_1000_index_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": "tcact2write/ec-199", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action gate", + "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/tcact2write/ec-199/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-199/dump.out new file mode 100644 index 000000000..a72323dd2 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-199/dump.out @@ -0,0 +1,44 @@ +total acts 1 + + action order 0: + priority wildcard clockid TAI flags 0 + base-time 0ns cycle-time 34us cycle-time-ext 0ns + schedule: + number 0 gate-state close interval 1us ipv wildcard max-octets wildcard + number 1 gate-state close interval 1us ipv wildcard max-octets wildcard + number 2 gate-state close interval 1us ipv wildcard max-octets wildcard + number 3 gate-state close interval 1us ipv wildcard max-octets wildcard + number 4 gate-state close interval 1us ipv wildcard max-octets wildcard + number 5 gate-state close interval 1us ipv wildcard max-octets wildcard + number 6 gate-state close interval 1us ipv wildcard max-octets wildcard + number 7 gate-state close interval 1us ipv wildcard max-octets wildcard + number 8 gate-state close interval 1us ipv wildcard max-octets wildcard + number 9 gate-state close interval 1us ipv wildcard max-octets wildcard + number 10 gate-state close interval 1us ipv wildcard max-octets wildcard + number 11 gate-state close interval 1us ipv wildcard max-octets wildcard + number 12 gate-state close interval 1us ipv wildcard max-octets wildcard + number 13 gate-state close interval 1us ipv wildcard max-octets wildcard + number 14 gate-state close interval 1us ipv wildcard max-octets wildcard + number 15 gate-state close interval 1us ipv wildcard max-octets wildcard + number 16 gate-state close interval 1us ipv wildcard max-octets wildcard + number 17 gate-state close interval 1us ipv wildcard max-octets wildcard + number 18 gate-state close interval 1us ipv wildcard max-octets wildcard + number 19 gate-state close interval 1us ipv wildcard max-octets wildcard + number 20 gate-state close interval 1us ipv wildcard max-octets wildcard + number 21 gate-state close interval 1us ipv wildcard max-octets wildcard + number 22 gate-state close interval 1us ipv wildcard max-octets wildcard + number 23 gate-state close interval 1us ipv wildcard max-octets wildcard + number 24 gate-state close interval 1us ipv wildcard max-octets wildcard + number 25 gate-state close interval 1us ipv wildcard max-octets wildcard + number 26 gate-state close interval 1us ipv wildcard max-octets wildcard + number 27 gate-state close interval 1us ipv wildcard max-octets wildcard + number 28 gate-state close interval 1us ipv wildcard max-octets wildcard + number 29 gate-state close interval 1us ipv wildcard max-octets wildcard + number 30 gate-state close interval 1us ipv wildcard max-octets wildcard + number 31 gate-state close interval 1us ipv wildcard max-octets wildcard + number 32 gate-state close interval 1us ipv wildcard max-octets wildcard + number 33 gate-state close interval 1us ipv wildcard max-octets wildcard + pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-199/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-199/ip.err new file mode 100644 index 000000000..cf363e80b --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-199/ip.err @@ -0,0 +1,3 @@ +addattr_l ERROR: message exceeded bound of 1024 +addattr_l ERROR: message exceeded bound of 1024 +Warning: Attribute isn't type 'entry'. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-199/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-199/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-199/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-199/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..f7b731037cbfed2d477000a8d95afac72c014448 GIT binary patch literal 1232 zcmca|c+)~A1{MYcU}5+RJ2k%gA4;>0|x^$!waAU2hbh=fq;X7 z6-|mf#U&0ZPv!v2lL%nG2VwN`!~-bA#K6D|Do=QJLP`ttGDZq{xc6n8fTp?*5k7>10VX1bFqrIxtig_qt5s)gdVG-QKyZ-O|%{Q{DHj} zr47)poAk_Y`$A!7Wj!Cc$gpOL$pj{R+w5BW15&lH{Yi$qlhWboq!{jIis8wn7@lZ~ z31>BXf4rcxBrqL;Sr(YCz^n+&s=%xXOeHYu0<$47n*!4lm@R?X7MLA@*%g>Qf!P3xL5#$cVoe*2l-39;{v=*5F literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-200/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-200/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-200/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-200/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-200/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..5ac0fde9fac7fff57b59ab56f4f9ded7598aa30f GIT binary patch literal 496 zcmZuuu?_)25Pjzkiw%k^bQ*<1A)-)<=(K*|3Q=hJ9f?jY6l%Yq^DV-An_Xn%B{Q@0 zcJ|HO-2HYsl#t5rAxkF;0b?FUNYV@I0+%B}n^vQ(i|tChMTr@l zNwc8ll!PqS9FiNcUYh%>3IK!Dz0DJ9lls-3b8hvFk)s+@=uqb$EENUa8r0qS$Qe3* z?r;~nSX5k%oMoTstmSgc*8$RLFfm@+aLyMoKpB0`Yy8X^d+7V5VR)w=s#WaKcfDYU WKK%skbH{!5Ts>X%k8)CJw9hxb*djmx literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-201/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-201/cmd.json new file mode 100644 index 000000000..bff734d70 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-201/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w295-0kb", + "json": "0", + "words": "actions add action gate sched-entry open 1ms 1 0kb index 1" + }, + "cmd": "tc actions add action gate sched-entry open 1ms 1 0kb index 1", + "desc": "corner: opt=plain cmd=w295-0kb:actions_add_action_gate_sched-entry_open_1ms_1_0kb_index_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": "tcact2write/ec-201", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action gate", + "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/tcact2write/ec-201/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-201/dump.out new file mode 100644 index 000000000..0b70e58cb --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-201/dump.out @@ -0,0 +1,11 @@ +total acts 1 + + action order 0: + priority wildcard clockid TAI flags 0 + base-time 0ns cycle-time 1ms cycle-time-ext 0ns + schedule: + number 0 gate-state open interval 1ms ipv 1 max-octets wildcard + pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-201/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-201/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-201/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-201/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-201/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-201/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..deb7b33e7ad12cedd40c41429e8bec3328a8bc15 GIT binary patch literal 228 zcmca|c+)~A1{MYcU}5+RiUnF=jxh&he#k`3b&k7{*M4QK$ha6FSrOtCHB6JxI#%6U`i?^sS zg9~|X=~<9agq|aEIrZ{<+#~=DVs|%<=uPU^d&ardGenAdNFk%oKUg{nsv0!i`NSEr za&BMqT`X!&qs6jMG3~hA^0tS3T1-soZ8+zf7@~>+=QZWb347@KQ2`18&0++(Ct(-FHgq=v03T}?(*OVf literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-202/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-202/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-202/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-202/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-202/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..3b8539ad870f2cf16a9a8d5e7420dbb618ff1756 GIT binary patch literal 496 zcmZutF$%&!5S-)^J@p6{DSUv1f`y2MrC^@m2Q0+G)(_cP3tHIv1^t2F5S%&hRDuhe z-JRW=o$T#;+^5L!wG2-dr)9ByEF3E4a%5(v5N*n2g2bFT7qJovy7U%(v)ZkNJEW}O zU7UI4Fef0dbB>8kI4{ooMFW6^@o&q7+=PC)E9%zHx|L|wA@s=e&m0+L>RPmYexQb4 z&>eemi$lZD=;OGj8!E@w(ZthXVFS0N&Xn~CIR?~ggJz-nKXF+0-ZAr9`kWaC!WcvO V3A$&&d-jRQ>-Q`P8SePK=L_Lp8}9%B literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-203/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-203/cmd.json new file mode 100644 index 000000000..8969accd8 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-203/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w296-time", + "json": "0", + "words": "actions add action gate base-time 0x10 cycle-time 1.5 sched-entry open 1000000 -1 -1 index 1" + }, + "cmd": "tc actions add action gate base-time 0x10 cycle-time 1.5 sched-entry open 1000000 -1 -1 index 1", + "desc": "corner: opt=plain cmd=w296-time:actions_add_action_gate_base-time_0x10_cycle-time_1.5_sched-entry_open_1000000_-1_-1_index_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": "tcact2write/ec-203", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action gate", + "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/tcact2write/ec-203/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-203/dump.out new file mode 100644 index 000000000..ae89daabd --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-203/dump.out @@ -0,0 +1,11 @@ +total acts 1 + + action order 0: + priority wildcard clockid TAI flags 0 + base-time 16ns cycle-time 1ns cycle-time-ext 0ns + schedule: + number 0 gate-state open interval 1ms ipv wildcard max-octets wildcard + pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-203/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-203/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-203/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-203/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-203/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-203/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..cc7437e05fa6bfd1dcaae3e27dcb3eea5232bb6f GIT binary patch literal 252 zcmca|c+)~A1{MYcU}5+R#gNxEd7()&>Oz#s(IkJ`M(E y1_vj8AkD(?9|$-YSiv;NeJg?PGXd%cVRZMY0EL(s7#KnBOWFmoy#XkO>}CM!rXNHA literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-203/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-203/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-203/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-203/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-203/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..0e2caac6e93b4e18cd2d70bab6aaf3d09e8abc5e GIT binary patch literal 496 zcmZutI}XAy41N7UfT%EZ=m9FhzimPIqCj31x>daA z4yoDOzS$`nE&j2F=A4FChOKpa%#_hq-1AM05n;p*Wx7JnkpC6)K7CZx*xHOWL!)T@ WcYq1xo=@I0V=m_2Ga(f?_xu2?t0`Fk literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-204/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-204/cmd.json new file mode 100644 index 000000000..b43558027 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-204/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w297-inf", + "json": "0", + "words": "actions add action gate base-time inf sched-entry open 1000000 -1 -1 index 1" + }, + "cmd": "tc actions add action gate base-time inf sched-entry open 1000000 -1 -1 index 1", + "desc": "corner: opt=plain cmd=w297-inf:actions_add_action_gate_base-time_inf_sched-entry_open_1000000_-1_-1_index_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": "tcact2write/ec-204", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action gate", + "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/tcact2write/ec-204/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-204/dump.out new file mode 100644 index 000000000..d2cefa304 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-204/dump.out @@ -0,0 +1,11 @@ +total acts 1 + + action order 0: + priority wildcard clockid TAI flags 0 + base-time -9223372036854775808ns cycle-time 1ms cycle-time-ext 0ns + schedule: + number 0 gate-state open interval 1ms ipv wildcard max-octets wildcard + pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-204/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-204/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-204/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-204/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-204/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-204/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..79e8ac55143ce8016a43c46109bbf5134865e9de GIT binary patch literal 240 zcmca|c+)~A1{MYcU}5+RaI{{Z&A$b4* literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-204/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-204/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-204/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-204/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-204/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..2476e0056965106a2f01c2a5289f8ee323d325ed GIT binary patch literal 496 zcmZutI|{-;5PkXS8W*)lkpl#=P>^6@VG$%p@B$WMVe0|Bik-EE7M5PYTX+W1H%kU( z@xf$w-n@M?naBNn3=!jt7%wK5Rd1I*1Jt}rAdcp8C}zBr2%;->%4G;JV00MU^?oC~ zMaT>;#B)f`iiCvkIVD$8FP_Ow1b{*0-ev*4N&R})oLhSO$k6sFZ6PPos4goMA(j8x?9^8=1xDH#9& literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-205/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-205/cmd.json new file mode 100644 index 000000000..14b11afa7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-205/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w297-nan", + "json": "0", + "words": "actions add action gate base-time nan sched-entry open 1000000 -1 -1 index 1" + }, + "cmd": "tc actions add action gate base-time nan sched-entry open 1000000 -1 -1 index 1", + "desc": "corner: opt=plain cmd=w297-nan:actions_add_action_gate_base-time_nan_sched-entry_open_1000000_-1_-1_index_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": "tcact2write/ec-205", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action gate", + "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/tcact2write/ec-205/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-205/dump.out new file mode 100644 index 000000000..d2cefa304 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-205/dump.out @@ -0,0 +1,11 @@ +total acts 1 + + action order 0: + priority wildcard clockid TAI flags 0 + base-time -9223372036854775808ns cycle-time 1ms cycle-time-ext 0ns + schedule: + number 0 gate-state open interval 1ms ipv wildcard max-octets wildcard + pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-205/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-205/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-205/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-205/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-205/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-205/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..c7902b5eec93272a097e62bc228f904fad83f264 GIT binary patch literal 240 zcmca|c+)~A1{MYcU}5+RH=YOH>m)Hm>3usL2lZ-8)756I{_k6Avgd4 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-205/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-205/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-205/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-205/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-205/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..5d1deb978a570e015001b855f1a04115b124ce80 GIT binary patch literal 496 zcmZutI|{-;5PkWmtFE6SMGg?b!a{`Y;%F|1V#Z63Ai7egT!H{YMw_u&?bgCu zgv{VVJa6Z4%I%)US8RxuvI%1TCLJN}qqQbQDO{pyTc* z&XCq~YfZaYG@XW@y=9+bF>tx%YlZl9nV8z!aLzX|K?7sXYwDR}_K^P*55t;hRGU$= ZtPS;4e?4WN5AHJ~A>r>cAr*Q1`~Y{^D*6Bb literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-206/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-206/cmd.json new file mode 100644 index 000000000..696733dd6 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-206/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w297-big", + "json": "0", + "words": "actions add action gate cycle-time 1e30 sched-entry open 1000000 -1 -1 index 1" + }, + "cmd": "tc actions add action gate cycle-time 1e30 sched-entry open 1000000 -1 -1 index 1", + "desc": "corner: opt=plain cmd=w297-big:actions_add_action_gate_cycle-time_1e30_sched-entry_open_1000000_-1_-1_index_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": "tcact2write/ec-206", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action gate", + "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/tcact2write/ec-206/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-206/dump.out new file mode 100644 index 000000000..de1e3a74e --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-206/dump.out @@ -0,0 +1,11 @@ +total acts 1 + + action order 0: + priority wildcard clockid TAI flags 0 + base-time 0ns cycle-time -9223372036854775808ns cycle-time-ext 0ns + schedule: + number 0 gate-state open interval 1ms ipv wildcard max-octets wildcard + pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-206/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-206/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-206/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-206/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-206/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-206/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..c164630786515a2b3e2037bfacc2b3f613a1e137 GIT binary patch literal 240 zcmca|c+)~A1{MYcU}5+RvhLQD({j3751-VL!4-JJlq`XH15 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-206/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-206/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-206/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-206/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-206/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..c3ffb5ff8643e84ea4689b8bc5e75f4431dd86a8 GIT binary patch literal 496 zcmZutu?_)25Pj?JSZq*SaUY;iC`1&Zx`m^l8^}BGbI%T@A&~xaVZf1 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-207/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-207/cmd.json new file mode 100644 index 000000000..04df66e6c --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-207/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w297-frac", + "json": "0", + "words": "actions add action gate base-time 1.9ns sched-entry open 1000000 -1 -1 index 1" + }, + "cmd": "tc actions add action gate base-time 1.9ns sched-entry open 1000000 -1 -1 index 1", + "desc": "corner: opt=plain cmd=w297-frac:actions_add_action_gate_base-time_1.9ns_sched-entry_open_1000000_-1_-1_index_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": "tcact2write/ec-207", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action gate", + "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/tcact2write/ec-207/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-207/dump.out new file mode 100644 index 000000000..a521adcf2 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-207/dump.out @@ -0,0 +1,11 @@ +total acts 1 + + action order 0: + priority wildcard clockid TAI flags 0 + base-time 1ns cycle-time 1ms cycle-time-ext 0ns + schedule: + number 0 gate-state open interval 1ms ipv wildcard max-octets wildcard + pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-207/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-207/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-207/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-207/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-207/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-207/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..e3c0f6a0af6b04527689724244a363333d7aa1c8 GIT binary patch literal 240 zcmca|c+)~A1{MYcU}5+RaC?L_<=MF p!+#*)U|qyiLTVqjndx#`Gmh>hs(1OVtKAj$v$ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-207/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-207/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-207/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-207/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-207/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..42fe4f5440b2552c0cda51c5bafe8f7f3d1ce3bf GIT binary patch literal 496 zcmZvYu?oUK42J)3U0naS06?6Pia&R z1L1Q2C0}wW@27nTgRdDpdATfl+w&nn!B`w7n#!RzVUQt+uFO*{Mt}jmP2a3`YtbD- z-cY$POEPl`;y!asEn~hgXE#XzETXD54#=kT%Pu&#^zV4u44h*R*uV-XuHXR_DN?|Rf)XJl9snPpKoqomh%RN63Z!(Y>FzrSW=?B? zR*YoXp0&qbSO34K268-+2%x5%hX>Q#Hmy)`pMfp$t^NS${GR21~;(W&Ea z?l6pd+nY@ZXyG0aIA^}-*FAyV2I+K}_^9oUiYkc&k+e(de4HCOYZpqF3vF> literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-209/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-209/cmd.json new file mode 100644 index 000000000..ef3ce2be3 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-209/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w299", + "json": "0", + "words": "actions add action gate priority -1 flags 0 base-time 0 cycle-time 0 sched-entry open 1000000 -1 -1 index 1" + }, + "cmd": "tc actions add action gate priority -1 flags 0 base-time 0 cycle-time 0 sched-entry open 1000000 -1 -1 index 1", + "desc": "corner: opt=plain cmd=w299:actions_add_action_gate_priority_-1_flags_0_base-time_0_cycle-time_0_sched-entry_open_1000000_-1_-1_index_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": "tcact2write/ec-209", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action gate", + "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/tcact2write/ec-209/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-209/dump.out new file mode 100644 index 000000000..d1ef0a62e --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-209/dump.out @@ -0,0 +1,11 @@ +total acts 1 + + action order 0: + priority wildcard clockid TAI flags 0 + base-time 0ns cycle-time 1ms cycle-time-ext 0ns + schedule: + number 0 gate-state open interval 1ms ipv wildcard max-octets wildcard + pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-209/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-209/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-209/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-209/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-209/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-209/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..9512b4d9ff72f708336ed392b86e6decca56636e GIT binary patch literal 228 zcmca|c+)~A1{MYcU}5+ROV literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-209/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-209/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-209/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-209/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-209/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..816fe4b720f5faef635b8cab86747ebe9386c18f GIT binary patch literal 496 zcmZvYF>b;@5JkUPLpI3@QaHi~a6yp*St%$j+7-_sSfB(K+&;Mbw>LJH9a-7)g7Q?UY7-(55k-M1|i+2_^GWScLX$3O8Fdvzp z%kK~A0X=qzDdv&PhJrF>PN~)Oi}|yc0q}6~Y>|;o>6YE{-MTZ40uQN#lAL=HNK|Oo z<0;l_zM*6qS$kFo45CM$z$=>Np<+>^(= b6+N#V&{pHys(Jo#o)raUI?sZVOXhh2SKcV@ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-210/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-210/cmd.json new file mode 100644 index 000000000..c929a7ca6 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-210/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w302", + "json": "0", + "words": "actions add action gate p 2 c 2000000 sched-entry open 1000000 -1 -1 index 1" + }, + "cmd": "tc actions add action gate p 2 c 2000000 sched-entry open 1000000 -1 -1 index 1", + "desc": "corner: opt=plain cmd=w302:actions_add_action_gate_p_2_c_2000000_sched-entry_open_1000000_-1_-1_index_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": "tcact2write/ec-210", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action gate", + "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/tcact2write/ec-210/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-210/dump.out new file mode 100644 index 000000000..839533317 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-210/dump.out @@ -0,0 +1,11 @@ +total acts 1 + + action order 0: + priority 2 clockid TAI flags 0 + base-time 0ns cycle-time 2ms cycle-time-ext 0ns + schedule: + number 0 gate-state open interval 1ms ipv wildcard max-octets wildcard + pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-210/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-210/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-210/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-210/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-210/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-210/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..5f9b22f04f8123d0a8297c6d3c91f1637395baad GIT binary patch literal 248 zcmca|c+)~A1{MYcU}5+RRL#3y?CGBaS8t-o{Ku2%$#3I^_H_OQKAt1~r#o z_=XPMlXd2Ei?Zv{$8yf$*mbq#ZExb#S(uD%_|A~^044NEG8s*({%<;KGM4b6saLVb co^}TG(er)OK6l(_kAl3o&xBIM8ToyF0ca*BFaQ7m literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-211/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-211/cmd.json new file mode 100644 index 000000000..a0ce8b52d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-211/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w304", + "json": "0", + "words": "actions add action gate sched-entry close 1000000 3 8000 index 1" + }, + "cmd": "tc actions add action gate sched-entry close 1000000 3 8000 index 1", + "desc": "corner: opt=plain cmd=w304:actions_add_action_gate_sched-entry_close_1000000_3_8000_index_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": "tcact2write/ec-211", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action gate", + "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/tcact2write/ec-211/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-211/dump.out new file mode 100644 index 000000000..38bf39e1f --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-211/dump.out @@ -0,0 +1,11 @@ +total acts 1 + + action order 0: + priority wildcard clockid TAI flags 0 + base-time 0ns cycle-time 1ms cycle-time-ext 0ns + schedule: + number 0 gate-state close interval 1ms ipv wildcard max-octets wildcard + pipe + index 1 ref 1 bind 0 + not_in_hw + used_hw_stats disabled diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-211/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-211/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-211/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-211/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-211/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-211/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..86bce8f9503019c7537d24e73ef727bbad4f7c45 GIT binary patch literal 224 zcmca|c+)~A1{MYcU}5+RC?L_!&5W?)VP`91N^r h8svt0pc_npYC#y?4Jtq(CI$vZkQ-F@LTo^H7XW%bA0_|* literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-211/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-211/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-211/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-211/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-211/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..d123a15d64b3606c4dc3829faa2fd066e51e747d GIT binary patch literal 492 zcmZutF^Df1m@2f|`y)RD6N&pu3q> zEKVy%a%_+7S;x=Em%aElLIm4L22ub?GKI3vE=+VAt>*aPO z-lN70!K8Vh=9Gji)*O->v0s||yBYw8G|cvr1fJA??K$_>n=x`UV+sXzKEYE_P}QLo z;uCi$s=cjduXr>ae6K)}Jk3Z@CkgWNn5=w=h3*&vMWW)+|i69WSy$jw@NAudAq2LSh=Dfs{Z literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-212/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-212/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-212/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-212/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-212/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..51bd610da5bd03fa734b3bccbf2c8f29d45ca0d4 GIT binary patch literal 536 zcmaJ-Jr03E5Pj?Wu-KsZBsz^kEeeG~#1Rx)g`Y(05ISez2s#p#3n(1IC4@Jdosf-q z$$T^W_U)Vb=6*fyb4c+)iYE`JNp-zw8H`y=AWiy`6g?JQnB+{Iav2Qjj1prx+suV` z$ngXp;<=^giiAY$IVIPnUOW#M5dap6e>*S+eNx}vW6mu-V`M1C6q@w;1xH7L+**`< zed7$xFt^@m7l(q^$j7nIBiK5=R)|l92OGRC=X?!@xM0BcOn`xr zfd_~=fHs$s=Gs z#9SAkdqu!9U}bPZgn=E-hA||7W?%yx3|wI09H5;NPK+XML-xm3`BrJ%xGZ%0RJo>RsaA1 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-214/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-214/cmd.json new file mode 100644 index 000000000..7095587bf --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-214/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "bpf", + "json": "0", + "words": "actions add action bpf bc '1,6 0 0 0' index 1" + }, + "cmd": "tc actions add action bpf bc '1,6 0 0 0' index 1", + "desc": "positive: opt=plain cmd=bpf:actions_add_action_bpf_bc_'1,6_0_0_0'_index_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": "tcact2write/ec-214", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action bpf", + "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/tcact2write/ec-214/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-214/dump.out new file mode 100644 index 000000000..b31ef392d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-214/dump.out @@ -0,0 +1,5 @@ +total acts 1 + + action order 0: bpf bytecode '1,6 0 0 0' default-action pipe + index 1 ref 1 bind 0 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-214/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-214/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-214/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-214/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-214/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-214/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..474d6b1e2765f6f9f410f0fee67ae54428fd6064 GIT binary patch literal 208 zcmca|c+)~A1{MYcU}5+RBc%z=TC z!3KyqfHst1|(VIN2r1JE31u-*+oat)Xd zG1mp?UJBc%z=TC z!3KyqfHBcOn`xr zfd_~=fHK1}J0%R1Y%m^FEL+2B102V7(iF;1}?C02+&Rms5?OdAk`4t85r20_VWPkV*{&Z jU{C?dibB~i8p?%JAis74{i*^K0bz8%iU5U}(fkSkJ}=ZyGL?Y=-5mg!CKV6> literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-216/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-216/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-216/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-216/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-216/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..9bd08a783ae8e20ac727c96ac766a2720db41815 GIT binary patch literal 392 zcmca|c+)~A1{MYcU}5+RJlL70Js*#bntfB}$U#K6eB3#bkzCcwbR zzyrh_K%7*N24phst1|(Zy!h(1JE31u-*+oat)Xd zG1mp?UJ2neJ5RRk!+jOJGWc9a~h literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-217/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-217/cmd.json new file mode 100644 index 000000000..9e04912a6 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-217/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "bpf", + "json": "0", + "words": "actions add action bpf bytecode '1,6 0 0 0,' index 1" + }, + "cmd": "tc actions add action bpf bytecode '1,6 0 0 0,' index 1", + "desc": "positive: opt=plain cmd=bpf:actions_add_action_bpf_bytecode_'1,6_0_0_0,'_index_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": "tcact2write/ec-217", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action bpf", + "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/tcact2write/ec-217/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-217/dump.out new file mode 100644 index 000000000..b31ef392d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-217/dump.out @@ -0,0 +1,5 @@ +total acts 1 + + action order 0: bpf bytecode '1,6 0 0 0' default-action pipe + index 1 ref 1 bind 0 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-217/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-217/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-217/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-217/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-217/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-217/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..bc8e2b1dba33b8edb9ab901dc0f1076a2541f260 GIT binary patch literal 208 zcmca|c+)~A1{MYcU}5+R literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-217/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-217/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-217/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-217/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-217/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..324db62757361180fb6b979899ff827ba8a55ace GIT binary patch literal 392 zcmca|c+)~A1{MYcU}5+RroAdGI_8K966P(8>z&jTP`3_x?3!Fo3U$u(d; z#9SAkdqu!9U}bPZgn=E-hA||7W?%yx3|wI05TKnBP~d^s5R`1ccH3DgqQ@M)NBG!k8U+ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-218/bpf.txt b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-218/bpf.txt new file mode 100644 index 000000000..0b0c18816 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-218/bpf.txt @@ -0,0 +1,5 @@ +4 +40 0 0 12 +21 0 1 2048 +6 0 0 262144 +6 0 0 0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-218/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-218/cmd.json new file mode 100644 index 000000000..d1801b6d5 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-218/cmd.json @@ -0,0 +1,109 @@ +{ + "axes": { + "fix": "bpf-file", + "json": "0", + "words": "actions add action bpf bytecode-file bpf.txt index 1" + }, + "cmd": "tc actions add action bpf bytecode-file bpf.txt index 1", + "desc": "positive: opt=plain cmd=bpf-file:actions_add_action_bpf_bytecode-file_bpf.txt_index_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": "tcact2write/ec-218", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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' '4\n40 0 0 12\n21 0 1 2048\n6 0 0 262144\n6 0 0 0\n' > bpf.txt" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc actions ls action bpf", + "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' '4\n40 0 0 12\n21 0 1 2048\n6 0 0 262144\n6 0 0 0\n' > bpf.txt", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-218/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-218/dump.out new file mode 100644 index 000000000..cb00c27a1 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-218/dump.out @@ -0,0 +1,5 @@ +total acts 1 + + action order 0: bpf bytecode '4,40 0 0 12,21 0 1 2048,6 0 0 262144,6 0 0 0' default-action pipe + index 1 ref 1 bind 0 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-218/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-218/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-218/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-218/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-218/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-218/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..3d6c999e6c302c03279caf8b1ab47d1f2fa632f9 GIT binary patch literal 232 zcmca|c+)~A1{MYcU}5+RV5kAIL70Js*#bntKn{>$z`)A38>kK@7Qw*C z5CX&;K%7*N#^Axg)WF8T3^rW_NNNBT@&K_Y16UCQ8(1R?lxAR%U|<4DKmaq822mil dqypVy0%U_Qx?5C$LQFt2L2kLXA7TQ!`v8x26=?tf literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-218/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-218/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-218/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-218/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-218/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..9895959e18ff03c3b59e43d5127fa492b83bfaa6 GIT binary patch literal 416 zcmZutF$%&!5S-)=JtT-lgxIIBlvI`$zCf%kENry!OMbyp3k5A~1;G#a1Y5zGOL9VR zVQyz<_vVg$T=u&d7Qe9gusF=S>(e5^gj|3%W2HJqBn2XKR{#J2 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-219/bpf.txt b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-219/bpf.txt new file mode 100644 index 000000000..1d686fb80 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-219/bpf.txt @@ -0,0 +1 @@ +1,6 0 0 0 \ No newline at end of file diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-219/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-219/cmd.json new file mode 100644 index 000000000..7e932b2f4 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-219/cmd.json @@ -0,0 +1,109 @@ +{ + "axes": { + "fix": "bpf-file", + "json": "0", + "words": "actions add action bpf bcf bpf.txt index 1" + }, + "cmd": "tc actions add action bpf bcf bpf.txt index 1", + "desc": "positive: opt=plain cmd=bpf-file:actions_add_action_bpf_bcf_bpf.txt_index_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": "tcact2write/ec-219", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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' '1,6 0 0 0' > bpf.txt" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc actions ls action bpf", + "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' '1,6 0 0 0' > bpf.txt", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-219/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-219/dump.out new file mode 100644 index 000000000..b31ef392d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-219/dump.out @@ -0,0 +1,5 @@ +total acts 1 + + action order 0: bpf bytecode '1,6 0 0 0' default-action pipe + index 1 ref 1 bind 0 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-219/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-219/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-219/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-219/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-219/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-219/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..f017bf929192da74876a9df46b396a5a329f8d06 GIT binary patch literal 208 zcmca|c+)~A1{MYcU}5+R;1}?C02+&Rms5?OdAk`4t85r20_VWPkV*{&Z jU{C?dibL5j8p?%JAiwSe`c(xe0>bEi6#)t{qxls8l;9m$ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-220/bpf.txt b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-220/bpf.txt new file mode 100644 index 000000000..f0bf92890 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-220/bpf.txt @@ -0,0 +1,3 @@ +2, 6 0 0 0 + +6 0 0 1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-220/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-220/cmd.json new file mode 100644 index 000000000..669531125 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-220/cmd.json @@ -0,0 +1,109 @@ +{ + "axes": { + "fix": "bpf-file", + "json": "0", + "words": "actions add action bpf bytecode-file bpf.txt index 1" + }, + "cmd": "tc actions add action bpf bytecode-file bpf.txt index 1", + "desc": "positive: opt=plain cmd=bpf-file:actions_add_action_bpf_bytecode-file_bpf.txt_index_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": "tcact2write/ec-220", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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' '2,\t6 0 0 0\n\n6 0 0 1\n' > bpf.txt" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc actions ls action bpf", + "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' '2,\t6 0 0 0\n\n6 0 0 1\n' > bpf.txt", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-220/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-220/dump.out new file mode 100644 index 000000000..02512a1dd --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-220/dump.out @@ -0,0 +1,5 @@ +total acts 1 + + action order 0: bpf bytecode '2,6 0 0 0,6 0 0 1' default-action pipe + index 1 ref 1 bind 0 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-220/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-220/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-220/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-220/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-220/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-220/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..da7c75c9d3b75e6b6656a1a9fc555c242407486c GIT binary patch literal 216 zcmca|c+)~A1{MYcU}5+RkK@=E1ZEDgXcg literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-220/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-220/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-220/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-220/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-220/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..4c827f7597ae0bbcdf11ac4c193c540bd8fb8cef GIT binary patch literal 400 zcmca|c+)~A1{MYcU}5+RK1t??$R1Y#Q<^V_+1JE31u-+X&atoLb zG1mp?UJ ./-" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc actions ls action bpf", + "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 '1,6 0 0 0' > ./-", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-221/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-221/dump.out new file mode 100644 index 000000000..b31ef392d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-221/dump.out @@ -0,0 +1,5 @@ +total acts 1 + + action order 0: bpf bytecode '1,6 0 0 0' default-action pipe + index 1 ref 1 bind 0 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-221/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-221/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-221/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-221/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-221/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-221/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..44641270a5296223631d6558f6258aac4725c2e1 GIT binary patch literal 208 zcmca|c+)~A1{MYcU}5+RroAdGI_8K966P(8@Jl?Oq(7=Y$5gY|9zl54Dj}5Gv jfk6c*D+*=9Xebv>f&6+9=vNh>2neJ5RRk!+jOJGWLJ=Qw literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-222/bpf.txt b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-222/bpf.txt new file mode 100644 index 000000000..4064a3565 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-222/bpf.txt @@ -0,0 +1,2039 @@ +2038 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-222/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-222/cmd.json new file mode 100644 index 000000000..db89724c1 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-222/cmd.json @@ -0,0 +1,109 @@ +{ + "axes": { + "fix": "w307-2038", + "json": "0", + "words": "actions add action bpf bytecode-file bpf.txt index 1" + }, + "cmd": "tc actions add action bpf bytecode-file bpf.txt index 1", + "desc": "boundary: opt=plain cmd=w307-2038:actions_add_action_bpf_bytecode-file_bpf.txt_index_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": "tcact2write/ec-222", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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' 2038; i=0; while [ $i -lt 2038 ]; do printf '6 0 0 0\\n'; i=$((i+1)); done; } > bpf.txt" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc actions ls action bpf", + "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' 2038; i=0; while [ $i -lt 2038 ]; do printf '6 0 0 0\\n'; i=$((i+1)); done; } > bpf.txt", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-222/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-222/dump.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-222/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-222/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-222/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-222/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-222/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-222/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..b8fbcae9c601861f73569413ec536739324ab3d5 GIT binary patch literal 16504 zcmeI)JxT;Y5C+h1e%C;ZJ%9%=FfbdvgC{UBF%d*C^eSFK%+^G_!Uke&;0cTr>~>Zb zHt_7b~2+0^Rg;l53u&Fb@AUY2Kjm$%nLc2Dvf>AU02ndECq4l|5T<=o%? z$JFG##7>%=UtQ#NYVXE$`CKHAQ=f5tP@W5+4(d=VpbzwcKJXoIfCC)h00%h00S<70 z103K02ROh14sd`29N+*4IKTl8aDW3G-~b0WzyS_$fCC)h00%h00S<70103K02ROh1 z4sd`29N+*4IKTl8{O7=a+VUs=yt;L+sm=y?yBTs+o@;E+1~@2NZPL`)0H@FM4cqeq FegG2CN_qeQ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-222/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-222/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-222/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-222/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-222/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..72d517572d32b822bb114700e231b6a39eaad4bc GIT binary patch literal 156 zcmca|c+)~A1{MYcU}5+RvW~dm50@=A7Xr~E~4Z`SlssM$U S7#J8qcA6dpnaaR`?hXLm5fiom literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-223/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-223/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-223/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-223/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-223/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..5173139d9a72e67237d3ae02ecd6ce639304a7b3 GIT binary patch literal 392 zcmca|c+)~A1{MYcU}5+Rst1|3{vb#f1JE31u-*+oat)Xd zG1mp?UJvW~dm50@)c1w9^F024QqNRe(ZF S3=E7QI~@*!Ol4p|cLxBymlJ{j literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-224/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-224/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-224/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-224/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-224/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..7a232987104b5783abc46cd6e6b34917adef1d91 GIT binary patch literal 392 zcmca|c+)~A1{MYcU}5+RK1}J0%R1Y$5+d+^n2B102V7(iF;1}?C02+&Rms5?OdAk`4t85r20_VWPkV*{&Z iU{C?dia^;g8p?%JAipL8{i*^K0bz8%g7h(?`4s?8njKRB literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-225/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-225/cmd.json new file mode 100644 index 000000000..05f8ad192 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-225/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w309-wrap", + "json": "0", + "words": "actions add action bpf bytecode '1,65542 256 0 4294967296' index 1" + }, + "cmd": "tc actions add action bpf bytecode '1,65542 256 0 4294967296' index 1", + "desc": "corner: opt=plain cmd=w309-wrap:actions_add_action_bpf_bytecode_'1,65542_256_0_4294967296'_index_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": "tcact2write/ec-225", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action bpf", + "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/tcact2write/ec-225/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-225/dump.out new file mode 100644 index 000000000..b31ef392d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-225/dump.out @@ -0,0 +1,5 @@ +total acts 1 + + action order 0: bpf bytecode '1,6 0 0 0' default-action pipe + index 1 ref 1 bind 0 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-225/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-225/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-225/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-225/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-225/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-225/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..cd948de724f30eb5ccaaec0d354dd9f33b282a5f GIT binary patch literal 208 zcmca|c+)~A1{MYcU}5+RvW~dm50@=9{Xr~E~4Z`SlssM$U S7#J8qcJ>?snaaR`?hXLB+7rP5 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-225/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-225/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-225/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-225/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-225/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..f0c399b2c243f7ca283f829968be9276b882aecf GIT binary patch literal 392 zcmca|c+)~A1{MYcU}5+RtT>C2B102V7(iF;1}?C02+&Rms5?OdAk`4t85r20_VWPkV*{&Z jU{C?dib2^h8p?%JAirJ!`c(xe0>bEi6#)t{qxls8x)dA~ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-226/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-226/cmd.json new file mode 100644 index 000000000..0a4137792 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-226/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w314", + "json": "0", + "words": "actions add action bpf b '1,6 0 0 0' index 1" + }, + "cmd": "tc actions add action bpf b '1,6 0 0 0' index 1", + "desc": "corner: opt=plain cmd=w314:actions_add_action_bpf_b_'1,6_0_0_0'_index_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": "tcact2write/ec-226", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions ls action bpf", + "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/tcact2write/ec-226/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-226/dump.out new file mode 100644 index 000000000..b31ef392d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-226/dump.out @@ -0,0 +1,5 @@ +total acts 1 + + action order 0: bpf bytecode '1,6 0 0 0' default-action pipe + index 1 ref 1 bind 0 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-226/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-226/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-226/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-226/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-226/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-226/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..4a84733f8c4a7011a265e094ebce17ebcda02b3c GIT binary patch literal 208 zcmca|c+)~A1{MYcU}5+RvW~dm50@>*bw9^F024QqNRe(ZF S3=E7QJ0~6jnaaR`?hXLOq7%>n literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-226/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-226/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-226/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-226/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-226/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..ad13b48d39d0caab587b703390a3a8d329082f8e GIT binary patch literal 392 zcmca|c+)~A1{MYcU}5+RK1}J0%R1Y$b>o7#mLeh+ULdHT7{MY3uK)Z*+`7w$1&{E|ujBG_a>9GIQ-{xya?Sxr8H>XObka6{_6U zK{Q5ti3knMh3m?Ifm=Ga>2nhv`V9h)53RV_qbFC#M z1-+HAu`%cW@7>C|F-$U<-G67lnVnswPm2m7Y%Rh!H_O|@hu1HQYp&&p?4^RY3oede z@WMQ=m1B$+_6@KHi$0UZdm~Q}2MTzn)Ejj1Hjj66kZrk78D(Y8nw$9 z9d}o(8S~XKbL*u)SyF#yy()b==#OSRzu|dO%!b=vOE{^}PTV9zRXtao*d@P1&tID7 nY3;qZY3jwohc+{s#l}Z}=A&l)!CC8HXf literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-228/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-228/cmd.json new file mode 100644 index 000000000..cdace858f --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-228/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "f-tunnel_key", + "json": "0", + "words": "filter add dev d0 egress pref 1 protocol all handle 1 matchall action tunnel_key unset" + }, + "cmd": "tc filter add dev d0 egress pref 1 protocol all handle 1 matchall action tunnel_key unset", + "desc": "positive: opt=plain cmd=f-tunnel_key:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_matchall_action_tunnel_key_unset", + "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": "tcact2write/ec-228", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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/tcact2write/ec-228/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-228/dump.out new file mode 100644 index 000000000..3dc4f9986 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-228/dump.out @@ -0,0 +1,6 @@ +filter protocol all pref 1 matchall chain 0 +filter protocol all pref 1 matchall chain 0 handle 0x1 + not_in_hw + action order 1: tunnel_key unset pipe + index 1 ref 1 bind 1 + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-228/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-228/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-228/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-228/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-228/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-228/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..4d0957965f88e0160509f2d217cde9bf00c56bd9 GIT binary patch literal 396 zcmZ9HI|{;J5QHcB6JOv1ZMCyVVPRomVPWAB>_s#nB&Ld>ou#J`1W#a-Mw{dSHg*A)fE;Z78VvMEK&%zfm9+v1HzptBo>xdeh9G;EUc{+ z0`~!I{3f=_<-NT>o{MDQF|)($Z)Rsdv)3md0e&sO4-aqs)#PM5z!75!fjN|`Y@fk8 zJiN26$~Aq6Ewnsf0R|T=7VnfiK`hAO?J(b_#Cv=ge1L4jb4D*~a<0iaU`}%9ikaGj zXPR?~Bm2tpTwb%>k#S74}Anu-}>NeV~HQF@k)Zh;1H+eqD}VL oW0NXg3tO#N@~N0n$5x{D<*|0!>pl0XKakwLMobyf^f%RBXXlMSMF0Q* literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-229/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-229/cmd.json new file mode 100644 index 000000000..a4e7df673 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-229/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "f-ife", + "json": "0", + "words": "filter add dev d0 egress pref 1 protocol all handle 1 matchall action ife decode" + }, + "cmd": "tc filter add dev d0 egress pref 1 protocol all handle 1 matchall action ife decode", + "desc": "positive: opt=plain cmd=f-ife:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_matchall_action_ife_decode", + "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": "tcact2write/ec-229", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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/tcact2write/ec-229/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-229/dump.out new file mode 100644 index 000000000..d0c3711cf --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-229/dump.out @@ -0,0 +1,7 @@ +filter protocol all pref 1 matchall chain 0 +filter protocol all pref 1 matchall chain 0 handle 0x1 + not_in_hw + action order 1: ife decode action pipe type 0 + allow mark allow tcindex allow prio + index 1 ref 1 bind 1 + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-229/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-229/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-229/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-229/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-229/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-229/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..38c3781558708cb327d7cb9ca5e1c1532c72d808 GIT binary patch literal 380 zcmZ9HJqp4=5QSfMqedYjVyTeA!XibA6n1(A!3zX`h!{HyOIwfO6;f*zyn$En1ePN4 zO+qm2!pqD&X1~0BX6aSI#{by(a=0zKdpGT1&RzstPo-2RVAF?%JNGKDULB0kwtyBi z)?5~zN1i|mkinbK?@_{Ad2q>SvL+!R3cu?nIaZ5H(WGTDyEAP25N61lR<`~mb{H^48W#t>pY(Is) BDzX3o literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-229/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-229/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-229/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-229/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-229/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..5c551e809d79652917d357ec0ec6cab6edb86e07 GIT binary patch literal 656 zcmaKpy-Gtt5QWcXZ<5vMmm*evwL>-o7vg7>HS>=34ScWCpV7=>DBuv#V*%!Bz8w3*cKN} z7(6jAXyxdzjs*kMVR6c2@xI6t#DgMUhk8aAZ+N@^0>^VRwF5Mx>mRWD_zu`@%r^s1k8n{(Em$m2QZlq~uBt1#zpjS4?g literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-230/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-230/cmd.json new file mode 100644 index 000000000..967b0b39d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-230/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "f-ct", + "json": "0", + "words": "filter add dev d0 egress pref 1 protocol all handle 1 matchall action ct commit" + }, + "cmd": "tc filter add dev d0 egress pref 1 protocol all handle 1 matchall action ct commit", + "desc": "positive: opt=plain cmd=f-ct:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_matchall_action_ct_commit", + "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": "tcact2write/ec-230", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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/tcact2write/ec-230/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-230/dump.out new file mode 100644 index 000000000..dfb06dda6 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-230/dump.out @@ -0,0 +1,6 @@ +filter protocol all pref 1 matchall chain 0 +filter protocol all pref 1 matchall chain 0 handle 0x1 + not_in_hw + action order 1: ct commit zone 0 pipe + index 1 ref 1 bind 1 + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-230/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-230/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-230/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-230/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-230/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-230/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..1c9786404f6a7c711ba738f1eb6a6dbdde102394 GIT binary patch literal 384 zcmZ9HAr8Vo5Ji7?OA8?og2Lb`5QvHjB!@uZni4`nag_)ZXFy;$0SOjRy#j~87fY5u zZ5o>06IeQUYJ(E(Okj)Sdp4_XwW^H4Pjsy76 zSaDf+C-MYRf-K&I{(utR`MUgoY|S}mmDA+h$=TBr*|}0$Q?$HhF5w8JFvdVT=yBS` zS+a>!S!W)FhzjZZRFVM!)WKr{xi>1mvWYTN)m3kLGfPB6WM>IzDgIir6nXUyJKqlg C)GM3- literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-230/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-230/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-230/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-230/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-230/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..1356937b8a2fe75d286f17784c3390229fda54e6 GIT binary patch literal 644 zcmaKpJ#NB45QU#v3!ERK2)UpLoePQxQBY8%NRcuH1s6c1K*DYaC&(>Q(xnJOLTO0@ zM@Yvps3Y^1!rw8Y6$Sn zJf{_7ga$4GpaO#zCX4q*o*)+F@tV|c>EbQguUn99xL-5Mikx?HI@IKTUkRla0#ocu z9N8|flF8dQyZi0zJ-M7LX#7j#&Ee`-*Ws-Uk82UMJ(8BzfQtqcVxCLAY`gKZp$5}H5**52dT`J2tlXIXa%IDhC>cc5ya|uT%Ph$*h zg$k!_u$za$WyE}Uy0%Dsn{-1dA(D1hGhAVG+dA(n{8onlRSd& zV6U~D-?#V2a}fuI*_oaB&Fs$G{P`(Dj30^dMd#&Y?KXP^#ym?A+kKf@_ITKY!7KCX zSlc>mqicX=SX?q$yb*bVcu>F_Fup+*@8P}k0kSRqIjyA4IVNYsm^7R#V`vw~w&xN@ z@>vvxtY$eSV@9+zWE?OwMC50=UzGiSF|0w4bKT|Bi<^8h5z}E+24_tFt5y`>|DW0& z6Om)7K+@WYV>~tnUG}`rr&sE8#QU`R8~L@Q{Haj-{wKqzW?u2Z8Q)dM z(-bCTj}O~&tyPYoH?a{! z;vZ!(?1y1@KC_QMd(X}%4Htj8c(b`oYAdfBAmUvLt}~RwDCDI9g)8TbS3G^RQBgn{ z4(1#dUXwh5d_fkkN59SzUV1w|LAJv_<0&d~B61G&r0iTfT78tfVlLqb<&oz(9EB>o zb)3$Yagxx+7@9k3jOhEU>1KftdhaoTybJh0o(xhg&KU{UNcP(@*MNqUovTBOFO}qa JWxt*5tRIunDbfG{ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-232/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-232/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-232/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-232/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-232/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..f44d9ef29920d767bba59a0c27d3452114ccab07 GIT binary patch literal 648 zcmaKpu}T9$5QhKD9&yz~BwTSt>{6r1f*abTF)|7O3Ln_Vqmo+^m(YcalgSPTws9;d)Lb2(zuRq)nf(m;e) z)_JWQEsn4o0Xr}lu~@trd4f1lz-v=Kq>FdaoM#~0@VsP{l{xR^oKlmAbG0a)ATs5- z#F2ev8M*l^pJeojmWPZpO2??US?=HR{#y(aq0YH(hYwfd;bbDF#l8Y!mj88E6xaWs zyC3Xn`PY`UwbGl+s6VrxrC;7%qsMPau^099mT*gn#)@$xpZy^u&n@}?BsWrLh2(JQTN}sk?zcd2l6C3 zne@B5u%lh*NRwqy)m){o$5>%DCfp-ilP$ApuCni@D-)XNxs6y=xp(1*foKDsbyITI zQS5EOj+#)B#eIk828VS=Q4)bBhw^QS#2-OEyFK G?Y{xHa7jG? literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-233/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-233/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-233/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-233/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-233/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..9ddd46f3766d3ea49d85f88d01c6c1ad5c60e645 GIT binary patch literal 1628 zcmb`HKW`I35XI+w7yDwIKO!z%KxYXT5lWFF1(7V050D~d1hSoT64^v4j)IPYmWDPo zNE9ik5H%E0s8giK_edQ%zqj_nak7z%8*6TMW@q2NogMGZ<@YZoi|nsNc8~LOe|fO> zv1)C`Qj5YZ87~_Q9$R3)$n&wRjqRx|24)ot?T}>QJp)f54k(A$BEE_W@8Hw>-v)Mw ze~Fc3akjzPBqq)CY7%;GL73$w9Le2iG?EpUS70<3%xNCu1v%?ha$L@@#{2(+5eBvd zuQ#2vcib5cg&Er;8M~#F)7A>b?f;*(pQ92uA!=63+{p*x*X&nC&yvHFl=)re>yz5x z{*gMB%1gslG9MM^stcx^wP6e3mH7pDhAlbtP4*dAV7y*quSPvJ7T>Hi$=I0$yv@#Q zd;xxiydH-s@+^DcmN~C@mEo>?Yv9S3$oKr4W}mZ`SxPhA(oP!e-qu4J^%UA91tC&&?dsIP<(Gp8J%JI`Hx1$PCk z^zG?sGJHKq-W6MiUHCnjQ3v(nJRE;;E}i$JpA>pW2aenH{!z{6>7g>*B&)6?1J{)i wv2Xa|+&$|T%6T8ov--;aH}t;v4x6XGdNaFvGu@f_33nj)rU(*>t3+@D6c<2ZIRJ%@4&Xs! z!DHba$rDHcvUo%KT}pU6@9_lLntR4BRp;Eu+0YZ&xe{6*&?bLLS9serym#VO!JZQUXP(5F|Xz|WCah+Cwp{OQZVx)gJI@_$v$iYGHXUkPXR)M2 zcjVPtGZtFbOd_?F>5yde#_$XYpoq7EzKEN5dGh!w*ctmN(bnXg!r4Hx$9?sX)|6z; zzRa<`RaNEaUd~|bfwsqtEu>YYp_iwJ&-ykru*J0 g?tPC{pJ?lc@9&Rid(LeA4)%DqB~k{*?^DnA16(sgPXGV_ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-235/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-235/cmd.json new file mode 100644 index 000000000..6de1693f7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-235/cmd.json @@ -0,0 +1,109 @@ +{ + "axes": { + "fix": "w242-bind", + "json": "0", + "words": "filter add dev d0 egress pref 1 protocol all handle 1 matchall action pedit index 1" + }, + "cmd": "tc filter add dev d0 egress pref 1 protocol all handle 1 matchall action pedit index 1", + "desc": "corner: opt=plain cmd=w242-bind:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_matchall_action_pedit_index_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": "tcact2write/ec-235", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions add action pedit munge offset 12 u32 set 0x1 index 1" + ], + "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 actions add action pedit munge offset 12 u32 set 0x1 index 1", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-235/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-235/dump.out new file mode 100644 index 000000000..482299d75 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-235/dump.out @@ -0,0 +1,7 @@ +filter protocol all pref 1 matchall chain 0 +filter protocol all pref 1 matchall chain 0 handle 0x1 + not_in_hw + action order 1: pedit action pass keys 1 + index 1 ref 2 bind 1 + key #0 at 12: val 00000001 mask 00000000 + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-235/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-235/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-235/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-235/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-235/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-235/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..6064ffbb2917f26c662c339197cf054bbed3d939 GIT binary patch literal 384 zcmZ9HJqp4=5QSfM*I!V?%0j`y!onhjg{6nE7J>>9BUq%g@G3SQz|umC=m`|hU~et) zO+qm4z+-kEv){gbM8~~?!LJNH9L|&a>JS->c^1Lwk+iH_9-44);a=wDdl?;69H0b^ zIhTcZB2OR*$l~?sHz?ux_xK62HRp(3D$jY5v!y4pa|N^pC=~O#gd>!99LLZOYMjY5Pf@l;3Xy!!WA}lDJ(=%q)1_5;ZLwk6O5=B!6N@g8{3qrf(VHO|A6Ly zM6eF$dwUQ#}Iu__h^XmcB? zGs$daVp(S%g@_92`_$4T3-S9McQPhKOGCy!Ljy#9mibH3{};m=tZ=TIY3`LV;`{$o zyJ;eFEEPx^J8_K1#-Pof7uonseGYk_mVYC^l9WFcO4t8n7}d;6J~-i9yVT;P@YxY> z{FKF&IC{O~gc8Tu_|^FU3+R*LN^;B|dY>4Mcgm@9d(1ia)u?Uh U)<%1~dIPj$X}GtPAsg)N8z=WqCIA2c literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-237/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-237/cmd.json new file mode 100644 index 000000000..44caca133 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-237/cmd.json @@ -0,0 +1,109 @@ +{ + "axes": { + "fix": "w312-bind", + "json": "0", + "words": "filter add dev d0 egress pref 1 protocol all handle 1 matchall action bpf index 1" + }, + "cmd": "tc filter add dev d0 egress pref 1 protocol all handle 1 matchall action bpf index 1", + "desc": "corner: opt=plain cmd=w312-bind:filter_add_dev_d0_egress_pref_1_protocol_all_handle_1_matchall_action_bpf_index_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": "tcact2write/ec-237", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 actions add action bpf bytecode '1,6 0 0 0' index 1" + ], + "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 actions add action bpf bytecode '1,6 0 0 0' index 1", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-237/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-237/dump.out new file mode 100644 index 000000000..afd97b5f9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-237/dump.out @@ -0,0 +1,6 @@ +filter protocol all pref 1 matchall chain 0 +filter protocol all pref 1 matchall chain 0 handle 0x1 + not_in_hw + action order 1: bpf bytecode '1,6 0 0 0' default-action pipe + index 1 ref 2 bind 1 + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-237/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-237/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-237/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-237/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-237/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-237/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..4b9d8af10205444898c9c67ed3863caa031dfa8c GIT binary patch literal 376 zcmZ9HF$%&!5Jms)MqNQgtSq#%NMVt}!qP){foKrLC>A+D4&Ws$ynuzZG2jWjiM7N( z3Bizo&&+%#Z-3tD?V{n}Uk<)p9?RbT3X2725gap@R+h(M0EL8irC041W3&~}f{!e=i|QFBv^1ZT4ChxtsOS0t6<{d3 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-237/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-237/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-237/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-237/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-237/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..04de786be8d9481d78584d70e8cadb8022eeaa6a GIT binary patch literal 648 zcmaKpu}T9$5QhJ|J(5*p5V<0a-4zN!Qdn46Soi=2@&Zv2!4nJwA0yA8jg2XSZ=ivY z2kRjT;7DZ7gYL-Vb&WVVJY|v{=ni2iV+rEt@A5_KcHw~r!3eD`zO{* zymuxcmlSqxv7CX)+_@P}hQpahE_X41c?=PwEisnT`8eObS>6wDDz;X{(TO%qITm9N z0X}719zPcm`-F)Z+$N@Rf#Xud91L}b10?$T(9IPJ)c^Wci>~6j8vGO~3{b_#J6G0xx zL%k$iLp@Lr)PrS!da!J8f1nwz(2#zGheSid*`(N0SkOS&~XZ&Ah hyyilGOAd1`LebjIVIGM~7z{Lr`T5KLqIL6{e*u%t-iH7H literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-238/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-238/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-238/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-238/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-238/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..5c8b01c8fca27742e41c014997987278fe83db8d GIT binary patch literal 388 zcmZ9GF$%&!6htT4fRUhx*ji~}A!1=+VPUVO7YJGi#!j$M591Z=EH#A}@BjgiU?)hN zi3H<*80P08{Rg s%@{H2!p*w0Zr}g^7{)<`z1HDoz6_&C2p@qgWBX*Qhh(!GjEu$p0Ds{xYXATM literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-239/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-239/cmd.json new file mode 100644 index 000000000..61aac939b --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-239/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "fb", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '4,40 0 0 12,21 0 1 2048,6 0 0 262144,6 0 0 0' classid 1:1" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '4,40 0 0 12,21 0 1 2048,6 0 0 262144,6 0 0 0' classid 1:1", + "desc": "positive: opt=plain cmd=fb:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_bytecode_'4,40_0_0_12,21_0_1_2048,6_0_0_262144,6_0_0_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": "tcact2write/ec-239", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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/tcact2write/ec-239/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-239/dump.out new file mode 100644 index 000000000..5c9de9bd5 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-239/dump.out @@ -0,0 +1,2 @@ +filter protocol ip pref 1 bpf chain 0 +filter protocol ip pref 1 bpf chain 0 handle 0x1 flowid 1:1 not_in_hw bytecode '4,40 0 0 12,21 0 1 2048,6 0 0 262144,6 0 0 0' diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-239/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-239/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-239/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-239/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-239/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-239/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..e475b0a2670c514828ca3eac7da62e5a6dabe939 GIT binary patch literal 376 zcmZ9IF$%&!6htT4O^hfaf_8Q(Bv@EjSb7L6O9?hR*n`FsCcI8Dd&K?3iL$}R8(T8)TCqwqZvzo62xg&)xR36ZE|-Mfg* zgtxhQGk0gsyf<@>ciS9Xe8a_qlf$IEyo>@w97}M`KE;fy4d*elBFpi|0s8bLyRMK{7mmr+C63~nB#E+WX^^q! zSh5-7c92VJ2~V%{vkZ?lNwd|0IS>KsKYO%W=l4?}Rv%AhzBQ-- literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-240/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-240/cmd.json new file mode 100644 index 000000000..928eff98d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-240/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "fb", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 0' da skip_hw" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 0' da skip_hw", + "desc": "positive: opt=plain cmd=fb:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_bytecode_'1,6_0_0_0'_da_skip_hw", + "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": "tcact2write/ec-240", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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/tcact2write/ec-240/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-240/dump.out new file mode 100644 index 000000000..c69c04a66 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-240/dump.out @@ -0,0 +1,2 @@ +filter protocol ip pref 1 bpf chain 0 +filter protocol ip pref 1 bpf chain 0 handle 0x1 direct-action skip_hw not_in_hw bytecode '1,6 0 0 0' diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-240/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-240/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-240/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-240/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-240/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-240/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..94bed8d586967ff28e61a412a80f1443da671c5c GIT binary patch literal 360 zcmZ9HJqp4=5QSfU-GBtK6znWgSXfxt=^;{DNw5(lNAMK(Ucn2f1iXNrBw#7=y$!*z z1CN<`JA53U_u#jjjExui*Hy59gD&JtXwt@f>$Lj@KNJoojoJwP3y1r*?5 z#KYp<$P?rZ%JG`?%anMhH@mE|N`U`bEP=bF=s;Q85H;)rrL#sr+C!EB5! zY{Z-+Dx@a;p{}C_dr{@Lf93OEiB*ILpPfjfxAk^Fi@TK1)SyM0rA&|G=RNtHF9Jd@ AjQ{`u literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-241/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-241/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-241/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-241/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-241/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..80a6b129c9eef9842305616fa71cc86d0c5eaf01 GIT binary patch literal 624 zcmZ{hKS~2(5XIkSSKYWOB8#N4OJN~mVPTm^T_l~QH|EFMo)zXybWdPfzvehcx))qguW@) z&bhYKO{68II-}WoWArQ%gd)9d_;p~t&G(0i&`zlTZiDza`4r`Xxl#(H0 zLqvvHtp7VoJQ2Aw5$_OjF|%b-Lk<}tGDKuZ$dvwEiLCeUQo8Pehv)e{`#s;+chB?u zp5el`y;eT`SA4q5L*eBIdxkzViqiM0d@kZO_e+@0R2iM&z58QhTfb(j$w-ZIdX1O8 zc;|@c1sM%AE?$W7W~vvjsoZ~3#CALvXuUEvj!he7N!hF8^GY+;s)h+;^YY?&QEu1k zbw53?zM6PlulTGMQQPksmUl)=dfI5?m{hMzvFg7$-23%^jgR?NfKsD0I8n+?mb~eS z8B*6Q*6tB0^f>?RNoiz`RGBLk=Sc(e$$x>AS}4Ukq|U{x%QI5&19H2xm^4E}!nEdJ;CIs9+%58@xj@5eue ze*&MCj-SRa;QxUC6aFvw7w|9QU&6nFe--~a{tf(___y)@!2cVc15+|agAGPGHa$Jb zC^5yTYdYs=rcr3NQS+llBP~XikWsPKXduiUwi%@&M)7u|&M0SNkx?+l{yb+?TWVBZ zW|UuH)VIngv&Ja7&Zv8XQLM)({H9UhZT96oqv|%J(sukE_`C3TpEw#2IZyjA{1tG?w{nUz+_)mGhWtzzq~!W*pun>ewXIe%NMN=d81_pNd%{GIq| z{5|*?{QdY@{Lk>e!v7loApT+ee*9zjC-6_=pT;lXpT$3i|1)L8pNhr) zMIuhYb|-(-srHmp`Dv&8vrc_WoifXuk}I6LS2@MjIEB|a1vc>E^*B}Ea4Nm!H2AJl zZktnjJN^#*UHH54_u}uv{|NsR{4el(@ekl1!ast46#qE>5dJBrTY3C5_(lBl_$B;d z{Ib)M%lH+inb+|7_$P3GdN;%aYM}4k8TGn%-*u#o+IaTr_yAKLKI13XCWwJks?J1LK;g8pFqUMCY4WM;cNH`zQU!j2}JM_ z1g)*o#LNGmw|XpbV3?VIXTP1DZM0hY2ynFkzbv9*d3yRTp~qZ~z`Q6}>oR$Shfnrd zEgM7BQSg8~49090?`czlAPLCfHK{+)#oO0fUm)ACju>TGPKTUlYI1k32Bi)>lbuT( z*)fh|Ma}X?Mw4i{%MiB>Kbd8=KEI!3gq%q}`j{}@3yIy0JG!lR|GP8i8+Y8jdWy&~ z2iO{qslQT{?$Z-nRPd8$b{+@)Lz<+=s;tr=X^`qRrsXAsC~$WD)BfyobTiT3-nlpJ NSnlqvO365T`vWZFKy3g3 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-243/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-243/cmd.json new file mode 100644 index 000000000..aada09fa9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-243/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "fb", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol ip handle 1 bpf run bytecode '1,6 0 0 0' flowid 1:2" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf run bytecode '1,6 0 0 0' flowid 1:2", + "desc": "positive: opt=plain cmd=fb:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_run_bytecode_'1,6_0_0_0'_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": "tcact2write/ec-243", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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/tcact2write/ec-243/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-243/dump.out new file mode 100644 index 000000000..7dba61a2e --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-243/dump.out @@ -0,0 +1,2 @@ +filter protocol ip pref 1 bpf chain 0 +filter protocol ip pref 1 bpf chain 0 handle 0x1 flowid 1:2 not_in_hw bytecode '1,6 0 0 0' diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-243/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-243/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-243/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-243/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-243/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-243/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..ada49ae8ede2308f441915c548271ae3fef4ca88 GIT binary patch literal 352 zcmca|c+)~A1{MYcU}5+RZfI>P9tZc~c0+|Cc<BUoAF2;M=j-~nu6VP)k>>}CBw zAs7}N7-n`d^X3nEW|y;%0ACC6<|CW8w@KQ@l(`&%nJAQ&FzLd>jeTXU8bkCEc|ZdO zYc`8FBTtYVcdsT19EulW}4$ zcNyXi;pbY?d$GUD2&qZF+HDw{B4GJvM$_8+YbNH7kXQO-)%g$9+d_?bVId-ZFZ3R$ QSGUPsy*-vh(aoja5Aqf_r~m)} literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-244/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-244/cmd.json new file mode 100644 index 000000000..10b6c26d3 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-244/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "fb", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bc '1,6 0 0 0' direct-action" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bc '1,6 0 0 0' direct-action", + "desc": "positive: opt=plain cmd=fb:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_bc_'1,6_0_0_0'_direct-action", + "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": "tcact2write/ec-244", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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/tcact2write/ec-244/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-244/dump.out new file mode 100644 index 000000000..1deba4b2a --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-244/dump.out @@ -0,0 +1,2 @@ +filter protocol ip pref 1 bpf chain 0 +filter protocol ip pref 1 bpf chain 0 handle 0x1 direct-action not_in_hw bytecode '1,6 0 0 0' diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-244/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-244/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-244/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-244/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-244/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-244/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..a9bc6f358cf1d43dd5c0944769bf0bc9644cae70 GIT binary patch literal 352 zcmca|c+)~A1{MYcU}5+Rm!~`@NWS7hdh&$2k2LO2tB^Lky literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-244/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-244/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-244/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-244/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-244/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..724e5972aab88e0634f874ecf7eddce9131a83f5 GIT binary patch literal 472 zcmZ{gF$%&!5Ji8oQ4@?3#MaItg@}cMVB;Yytwd~WyoGoLt9S)#yC`@74{YXm9s&nwz+lZ` z@uHT2AUVk5#q39vc!$eA0ojJb#N>?GlWbpowuW#_)t5MmSC(bU@-iVKVJ+DV zaR+d7FUNavf0g0WleF4xn42PC`DaJly7$*k%scA*_nHY&V_k%w)4^{*6@F**tG7wE K-!5Cm^7{co>@?Z{ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-245/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-245/cmd.json new file mode 100644 index 000000000..19b241143 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-245/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "fb", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol ip handle 1 bpf flowid 1:1 bytecode '1,6 0 0 0'" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf flowid 1:1 bytecode '1,6 0 0 0'", + "desc": "positive: opt=plain cmd=fb:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_flowid_1:1_bytecode_'1,6_0_0_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": 0, + "refused_by": "none" + }, + "id": "tcact2write/ec-245", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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/tcact2write/ec-245/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-245/dump.out new file mode 100644 index 000000000..664ccfd82 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-245/dump.out @@ -0,0 +1,2 @@ +filter protocol ip pref 1 bpf chain 0 +filter protocol ip pref 1 bpf chain 0 handle 0x1 flowid 1:1 not_in_hw bytecode '1,6 0 0 0' diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-245/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-245/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-245/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-245/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-245/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-245/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..d0edaa47328ac5bec404ceae7e6f03ed158b03f1 GIT binary patch literal 352 zcmZ9Iu?oUK5JV@rB<4Uw>;(%83yTyM3Ko_MDJ`ueq_Odj#9#0if`YvtVJY@<&KQE> z7KWQ0mbc42s>?YTveV#zJVPEl8wK)rNcFZLIuAI>nanim^98uoRxs*=YA4`l7(i?UG h68?c^x`^rP(#=_JF=H$FyT*({qP1&zukZBte*wv#JA_Eug(u$TD1As7~& zFwE@i%$vXDmY$9QLVPX6i-+^PvAG{2%$Um&+NnZeV*ebui LzTP%V*3`*(5J1$Rs6ZepDv&$^Bs>5qg@j-#cz}Bd914%ZK(GxYcm#%E z5d?uJ$M3uL!f}(#&g{3dzn$5a+3j_#RDYK0ht1>R%K6(}p*?cD(qz}6u_4KtB0W*p zXziG5Q%jN5Q=$pQ=6%95qy}|(+vuyfdGA~64}zVrpAl_s&eeUP4>WtXuUDiUWue`d zIi`G9Rh5(3$J0~YDApzU5x$I1PbOy<)a@%SNB{l=aba~ga2)eST*SVzazmjEuwt~p z>bfDZM|KQ+06Q?5^?tq1FT2Oa0&n}gPzGae{=YBg93i@ CI5gD& literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-246/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-246/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-246/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-246/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-246/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..03d6b14d42ab0d1fc436ff752eb15b8859635c79 GIT binary patch literal 844 zcmb_ap-uxq5Pf@lT(1Wqgq%2oJAohsQGrD80SFR&DNP8bqLP0gK_M_WG#W5XAay7D z3;X~Ya=f>_4Vz76Cz;Od^zGX>bF-MeJS9l+Zz+Cx_&DFbd3`Hz!d#Bj9xHe|VzLW^ zPvU$nj5+quH$V>-BZ9@(kWVCzDB{~^eTOc-#l!s_$ZdI^G0H-oFY*jnlgGMhmJVTT zs7pMu@3w6frR9elWdi3hhjO#rM#8$b<#Z^#i;fhoCR`I=(FJ|QA7#I`B zKIruL+tTJ8>_d6(|LkH-#6_3;7(wt%{vL6cY-XLkoRK$UztW{y$||08mg&2B{WY;( fpN|d{{N(7n{ bpf.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' '4,40 0 0 12,21 0 1 2048,6 0 0 262144,6 0 0 0' > bpf.txt", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-247/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-247/dump.out new file mode 100644 index 000000000..5c9de9bd5 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-247/dump.out @@ -0,0 +1,2 @@ +filter protocol ip pref 1 bpf chain 0 +filter protocol ip pref 1 bpf chain 0 handle 0x1 flowid 1:1 not_in_hw bytecode '4,40 0 0 12,21 0 1 2048,6 0 0 262144,6 0 0 0' diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-247/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-247/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-247/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-247/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-247/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-247/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..13116640bcc02f0a5f163125b5ed53bc65c63b70 GIT binary patch literal 376 zcmZ9IF$%&!6htT4O^hHSf>_z5u&}VOu=Eg~K!c4430Qjt3s2w`tn34dy{(rJTZuEq zVAv1C|9`UknCv}29er5*%i_)DGH4#fqPZP^xU95K${u)l#=LiP=kXL*Ck#$duXEI0C^ZJ zxLCZ>stiG5ki~1$uTtWTCbKKZHk^mdiZrK1PM@A+*X7gd!ZGQ(#8KR%C{k7}LoyB= zOEyE?4l;2qxAXh_G{a*}(tNXGE{cHdpFP^GbARm#c!tL=9ez2!fnLE!7P^ZP)zBq) a;6H`?$)Ht`9rrP2AL?1M`>4}0Rv#}5FgN)C literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-248/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-248/cmd.json new file mode 100644 index 000000000..46874918b --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-248/cmd.json @@ -0,0 +1,109 @@ +{ + "axes": { + "fix": "fb-v", + "json": "0", + "words": "filter change dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 1' classid 1:2" + }, + "cmd": "tc filter change dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 1' classid 1:2", + "desc": "positive: opt=plain cmd=fb-v:filter_change_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_bytecode_'1,6_0_0_1'_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": "tcact2write/ec-248", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 ip handle 1 bpf bytecode '1,6 0 0 0' 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 ip handle 1 bpf bytecode '1,6 0 0 0' classid 1:1", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-248/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-248/dump.out new file mode 100644 index 000000000..d32c3d462 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-248/dump.out @@ -0,0 +1,2 @@ +filter protocol ip pref 1 bpf chain 0 +filter protocol ip pref 1 bpf chain 0 handle 0x1 flowid 1:2 not_in_hw bytecode '1,6 0 0 1' diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-248/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-248/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-248/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-248/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-248/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-248/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..cc714f666860063070419c328fe8111370831941 GIT binary patch literal 352 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$#105lI|2-qMr^E80s0zeEhZ|C*+pA0~=nSuPnKpF&)%{dA* zCk7}6!szbu0Sf6bu%fsNWDdxbPyhe_=K!)mIH@3wL4kn@$YutTj0|kRFaW9H0qSLg hst39GKhQ1{ARmO$?NR{>F#(MRxq0eIh&$2k2LR&WCZzxX literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-248/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-248/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-248/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-248/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-248/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..1337aaa7aeeb48d882d2b946462e15a89b6bbc6a GIT binary patch literal 472 zcmZ{hu@1pd6o&uy7Hx;XK3%^>yvl}2;J zN&cL3PtX1Cf6`lY+Pm=Z4G%9K&cpKjJ~J4wmf)GbQW{+rRXDhCF70Krk0t^KD8OLC zVey{i36g*;UdVoh5^s5I96+|=Ibv31IqQW%k3Gru)ncmy$7Fqpqjs$SvOl h75;%db)@9EUpG&7 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-249/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-249/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-249/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-249/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-249/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..93d7c62302739234fa63ac6854c3dbc57ead53a3 GIT binary patch literal 472 zcmZ{hKM%oB6va>fpjA}FYU|KJ#9*-TA&e#wi^WIcD;OkV?1E8z5Rn+Eb1IGIg`1q* z`)=?1y>ruRvfbEl@eLPG9*&d7a#sy8W-Y;WhDv$#S+ro`#JRjz%pN-MEuaDia}JAl zAy1GDWbk74o0NFbesloY4$ld*qR6?CGhk0LeMM~bU^zu!;wbKEnkvi7i;OjE$z+Jz zg`IhMoImdu86G`Jv(|3G+RT7wYCSp`P9d6JqV%Q OB-3x3Em5>{?)MFnzc-)& literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-250/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-250/cmd.json new file mode 100644 index 000000000..9c44bb4a2 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-250/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "fb-v", + "json": "0", + "words": "filter replace dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 1'" + }, + "cmd": "tc filter replace dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 1'", + "desc": "positive: opt=plain cmd=fb-v:filter_replace_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_bytecode_'1,6_0_0_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": "tcact2write/ec-250", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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/tcact2write/ec-250/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-250/dump.out new file mode 100644 index 000000000..ccb5109b4 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-250/dump.out @@ -0,0 +1,2 @@ +filter protocol ip pref 1 bpf chain 0 +filter protocol ip pref 1 bpf chain 0 handle 0x1 not_in_hw bytecode '1,6 0 0 1' diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-250/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-250/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-250/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-250/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-250/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-250/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..f7b818c4341f3ea539469b824689bf6512406cea GIT binary patch literal 344 zcmca|c+)~A1{MYcU}5+RO5q%lY^Ffp(J{SK1jVPFNaA?iSG dZ3fz50_1}*x*aM&Ats-d4`65O6}&$BgW#CzQKJCJR7j+qrjPDIX_J<0afWorn>6n%-KcqU1rEH4`} z4y+}cA?^Tf>ZNzh_7@pGJxPmo#9S2t;hz~zYwxd_4tJFK_qtOVCYy8r+H literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-251/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-251/cmd.json new file mode 100644 index 000000000..03eed561f --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-251/cmd.json @@ -0,0 +1,109 @@ +{ + "axes": { + "fix": "fb-v", + "json": "0", + "words": "filter delete dev d0 ingress pref 1 protocol ip handle 1 bpf" + }, + "cmd": "tc filter delete dev d0 ingress pref 1 protocol ip handle 1 bpf", + "desc": "positive: opt=plain cmd=fb-v:filter_delete_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf", + "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": "tcact2write/ec-251", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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 ip handle 1 bpf bytecode '1,6 0 0 0' 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 ip handle 1 bpf bytecode '1,6 0 0 0' classid 1:1", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-251/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-251/dump.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-251/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-251/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-251/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-251/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-251/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-251/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..fc52710238a70845def4b4a15b7c2409939923f2 GIT binary patch literal 320 zcmca|c+)~A1{MYcU}5+RDy&KsO%%ZX_nN literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-251/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-251/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-251/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-251/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-251/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..16cafb526fd45d7bb92ee2da7b6a7ed1b675463d GIT binary patch literal 296 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$!E0GbCf1Z)tRc^W`*0U!pMw^z>X0t3)&W+4ACkOl!{bIgI} zm;l8<7~NeeKp{N_MrLGpfy@DcPyhe_2hkw6I04N7sRdzlGem$w%nVFmw|Ja}*be|l C*B}T0 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-252/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-252/cmd.json new file mode 100644 index 000000000..b0905d081 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-252/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "fb-p", + "json": "0", + "words": "filter add dev d1 parent 1: pref 1 protocol ip handle 7 bpf bytecode '1,6 0 0 0' classid 1:2" + }, + "cmd": "tc filter add dev d1 parent 1: pref 1 protocol ip handle 7 bpf bytecode '1,6 0 0 0' classid 1:2", + "desc": "positive: opt=plain cmd=fb-p:filter_add_dev_d1_parent_1:_pref_1_protocol_ip_handle_7_bpf_bytecode_'1,6_0_0_0'_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": "tcact2write/ec-252", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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/tcact2write/ec-252/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-252/dump.out new file mode 100644 index 000000000..b5e16caad --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-252/dump.out @@ -0,0 +1,2 @@ +filter protocol ip pref 1 bpf chain 0 +filter protocol ip pref 1 bpf chain 0 handle 0x7 flowid 1:2 not_in_hw bytecode '1,6 0 0 0' diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-252/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-252/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-252/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-252/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-252/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-252/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..93804ff97c845693714eb21d66073fb17a4308c7 GIT binary patch literal 352 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*hWLd??#ng=ojY!I4x8bEOYAO@LNZQQqu0cbYJRfmBz2q2pi2Q()J zCF#!z)+4b!d#GUB&0|0yjAq4;c literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-252/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-252/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-252/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-252/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-252/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..c1a81531b15d3fe4cff8f300fb96421bf572531e GIT binary patch literal 472 zcmZ{gJqp4=5QSfUGzk$Av9+^EA);tuVPWS5EX6`3O$t4d;tjk)3W>Jf#9HvZEFodR zfnjE6XTE*2@BDss;iEPmUml8WH=7qR*39Mby`@5BQzm^lc(SjmHDib&A_oZI;W#tA z4S9l;Ad8o<-lL26xUD`QTdHzKS(CFTXTh4>)-_^j0>^9Ws<$&N?Us>oVXxd~h&zT` zYDr&arpXAYNq#t|jIjvV{h0~MThnjPBzz;}|F~qexvgI6pvBx+h=}**?@rXK-Q>33 L0ZXE2=SuGnCK@c+ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-253/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-253/cmd.json new file mode 100644 index 000000000..dc8887955 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-253/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "fix": "w317", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol ip handle 1 bpf classid 1:1 bytecode '1,6 0 0 0' classid 1:2 da action gact pass" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf classid 1:1 bytecode '1,6 0 0 0' classid 1:2 da action gact pass", + "desc": "corner: opt=plain cmd=w317:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_classid_1:1_bytecode_'1,6_0_0_0'_classid_1:2_da_action_gact_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": "tcact2write/ec-253", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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/tcact2write/ec-253/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-253/dump.out new file mode 100644 index 000000000..83ac0a1e8 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-253/dump.out @@ -0,0 +1,6 @@ +filter protocol ip pref 1 bpf chain 0 +filter protocol ip pref 1 bpf chain 0 handle 0x1 flowid 1:2 direct-action not_in_hw bytecode '1,6 0 0 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/tcact2write/ec-253/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-253/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-253/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-253/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-253/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-253/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..21fc67045905133b7f7ac0e79f1592e2e1fa7db3 GIT binary patch literal 416 zcmZvYJqp555QHarFEIfTv9i$4!XjV_5lau@0sKP?8w(F$so)U=v9l4uE2J~6$FQB)z1hN(9fTvWJ)7oh4=!x>VwzNE0b~cxAgz|`@$YCcM zEv6X2WUn}hr#Kn#DUWig*>Jq%YpB6oRr&N^+5C6HF2aKSU2x(rBzHbCYn#3(pS3}Y NR70{p!{na%{2#xOE5ZN( literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-253/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-253/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-253/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-253/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-253/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..03f523f24bc0570d5402c78c01bf147b9c0faecb GIT binary patch literal 640 zcmZuuJ8r^26dZp7YZ8SBxiCdK3JMfaq)16Y!2#$JMdG8Rph>|&H~a=ysfa#{7CaoN zE4XSlxJBdvbp)7GEWcm+$;28teqHi6g#5f+V+DE#{NFPxsy_epxhE&Mb9G4F!3(N$ z$w%>*rm3=KF;4~~S_`g+e0%WiEYF`=|Eh=KOv3c-h51sJ2q`;vMyJ*H+?j9oFubKt zuNvP#+ACbJ&SFDmO+>`&WVRGLq%O9~T$HDn8*(GD8+2K)XTy>Mc1~>fQllA!4!`Z3 gE^?{LDr2`Gzlg~8+T>pK27XPzu+)QNin_#+J(DC+l$JXg zTjp|`A#N9Ls%3S__7@pGHOZspoUtkbrhjHMt-ZfyLhkVSN{6S+KTvNCCFYs=2zWBR Q59-z1 b.txt" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc actions ls action simple", + "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' 'actions add action pedit ex munge eth dst set 02:00:00:00:00:01 index 1' 'actions add action simple sdata x' > b.txt", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-255/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-255/dump.out new file mode 100644 index 000000000..6a13a24db --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-255/dump.out @@ -0,0 +1,5 @@ +total acts 1 + + action order 0: Simple + index 1 ref 1 bind 0 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-255/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-255/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-255/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-255/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-255/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-255/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..c5733a4e5a35fa11a379419cc51a3c8670fd27d8 GIT binary patch literal 812 zcma)4J5Iwu6dZqIK9LYYDQM_YAe6#E6sZsm1rh~Cj$liPa6Xb&$GHI4$zGZ& zc8M)m&NF#gqBg8z2WytmIi$`5_l0FTo3J6B-kb+W(0BrkzzQ5h6QIL+mDh7@<{ooi zle}>>nv8u@Ta{~Z7nqeagI{>+M1|Ki9**gu%{`&+p~aL_@nFu}{o(tTXM8lgd8vQb ztnZ3gC#GRAOvt%}ou2Z3OgES)h5Rduw^|G+Cf z9FQl}eXAGzwj~ed?tr>4X}nY8f?T1lF|l- ii)eF2?PP!;P7sF){C)U->FH+w^T$8DsE)!*y|!-=v|3L9 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-255/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-255/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-255/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-255/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-255/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..a9354243f01508a4f5a456e13b25fd47e7bd434b GIT binary patch literal 388 zcmca|c+)~A1{MYcU}5+R&!kfw(v`w;(5#fq{pC3CLprW009Mfo5I-@R literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-256/b.txt b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-256/b.txt new file mode 100644 index 000000000..eae90c1d9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-256/b.txt @@ -0,0 +1,2 @@ +actions add action tunnel_key geneve_opts 0102:80:00880022,0103:81:00a000b0 set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 1 index 1 +actions add action simple sdata x diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-256/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-256/cmd.json new file mode 100644 index 000000000..b92fbcc75 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-256/cmd.json @@ -0,0 +1,110 @@ +{ + "axes": { + "batch": "strtok", + "fix": "w265-batch", + "json": "0", + "words": "-batch b.txt" + }, + "cmd": "tc -batch b.txt", + "desc": "corner: opt=plain cmd=w265-batch:batch:strtok", + "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": "tcact2write/ec-256", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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' 'actions add action tunnel_key geneve_opts 0102:80:00880022,0103:81:00a000b0 set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 1 index 1' 'actions add action simple sdata x' > b.txt" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc actions ls action simple", + "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' 'actions add action tunnel_key geneve_opts 0102:80:00880022,0103:81:00a000b0 set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 1 index 1' 'actions add action simple sdata x' > b.txt", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-256/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-256/dump.out new file mode 100644 index 000000000..6a13a24db --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-256/dump.out @@ -0,0 +1,5 @@ +total acts 1 + + action order 0: Simple + index 1 ref 1 bind 0 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-256/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-256/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-256/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-256/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-256/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-256/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..8f27631ad7bbc0a05371c04215712e152b4e9b96 GIT binary patch literal 816 zcma)4Jxjw-6g@8=O|+mQ4i0sZ4hjyh)geO%H*pi}-o=2@G%d7(f*SY;d3F1-8Z9^O#p8 zFOFL6Sf{<^xr$X_n9)4=gC~>7@hYi@CweHeCNMoLF=gjGq<7p8509(~%sV$sX}E<^ zW`0-f?~<4&ddG1bMvZ283Y@{}*HA=>`2wM6+~xcF)bPdG1y+A*JWB0+QoF{jaApDJ z^E>lt`J5_4xpHEZ$WNy&KBgf#`486VV~cx%=|kqhc9i%?zaL&!kfw(v`w;(5#fq{pC3CLprW00A%fM#9+@ b.txt" + ], + "proto": "route", + "readback": [ + { + "cmd": "tc actions ls action simple", + "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' 'actions add action ct commit mark 0x1/0xff label 01/ff index 1' 'actions add action simple sdata x' > b.txt", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-257/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-257/dump.out new file mode 100644 index 000000000..6a13a24db --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-257/dump.out @@ -0,0 +1,5 @@ +total acts 1 + + action order 0: Simple + index 1 ref 1 bind 0 + not_in_hw diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-257/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-257/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-257/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-257/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-257/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-257/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..942d801450483be2b9a5fabe8751b9d5e8cc137c GIT binary patch literal 752 zcmah`Jx{|h5PgZ0G*Ag4#E_+12L^^jV(7@g!p2aExzJRta8o20GIrsI@D~uUqmED} z#BX6i@XiiuVionIJD=~%@0~vu5BEL-tR%oUFR%TbEB&OI2wmds$&N+|Fi>{lq3m-D)e8~nDh&_c^palgz0}kmo>w3y(?4_z}v#!w7S&>?7 z&03FHU{RYn{HIPf(WuKThdXlUGAHVC*k?#JIM|*~_LR(tx;)tBgw}3Mu&hM>@ryW)7!q}H2p{gz6C8H`fQwCL zY(H=2^1g;ko2YIk(`%gr$K;d9Yn9Y-c8QvMDl??zXaqgD$TiXo^e4qIFH!wNLL8g8 K2o9IaAGTkFj#cXb literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-257/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-257/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-257/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-257/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-257/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..3d7bc4b0f61305efeb495225e6f6b4cadc6a9e62 GIT binary patch literal 388 zcmZusu?oU46udUY78P+Q*bnI9S{xij3i<*5f`e#5aPfBp2WS64bW^wfj^JH1RDuVW zm%F@N^6KmP5F$c@2rr8JqPHGSW0c&Bh|E~UVZ=>=z&zOJyc7ZYWQW|Xs_kY8bP-a) zQkfHG*3_b(d81XZUzwMuZUG65y?f$%r2fq=`ER}HBSq|6$e8mF3EI}4^WE(GR~hPd f$t|iqbxvoXL&DXMYF5oS bpf.txt", + "printf '%s\\n' 'actions add action bpf bytecode-file bpf.txt index 1' 'filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode-file bpf.txt action bpf index 1' > 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' '1,6 0 0 0' > bpf.txt", + "rc": 0 + }, + { + "cmd": "printf '%s\\n' 'actions add action bpf bytecode-file bpf.txt index 1' 'filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode-file bpf.txt action bpf index 1' > b.txt", + "rc": 0 + } + ], + "rc": 0, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-258/dump.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-258/dump.out new file mode 100644 index 000000000..7bb62da4b --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-258/dump.out @@ -0,0 +1,5 @@ +filter protocol ip pref 1 bpf chain 0 +filter protocol ip pref 1 bpf chain 0 handle 0x1 not_in_hw bytecode '1,6 0 0 0' + action order 1: bpf bytecode '1,6 0 0 0' default-action pipe + index 1 ref 2 bind 1 + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-258/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-258/ip.err new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-258/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-258/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-258/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-258/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..1a18ab1a9d8174cd430576533d8707563891650e GIT binary patch literal 740 zcma)3y-or_7@WJkJ0KD@gu+4#j0MFN5G^PyENo~APe2HbCs0}QD!c;m1q>x%ziAiJN?Td*3%Z-^{mP^V!r#fa40V=Fg&g{?e(1Xz{E-V74C}wd#xtJhLQj zn{c)wZcy?p&wxDdtSkQFxr7h#ysdbF0PSsP2MRDqMnKGS9@jEHb00h08F9npbu?^P zZF#K6DlpG*_D|q6i5#wJJtXvS$C|?RP-V*GJlH$mywhh*;oj*o)j$}nGV^<)zDGup z(Hjp~_a_mVHHk9cC=w6X6?@s~sPA#<%`R?3JTRqjdrCWJ=BcNhHQ?$H$2~bF#422l yF;g*he`a(`gY^8SX)5h|{m<+c^S_?SUDMMk{SiG{ui?R~^!)t8ll1I8xf(Y_;7l6; literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-258/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-258/ip.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-258/ip.rc @@ -0,0 +1 @@ +0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-258/netlink_route_dump.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ec-258/netlink_route_dump.pcap new file mode 100644 index 0000000000000000000000000000000000000000..f64b554ee93d0337d4067ec1681175fd594006ad GIT binary patch literal 640 zcmZvZu}T9$5QhJ|UE@V1NVq_nbXTMhu}EQQVc`R$v9SnZW0Pmdo1_nD@(M>P6)c2w zK7e2&wsQIZ-MhFf85m~gzu9kQ=RV5SJcY%-S^P118FwC+w;8T@mcyD$g~l#;=pw-@ z>l!VL83t%4z#$CoSuEa~JV6{N;ti>v(#4zIZJt23VO}!ILe3{SBWm(^u7c7z5);lP zj_jwZDn-rmO~wt;@|Yp+8B#aP*PHJjGBVC2pG+SZkA;L~*}glvt-ky2yt7A(yI0K# z4tVzVOl1-DxMof6s_KF|XcuUx0v}^>~5BVO0UK> au}*g(Lz{fR*I({c|3Dt^HK$~vy>0>Uus#m} literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-001/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-001/cmd.json new file mode 100644 index 000000000..59642be74 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-001/cmd.json @@ -0,0 +1,98 @@ +{ + "axes": { + "fix": "w191-ped", + "json": "0", + "words": "actions add action pedit" + }, + "cmd": "tc actions add action pedit", + "desc": "negative: opt=plain cmd=ng:w191-ped:actions_add_action_pedit: a bare pedit: NEXT_ARG (W246)", + "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": "iproute2" + }, + "id": "tcact2write/ng-001", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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/tcact2write/ng-001/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-001/ip.err new file mode 100644 index 000000000..f7d546177 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-001/ip.err @@ -0,0 +1 @@ +Command line is not complete. Try option "help" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-001/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-001/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-001/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-001/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [CONTROL] +Where: MUNGE := | + := [ATC] + OFFSETC:= offset + ATC:= at offmask shift + NOTE: offval is byte offset, must be multiple of 4 + NOTE: maskval is a 32 bit hex number + NOTE: shiftval is a shift value + CMD:= clear | invert | set | add | decrement | retain + := ip | ip6 + | udp | tcp | icmp + CONTROL:= reclassify | pipe | drop | continue | pass | + goto chain + NOTE: if 'ex' is set, extended functionality will be supported (kernel >= 4.11) +For Example usage look at the examples directory +bad action parsing +parse_action: bad value (15:pedit)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-002/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-002/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-002/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-002/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [CONTROL] +Where: MUNGE := | + := [ATC] + OFFSETC:= offset + ATC:= at offmask shift + NOTE: offval is byte offset, must be multiple of 4 + NOTE: maskval is a 32 bit hex number + NOTE: shiftval is a shift value + CMD:= clear | invert | set | add | decrement | retain + := ip | ip6 + | udp | tcp | icmp + CONTROL:= reclassify | pipe | drop | continue | pass | + goto chain + NOTE: if 'ex' is set, extended functionality will be supported (kernel >= 4.11) +For Example usage look at the examples directory +bad action parsing +parse_action: bad value (7:pedit)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-003/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-003/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-003/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-003/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [CONTROL] +Where: MUNGE := | + := [ATC] + OFFSETC:= offset + ATC:= at offmask shift + NOTE: offval is byte offset, must be multiple of 4 + NOTE: maskval is a 32 bit hex number + NOTE: shiftval is a shift value + CMD:= clear | invert | set | add | decrement | retain + := ip | ip6 + | udp | tcp | icmp + CONTROL:= reclassify | pipe | drop | continue | pass | + goto chain + NOTE: if 'ex' is set, extended functionality will be supported (kernel >= 4.11) +For Example usage look at the examples directory +bad action parsing +parse_action: bad value (9:pedit)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-004/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-004/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-004/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-004/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [CONTROL] +Where: MUNGE := | + := [ATC] + OFFSETC:= offset + ATC:= at offmask shift + NOTE: offval is byte offset, must be multiple of 4 + NOTE: maskval is a 32 bit hex number + NOTE: shiftval is a shift value + CMD:= clear | invert | set | add | decrement | retain + := ip | ip6 + | udp | tcp | icmp + CONTROL:= reclassify | pipe | drop | continue | pass | + goto chain + NOTE: if 'ex' is set, extended functionality will be supported (kernel >= 4.11) +For Example usage look at the examples directory +bad action parsing +parse_action: bad value (8:pedit)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-005/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-005/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-005/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-005/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [CONTROL] +Where: MUNGE := | + := [ATC] + OFFSETC:= offset + ATC:= at offmask shift + NOTE: offval is byte offset, must be multiple of 4 + NOTE: maskval is a 32 bit hex number + NOTE: shiftval is a shift value + CMD:= clear | invert | set | add | decrement | retain + := ip | ip6 + | udp | tcp | icmp + CONTROL:= reclassify | pipe | drop | continue | pass | + goto chain + NOTE: if 'ex' is set, extended functionality will be supported (kernel >= 4.11) +For Example usage look at the examples directory +bad action parsing +parse_action: bad value (777:pedit)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-006/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-006/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-006/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-006/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [CONTROL] +Where: MUNGE := | + := [ATC] + OFFSETC:= offset + ATC:= at offmask shift + NOTE: offval is byte offset, must be multiple of 4 + NOTE: maskval is a 32 bit hex number + NOTE: shiftval is a shift value + CMD:= clear | invert | set | add | decrement | retain + := ip | ip6 + | udp | tcp | icmp + CONTROL:= reclassify | pipe | drop | continue | pass | + goto chain + NOTE: if 'ex' is set, extended functionality will be supported (kernel >= 4.11) +For Example usage look at the examples directory +bad action parsing +parse_action: bad value (8:pedit)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-007/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-007/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-007/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-007/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [CONTROL] +Where: MUNGE := | + := [ATC] + OFFSETC:= offset + ATC:= at offmask shift + NOTE: offval is byte offset, must be multiple of 4 + NOTE: maskval is a 32 bit hex number + NOTE: shiftval is a shift value + CMD:= clear | invert | set | add | decrement | retain + := ip | ip6 + | udp | tcp | icmp + CONTROL:= reclassify | pipe | drop | continue | pass | + goto chain + NOTE: if 'ex' is set, extended functionality will be supported (kernel >= 4.11) +For Example usage look at the examples directory +bad action parsing +parse_action: bad value (8:pedit)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-008/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-008/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-008/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-008/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [CONTROL] +Where: MUNGE := | + := [ATC] + OFFSETC:= offset + ATC:= at offmask shift + NOTE: offval is byte offset, must be multiple of 4 + NOTE: maskval is a 32 bit hex number + NOTE: shiftval is a shift value + CMD:= clear | invert | set | add | decrement | retain + := ip | ip6 + | udp | tcp | icmp + CONTROL:= reclassify | pipe | drop | continue | pass | + goto chain + NOTE: if 'ex' is set, extended functionality will be supported (kernel >= 4.11) +For Example usage look at the examples directory +bad action parsing +parse_action: bad value (8:pedit)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-009/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-009/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-009/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-009/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [CONTROL] +Where: MUNGE := | + := [ATC] + OFFSETC:= offset + ATC:= at offmask shift + NOTE: offval is byte offset, must be multiple of 4 + NOTE: maskval is a 32 bit hex number + NOTE: shiftval is a shift value + CMD:= clear | invert | set | add | decrement | retain + := ip | ip6 + | udp | tcp | icmp + CONTROL:= reclassify | pipe | drop | continue | pass | + goto chain + NOTE: if 'ex' is set, extended functionality will be supported (kernel >= 4.11) +For Example usage look at the examples directory +bad action parsing +parse_action: bad value (11:pedit)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-010/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-010/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-010/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-010/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [CONTROL] +Where: MUNGE := | + := [ATC] + OFFSETC:= offset + ATC:= at offmask shift + NOTE: offval is byte offset, must be multiple of 4 + NOTE: maskval is a 32 bit hex number + NOTE: shiftval is a shift value + CMD:= clear | invert | set | add | decrement | retain + := ip | ip6 + | udp | tcp | icmp + CONTROL:= reclassify | pipe | drop | continue | pass | + goto chain + NOTE: if 'ex' is set, extended functionality will be supported (kernel >= 4.11) +For Example usage look at the examples directory diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-013/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-013/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-013/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-013/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [CONTROL] +Where: MUNGE := | + := [ATC] + OFFSETC:= offset + ATC:= at offmask shift + NOTE: offval is byte offset, must be multiple of 4 + NOTE: maskval is a 32 bit hex number + NOTE: shiftval is a shift value + CMD:= clear | invert | set | add | decrement | retain + := ip | ip6 + | udp | tcp | icmp + CONTROL:= reclassify | pipe | drop | continue | pass | + goto chain + NOTE: if 'ex' is set, extended functionality will be supported (kernel >= 4.11) +For Example usage look at the examples directory +bad action parsing +parse_action: bad value (8:pedit)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-014/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-014/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-014/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-014/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [CONTROL] +Where: MUNGE := | + := [ATC] + OFFSETC:= offset + ATC:= at offmask shift + NOTE: offval is byte offset, must be multiple of 4 + NOTE: maskval is a 32 bit hex number + NOTE: shiftval is a shift value + CMD:= clear | invert | set | add | decrement | retain + := ip | ip6 + | udp | tcp | icmp + CONTROL:= reclassify | pipe | drop | continue | pass | + goto chain + NOTE: if 'ex' is set, extended functionality will be supported (kernel >= 4.11) +For Example usage look at the examples directory +bad action parsing +parse_action: bad value (7:pedit)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-015/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-015/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-015/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-015/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [CONTROL] +Where: MUNGE := | + := [ATC] + OFFSETC:= offset + ATC:= at offmask shift + NOTE: offval is byte offset, must be multiple of 4 + NOTE: maskval is a 32 bit hex number + NOTE: shiftval is a shift value + CMD:= clear | invert | set | add | decrement | retain + := ip | ip6 + | udp | tcp | icmp + CONTROL:= reclassify | pipe | drop | continue | pass | + goto chain + NOTE: if 'ex' is set, extended functionality will be supported (kernel >= 4.11) +For Example usage look at the examples directory +bad action parsing +parse_action: bad value (6:pedit)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-016/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-016/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-016/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-016/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [CONTROL] +Where: MUNGE := | + := [ATC] + OFFSETC:= offset + ATC:= at offmask shift + NOTE: offval is byte offset, must be multiple of 4 + NOTE: maskval is a 32 bit hex number + NOTE: shiftval is a shift value + CMD:= clear | invert | set | add | decrement | retain + := ip | ip6 + | udp | tcp | icmp + CONTROL:= reclassify | pipe | drop | continue | pass | + goto chain + NOTE: if 'ex' is set, extended functionality will be supported (kernel >= 4.11) +For Example usage look at the examples directory +bad action parsing +parse_action: bad value (6:pedit)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-018/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-018/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-018/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-018/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [CONTROL] +Where: MUNGE := | + := [ATC] + OFFSETC:= offset + ATC:= at offmask shift + NOTE: offval is byte offset, must be multiple of 4 + NOTE: maskval is a 32 bit hex number + NOTE: shiftval is a shift value + CMD:= clear | invert | set | add | decrement | retain + := ip | ip6 + | udp | tcp | icmp + CONTROL:= reclassify | pipe | drop | continue | pass | + goto chain + NOTE: if 'ex' is set, extended functionality will be supported (kernel >= 4.11) +For Example usage look at the examples directory +bad action parsing +parse_action: bad value (9:pedit)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-019/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-019/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-019/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-019/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [CONTROL] +Where: MUNGE := | + := [ATC] + OFFSETC:= offset + ATC:= at offmask shift + NOTE: offval is byte offset, must be multiple of 4 + NOTE: maskval is a 32 bit hex number + NOTE: shiftval is a shift value + CMD:= clear | invert | set | add | decrement | retain + := ip | ip6 + | udp | tcp | icmp + CONTROL:= reclassify | pipe | drop | continue | pass | + goto chain + NOTE: if 'ex' is set, extended functionality will be supported (kernel >= 4.11) +For Example usage look at the examples directory +bad action parsing +parse_action: bad value (9:pedit)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-020/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-020/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-020/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-020/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [CONTROL] +Where: MUNGE := | + := [ATC] + OFFSETC:= offset + ATC:= at offmask shift + NOTE: offval is byte offset, must be multiple of 4 + NOTE: maskval is a 32 bit hex number + NOTE: shiftval is a shift value + CMD:= clear | invert | set | add | decrement | retain + := ip | ip6 + | udp | tcp | icmp + CONTROL:= reclassify | pipe | drop | continue | pass | + goto chain + NOTE: if 'ex' is set, extended functionality will be supported (kernel >= 4.11) +For Example usage look at the examples directory +bad action parsing +parse_action: bad value (9:pedit)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-021/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-021/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-021/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-021/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [CONTROL] +Where: MUNGE := | + := [ATC] + OFFSETC:= offset + ATC:= at offmask shift + NOTE: offval is byte offset, must be multiple of 4 + NOTE: maskval is a 32 bit hex number + NOTE: shiftval is a shift value + CMD:= clear | invert | set | add | decrement | retain + := ip | ip6 + | udp | tcp | icmp + CONTROL:= reclassify | pipe | drop | continue | pass | + goto chain + NOTE: if 'ex' is set, extended functionality will be supported (kernel >= 4.11) +For Example usage look at the examples directory +bad action parsing +parse_action: bad value (9:pedit)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-022/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-022/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-022/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-022/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [CONTROL] +Where: MUNGE := | + := [ATC] + OFFSETC:= offset + ATC:= at offmask shift + NOTE: offval is byte offset, must be multiple of 4 + NOTE: maskval is a 32 bit hex number + NOTE: shiftval is a shift value + CMD:= clear | invert | set | add | decrement | retain + := ip | ip6 + | udp | tcp | icmp + CONTROL:= reclassify | pipe | drop | continue | pass | + goto chain + NOTE: if 'ex' is set, extended functionality will be supported (kernel >= 4.11) +For Example usage look at the examples directory +bad action parsing +parse_action: bad value (8:pedit)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-023/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-023/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-023/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-023/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [CONTROL] +Where: MUNGE := | + := [ATC] + OFFSETC:= offset + ATC:= at offmask shift + NOTE: offval is byte offset, must be multiple of 4 + NOTE: maskval is a 32 bit hex number + NOTE: shiftval is a shift value + CMD:= clear | invert | set | add | decrement | retain + := ip | ip6 + | udp | tcp | icmp + CONTROL:= reclassify | pipe | drop | continue | pass | + goto chain + NOTE: if 'ex' is set, extended functionality will be supported (kernel >= 4.11) +For Example usage look at the examples directory +bad action parsing +parse_action: bad value (8:pedit)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-024/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-024/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-024/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-024/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [CONTROL] +Where: MUNGE := | + := [ATC] + OFFSETC:= offset + ATC:= at offmask shift + NOTE: offval is byte offset, must be multiple of 4 + NOTE: maskval is a 32 bit hex number + NOTE: shiftval is a shift value + CMD:= clear | invert | set | add | decrement | retain + := ip | ip6 + | udp | tcp | icmp + CONTROL:= reclassify | pipe | drop | continue | pass | + goto chain + NOTE: if 'ex' is set, extended functionality will be supported (kernel >= 4.11) +For Example usage look at the examples directory +bad action parsing +parse_action: bad value (8:pedit)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-025/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-025/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-025/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-025/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [CONTROL] +Where: MUNGE := | + := [ATC] + OFFSETC:= offset + ATC:= at offmask shift + NOTE: offval is byte offset, must be multiple of 4 + NOTE: maskval is a 32 bit hex number + NOTE: shiftval is a shift value + CMD:= clear | invert | set | add | decrement | retain + := ip | ip6 + | udp | tcp | icmp + CONTROL:= reclassify | pipe | drop | continue | pass | + goto chain + NOTE: if 'ex' is set, extended functionality will be supported (kernel >= 4.11) +For Example usage look at the examples directory +bad action parsing +parse_action: bad value (8:pedit)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-026/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-026/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-026/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-026/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [CONTROL] +Where: MUNGE := | + := [ATC] + OFFSETC:= offset + ATC:= at offmask shift + NOTE: offval is byte offset, must be multiple of 4 + NOTE: maskval is a 32 bit hex number + NOTE: shiftval is a shift value + CMD:= clear | invert | set | add | decrement | retain + := ip | ip6 + | udp | tcp | icmp + CONTROL:= reclassify | pipe | drop | continue | pass | + goto chain + NOTE: if 'ex' is set, extended functionality will be supported (kernel >= 4.11) +For Example usage look at the examples directory +bad action parsing +parse_action: bad value (8:pedit)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-027/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-027/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-027/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-027/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [CONTROL] +Where: MUNGE := | + := [ATC] + OFFSETC:= offset + ATC:= at offmask shift + NOTE: offval is byte offset, must be multiple of 4 + NOTE: maskval is a 32 bit hex number + NOTE: shiftval is a shift value + CMD:= clear | invert | set | add | decrement | retain + := ip | ip6 + | udp | tcp | icmp + CONTROL:= reclassify | pipe | drop | continue | pass | + goto chain + NOTE: if 'ex' is set, extended functionality will be supported (kernel >= 4.11) +For Example usage look at the examples directory +bad action parsing +parse_action: bad value (9:pedit)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-028/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-028/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-028/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-028/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [CONTROL] +Where: MUNGE := | + := [ATC] + OFFSETC:= offset + ATC:= at offmask shift + NOTE: offval is byte offset, must be multiple of 4 + NOTE: maskval is a 32 bit hex number + NOTE: shiftval is a shift value + CMD:= clear | invert | set | add | decrement | retain + := ip | ip6 + | udp | tcp | icmp + CONTROL:= reclassify | pipe | drop | continue | pass | + goto chain + NOTE: if 'ex' is set, extended functionality will be supported (kernel >= 4.11) +For Example usage look at the examples directory +bad action parsing +parse_action: bad value (9:pedit)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-029/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-029/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-029/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-029/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [CONTROL] +Where: MUNGE := | + := [ATC] + OFFSETC:= offset + ATC:= at offmask shift + NOTE: offval is byte offset, must be multiple of 4 + NOTE: maskval is a 32 bit hex number + NOTE: shiftval is a shift value + CMD:= clear | invert | set | add | decrement | retain + := ip | ip6 + | udp | tcp | icmp + CONTROL:= reclassify | pipe | drop | continue | pass | + goto chain + NOTE: if 'ex' is set, extended functionality will be supported (kernel >= 4.11) +For Example usage look at the examples directory +bad action parsing +parse_action: bad value (10:pedit)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-030/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-030/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-030/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-030/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+Rl|lf>=?X=ug{7HAsl^J}sg=bFCHV?TsR{*&#l@*9 F3;+tXFIfNp literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-032/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-032/ip.rc new file mode 100644 index 000000000..ace9d0362 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-032/ip.rc @@ -0,0 +1 @@ +255 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-033/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-033/cmd.json new file mode 100644 index 000000000..486ecb923 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-033/cmd.json @@ -0,0 +1,98 @@ +{ + "axes": { + "fix": "w244", + "json": "0", + "words": "actions add action pedit munge ip ttl set 1 goto chain x index 1" + }, + "cmd": "tc actions add action pedit munge ip ttl set 1 goto chain x index 1", + "desc": "negative: opt=plain cmd=ng:w244:actions_add_action_pedit_munge_ip_ttl_set_1_goto_chain_x_index_1: Illegal \"chain index\" twice (W244)", + "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": "iproute2" + }, + "id": "tcact2write/ng-033", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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/tcact2write/ng-033/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-033/ip.err new file mode 100644 index 000000000..f77eaea2c --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-033/ip.err @@ -0,0 +1,11 @@ +Illegal "chain index" +Illegal "chain index" +Usage: ... gact [RAND] [INDEX] +Where: ACTION := reclassify | drop | continue | pass | pipe | + goto chain | jump + RAND := random + RANDTYPE := netrand | determ + VAL : = value not exceeding 10000 + JUMP_COUNT := Absolute jump from start of action list + INDEX := index value used + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-033/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-033/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-033/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-033/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [RAND] [INDEX] +Where: ACTION := reclassify | drop | continue | pass | pipe | + goto chain | jump + RAND := random + RANDTYPE := netrand | determ + VAL : = value not exceeding 10000 + JUMP_COUNT := Absolute jump from start of action list + INDEX := index value used + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-034/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-034/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-034/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-034/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [CONTROL] +Where: MUNGE := | + := [ATC] + OFFSETC:= offset + ATC:= at offmask shift + NOTE: offval is byte offset, must be multiple of 4 + NOTE: maskval is a 32 bit hex number + NOTE: shiftval is a shift value + CMD:= clear | invert | set | add | decrement | retain + := ip | ip6 + | udp | tcp | icmp + CONTROL:= reclassify | pipe | drop | continue | pass | + goto chain + NOTE: if 'ex' is set, extended functionality will be supported (kernel >= 4.11) +For Example usage look at the examples directory +bad action parsing +parse_action: bad value (4:pedit)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-035/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-035/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-035/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-035/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [CONTROL] +Where: MUNGE := | + := [ATC] + OFFSETC:= offset + ATC:= at offmask shift + NOTE: offval is byte offset, must be multiple of 4 + NOTE: maskval is a 32 bit hex number + NOTE: shiftval is a shift value + CMD:= clear | invert | set | add | decrement | retain + := ip | ip6 + | udp | tcp | icmp + CONTROL:= reclassify | pipe | drop | continue | pass | + goto chain + NOTE: if 'ex' is set, extended functionality will be supported (kernel >= 4.11) +For Example usage look at the examples directory +bad action parsing +parse_action: bad value (9:pedit)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-038/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-038/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-038/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-038/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [CONTROL] +Where: MUNGE := | + := [ATC] + OFFSETC:= offset + ATC:= at offmask shift + NOTE: offval is byte offset, must be multiple of 4 + NOTE: maskval is a 32 bit hex number + NOTE: shiftval is a shift value + CMD:= clear | invert | set | add | decrement | retain + := ip | ip6 + | udp | tcp | icmp + CONTROL:= reclassify | pipe | drop | continue | pass | + goto chain + NOTE: if 'ex' is set, extended functionality will be supported (kernel >= 4.11) +For Example usage look at the examples directory +bad action parsing +parse_action: bad value (9:pedit)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-039/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-039/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-039/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-039/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [CONTROL] +Where: MUNGE := | + := [ATC] + OFFSETC:= offset + ATC:= at offmask shift + NOTE: offval is byte offset, must be multiple of 4 + NOTE: maskval is a 32 bit hex number + NOTE: shiftval is a shift value + CMD:= clear | invert | set | add | decrement | retain + := ip | ip6 + | udp | tcp | icmp + CONTROL:= reclassify | pipe | drop | continue | pass | + goto chain + NOTE: if 'ex' is set, extended functionality will be supported (kernel >= 4.11) +For Example usage look at the examples directory +bad action parsing +parse_action: bad value (9:pedit)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-040/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-040/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-040/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-040/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [CONTROL] +Where: MUNGE := | + := [ATC] + OFFSETC:= offset + ATC:= at offmask shift + NOTE: offval is byte offset, must be multiple of 4 + NOTE: maskval is a 32 bit hex number + NOTE: shiftval is a shift value + CMD:= clear | invert | set | add | decrement | retain + := ip | ip6 + | udp | tcp | icmp + CONTROL:= reclassify | pipe | drop | continue | pass | + goto chain + NOTE: if 'ex' is set, extended functionality will be supported (kernel >= 4.11) +For Example usage look at the examples directory +bad action parsing +parse_action: bad value (9:pedit)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-041/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-041/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-041/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-041/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [CONTROL] +Where: MUNGE := | + := [ATC] + OFFSETC:= offset + ATC:= at offmask shift + NOTE: offval is byte offset, must be multiple of 4 + NOTE: maskval is a 32 bit hex number + NOTE: shiftval is a shift value + CMD:= clear | invert | set | add | decrement | retain + := ip | ip6 + | udp | tcp | icmp + CONTROL:= reclassify | pipe | drop | continue | pass | + goto chain + NOTE: if 'ex' is set, extended functionality will be supported (kernel >= 4.11) +For Example usage look at the examples directory +bad action parsing +parse_action: bad value (8:pedit)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-042/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-042/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-042/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-042/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [CONTROL] +Where: MUNGE := | + := [ATC] + OFFSETC:= offset + ATC:= at offmask shift + NOTE: offval is byte offset, must be multiple of 4 + NOTE: maskval is a 32 bit hex number + NOTE: shiftval is a shift value + CMD:= clear | invert | set | add | decrement | retain + := ip | ip6 + | udp | tcp | icmp + CONTROL:= reclassify | pipe | drop | continue | pass | + goto chain + NOTE: if 'ex' is set, extended functionality will be supported (kernel >= 4.11) +For Example usage look at the examples directory +bad action parsing +parse_action: bad value (8:pedit)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-043/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-043/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-043/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-043/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [RAND] [INDEX] +Where: ACTION := reclassify | drop | continue | pass | pipe | + goto chain | jump + RAND := random + RANDTYPE := netrand | determ + VAL : = value not exceeding 10000 + JUMP_COUNT := Absolute jump from start of action list + INDEX := index value used + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-044/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-044/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-044/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-044/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+Rsey%om4O3j4;KRi69)r3NDCt?hzA5R3`{^B5Wozj zK@>;~9}?R7?md;kCcrOpXEQNuQ zApwZ_fw-hJFE2GGK0CFNfx(A?seyxmnSqOefl-8kjX{BtcLz)lkY?gwUG` k=A|p7W|m~67Aa&Fl$j{xgK0B`;-X}Q#Jm)Rl;RQw0A*4%%m4rY literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-047/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-047/ip.rc new file mode 100644 index 000000000..ace9d0362 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-047/ip.rc @@ -0,0 +1 @@ +255 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-048/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-048/cmd.json new file mode 100644 index 000000000..e60196e9b --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-048/cmd.json @@ -0,0 +1,99 @@ +{ + "axes": { + "fix": "w253", + "json": "0", + "words": "actions add action tunnel_key src_ip 10.0.0.1 dst_ip 10.0.0.2 id 1 index 1" + }, + "cmd": "tc actions add action tunnel_key src_ip 10.0.0.1 dst_ip 10.0.0.2 id 1 index 1", + "desc": "negative: opt=plain cmd=ng:w253:actions_add_action_tunnel_key_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_1_index_1: t_action 0: Unknown tunnel key action (W253)", + "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": 255, + "refused_by": "kernel" + }, + "id": "tcact2write/ng-048", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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/tcact2write/ng-048/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-048/ip.err new file mode 100644 index 000000000..d7fbc93e5 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-048/ip.err @@ -0,0 +1,2 @@ +Error: Unknown tunnel key action. +We have an error talking to the kernel diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-048/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-048/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-048/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-048/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..013f8199e3ab2d6379b59eb8cc30645dcd6d437a GIT binary patch literal 356 zcmca|c+)~A1{MYcU}5+ROpXEP{cN zAq0r|fw-hJFE2GGK0CFNfx&@+seyxmnSqOefsq4f7m#M+U|uB0 zh8!T~2jY^_yu8$$`0Uh528IX*rUniMW(F<>21X8`T|k!QgI7ppSeri;FY!(iI@#qyP*jh4j?C)Us5C{DP9q{5*x^oW$Z{9fgw00-#Wl LLP}yuBFKvXi#j{{ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-054/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-054/ip.rc new file mode 100644 index 000000000..ace9d0362 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-054/ip.rc @@ -0,0 +1 @@ +255 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-055/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-055/cmd.json new file mode 100644 index 000000000..e8a2d9ed5 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-055/cmd.json @@ -0,0 +1,99 @@ +{ + "axes": { + "fix": "w259-1", + "json": "0", + "words": "actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 geneve_opts 0102:80:0 index 1" + }, + "cmd": "tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 geneve_opts 0102:80:0 index 1", + "desc": "negative: opt=plain cmd=ng:w259-1:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_7_geneve_opts_0102:80:0_index_1: 1 hex char is 0 bytes of DATA: less than 4 bytes long (W259)", + "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": "ERANGE", + "rc": 255, + "refused_by": "kernel" + }, + "id": "tcact2write/ng-055", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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/tcact2write/ng-055/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-055/ip.err new file mode 100644 index 000000000..928921e01 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-055/ip.err @@ -0,0 +1,2 @@ +Error: Tunnel key geneve option data is less than 4 bytes long. +We have an error talking to the kernel diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-055/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-055/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-055/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-055/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..1294b53843898142a5d4e935cf23a1721a8945df GIT binary patch literal 440 zcmd5&F$w}P5S+w2JruOHu-GS9SXlTBOF>QyDoXC)qF`s~6Ks8f;1~RXT4-afkC1aB zh~Nuc7L;@GWDcL}f|_drl+`}V0dNfTl5MBhhqP)Lay;pWzw zS$}GlKo5Eqp@1@=BEH40Bb5BHQUev#=`RvW10gh4+z99oy_40Trrr!xzvVTbQ>DP2 z+~YUrg%YpTKIh}AaLe=jU$S@jtL}SF!a2#vShFyaq;8T}8OAP_NhULsW#Y!Mm6i;a J&QMA02rqxaJP!Z> literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-055/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-055/ip.rc new file mode 100644 index 000000000..ace9d0362 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-055/ip.rc @@ -0,0 +1 @@ +255 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-056/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-056/cmd.json new file mode 100644 index 000000000..b7407ce6d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-056/cmd.json @@ -0,0 +1,99 @@ +{ + "axes": { + "fix": "w259-7", + "json": "0", + "words": "actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 geneve_opts 0102:80:0011223 index 1" + }, + "cmd": "tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 geneve_opts 0102:80:0011223 index 1", + "desc": "negative: opt=plain cmd=ng:w259-7:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_7_geneve_opts_0102:80:0011223_index_1: 7 hex chars are 3 bytes: the odd nibble is dropped (W259)", + "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": "ERANGE", + "rc": 255, + "refused_by": "kernel" + }, + "id": "tcact2write/ng-056", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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/tcact2write/ng-056/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-056/ip.err new file mode 100644 index 000000000..928921e01 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-056/ip.err @@ -0,0 +1,2 @@ +Error: Tunnel key geneve option data is less than 4 bytes long. +We have an error talking to the kernel diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-056/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-056/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-056/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-056/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..58e8b1833703a97df1774737090356138c52369a GIT binary patch literal 448 zcmca|c+)~A1{MYcU}5+Rd^ z3=FIcObiVm37~ogK_ws`s2T`lfZ~i`76V8I4nSfcx5fb7`Uc1bVRX0N0SW<)W&*kO z$4y3td;kCcA58AI0s1Ti99{~*@KQ)m%}XsyRmd+W$;{7FNJ%V7RLCq=$Vn|ORw&6x T%u_H?NUAJJ1&ZY7r858k!reRs literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-056/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-056/ip.rc new file mode 100644 index 000000000..ace9d0362 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-056/ip.rc @@ -0,0 +1 @@ +255 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-057/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-057/cmd.json new file mode 100644 index 000000000..db2c14144 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-057/cmd.json @@ -0,0 +1,99 @@ +{ + "axes": { + "fix": "w261", + "json": "0", + "words": "actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 erspan_opts 2::1:16 index 1" + }, + "cmd": "tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 erspan_opts 2::1:16 index 1", + "desc": "negative: opt=plain cmd=ng:w261:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_7_erspan_opts_2::1:16_index_1: strtok shifts the fields: Missing tunnel key erspan option dir or hwid (W261)", + "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": 255, + "refused_by": "kernel" + }, + "id": "tcact2write/ng-057", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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/tcact2write/ng-057/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-057/ip.err new file mode 100644 index 000000000..f44dd3b66 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-057/ip.err @@ -0,0 +1,2 @@ +Error: Missing tunnel key erspan option dir or hwid. +We have an error talking to the kernel diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-057/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-057/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-057/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-057/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..3b23e5288d3ed03eb6f236e633517d6851b6b817 GIT binary patch literal 440 zcmca|c+)~A1{MYcU}5+R7|K$?kzfgPlcU4enSL56|3ffcBS z2`In;CK(u6f$9Z-d{&TZAdmryGlE$RKp6x8iGkeu!-0|E36KrK=x)6N6at#f1aj;D zn~V&v{{R0!nA~p&^qFsFadBo|x&kEJ6oBETkXlq+keH{CUr>^npQn(LS)`C(q>xdb InF8`60GkOq)&Kwi literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-057/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-057/ip.rc new file mode 100644 index 000000000..ace9d0362 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-057/ip.rc @@ -0,0 +1 @@ +255 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-058/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-058/cmd.json new file mode 100644 index 000000000..3fcc62726 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-058/cmd.json @@ -0,0 +1,99 @@ +{ + "axes": { + "fix": "w260", + "json": "0", + "words": "actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 geneve_opts '' index 1" + }, + "cmd": "tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 geneve_opts '' index 1", + "desc": "negative: opt=plain cmd=ng:w260:actions_add_action_tunnel_key_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_id_7_geneve_opts_''_index_1: an empty ENC_OPTS (W260)", + "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": 255, + "refused_by": "kernel" + }, + "id": "tcact2write/ng-058", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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/tcact2write/ng-058/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-058/ip.err new file mode 100644 index 000000000..4af4d3ac5 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-058/ip.err @@ -0,0 +1,2 @@ +Error: Empty list of tunnel options. +We have an error talking to the kernel diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-058/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-058/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-058/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-058/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..661526663e915587a0bb254a8acf4f57bdf3abcd GIT binary patch literal 368 zcmca|c+)~A1{MYcU}5+R7Q?{E z5CO#eKwMIqmzSCopPgFCz~I8b)WE^O%)rIKz{ml#3rI6@FtCHPv9mC6Gq8e0fIxzZ(cQBGD8vLrAoob#Vq|#r|Nnn_yHOG7QrFyql1hb~ Y%;FM-{4@nfC@AC?lw{`T6@#1&03!b`761SM literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-058/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-058/ip.rc new file mode 100644 index 000000000..ace9d0362 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-058/ip.rc @@ -0,0 +1 @@ +255 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-059/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-059/cmd.json new file mode 100644 index 000000000..53fded104 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-059/cmd.json @@ -0,0 +1,98 @@ +{ + "axes": { + "fix": "w266", + "json": "0", + "words": "actions add action tunnel_key set set src_ip 10.0.0.1 dst_ip 10.0.0.2 index 1" + }, + "cmd": "tc actions add action tunnel_key set set src_ip 10.0.0.1 dst_ip 10.0.0.2 index 1", + "desc": "negative: opt=plain cmd=ng:w266:actions_add_action_tunnel_key_set_set_src_ip_10.0.0.1_dst_ip_10.0.0.2_index_1: unexpected \"set\" - action already specified (W266)", + "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": "iproute2" + }, + "id": "tcact2write/ng-059", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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/tcact2write/ng-059/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-059/ip.err new file mode 100644 index 000000000..83b42a81c --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-059/ip.err @@ -0,0 +1,14 @@ +unexpected "set" - action already specified +Usage: tunnel_key unset + tunnel_key set +Where TUNNEL_KEY is a combination of: +id +src_ip (mandatory) +dst_ip (mandatory) +dst_port +geneve_opts | vxlan_opts | erspan_opts +csum | nocsum (default is "csum") +nofrag +bad action parsing +parse_action: bad value (9:tunnel_key)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-059/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-059/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-059/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-059/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R +Where TUNNEL_KEY is a combination of: +id +src_ip (mandatory) +dst_ip (mandatory) +dst_port +geneve_opts | vxlan_opts | erspan_opts +csum | nocsum (default is "csum") +nofrag +bad action parsing +parse_action: bad value (6:tunnel_key)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-060/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-060/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-060/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-060/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R +Where TUNNEL_KEY is a combination of: +id +src_ip (mandatory) +dst_ip (mandatory) +dst_port +geneve_opts | vxlan_opts | erspan_opts +csum | nocsum (default is "csum") +nofrag diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-064/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-064/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-064/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-064/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+RV|No!bZcqohEGaWDv8YlZv81FZGpV#BRiQYuDpeuBv_v64O`#|; jFFlokfdl9g4WN5u7+4xOfIbrdvN?dhhR}=*TtGemAB!v6 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-082/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-082/ip.rc new file mode 100644 index 000000000..ace9d0362 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-082/ip.rc @@ -0,0 +1 @@ +255 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-083/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-083/cmd.json new file mode 100644 index 000000000..b8d500caf --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-083/cmd.json @@ -0,0 +1,98 @@ +{ + "axes": { + "fix": "w282", + "json": "0", + "words": "actions add action ct commit nat src addr 10.0.0.1 port 80- index 1" + }, + "cmd": "tc actions add action ct commit nat src addr 10.0.0.1 port 80- index 1", + "desc": "negative: opt=plain cmd=ng:w282:actions_add_action_ct_commit_nat_src_addr_10.0.0.1_port_80-_index_1: ct: Illegal nat port range (W282)", + "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": "iproute2" + }, + "id": "tcact2write/ng-083", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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/tcact2write/ng-083/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-083/ip.err new file mode 100644 index 000000000..90a6ab2e7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-083/ip.err @@ -0,0 +1,4 @@ +ct: Illegal nat port range +bad action parsing +parse_action: bad value (10:ct)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-083/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-083/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-083/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-083/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+RQK%5Lz5Wv9Hz{()Vzywsl${@tR2Bf7K1Q-&Nl2cOC(lau%vU76t@(T)!ic3n% z7=ZH3K%EQ>5mnW?o8a1&}WT)FS~DV?|N} zV}jiDI*ONJ4^RMv(cQELD8vLrAU7R+$jI>T|Ns93;Z7Bxf7}u?b5c_jO7azQ@)J`O VLYx&6lS?x5^AvLPQ%ZAE83539E9}(-TI9S3te=a+?OwSDtxgi8+}m3YmE&sYO7hLRx;2 ULUD3NYD#HNszPdBNl_&O0BPJmqW}N^ literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-105/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-105/ip.rc new file mode 100644 index 000000000..ace9d0362 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-105/ip.rc @@ -0,0 +1 @@ +255 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-106/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-106/cmd.json new file mode 100644 index 000000000..b6d3daea2 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-106/cmd.json @@ -0,0 +1,98 @@ +{ + "axes": { + "fix": "w298-ms", + "json": "0", + "words": "actions add action gate base-time -1ms sched-entry open 1000000 -1 -1 index 1" + }, + "cmd": "tc actions add action gate base-time -1ms sched-entry open 1000000 -1 -1 index 1", + "desc": "negative: opt=plain cmd=ng:w298-ms:actions_add_action_gate_base-time_-1ms_sched-entry_open_1000000_-1_-1_index_1: a negative time with a unit: invarg (W298)", + "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": "iproute2" + }, + "id": "tcact2write/ng-106", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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/tcact2write/ng-106/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-106/ip.err new file mode 100644 index 000000000..48ebc82dc --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-106/ip.err @@ -0,0 +1 @@ +Error: argument "-1ms" is wrong: base-time diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-106/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-106/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-106/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-106/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [ ] +"sched-entry" is incomplete +bad action parsing +parse_action: bad value (6:gate)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-107/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-107/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-107/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-107/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [ ] +"sched-entry" is incomplete +bad action parsing +parse_action: bad value (2:gate)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-108/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-108/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-108/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-108/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [ ] +"sched-entry" is incomplete +bad action parsing +parse_action: bad value (3:gate)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-109/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-109/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-109/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-109/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [ ] +"sched-entry" is incomplete +bad action parsing +parse_action: bad value (6:gate)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-110/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-110/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-110/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-110/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-111/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-111/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-111/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-111/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-113/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-113/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-113/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-113/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+Rl2nkm0|Qfo1OpRH2?H~n#lWD#z}ld|z}Ub7l;;4-I5_bGX%>e6K)}Jk z3Z`{{a$G?3GV@YWD}Z`spysh6nFC{j+^i|X#&8EH0K({QJ_8g2x`YYj=7eXA4F7=k r3`T#b0R8Khn3 [RAND] [INDEX] +Where: ACTION := reclassify | drop | continue | pass | pipe | + goto chain | jump + RAND := random + RANDTYPE := netrand | determ + VAL : = value not exceeding 10000 + JUMP_COUNT := Absolute jump from start of action list + INDEX := index value used + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-115/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-115/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-115/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-115/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+Rhj*6Nu9jOHx7N3JgpQ5)4cXtWZVFFvUQcg@LsJWY1rqJsm(k2&3Cm0Tf~aB9J`_ q&lwqB{r~@;T6W6--5HXRs*svjQdFsslUZD%kXfvdnp;p($p8R=S11So literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-116/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-116/ip.rc new file mode 100644 index 000000000..ace9d0362 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-116/ip.rc @@ -0,0 +1 @@ +255 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-117/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-117/cmd.json new file mode 100644 index 000000000..b9093ac78 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-117/cmd.json @@ -0,0 +1,98 @@ +{ + "axes": { + "fix": "gate-big", + "json": "0", + "words": "actions add action gate sched-entry open 4294967296 -1 -1 index 1" + }, + "cmd": "tc actions add action gate sched-entry open 4294967296 -1 -1 index 1", + "desc": "negative: opt=plain cmd=ng:gate-big:actions_add_action_gate_sched-entry_open_4294967296_-1_-1_index_1: \"interval\" is too large", + "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": "iproute2" + }, + "id": "tcact2write/ng-117", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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/tcact2write/ng-117/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-117/ip.err new file mode 100644 index 000000000..dde52a378 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-117/ip.err @@ -0,0 +1,4 @@ +"interval" is too large +bad action parsing +parse_action: bad value (8:gate)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-117/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-117/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-117/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-117/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R bpf.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' 2039; i=0; while [ $i -lt 2039 ]; do printf '6 0 0 0\\n'; i=$((i+1)); done; } > bpf.txt", + "rc": 0 + } + ], + "rc": 255, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-120/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-120/ip.err new file mode 100644 index 000000000..1acf19270 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-120/ip.err @@ -0,0 +1,3 @@ +addattr_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/tcact2write/ng-120/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-120/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-120/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-120/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..fe14215bcbab20a810922c55bbb472dd26992936 GIT binary patch literal 32836 zcmeI)u}#BJ6a~<0$8o5lY`_XMNOWchCZM26!w6X=E2O4N!vHBD3q*?O(*Wi>fFe;v zqCJ+LtpD|@r~6O&HtW^0PLtEu bpf.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' 2041; i=0; while [ $i -lt 2041 ]; do printf '6 0 0 0\\n'; i=$((i+1)); done; } > bpf.txt", + "rc": 0 + } + ], + "rc": 255, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-121/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-121/ip.err new file mode 100644 index 000000000..1acf19270 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-121/ip.err @@ -0,0 +1,3 @@ +addattr_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/tcact2write/ng-121/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-121/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-121/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-121/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..21940ddd1099ce49b2a51e2f7e8839104f260811 GIT binary patch literal 32868 zcmeI)u}#BJ6a~<0=VK@kVgyE@q;m#H$pk5AXc&Ph=-B|V0xcy)pr(kjL8L_HJAfil zhW1!`vi$YjJl%iF_xAGq*rsIvlx*wA`}NuF!>r5cG`mWfT bpf.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' 2042; i=0; while [ $i -lt 2042 ]; do printf '6 0 0 0\\n'; i=$((i+1)); done; } > bpf.txt", + "rc": 0 + } + ], + "rc": 255, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-122/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-122/ip.err new file mode 100644 index 000000000..1acf19270 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-122/ip.err @@ -0,0 +1,3 @@ +addattr_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/tcact2write/ng-122/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-122/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-122/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-122/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..ca556501a2495868352829fe62f6ac767cb06737 GIT binary patch literal 252 zcmca|c+)~A1{MYcU}5+Rq(S!h1MSHHvOyT#o*1AI6A**! QQFy_~@aq5n|J1S@0H1;#oB#j- literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-122/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-122/ip.rc new file mode 100644 index 000000000..ace9d0362 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-122/ip.rc @@ -0,0 +1 @@ +255 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-123/bpf.txt b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-123/bpf.txt new file mode 100644 index 000000000..ea242299d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-123/bpf.txt @@ -0,0 +1,4098 @@ +4097 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 +6 0 0 0 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-123/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-123/cmd.json new file mode 100644 index 000000000..712b92bcb --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-123/cmd.json @@ -0,0 +1,103 @@ +{ + "axes": { + "fix": "w307-4097", + "json": "0", + "words": "actions add action bpf bytecode-file bpf.txt index 1" + }, + "cmd": "tc actions add action bpf bytecode-file bpf.txt index 1", + "desc": "negative: opt=plain cmd=ng:w307-4097:actions_add_action_bpf_bytecode-file_bpf.txt_index_1: past BPF_MAXINSNS: no message (W307)", + "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": "iproute2" + }, + "id": "tcact2write/ng-123", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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' 4097; i=0; while [ $i -lt 4097 ]; do printf '6 0 0 0\\n'; i=$((i+1)); done; } > bpf.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' 4097; i=0; while [ $i -lt 4097 ]; do printf '6 0 0 0\\n'; i=$((i+1)); done; } > bpf.txt", + "rc": 0 + } + ], + "rc": 255, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-123/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-123/ip.err new file mode 100644 index 000000000..2783994cd --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-123/ip.err @@ -0,0 +1,3 @@ +bad action parsing +parse_action: bad value (5:bpf)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-123/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-123/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-123/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-123/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R bpf.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' '\n1\n6 0 0 0\n' > bpf.txt", + "rc": 0 + } + ], + "rc": 255, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-129/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-129/ip.err new file mode 100644 index 000000000..2783994cd --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-129/ip.err @@ -0,0 +1,3 @@ +bad action parsing +parse_action: bad value (5:bpf)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-129/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-129/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-129/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-129/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R bpf.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' '1\r\n6 0 0 0\r\n' > bpf.txt", + "rc": 0 + } + ], + "rc": 255, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-130/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-130/ip.err new file mode 100644 index 000000000..2783994cd --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-130/ip.err @@ -0,0 +1,3 @@ +bad action parsing +parse_action: bad value (5:bpf)! +Illegal "action" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-130/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-130/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-130/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-130/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+R [RAND] [INDEX] +Where: ACTION := reclassify | drop | continue | pass | pipe | + goto chain | jump + RAND := random + RANDTYPE := netrand | determ + VAL : = value not exceeding 10000 + JUMP_COUNT := Absolute jump from start of action list + INDEX := index value used + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-133/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-133/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-133/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-133/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dcb4ca9230c6394d543bc19b01657744a5108bbd GIT binary patch literal 24 Wcmca|c+)~A1{MYcU}5+RCDCeG6ZZ8nt2*PaRDF(nb)TD{w@R1Y-S+;FpvfTWOFot z=GXwmKp5R!IzS;E239s?cY(|SneyrX|Nk6776>O5q=DUJ1vD!FCWR17ljBG5dLAz*{h%+mmh3ji_5yc*Sos~CW0GXwdDfiwuf%mDy& Cxf8Dd literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-147/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-147/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-147/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-148/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-148/cmd.json new file mode 100644 index 000000000..897c22a33 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-148/cmd.json @@ -0,0 +1,98 @@ +{ + "axes": { + "fix": "w319-flowid", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 0' flowid zz" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 0' flowid zz", + "desc": "negative: opt=plain cmd=ng:w319-flowid:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_bytecode_'1,6_0_0_0'_flowid_zz: Illegal \"classid\" for flowid (W319)", + "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": "tcact2write/ng-148", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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/tcact2write/ng-148/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-148/ip.err new file mode 100644 index 000000000..d0f9a5721 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-148/ip.err @@ -0,0 +1 @@ +Illegal "classid" diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-148/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-148/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-148/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-148/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..dba9929660610a2b427e4494c10d0f04994d774d GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RWR17ljH_$wgAz*{h%+mmh3ji_5JnJ6kvkXA9nSuPnKpF&K<^TYp C?Gy+A literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-148/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-148/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-148/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-149/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-149/cmd.json new file mode 100644 index 000000000..0145f6c65 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-149/cmd.json @@ -0,0 +1,98 @@ +{ + "axes": { + "fix": "w319-parse", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0'" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0'", + "desc": "negative: opt=plain cmd=ng:w319-parse:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_bytecode_'1,6_0_0': Unable to parse bpf command line (W319)", + "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": "tcact2write/ng-149", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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/tcact2write/ng-149/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-149/ip.err new file mode 100644 index 000000000..2b68809c6 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-149/ip.err @@ -0,0 +1,2 @@ +Error at instruction 0! +Unable to parse bpf command line diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-149/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-149/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-149/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-149/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..5374e6c8476e8113eb586841b92107e383915ae7 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RWR17ljBhWmMAz*{h%+mmh3ji_5Jnlnrdl`UcGXwdDfiwuf%mDz= CF%*UX literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-149/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-149/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-149/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-150/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-150/cmd.json new file mode 100644 index 000000000..f175f8ee4 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-150/cmd.json @@ -0,0 +1,99 @@ +{ + "axes": { + "fix": "w320", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 0' skip_hw skip_sw" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 0' skip_hw skip_sw", + "desc": "negative: opt=plain cmd=ng:w320:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_bytecode_'1,6_0_0_0'_skip_hw_skip_sw: both skip flags (W320)", + "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": "tcact2write/ng-150", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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/tcact2write/ng-150/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-150/ip.err new file mode 100644 index 000000000..b699adac0 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-150/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/tcact2write/ng-150/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-150/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-150/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-150/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..e7cf6152f39fd06bfedce0c46f3f1134a58d417e GIT binary patch literal 412 zcmca|c+)~A1{MYcU}5+RuX z$TDy;G5}3rW=H`l2ASsuS*C2-qMr^E80s0zeEhZ@ED4dj_D{%s~EOAPoY@=1c&Z z69W_jVRU!-0EKiISlN)>1u_R@%BTPT|8oFYAe>Z?#-PB!#J~phJ4lX)ffdMx01gID jpbW&#kAZd-0NEgnZdU?O2&4{V*PnNc3=4tgQ`3F`g^M$1 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-151/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-151/ip.rc new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-151/ip.rc @@ -0,0 +1 @@ +2 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-152/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-152/cmd.json new file mode 100644 index 000000000..baa6e29f5 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-152/cmd.json @@ -0,0 +1,98 @@ +{ + "axes": { + "fix": "fb-help", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol ip handle 1 bpf help" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf help", + "desc": "negative: opt=plain cmd=ng:fb-help:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_help: the filter's usage", + "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": "tcact2write/ng-152", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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/tcact2write/ng-152/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-152/ip.err new file mode 100644 index 000000000..d62703870 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-152/ip.err @@ -0,0 +1,29 @@ +Usage: ... bpf ... + +BPF use case: + bytecode BPF_BYTECODE + bytecode-file FILE + +eBPF use case: + object-file FILE [ section CLS_NAME ] [ export UDS_FILE ] [ verbose ] [ direct-action ] [ skip_hw | skip_sw ] + object-pinned FILE [ direct-action ] [ skip_hw | skip_sw ] + +Common remaining options: + [ action ACTION_SPEC ] + [ classid CLASSID ] + +Where BPF_BYTECODE := 's,c t f k,c t f k,c t f k,...' +c,t,f,k and s are decimals; s denotes number of 4-tuples + +Where FILE points to a file containing the BPF_BYTECODE string, +an ELF file containing eBPF map definitions and bytecode, or a +pinned eBPF program. + +Where CLS_NAME refers to the section name containing the +classifier (default 'classifier'). + +Where UDS_FILE points to a unix domain socket file in order +to hand off control of all created eBPF maps to an agent. + +ACTION_SPEC := ... look at individual actions +NOTE: CLASSID is parsed as hexadecimal input. diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-152/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-152/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-152/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-152/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..99f3921035c897bcf1a1b9b4e5109f6053373c8f GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RJlL70Js*#bntfB}#p#K6e#9HuX z$TDy;GBB_+Ff*h86@$#v1DXdi1Z)tRc^W`*0U!pMx8SbFHU^;C%s~EOAPoXAa{zSA B5w!pS literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-152/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-152/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-152/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-153/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-153/cmd.json new file mode 100644 index 000000000..2aafc4903 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-153/cmd.json @@ -0,0 +1,98 @@ +{ + "axes": { + "fix": "fb-obj", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol ip handle 1 bpf object-file nosuch.o" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf object-file nosuch.o", + "desc": "negative: opt=plain cmd=ng:fb-obj:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_object-file_nosuch.o: eBPF object-file in a filter: tc's answer", + "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": "tcact2write/ng-153", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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/tcact2write/ng-153/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-153/ip.err new file mode 100644 index 000000000..756d3125e --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-153/ip.err @@ -0,0 +1,3 @@ +Error opening object nosuch.o: No such file or directory +Cannot initialize ELF context! +Unable to load program diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-153/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-153/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-153/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-153/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..1c9227aba069a9df0c9def3d7f06de8a0608dcfd GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RG6ZZ8nt2*PaRDF(nYXd-#5V?@*~~!xVIU0xFmnJi CEfaD8 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-153/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-153/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-153/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-154/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-154/cmd.json new file mode 100644 index 000000000..6a75f4314 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-154/cmd.json @@ -0,0 +1,98 @@ +{ + "axes": { + "fix": "fb-pinned", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol ip handle 1 bpf pinned /sys/fs/bpf/nosuch" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf pinned /sys/fs/bpf/nosuch", + "desc": "negative: opt=plain cmd=ng:fb-pinned:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_pinned_/sys/fs/bpf/nosuch: eBPF pinned in a filter: bpf(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": "tcact2write/ng-154", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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/tcact2write/ng-154/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-154/ip.err new file mode 100644 index 000000000..5902c1d86 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-154/ip.err @@ -0,0 +1,2 @@ +Couldn't retrieve pinned program '/sys/fs/bpf/nosuch': No such file or directory +Unable to parse bpf command line diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-154/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-154/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-154/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-154/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..316d7f05077a05093f4a0c1fc44a43fe971f7c00 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$#14>S*C2-qMr^E80s0zeEhuYBL;0}Md3nSuPnKpF&K<^TXB C{u6ot literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-154/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-154/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-154/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-155/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-155/cmd.json new file mode 100644 index 000000000..94e77017f --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-155/cmd.json @@ -0,0 +1,98 @@ +{ + "axes": { + "fix": "fb-action", + "json": "0", + "words": "filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 0' action bogus" + }, + "cmd": "tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 0' action bogus", + "desc": "negative: opt=plain cmd=ng:fb-action:filter_add_dev_d0_ingress_pref_1_protocol_ip_handle_1_bpf_bytecode_'1,6_0_0_0'_action_bogus: Bad action type bogus: gact's usage, exit(-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": 255, + "refused_by": "ack-then-fail" + }, + "id": "tcact2write/ng-155", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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/tcact2write/ng-155/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-155/ip.err new file mode 100644 index 000000000..b4f8bc48c --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-155/ip.err @@ -0,0 +1,10 @@ +Bad action type bogus +Usage: ... gact [RAND] [INDEX] +Where: ACTION := reclassify | drop | continue | pass | pipe | + goto chain | jump + RAND := random + RANDTYPE := netrand | determ + VAL : = value not exceeding 10000 + JUMP_COUNT := Absolute jump from start of action list + INDEX := index value used + diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-155/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-155/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-155/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-155/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..0833ffe21fbd9598f1cbed49bec87f11643d5851 GIT binary patch literal 176 zcmca|c+)~A1{MYcU}5+RuX z$TDy;GBB_+Ff*h86@$#P0h$Lg1Z)tRc^W`*0U!pMSDhq2g8^tZGmw86NP_^(901v~ B5%B;3 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-156/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-156/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-156/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-157/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-157/cmd.json new file mode 100644 index 000000000..594782b7f --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-157/cmd.json @@ -0,0 +1,99 @@ +{ + "axes": { + "fix": "w248", + "json": "0", + "words": "actions add action pedit ex munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 index 1 action pedit ex munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 index 2 action pedit ex munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 index 3" + }, + "cmd": "tc actions add action pedit ex munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 index 1 action pedit ex munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 index 2 action pedit ex munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 index 3", + "desc": "negative: opt=plain cmd=ng:w248:actions_add_action_pedit_ex_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_index_1_action_pedit_ex_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_index_2_action_pedit_ex_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_munge_offset_0_u32_set_1_index_3: three 128-key ex actions pass 16384: the errors are ignored and a malformed nest is sent (W248)", + "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": 255, + "refused_by": "kernel" + }, + "id": "tcact2write/ng-157", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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/tcact2write/ng-157/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-157/ip.err new file mode 100644 index 000000000..86096063d --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-157/ip.err @@ -0,0 +1,3 @@ +addattr_l ERROR: message exceeded bound of 16384 +Error: act_pedit: Not enough extended keys to parse. +We have an error talking to the kernel diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-157/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-157/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-157/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-157/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..273be89d018b824d73dddf1acb374e6bd0be35aa GIT binary patch literal 32920 zcmeI4ze>YU6o*gK*r6>hl}-*BTm^*=;!+1^CwCDWv{c$+BPclJReS|s!B=o}&_zWM zUqGq%_U6w~Yr(BFU!XSLbO>L+b8_=D-n-kIYfpU1H(x%@FHif+z59on)OTd^62H8a ze@5h^EwUj?m1pz0bo`}Vl2)@MRVm3Z>~te@V6ExJt99Ru{NCbxXxd?WlyS!h4sdV; z-~b0r03S3B`XoN!gC>9vng;!0&V2BzOYw?S;z}~ruZTA}L&ij400UbLcmM-D;JU!I zQ3M8y$Dq~pre?;j;wRI=>_?pKkqsv(xTkR--~flbJMg!olm&G`U8FA9cYMGHe9#2& zLDQJ~{y=6-7D5iNcsT$$H#xVx5a9s~@PKRltZV#Lqx>y1K5e+?jLUi^o9xH=*xb); zlT+n99SAtUA+KJttCR(GL0zOS*mr!u2Yk>3@Ilike1GtT=ZvioWGgVh1G1G_*$O>^ z9`RR?@Xi0~*tG%HA8WF|Ba_$9wE=d`xT!GDt_|?^UXs`Gc+7eMmT0yWem<6vfP(`8 z2RLNS!R+7zKH!5UfDf7m{Q(~e=>yMxl3kEp@a(5;es}-_JaAJ%YJplPN-eNnfc>Vk zje9|d0uFG^Gfl-1|BdaDYQr6lMn>@Btq*0esLj=nwdS51PP&`oMYtWX9wp0;pHfZ2Ep*~Y!q77 EUr`hqEdT%j literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-157/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-157/ip.rc new file mode 100644 index 000000000..ace9d0362 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-157/ip.rc @@ -0,0 +1 @@ +255 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-158/b.txt b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-158/b.txt new file mode 100644 index 000000000..b18a715d9 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-158/b.txt @@ -0,0 +1,2 @@ +actions add action ife pipe +actions add action gact pass index 2 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-158/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-158/cmd.json new file mode 100644 index 000000000..9dbdd422b --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-158/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "batch": "ife-exit", + "fix": "w268-force", + "json": "0", + "words": "-force -batch b.txt" + }, + "cmd": "tc -force -batch b.txt", + "desc": "negative: opt=plain cmd=ng:w268-force:batch:ife-exit: ife's usage exit ends -force (W268)", + "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": "tcact2write/ng-158", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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' 'actions add action ife pipe' 'actions add action gact pass index 2' > 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' 'actions add action ife pipe' 'actions add action gact pass index 2' > b.txt", + "rc": 0 + } + ], + "rc": 255, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-158/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-158/ip.err new file mode 100644 index 000000000..128ebd0f6 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-158/ip.err @@ -0,0 +1,14 @@ +IFE requires decode/encode specified +Usage:... ife {decode|encode} [{ALLOW|USE} ATTR] [dst DMAC] [src SMAC] [type TYPE] [CONTROL] [index INDEX] + ALLOW := Encode direction. Allows encoding specified metadata + e.g "allow mark" + USE := Encode direction. Enforce Static encoding of specified metadata + e.g "use mark 0x12" + ATTR := mark (32-bit), prio (32-bit), tcindex (16-bit) + DMAC := 6 byte Destination MAC address to encode + SMAC := optional 6 byte Source MAC address to encode + TYPE := optional 16 bit ethertype to encode + CONTROL := reclassify|pipe|drop|continue|ok + INDEX := optional IFE table index value used +encode is used for sending IFE packets +decode is used for receiving IFE packets diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-158/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-158/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-158/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-158/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..ba56bdd9a48057249527bdaae61fd17d35c0e8db GIT binary patch literal 344 zcmca|c+)~A1{MYcU}5+Rz|O$Tkdx2ApaW#1smCiegU literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-158/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-158/ip.rc new file mode 100644 index 000000000..ace9d0362 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-158/ip.rc @@ -0,0 +1 @@ +255 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-159/b.txt b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-159/b.txt new file mode 100644 index 000000000..081a7ea07 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-159/b.txt @@ -0,0 +1,2 @@ +actions add action tunnel_key set src_ip bogus dst_ip 10.0.0.2 id 1 index 1 +actions add action gact pass index 2 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-159/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-159/cmd.json new file mode 100644 index 000000000..2d1b13791 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-159/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "batch": "addr-exit", + "fix": "w250-force", + "json": "0", + "words": "-force -batch b.txt" + }, + "cmd": "tc -force -batch b.txt", + "desc": "negative: opt=plain cmd=ng:w250-force:batch:addr-exit: get_addr's exit(1) ends -force (W250)", + "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": "tcact2write/ng-159", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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' 'actions add action tunnel_key set src_ip bogus dst_ip 10.0.0.2 id 1 index 1' 'actions add action gact pass index 2' > 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' 'actions add action tunnel_key set src_ip bogus dst_ip 10.0.0.2 id 1 index 1' 'actions add action gact pass index 2' > b.txt", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-159/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-159/ip.err new file mode 100644 index 000000000..ee5fb0964 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-159/ip.err @@ -0,0 +1 @@ +Error: any valid address is expected rather than "bogus". diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-159/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-159/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-159/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-159/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..e728167a497d6ce8accb30cddf0282890f25796a GIT binary patch literal 344 zcmca|c+)~A1{MYcU}5+R z1Qa_6RmTlfmzR^9pJxDZ8>(7HpezH!VI(tCaHs=?1d2LCh#&3({h$Jr17UPOhyaC{ JQT)Kb007eIDPRBq literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-159/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-159/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-159/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-160/b.txt b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-160/b.txt new file mode 100644 index 000000000..a68aa2764 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-160/b.txt @@ -0,0 +1,2 @@ +actions add action ct clear commit index 1 +actions add action gact pass index 2 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-160/cmd.json b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-160/cmd.json new file mode 100644 index 000000000..fb209ace5 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-160/cmd.json @@ -0,0 +1,104 @@ +{ + "axes": { + "batch": "return", + "fix": "ct-force", + "json": "0", + "words": "-force -batch b.txt" + }, + "cmd": "tc -force -batch b.txt", + "desc": "negative: opt=plain cmd=ng:ct-force:batch:return: ct returns -1, so -force carries on", + "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": "tcact2write/ng-160", + "modules": [ + "sch_htb", + "sch_ingress", + "cls_basic", + "cls_cgroup", + "cls_flow", + "cls_fw", + "cls_matchall", + "cls_route", + "cls_u32", + "act_gact", + "act_police", + "act_mirred", + "act_skbedit", + "act_vlan", + "act_csum", + "act_nat", + "act_simple", + "act_connmark", + "act_ctinfo", + "act_sample", + "act_skbmod", + "act_mpls", + "act_pedit", + "act_tunnel_key", + "act_ife", + "act_ct", + "act_gate", + "act_bpf", + "cls_bpf", + "act_meta_mark", + "act_meta_skbprio", + "act_meta_skbtcindex" + ], + "pre": [ + "ip link add d0 address 02:00:00:00:02:00 type dummy && ip link set d0 addrgenmode none && ip link set d0 up && ip link add d1 address 02:00:00:00:02:01 type dummy && ip link set d1 addrgenmode none && ip link set d1 up", + "tc qdisc add dev d0 clsact", + "tc qdisc add dev d1 root handle 1: htb", + "tc class add dev d1 parent 1: classid 1:1 htb 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' 'actions add action ct clear commit index 1' 'actions add action gact pass index 2' > 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' 'actions add action ct clear commit index 1' 'actions add action gact pass index 2' > b.txt", + "rc": 0 + } + ], + "rc": 1, + "status": "OK" + } +} diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-160/ip.err b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-160/ip.err new file mode 100644 index 000000000..f5f76c68c --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-160/ip.err @@ -0,0 +1,5 @@ +ct: clear can only be used alone +bad action parsing +parse_action: bad value (5:ct)! +Illegal "action" +Command failed b.txt:1 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-160/ip.out b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-160/ip.out new file mode 100644 index 000000000..e69de29bb diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-160/ip.pcap b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-160/ip.pcap new file mode 100644 index 0000000000000000000000000000000000000000..e805f87835ff8090233625ea9377d0895ed80721 GIT binary patch literal 512 zcmca|c+)~A1{MYcU}5+Rz|O$Tkdx2ApaW#1s>fE0+a(`bUiLWAp-_hwwFlZX8?4c4iIw!ae88M2}qj^15<+p&}@)j(E%uq c{sHYU0ZM={x*Z_50`)P1?0|$V0|UCf0C&SX2><{9 literal 0 HcmV?d00001 diff --git a/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-160/ip.rc b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-160/ip.rc new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/ng-160/ip.rc @@ -0,0 +1 @@ +1 diff --git a/pkg/xtcpnl/xtcpnl_parse_bench_test.go b/pkg/xtcpnl/xtcpnl_parse_bench_test.go index 0cc03a8ba..a53c5148e 100644 --- a/pkg/xtcpnl/xtcpnl_parse_bench_test.go +++ b/pkg/xtcpnl/xtcpnl_parse_bench_test.go @@ -820,7 +820,7 @@ func TestParseBenchAllocs(t *testing.T) { }{ {description: "corner: ParseRule allocates nothing on its bare picks, and four times on the largest, a workbench rule whose from, to, iif and oif it copies", name: "ParseRule", expected: "0/32: smallest 0, typical 0, largest 4"}, {description: "corner: ParseNewStats allocates nothing on its header-only picks, and twice on the largest, a workbench bare show of a bridge whose AF_MPLS afstats and bridge VLAN xstats it appends", name: "ParseNewStats", expected: "0/92: smallest 0, typical 0, largest 2"}, - {description: "corner: ParseNlMsgErr allocates nothing on any pick; the largest, tcematch's W151 refusal, echoes a 16 KiB request and carries no extended-ack TLVs", name: "ParseNlMsgErr", expected: "0/2: smallest 0, typical 0, largest 0"}, + {description: "corner: ParseNlMsgErr allocates nothing on its bare ACK picks, and once on the largest, tcact2write's W248 pedit refusal, which echoes a 16 KiB request and copies its extended-ack message", name: "ParseNlMsgErr", expected: "0/2: smallest 0, typical 0, largest 1"}, {description: "corner: ParseNsid allocates nothing on any pick", name: "ParseNsid", expected: "0/88: smallest 0, typical 0, largest 0"}, {description: "corner: ParseNexthopBucket allocates nothing on any pick", name: "ParseNexthopBucket", expected: "0/116: smallest 0, typical 0, largest 0"}, {description: "corner: ParseLinkToken allocates nothing on any pick, its token aliasing the body", name: "ParseLinkToken", expected: "0/16: smallest 0, typical 0, largest 0"}, diff --git a/tools/nlcapgen/main.go b/tools/nlcapgen/main.go index d0ae9653d..370931768 100644 --- a/tools/nlcapgen/main.go +++ b/tools/nlcapgen/main.go @@ -145,32 +145,33 @@ var families = map[string]func() []*space{ "ethtool": func() []*space { return []*space{ethRingSpace(), ethChanSpace(), ethPauseSpace(), ethFecSpace(), ethCoalSpace(), ethShowSpace()} }, - "devlink": func() []*space { return []*space{devlinkSpace()} }, - "vdpa": func() []*space { return []*space{vdpaSpace()} }, - "fou": func() []*space { return []*space{fouSpace()} }, - "mptcp": func() []*space { return []*space{mptcpSpace()} }, - "tipc": func() []*space { return []*space{tipcSpace()} }, - "bridge": func() []*space { return []*space{bridgeSpace()} }, - "bridgex": func() []*space { return []*space{bridgexSpace()} }, - "bridgefdb": func() []*space { return []*space{bridgefdbSpace()} }, - "bridgemdb": func() []*space { return []*space{bridgemdbSpace()} }, - "tunnel": func() []*space { return []*space{tunnelSpace()} }, - "tuntap": func() []*space { return []*space{tuntapSpace()} }, - "tcqdisc": func() []*space { return []*space{tcqdiscSpace()} }, - "tcclass": func() []*space { return []*space{tcclassSpace()} }, - "tcfilter": func() []*space { return []*space{tcfilterSpace()} }, - "tcflower": func() []*space { return []*space{tcflowerSpace()} }, - "tcaction": func() []*space { return []*space{tcactionSpace()} }, - "tcaction2": func() []*space { return []*space{tcaction2Space()} }, - "tcmonitor": func() []*space { return []*space{tcmonitorSpace()} }, - "tcsched": func() []*space { return []*space{tcschedSpace()} }, - "tcaqm": func() []*space { return []*space{tcaqmSpace()} }, - "tcqwrite": func() []*space { return []*space{tcqwriteSpace()} }, - "tcswrite": func() []*space { return []*space{tcswriteSpace()} }, - "tcawrite": func() []*space { return []*space{tcawriteSpace()} }, - "tcfwrite": func() []*space { return []*space{tcfwriteSpace()} }, - "tcematch": func() []*space { return []*space{tcematchSpace()} }, - "tcactwrite": func() []*space { return []*space{tcactwriteSpace()} }, + "devlink": func() []*space { return []*space{devlinkSpace()} }, + "vdpa": func() []*space { return []*space{vdpaSpace()} }, + "fou": func() []*space { return []*space{fouSpace()} }, + "mptcp": func() []*space { return []*space{mptcpSpace()} }, + "tipc": func() []*space { return []*space{tipcSpace()} }, + "bridge": func() []*space { return []*space{bridgeSpace()} }, + "bridgex": func() []*space { return []*space{bridgexSpace()} }, + "bridgefdb": func() []*space { return []*space{bridgefdbSpace()} }, + "bridgemdb": func() []*space { return []*space{bridgemdbSpace()} }, + "tunnel": func() []*space { return []*space{tunnelSpace()} }, + "tuntap": func() []*space { return []*space{tuntapSpace()} }, + "tcqdisc": func() []*space { return []*space{tcqdiscSpace()} }, + "tcclass": func() []*space { return []*space{tcclassSpace()} }, + "tcfilter": func() []*space { return []*space{tcfilterSpace()} }, + "tcflower": func() []*space { return []*space{tcflowerSpace()} }, + "tcaction": func() []*space { return []*space{tcactionSpace()} }, + "tcaction2": func() []*space { return []*space{tcaction2Space()} }, + "tcmonitor": func() []*space { return []*space{tcmonitorSpace()} }, + "tcsched": func() []*space { return []*space{tcschedSpace()} }, + "tcaqm": func() []*space { return []*space{tcaqmSpace()} }, + "tcqwrite": func() []*space { return []*space{tcqwriteSpace()} }, + "tcswrite": func() []*space { return []*space{tcswriteSpace()} }, + "tcawrite": func() []*space { return []*space{tcawriteSpace()} }, + "tcfwrite": func() []*space { return []*space{tcfwriteSpace()} }, + "tcematch": func() []*space { return []*space{tcematchSpace()} }, + "tcactwrite": func() []*space { return []*space{tcactwriteSpace()} }, + "tcact2write": func() []*space { return []*space{tcact2writeSpace()} }, } // namedFamilies are families of named rows, written out as they are diff --git a/tools/nlcapgen/matrix_tcact2write.go b/tools/nlcapgen/matrix_tcact2write.go new file mode 100644 index 000000000..6208b2723 --- /dev/null +++ b/tools/nlcapgen/matrix_tcact2write.go @@ -0,0 +1,610 @@ +package main + +import ( + "slices" + "strconv" + "strings" +) + +// The second action write space (gotc 23C): `tc actions add|change| +// replace|delete|flush` of the six kinds increment 22 left (pedit, +// tunnel_key, ife, ct, gate and bpf), standalone and inside filters, and +// the bpf filter's writes (cBPF), in one corpus directory, ws/tcact2write. +// +// tc's side is tc/m_pedit.c with p_ip.c, p_ip6.c, p_icmp.c, p_tcp.c, +// p_udp.c and p_eth.c, m_tunnel_key.c, m_ife.c, m_ct.c, m_gate.c, m_bpf.c, +// f_bpf.c and lib/bpf_legacy.c's cBPF parser, at v7.2.0; the frame is +// increment 22's (m_action.c). The kernel's side is act_pedit.c, +// act_tunnel_key.c, act_ife.c, act_ct.c, act_gate.c, act_bpf.c and +// cls_bpf.c. +// +// The rows pin the plan's leads (docs/netlink/upstream/ +// iproute2-tc-action-write.md, W216-W320): pedit's positional at (W216), +// offmask's base (W217), the word its error names (W218), bad pedit +// parsing (W219), the 128-key limit (W220), pack_key8's message (W221), +// retain on long fields (W222), invert as set (W223), preserve and retain +// (W224), prefixes (W225-W227), the usage (W228), its dead messages +// (W229), unknown kinds (W230, W231), MACs (W232), addresses (W233, +// W234), negative offsets (W235), icmp_code (W236), dsfield and +// precedence (W237), flow_lbl (W238), icmp (W239), the ex rules (W240), +// pedit pedit (W241), no keys (W242), control before index (W243), goto +// (W244), an unknown word (W245), exits (W246), index's base (W247), a +// filter past 16384 (W248) and ex add (W249); tunnel_key's get_addr exit +// (W250), any (W251), mixed families (W252), no set or unset (W253), the +// bare kind (W254), prefixes (W255), bases (W256, W257), geneve's fields +// (W258-W260), erspan's (W261), two option kinds (W262), NO_CSUM (W263), +// index (W264), strtok's NULs (W265) and the usage (W266); ife's index +// alone (W267), no mode (W268), the kind loop (W269), prefixes (W270), use +// 0 and METALST's order (W271), bases (W272), decode's dropped words +// (W273), TYPE's order (W274) and padding (W275); ct's trailing nat +// (W276, W277), its usage exit (W278), get_addr (W279), the 63-byte copy +// (W280), any (W281), ports (W282), helpers (W283, W284), labels +// (W285-W287), index after control (W288), clear and force (W289), zone +// (W290), NULs (W291) and prefixes (W292); gate's 1024-byte nest bound +// (W293), its uninitialised maxoctets (W294) and partial ones (W295), +// bases (W296), strtod times (W297), negative base-time (W298), 0 as unset +// (W299), entry errors (W300, W301), prefixes (W302), control (W303), +// closed entries (W304), an empty list (W305) and no schedule checks +// (W306); bpf's 16384 bound (W307), the header (W308), instruction text +// (W309, W310), bytecode-file (W311), index (W312), the bare kind (W313), +// mode prefixes (W314), and the filter's missing program (W315), missing +// options (W316), order (W317), prefixes (W318), messages (W319) and skip +// flags (W320). +// +// Only cBPF is written: object-file, object-pinned and fd reach bpf(2) or +// libbpf, so those rows record tc's own answer and gotc refuses them by +// name. Determinism: explicit indexes, fixed MACs, no packets, a gate +// base-time in the past. + +// tcA2Modules are increment 22's modules, cls_bpf and ife's three meta +// modules. An ife with no METALST asks the kernel to use every meta kind +// loaded, and is refused (EINVAL, no extack) when none is, so the meta +// modules are loaded up front rather than by whichever encode row runs +// first. act_ct loads its ftp helper on demand. +var tcA2Modules = append(slices.Clone(tcActWriteModules), "cls_bpf", "act_meta_mark", "act_meta_skbprio", "act_meta_skbtcindex") + +// tcA2Kinds are the six kinds, in the plan's order. +var tcA2Kinds = []string{"pedit", "tunnel_key", "ife", "ct", "gate", "bpf"} + +// tcA2One is one valid action of each kind, without its index. +var tcA2One = map[string]string{ + "pedit": "pedit munge offset 12 u32 set 0x1", + "tunnel_key": "tunnel_key unset", + "ife": "ife decode", + "ct": "ct commit", + "gate": "gate sched-entry open 1000000 -1 -1", + "bpf": "bpf bytecode '1,6 0 0 0'", +} + +// tcA2Two is a second form of each kind, for change and replace. +var tcA2Two = map[string]string{ + "pedit": "pedit ex munge ip ttl add 1", + "tunnel_key": "tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7", + "ife": "ife encode allow mark", + "ct": "ct commit zone 5", + "gate": "gate base-time 1000 sched-entry close 2000000", + "bpf": "bpf bytecode '1,6 0 0 4294967295'", +} + +// tcA2Prog is a four-instruction cBPF program: accept IPv4, drop the rest. +const tcA2Prog = "4,40 0 0 12,21 0 1 2048,6 0 0 262144,6 0 0 0" + +// tcA2Keys is n raw pedit keys. +func tcA2Keys(n int) string { + return strings.Repeat(" munge offset 0 u32 set 1", n) +} + +// tcA2Entries is n open gate entries of 32 bytes each. +func tcA2Entries(n int) string { + return strings.Repeat(" sched-entry open 1000 -1 -1", n) +} + +// tcA2File is a pre step writing s to bpf.txt in the row's directory. +func tcA2File(s string) string { return "printf '%s' " + shq(s) + " > bpf.txt" } + +// tcA2FileN is a pre step writing a bytecode file of header hdr and n +// one-instruction lines. +func tcA2FileN(hdr, n int) string { + return "{ printf '%s\\n' " + strconv.Itoa(hdr) + "; i=0; while [ $i -lt " + strconv.Itoa(n) + + " ]; do printf '6 0 0 0\\n'; i=$((i+1)); done; } > bpf.txt" +} + +// tcA2Nat62 and tcA2Nat63 are v6 nat ranges of 62 and 63 bytes: ct's +// SPRINT_BUF copy keeps 63, so the second is left unterminated (W280). +const ( + tcA2Nat62 = "2001:0db8:0000:0000:0000:0000:0000:0001-2001:0db8:0000:0000::9" + tcA2Nat63 = "2001:0db8:0000:0000:0000:0000:0000:0001-2001:0db8:0000:0000::09" +) + +// tcact2writeSpace: the action writes of the six kinds and the bpf +// filter's writes. +func tcact2writeSpace() *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} + } + base := tcFwriteBase + a := func(kind brKind, fix, k, words string) { + add(kind, fix, tcAwRb(k), "actions add action "+words, base) + } + // af is a standalone add with a pre step (bpf.txt). + af := func(kind brKind, fix, k, words, file string) { + add(kind, fix, tcAwRb(k), "actions add action "+words, tcAwPre(file)) + } + + // The verb grid: each kind's add, change, replace, delete and flush. + for _, k := range tcA2Kinds { + one, two := tcA2One[k], tcA2Two[k] + made := tcAwPre("tc actions add action " + one + " index 1") + a(brPos, "v-add", k, one+" index 1") + add(brPos, "v-change", tcAwRb(k), "actions change action "+two+" index 1", made) + add(brPos, "v-replace", tcAwRb(k), "actions replace action "+two+" index 1", made) + add(brPos, "v-replace-new", tcAwRb(k), "actions replace action "+two+" index 2", base) + add(brPos, "v-delete", tcAwRb(k), "actions delete action "+k+" index 1", made) + add(brPos, "v-flush", tcAwRb(k), "actions flush action "+k, + tcAwPre("tc actions add action "+one+" index 1", "tc actions add action "+one+" index 2")) + } + + // pedit: raw offsets, every command, every layered field. + p := func(kind brKind, fix, words string) { a(kind, fix, "pedit", words) } + p(brPos, "ped", "pedit munge offset 0 u8 set 0x1 index 1") + p(brPos, "ped", "pedit munge offset 1 u8 set 0x1 index 1") + p(brPos, "ped", "pedit munge offset 3 u8 set 0x1 index 1") + p(brPos, "ped", "pedit munge offset 2 u16 set 0x1 index 1") + p(brPos, "ped", "pedit munge offset 12 u16 set 0x0800 retain 0xff00 index 1") + p(brPos, "ped", "pedit munge offset 12 u32 at 0 f 2 set 0x1 index 1") + p(brPos, "ped", "pedit munge offset 12 u32 clear index 1") + p(brPos, "ped", "pedit munge offset 12 u32 invert index 1") + p(brPos, "ped", "pedit munge offset 12 u32 preserve index 1") + p(brPos, "ped", "pedit munge offset 12 u32 set 0x1 drop index 1") + p(brPos, "ped", "pedit munge offset 12 u32 set 0x1 munge offset 16 u32 set 0x2 pipe index 1") + p(brPos, "ped", "pedit ex munge offset 12 u32 add 1 index 1") + for _, f := range []string{"src set 10.0.0.1", "dst set 10.0.0.2", "tos set 0x10", "dsfield set 0x10", "ihl set 5", + "ttl set 64", "protocol set 17", "precedence set 0x20", "nofrag set 0", "firstfrag set 0", "ce set 0x80", + "df set 0x40", "mf set 0x20", "dport set 80", "sport set 53", "icmp_type set 8"} { + p(brPos, "ped-ip", "pedit munge ip "+f+" index 1") + } + for _, f := range []string{"ip src set 10.0.0.1", "ip ttl decrement", "ip ttl add 1", "ip tos set 0x10 retain 0xf0", + "ip6 src set 2001:db8::1", "ip6 dst set 2001:db8::2", "ip6 flow_lbl set 0x12345", "ip6 payload_len set 100", + "ip6 nexthdr set 6", "ip6 hoplimit set 64", "ip6 hoplimit decrement", "ip6 traffic_class set 0x10", + "tcp sport set 80", "tcp dport set 443", "tcp flags set 0x02", "udp sport set 53", "udp dport set 67", + "eth dst set 02:00:00:00:00:09", "eth src set 02:00:00:00:00:0a", "eth type set 0x0800"} { + p(brPos, "ped-ex", "pedit ex munge "+f+" index 1") + } + p(brPos, "ped-ex", "pedit ex munge ip ttl set 10 munge ip6 hoplimit set 10 munge tcp dport set 80 munge eth type set 0x86dd index 1") + p(brBoundary, "ped", "pedit munge ip ttl set 255 index 1") + p(brBoundary, "ped", "pedit munge ip dport set 65535 index 1") + p(brBoundary, "w220", "pedit"+tcA2Keys(128)+" index 1") + p(brCorner, "w216-at", "pedit munge offset 12 u32 at 4 0xff 24 set 1 index 1") + p(brCorner, "w217", "pedit munge offset 12 u32 at 0x4 10 2 set 1 index 1") + p(brCorner, "w223", "pedit ex munge eth dst invert index 1") + p(brCorner, "w223-ip6", "pedit ex munge ip6 dst invert index 1") + p(brCorner, "w224", "pedit munge offset 12 u32 preserve retain 0xff index 1") + p(brCorner, "w224-set", "pedit munge offset 12 u32 set 0x1234 retain 0xff index 1") + p(brCorner, "w227", "pedit munge offset 12 u32 a 0 f 0 set 1 index 1") + p(brCorner, "w227-u", "pedit munge offset 12 u set 1 index 1") + p(brCorner, "w227-u1", "pedit munge offset 12 u1 set 1 index 1") + p(brCorner, "w232-junk", "pedit ex munge eth dst set 02:00:00:00:00:01junk index 1") + p(brCorner, "w233", "pedit munge ip src set 10.0.0.1/8 index 1") + p(brCorner, "w233-legacy", "pedit munge ip src set 010.1 index 1") + p(brCorner, "w233-any", "pedit munge ip dst set any index 1") + p(brCorner, "w234", "pedit ex munge ip6 src set any index 1") + p(brCorner, "w234-len", "pedit ex munge ip6 src set 2001:db8::1/64 index 1") + p(brCorner, "w235", "pedit munge offset -4 u32 set 1 index 1") + p(brCorner, "w236", "pedit munge ip icmp_code set 3 index 1") + p(brCorner, "w237-d", "pedit munge ip d set 1 index 1") + p(brCorner, "w237-p", "pedit munge ip p set 1 index 1") + p(brCorner, "w238", "pedit ex munge ip6 flow_lbl set 0xfffff index 1") + p(brCorner, "w243", "pedit munge ip ttl set 1 index 5 pipe") + p(brCorner, "w249", "pedit ex munge ip6 src add ::1 index 1") + p(brCorner, "w249-eth", "pedit ex munge eth dst add 00:00:00:00:00:01 index 1") + + // tunnel_key. + tk := func(kind brKind, fix, words string) { a(kind, fix, "tunnel_key", words) } + const tkSet = "tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 " + tk(brPos, "tk", tkSet+"id 7 dst_port 4789 tos 0x10 ttl 64 index 1") + tk(brPos, "tk", "tunnel_key set src_ip 2001:db8::1 dst_ip 2001:db8::2 id 8 dst_port 6081 index 1") + tk(brPos, "tk", tkSet+"id 7 nocsum nofrag index 1") + tk(brPos, "tk", tkSet+"id 7 csum index 1") + tk(brPos, "tk", tkSet+"index 1") + tk(brPos, "tk", tkSet+"id 7 geneve_opts 0102:80:00880022 index 1") + tk(brPos, "tk", "tunnel_key set src_ip 2001:db8::1 dst_ip 2001:db8::2 id 8 geneve_opts 0102:80:00880022,0103:81:00a000b0,0104:82:0011223344556677 index 1") + tk(brPos, "tk", tkSet+"id 9 vxlan_opts 4660 index 1") + tk(brPos, "tk", tkSet+"id 10 erspan_opts 1:12:0:0 index 1") + tk(brPos, "tk", tkSet+"id 11 erspan_opts 2:0:1:7 index 1") + tk(brPos, "tk", "tunnel_key unset drop index 1") + tk(brPos, "tk", tkSet+"id 7 pipe index 1") + tk(brBoundary, "tk", tkSet+"id 7 tos 255 ttl 255 index 1") + tk(brBoundary, "tk", tkSet+"id 4294967295 dst_port 65535 index 1") + tk(brCorner, "w255", "tunnel_key s src_ip 10.0.0.1 d 10.0.0.2 i 7 t 1 n index 1") + tk(brCorner, "w257", tkSet+"id 7 tos 1a ttl 010 index 1") + tk(brCorner, "w259-8", tkSet+"id 7 geneve_opts 0102:80:00112233 index 1") + tk(brCorner, "w262", tkSet+"id 7 geneve_opts 0102:80:00880022 vxlan_opts 4660 index 1") + tk(brCorner, "w263", "tunnel_key unset src_ip 10.0.0.1 dst_ip 10.0.0.2 nocsum index 1") + tk(brCorner, "w264", "tunnel_key unset index 5 pipe") + + // ife. + fe := func(kind brKind, fix, words string) { a(kind, fix, "ife", words) } + fe(brPos, "w274", "ife encode type 0xED3E dst 02:00:00:00:00:01 src 02:00:00:00:00:02 use mark 7 index 1") // TYPE in host order + fe(brPos, "w275", "ife encode allow mark allow prio allow tcindex index 1") // tc_ife's padding + fe(brPos, "ife", "ife encode use prio 5 use tcindex 3 index 1") + fe(brPos, "ife", "ife decode index 1") + fe(brPos, "ife", "ife encode allow mark drop index 1") + fe(brBoundary, "ife", "ife encode use mark 4294967295 use tcindex 65535 index 1") + fe(brCorner, "w267", "ife index 5") + fe(brCorner, "w269", "ife ife i decode index 1") + fe(brCorner, "w270", "ife e a mark ds 02:00:00:00:00:01 t 0x1234 index 1") + fe(brCorner, "w270-last", "ife encode decode index 1") + fe(brCorner, "w271", "ife encode use mark 0 index 1") + fe(brCorner, "w271-order", "ife encode use tcindex 1 use mark 2 allow prio index 1") + fe(brCorner, "w271-over", "ife encode allow mark use mark 9 index 1") + fe(brCorner, "w272", "ife encode use mark 010 index 0x5") + fe(brCorner, "w273", "ife decode dst 02:00:00:00:00:01 type 0x1234 allow mark index 1") + fe(brCorner, "w196-ife", "ife encode dst 02:00:00:00:00:01junk allow mark index 1") + fe(brCorner, "w196-ife-x", "ife encode dst 0x2:1aa:00:00:00:01 allow mark index 1") + + // ct. + c := func(kind brKind, fix, words string) { a(kind, fix, "ct", words) } + c(brPos, "ct", "ct index 1") + c(brPos, "ct", "ct commit force index 1") + c(brPos, "ct", "ct clear index 1") + c(brPos, "ct", "ct zone 5 index 1") + c(brPos, "ct", "ct commit zone 404 mark 0x42/0xf0 label 12312300000000000000000000000001/ffffffff000000000000000000000001 index 1") + c(brPos, "ct", "ct commit mark 5 index 1") + c(brPos, "ct", "ct commit label 0102 index 1") + c(brPos, "ct", "ct commit nat src addr 10.0.0.1-10.0.0.9 port 1000-2000 index 1") + c(brPos, "ct", "ct commit nat dst addr 10.0.0.1 port 80 index 1") + c(brPos, "ct", "ct commit nat dst addr 2001:db8::1 index 1") + c(brPos, "ct", "ct commit nat src addr 2001:db8::1-2001:db8::9 port 80-90 index 1") + c(brPos, "ct", "ct nat index 1") + c(brPos, "ct", "ct nat zone 3 index 1") + c(brPos, "ct", "ct commit helper ipv4-tcp-ftp index 1") + c(brPos, "ct", "ct commit helper ipv6-tcp-ftp index 1") + c(brPos, "ct", "ct commit index 1 drop") + c(brBoundary, "ct", "ct zone 65535 index 1") + c(brBoundary, "w285-32", "ct commit label 0123456789abcdef0123456789abcdef index 1") + c(brBoundary, "w280-62", "ct commit nat src addr "+tcA2Nat62+" index 1") + c(brCorner, "w280", "ct commit nat src addr "+tcA2Nat63+" index 1") // unterminated: gotc refuses by name + c(brCorner, "w281", "ct commit nat src addr 10.0.0.1 index 1") + c(brCorner, "w282", "ct commit nat src addr 10.0.0.1 port 2000-1000 index 1") + c(brCorner, "w284", "ct commit helper ipv4-6-ftp index 1") + c(brCorner, "w287-odd", "ct commit label 00g index 1") + c(brCorner, "w287-0", "ct commit label 0 index 1") + c(brCorner, "w289", "ct clear zone 5 mark 1 index 1") + c(brCorner, "w289-force", "ct force index 1") + c(brCorner, "w290", "ct zone 010 index 1") + c(brCorner, "w292", "ct co z 5 m 1 index 1") + c(brCorner, "w292-c", "ct c index 1") + + // gate. + g := func(kind brKind, fix, words string) { a(kind, fix, "gate", words) } + g(brPos, "gate", "gate priority 2 clockid CLOCK_TAI base-time 200000000000ns cycle-time 300000000ns cycle-time-ext 1000ns"+ + " sched-entry open 100000000ns 3 8000 sched-entry close 100000000ns -1 -1 sched-entry open 100000000ns 1 -1 index 1") + g(brPos, "gate", "gate sched-entry close 100000000ns index 1") + g(brPos, "gate", "gate sched-entry open 1ms index 1") + g(brPos, "gate", "gate sched-entry open 1us -1 -1 index 1") + g(brPos, "gate", "gate sched-entry open 1000000 3 8k index 1") + for _, ck := range []string{"CLOCK_TAI", "CLOCK_REALTIME", "CLOCK_MONOTONIC", "CLOCK_BOOTTIME", "tai", "clock_boottime"} { + g(brPos, "gate-clk", "gate clockid "+ck+" sched-entry open 1000000 -1 -1 index 1") + } + g(brPos, "gate", "gate base-time 1 cycle-time 2000000 sched-entry open 1000000 -1 -1 sched-entry close 1000000 index 1") + g(brPos, "gate", "gate flags 1 sched-entry open 1000000 -1 -1 index 1") + g(brPos, "gate", "gate sched-entry open 1000000 -1 -1 index 1 drop") + g(brBoundary, "gate", "gate sched-entry open 4294967295 -1 -1 index 1") + g(brBoundary, "gate", "gate sched-entry open 4294967295ns -1 -1 index 1") + g(brBoundary, "gate", "gate sched-entry open 1000 2147483647 2147483647 index 1") + g(brBoundary, "w293-30", "gate"+tcA2Entries(30)+" index 1") + g(brCorner, "w293-31", "gate"+tcA2Entries(31)+" index 1") + g(brCorner, "w293-40", "gate"+tcA2Entries(40)+" index 1") + g(brCorner, "w293-close", "gate"+strings.Repeat(" sched-entry close 1000", 36)+" index 1") + // W294 has no row: a numeric ipv followed by a word that isn't a + // size reads get_size's uninitialised sz64, a stack value that + // changes from run to run (three runs sent 0x33874a91, 0x4c352a91 + // and 0x7fec5a91, or refused it as "maxoctets" too large). gotc + // refuses it by name; its unit test pins that. + g(brCorner, "w295", "gate sched-entry open 1ms 1 1.5 index 1") + g(brCorner, "w295-0kb", "gate sched-entry open 1ms 1 0kb index 1") + g(brCorner, "w296", "gate priority 0x2 sched-entry open 0x10 0x3 0x10 index 1") + g(brCorner, "w296-time", "gate base-time 0x10 cycle-time 1.5 sched-entry open 1000000 -1 -1 index 1") + // UB casts tc sends and the kernel accepts; gotc refuses them by name. + g(brCorner, "w297-inf", "gate base-time inf sched-entry open 1000000 -1 -1 index 1") + g(brCorner, "w297-nan", "gate base-time nan sched-entry open 1000000 -1 -1 index 1") + g(brCorner, "w297-big", "gate cycle-time 1e30 sched-entry open 1000000 -1 -1 index 1") + g(brCorner, "w297-frac", "gate base-time 1.9ns sched-entry open 1000000 -1 -1 index 1") + g(brCorner, "w298", "gate base-time -1 sched-entry open 1000000 -1 -1 index 1") + g(brCorner, "w299", "gate priority -1 flags 0 base-time 0 cycle-time 0 sched-entry open 1000000 -1 -1 index 1") + g(brCorner, "w302", "gate p 2 c 2000000 sched-entry open 1000000 -1 -1 index 1") + g(brCorner, "w304", "gate sched-entry close 1000000 3 8000 index 1") + g(brCorner, "w306", "gate cycle-time 1000 sched-entry open 1000000 -1 -1 sched-entry open 1000000 -1 -1 index 1") + + // bpf: the action. + b := func(kind brKind, fix, words string) { a(kind, fix, "bpf", words) } + b(brPos, "bpf", "bpf bytecode '"+tcA2Prog+"' index 1") + b(brPos, "bpf", "bpf bc '1,6 0 0 0' index 1") + b(brPos, "bpf", "bpf run bytecode '1,6 0 0 0' index 1") + b(brPos, "bpf", "bpf bytecode '1,6 0 0 0' drop index 1") + b(brPos, "bpf", "bpf bytecode '1,6 0 0 0,' index 1") + af(brPos, "bpf-file", "bpf", "bpf bytecode-file bpf.txt index 1", tcA2File("4\n40 0 0 12\n21 0 1 2048\n6 0 0 262144\n6 0 0 0\n")) + af(brPos, "bpf-file", "bpf", "bpf bcf bpf.txt index 1", tcA2File("1,6 0 0 0")) + af(brPos, "bpf-file", "bpf", "bpf bytecode-file bpf.txt index 1", tcA2File("2,\t6 0 0 0\n\n6 0 0 1\n")) + af(brCorner, "w311-dash", "bpf", "bpf bytecode-file - index 1", "printf '1,6 0 0 0' > ./-") + af(brBoundary, "w307-2038", "bpf", "bpf bytecode-file bpf.txt index 1", tcA2FileN(2038, 2038)) + b(brCorner, "w308", "bpf bytecode '65537,6 0 0 0' index 1") + b(brCorner, "w309", "bpf bytecode '1,6 0 0 0xffff' index 1") + b(brCorner, "w309-wrap", "bpf bytecode '1,65542 256 0 4294967296' index 1") + b(brCorner, "w314", "bpf b '1,6 0 0 0' index 1") + + // Inside filters: a matchall carrying each kind. + for _, k := range tcA2Kinds { + add(brPos, "f-"+k, tcFwRbE, tcFwM+"action "+tcA2One[k], base) + } + add(brPos, "f-list", tcFwRbE, tcFwM+"action pedit ex munge ip ttl add 1 action ct commit zone 3"+ + " action gate sched-entry open 1ms action tunnel_key unset action ife decode action bpf bytecode '1,6 0 0 0'", base) + add(brPos, "f-bind", tcFwRbE, tcFwM+"action ct index 1", tcAwPre("tc actions add action ct commit index 1")) + add(brCorner, "w242-bind", tcFwRbE, tcFwM+"action pedit index 1", tcAwPre("tc actions add action "+tcA2One["pedit"]+" index 1")) + add(brCorner, "w305-bind", tcFwRbE, tcFwM+"action gate index 1", tcAwPre("tc actions add action "+tcA2One["gate"]+" index 1")) + add(brCorner, "w312-bind", tcFwRbE, tcFwM+"action bpf index 1", tcAwPre("tc actions add action "+tcA2One["bpf"]+" index 1")) + add(brCorner, "w248-2", tcFwRbE, tcFwM+"action pedit ex"+tcA2Keys(128)+" action pedit ex"+tcA2Keys(128), base) + + // The bpf filter. + const fb = tcFwI + "pref 1 protocol ip handle 1 bpf " + madeF := tcAwPre("tc " + fb + "bytecode '1,6 0 0 0' classid 1:1") + add(brPos, "fb", tcFwRbI, fb+"bytecode '"+tcA2Prog+"' classid 1:1", base) + add(brPos, "fb", tcFwRbI, fb+"bytecode '1,6 0 0 0' da skip_hw", base) + add(brPos, "fb", tcFwRbI, fb+"bytecode '1,6 0 0 4294967295' action gact pass", base) + add(brPos, "fb", tcFwRbI, fb+"bytecode '1,6 0 0 4294967295' police rate 1mbit burst 10k drop", base) + add(brPos, "fb", tcFwRbI, fb+"run bytecode '1,6 0 0 0' flowid 1:2", base) + add(brPos, "fb", tcFwRbI, fb+"bc '1,6 0 0 0' direct-action", base) + add(brPos, "fb", tcFwRbI, fb+"flowid 1:1 bytecode '1,6 0 0 0'", base) + add(brPos, "fb", tcFwRbI, fb+"bytecode '1,6 0 0 0' action pedit ex munge ip ttl add 1 action ct commit", base) + add(brPos, "fb-file", tcFwRbI, fb+"bytecode-file bpf.txt classid 1:1", tcAwPre(tcA2File(tcA2Prog))) + add(brPos, "fb-v", tcFwRbI, strings.Replace(fb, "filter add", "filter change", 1)+"bytecode '1,6 0 0 1' classid 1:2", madeF) + add(brPos, "fb-v", tcFwRbI, strings.Replace(fb, "filter add", "filter replace", 1)+"bytecode '1,6 0 0 1' classid 1:2", madeF) + add(brPos, "fb-v", tcFwRbI, strings.Replace(fb, "filter add", "filter replace", 1)+"bytecode '1,6 0 0 1'", base) + add(brPos, "fb-v", tcFwRbI, "filter delete dev d0 ingress pref 1 protocol ip handle 1 bpf", madeF) + add(brPos, "fb-p", tcFwRbP, tcFwP+"pref 1 protocol ip handle 7 bpf bytecode '1,6 0 0 0' classid 1:2", base) + add(brCorner, "w317", tcFwRbI, fb+"classid 1:1 bytecode '1,6 0 0 0' classid 1:2 da action gact pass", base) + add(brCorner, "w318", tcFwRbI, fb+"bytecode '1,6 0 0 0' s f 1:1", base) + + // Batches: NULs tc writes into a line buffer, which a later simple's + // 32-byte copy shows (W189); the exits that end a -force batch; and + // bytecode-file in a batch. + batch := func(kind brKind, fix, name string, r readback, pre []string, lines ...string) { + cmds = append(cmds, bb(kind, fix, name, "", false, batchFile(lines...), pre)) + rb[cmds[len(cmds)-1].Name] = []readback{r} + } + batch(brCorner, "w232-batch", "eth-colons", tcAwRb("simple"), base, + "actions add action pedit ex munge eth dst set 02:00:00:00:00:01 index 1", + "actions add action simple sdata x") + batch(brCorner, "w265-batch", "strtok", tcAwRb("simple"), base, + "actions add action tunnel_key geneve_opts 0102:80:00880022,0103:81:00a000b0 set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 1 index 1", + "actions add action simple sdata x") + batch(brCorner, "w291-batch", "slash", tcAwRb("simple"), base, + "actions add action ct commit mark 0x1/0xff label 01/ff index 1", + "actions add action simple sdata x") + batch(brPos, "bpf-batch", "file", tcFwRbI, tcAwPre(tcA2File("1,6 0 0 0")), + "actions add action bpf bytecode-file bpf.txt index 1", + "filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode-file bpf.txt action bpf index 1") + + // The refusals. + ack255 := expect{RC: intp(255), RefusedBy: refAckThenFail} + ack1 := expect{RC: intp(1), RefusedBy: refAckThenFail} + tool1 := expect{RC: intp(1), RefusedBy: refIproute2} + k := func(errno string) expect { return expect{RC: intp(255), Errno: errno, RefusedBy: refKernel} } + kf := func(errno string) expect { return expect{RC: intp(2), Errno: errno, RefusedBy: refKernel} } + aB := func(fix, words string, exp expect, why string) badValue { + return brBad(fix, "actions add action "+words, base, exp, why) + } + fB := func(fix, words string, exp expect, why string) badValue { + return brBad(fix, fb+words, base, exp, why) + } + bad := []badValue{ + // pedit. + aB("w191-ped", "pedit", tcTool, "a bare pedit: NEXT_ARG (W246)"), + aB("w216", "pedit munge offset 12 u32 at 0 offmask f shift 0 set 1 index 1", tcTool, + "the man page's at form: Bad pedit construct (12) (W216)"), + aB("w218", "pedit munge offset 2 u32 set 1", tcTool, "a failed pack at the end of the line: Bad pedit construct ((null)) (W218)"), + aB("w218-idx", "pedit munge offset 2 u32 set 1 index 1", tcTool, "the same with index after: (index) (W218)"), + aB("w219", "pedit munge ip foo set 1 index 1", tcTool, "bad pedit parsing, then Bad pedit construct (ip) (W219)"), + aB("w220-129", "pedit"+tcA2Keys(129)+" index 1", tcTool, "key 129: pack_key returns -1 with no message of its own (W220)"), + aB("w221", "pedit munge ip ttl set 256 index 1", tcTool, "pack_key8 bad value (val 100 mask 0 (W221)"), + aB("w221-16", "pedit munge ip dport set 65536 index 1", tcTool, "pack_key16 bad value (W221)"), + aB("w222", "pedit ex munge eth dst preserve index 1", tcTool, "retain is not supported for fields longer the 32 bits (W222)"), + aB("w222-ip6", "pedit ex munge ip6 src set ::1 retain 0xff index 1", tcTool, "the same for ip6 (W222)"), + aB("w225", "pedit munge ip ttl set 5 r", tcTool, "r is retain: NEXT_ARG (W225)"), + aB("w226", "pedit munge ip ttl set 5 p", tcTool, "p is pedit: NEXT_ARG (W226)"), + aB("w228", "pedit help", tcTool, "the usage, exit(-1) (W228)"), + aB("w229", "pedit munge ip ttl add 1 index 1", tcTool, "Non extended mode. only 'set' command is supported (W229)"), + aB("w229-dec", "pedit munge ip ttl decrement index 1", tcTool, "decrement without ex (W229)"), + aB("w230", "pedit munge foo bar index 1", tcTool, "Unknown action hence option \"bar\" is unparsable (W230)"), + aB("w230-end", "pedit munge foo", tcTool, "an unknown kind at the end of the line: NEXT_ARG (W230)"), + aB("w231", "pedit munge abcdefghijklmnopq bar index 1", tcTool, "a 17-byte kind: k[16] unterminated (W231)"), + aB("w232", "pedit ex munge eth dst set aa index 1", tcTool, "one MAC group (W232)"), + aB("w232-p4", "pedit ex munge eth dst set 1.2.3.4 index 1", tcTool, "a dotted MAC is 4 bytes (W232)"), + aB("w232-long", "pedit ex munge eth dst set 02:00:00:00:00:01:02 index 1", tcTool, "seven MAC groups (W232)"), + aB("w232-bad", "pedit ex munge eth dst set zz:00:00:00:00:01 index 1", tcTool, "a bad group (W232)"), + aB("w239", "pedit munge icmp type set 1 index 1", tcTool, "icmp always fails (W239)"), + aB("w240-ip6", "pedit munge ip6 src set ::1 index 1", tcTool, "ip6 without ex (W240)"), + aB("w240-tcp", "pedit munge tcp dport set 80 index 1", tcTool, "tcp without ex (W240)"), + aB("w240-udp", "pedit munge udp sport set 53 index 1", tcTool, "udp without ex (W240)"), + aB("w240-eth", "pedit munge eth type set 0x800 index 1", tcTool, "eth without ex (W240)"), + aB("w240-sport", "pedit ex munge ip sport set 1 index 1", tcTool, "ip sport with ex (W240)"), + aB("w240-icmp", "pedit ex munge ip icmp_type set 1 index 1", tcTool, "ip icmp_type with ex (W240)"), + aB("w241", "pedit pedit ex munge ip ttl set 1 index 1", tcTool, "'ex' must be before first 'munge' (W241)"), + aB("w242", "pedit pipe index 1", k("EINVAL"), "no keys on a create (W242)"), + aB("w242-ex", "pedit ex pipe index 1", k("EINVAL"), "no keys with ex: an empty KEYS_EX (W242)"), + aB("w244", "pedit munge ip ttl set 1 goto chain x index 1", tcTool, "Illegal \"chain index\" twice (W244)"), + aB("w245", "pedit munge ip ttl set 1 foo index 1", tcTool, "an unknown word becomes the next kind (W245)"), + aB("w246", "pedit munge ip src", tcTool, "a bare ip src: -1, Bad pedit construct (W246)"), + aB("w246-set", "pedit munge ip src set", tcTool, "set with no value: NEXT_ARG (W246)"), + aB("w247", "pedit munge ip ttl set 1 index 0x5", tcTool, "Pedit: Illegal \"index\" (W247)"), + aB("ped-off", "pedit munge offset 13 u32 set 1 index 1", tcTool, "pack_key32: 32 bit offsets must begin in 32bit boundaries"), + aB("ped-off16", "pedit munge offset 3 u16 set 1 index 1", tcTool, "pack_key16 bad index value 3"), + aB("ped-offzz", "pedit munge offset zz u32 set 1 index 1", tcTool, "an unparsable offset: Bad pedit construct (zz)"), + aB("ped-u64", "pedit munge offset 12 u64 set 1 index 1", tcTool, "no such width"), + aB("ped-dec", "pedit ex munge ip tos decrement index 1", tcTool, "decrement command is not supported for this field"), + aB("ped-cmd", "pedit munge offset 12 u32 bogus index 1", tcTool, "no such command"), + aB("ped-nomunge", "pedit offset 12 u32 set 1 index 1", tcTool, "offset is the next kind after an empty pedit"), + // tunnel_key. + aB("w250", "tunnel_key set src_ip bogus dst_ip 10.0.0.2 id 1 index 1", tool1, + "get_addr's message and exit(1); Illegal \"src_ip\" can't be reached (W250)"), + aB("w251", "tunnel_key set src_ip any dst_ip 10.0.0.2 id 1 index 1", k("ERANGE"), "a 0-byte IPV6_SRC (W251)"), + aB("w252", "tunnel_key set src_ip 10.0.0.1 dst_ip 2001:db8::2 id 1 index 1", k("EINVAL"), "mixed families (W252)"), + aB("w253", "tunnel_key src_ip 10.0.0.1 dst_ip 10.0.0.2 id 1 index 1", k("EINVAL"), "t_action 0: Unknown tunnel key action (W253)"), + aB("w254", "tunnel_key", tcTool, "a bare tunnel_key: NEXT_ARG (W254)"), + aB("w256-id", tkSet+"id 0x7 index 1", tcTool, "Illegal \"id\" (W256)"), + aB("w256-port", tkSet+"id 7 dst_port 0x12b5 index 1", tcTool, "Illegal \"dst port\" (W256)"), + aB("w256-index", tkSet+"id 7 index 0x1", tcTool, "tunnel_key: Illegal \"index\" (W256)"), + aB("w258", tkSet+"id 7 geneve_opts 0102::01020304 index 1", tcTool, "strtok merges the empty field: Illegal \"geneve_opts\" (W258)"), + aB("w258-nodata", tkSet+"id 7 geneve_opts 0102:80 index 1", k("EINVAL"), "no DATA (W258)"), + aB("w259-1", tkSet+"id 7 geneve_opts 0102:80:0 index 1", k("ERANGE"), "1 hex char is 0 bytes of DATA: less than 4 bytes long (W259)"), + aB("w259-7", tkSet+"id 7 geneve_opts 0102:80:0011223 index 1", k("ERANGE"), "7 hex chars are 3 bytes: the odd nibble is dropped (W259)"), + aB("w261", tkSet+"id 7 erspan_opts 2::1:16 index 1", k("EINVAL"), "strtok shifts the fields: Missing tunnel key erspan option dir or hwid (W261)"), + aB("w260", tkSet+"id 7 geneve_opts '' index 1", k("EINVAL"), "an empty ENC_OPTS (W260)"), + aB("w266", "tunnel_key set set src_ip 10.0.0.1 dst_ip 10.0.0.2 index 1", tcTool, "unexpected \"set\" - action already specified (W266)"), + aB("tk-noaddr", "tunnel_key set id 1 index 1", tcTool, "set needs tunnel_key parameters"), + aB("tk-tos", tkSet+"id 7 tos 256 index 1", tcTool, "Illegal \"tos\""), + aB("tk-vx", tkSet+"id 7 vxlan_opts zz index 1", tcTool, "Illegal \"vxlan_opts\""), + aB("tk-er", tkSet+"id 7 erspan_opts 1:2:3:4:5 index 1", tcTool, "Illegal \"erspan_opts\""), + aB("tk-help", "tunnel_key help", tcTool, "the usage, exit(-1)"), + aB("tk-tail", tkSet+"id", tcTool, "id with no value: NEXT_ARG"), + // ife. + aB("w268", "ife pipe", tcTool, "IFE requires decode/encode specified, usage, exit(-1) (W268)"), + aB("w269-end", "ife decode ife", tcTool, "ife at the end of the line: NEXT_ARG (W269)"), + aB("w191-ife", "ife", tcTool, "a bare ife (W269)"), + aB("ife-allow", "ife encode allow foo index 1", tcTool, "Illegal meta define, exit(-1)"), + aB("ife-use", "ife encode use mark zz index 1", tcTool, "ife mark val is invalid"), + aB("ife-use-kind", "ife encode use foo 1 index 1", tcTool, "Illegal meta use type"), + aB("ife-tcindex", "ife encode use tcindex 65536 index 1", tcTool, "ife tcindex val is invalid"), + aB("ife-type", "ife encode type zz index 1", tcTool, "ife type is invalid"), + aB("ife-mac", "ife encode dst zz index 1", tcTool, "Invalid mac address"), + aB("ife-index", "ife encode allow mark index zz", tcTool, "ife: Illegal \"index\""), + aB("ife-help", "ife help", tcTool, "the usage, exit(-1)"), + // ct. + aB("w276", "ct commit nat src addr 1.1.1.1", tcTool, "nat's range as the last words: NEXT_ARG (W276)"), + aB("w277", "ct nat", tcTool, "nat as the last word: NEXT_ARG (W277)"), + aB("w278", "ct commit nat src foo index 1", tcTool, "no addr: the usage, exit(-1) (W278)"), + aB("w279", "ct commit nat src addr bogus index 1", tool1, "get_addr's message, exit(1) (W279)"), + aB("w279-fam", "ct commit nat src addr 10.0.0.1-2001:db8::1 index 1", tool1, "the second address takes the first's family (W279)"), + aB("w281-any", "ct commit nat src addr any index 1", k("ERANGE"), "a 0-byte IPV6_MIN (W281)"), + aB("w282", "ct commit nat src addr 10.0.0.1 port 80- index 1", tcTool, "ct: Illegal nat port range (W282)"), + aB("w282-hex", "ct commit nat src addr 10.0.0.1 port 0x50 index 1", tcTool, "ports are base 10 (W282)"), + aB("w283", "ct commit helper ipv4-udp-netbios-ns index 1", k("EINVAL"), "%[^-] keeps 3 fields: netbios, no such helper (W283)"), + aB("w283-long", "ct commit helper ipv4-tcp-abcdefghijklmnopqrstuv index 1", k("ERANGE"), "a 22-byte name, past the kernel's 16 (W283)"), + aB("w284-hex", "ct commit helper ipv4-0x6-ftp index 1", tcTool, "ct: Illegal \"helper\" (W284)"), + aB("w285", "ct commit label 0123456789abcdef0123456789abcdef01 index 1", tcTool, "label too long, exit(-1) (W285)"), + aB("w285-mask", "ct commit label 01/0123456789abcdef0123456789abcdef01 index 1", tcTool, "mask too long, named as the label (W285)"), + aB("w286", "ct commit label zz index 1", tcTool, "ct: labels must be a hex string, then a blank line (W286)"), + aB("w288", "ct commit pipe index 5", k("ENOENT"), "index after control is the next kind: Failed to load TC action module (W288)"), + aB("w290-mask", "ct zone 5/1 index 1", tcTool, "zone takes no mask: ct: Illegal \"zone\" (W290)"), + aB("w292-h", "ct h", tcTool, "h is help: the usage, exit(-1) (W292)"), + aB("ct-clear", "ct clear commit index 1", tcTool, "ct: clear can only be used alone"), + aB("ct-both", "ct commit nat src addr 1.1.1.1 nat dst addr 2.2.2.2 index 1", tcTool, "ct: src and dst nat can't be used together"), + aB("ct-natonly", "ct commit nat index 1", tcTool, "ct: commit and nat must set src or dst"), + aB("ct-nocommit", "ct nat src addr 1.1.1.1 index 1", tcTool, "ct: src or dst is only valid if commit is set"), + aB("ct-mark", "ct commit mark zz index 1", tcTool, "ct: Illegal \"mark\""), + aB("ct-index", "ct index 0x5", tcTool, "ct: Illegal \"index\""), + aB("ct-helper", "ct commit helper ipv5-tcp-ftp index 1", tcTool, "an unknown family"), + aB("ct-help", "ct help", tcTool, "the usage, exit(-1)"), + // gate. + aB("w191-gate", "gate", tcTool, "a bare gate: NEXT_ARG"), + aB("w295-big", "gate sched-entry open 1ms 1 2147483648 index 1", tcTool, "\"maxoctets\" is too large"), + aB("w296-index", "gate sched-entry open 1000000 -1 -1 index 0x1", tcTool, "index is base 10: invarg, exit(-1) (W296)"), + aB("w297-half", "gate sched-entry open 0.5 -1 -1 index 1", k("EINVAL"), "interval 0.5 is 0 (W297)"), + aB("w298-ms", "gate base-time -1ms sched-entry open 1000000 -1 -1 index 1", tcTool, "a negative time with a unit: invarg (W298)"), + aB("w300", "gate sched-entry opn 1ms index 1", tcTool, "the entry usage and \"sched-entry\" is incomplete (W300)"), + aB("w300-end", "gate sched-entry", tcTool, "sched-entry at the end (W300)"), + aB("w300-state", "gate sched-entry open", tcTool, "no interval (W300)"), + aB("w300-int", "gate sched-entry open zz index 1", tcTool, "a bad interval (W300)"), + aB("w301", "gate help", tcTool, "the usage, exit(-1) (W301)"), + aB("w301-prio", "gate priority zz sched-entry open 1ms index 1", tcTool, "invarg, exit(-1) (W301)"), + aB("w302-h", "gate h", tcTool, "h is help (W302)"), + aB("w303", "gate sched-entry open 1000000 -1 -1 pipe index 5", k("ENOENT"), "index after control is the next kind: Failed to load TC action module (W303)"), + aB("w303-goto", "gate sched-entry open 1000000 -1 -1 goto chain x", tcTool, "Illegal \"chain index\" twice (W303)"), + aB("w305", "gate index 5", k("EINVAL"), "an empty ENTRY_LIST on create (W305)"), + aB("gate-big", "gate sched-entry open 4294967296 -1 -1 index 1", tcTool, "\"interval\" is too large"), + aB("gate-clk", "gate clockid FOO sched-entry open 1ms index 1", tcTool, "an unknown clockid"), + aB("gate-none", "gate priority 2", tcTool, "gate: must add at least one entry"), + // bpf: the action. + aB("w307-2039", "bpf bytecode-file bpf.txt index 1", k("EINVAL"), "2039 instructions: PARMS past 16384, addattr_l ERROR (W307)"), + aB("w307-2041", "bpf bytecode-file bpf.txt index 1", k("EINVAL"), "2041 instructions: PARMS past 16384 (W307)"), + aB("w307-2042", "bpf bytecode-file bpf.txt index 1", k("EINVAL"), "2042: OPS_LEN with no OPS (W307)"), + aB("w307-4097", "bpf bytecode-file bpf.txt index 1", tcTool, "past BPF_MAXINSNS: no message (W307)"), + aB("w308-space", "bpf bytecode '4 ,6 0 0 0' index 1", tcTool, "the header's separator: -EINVAL with no message (W308)"), + aB("w308-zero", "bpf bytecode '0,6 0 0 0' index 1", tcTool, "a header of 0 (W308)"), + aB("w309-hex", "bpf bytecode '1,0x6 0 0 0' index 1", tcTool, "Error at instruction 0! (W309)"), + aB("w310", "bpf bytecode '1,6 0 0 0, ' index 1", tcTool, "Real program length exceeds encoded length parameter! (W310)"), + aB("w310-less", "bpf bytecode '2,6 0 0 0' index 1", tcTool, "Parsed program length is less than encoded length parameter! (W310)"), + aB("w311-blank", "bpf bytecode-file bpf.txt index 1", tcTool, "a leading blank line: no message (W311)"), + aB("w311-crlf", "bpf bytecode-file bpf.txt index 1", tcTool, "CRLF: no message (W311)"), + aB("w311-dir", "bpf bytecode-file . index 1", tcTool, "a directory: -E2BIG with no message (W311)"), + aB("w311-none", "bpf bytecode-file nosuch.txt index 1", tcTool, "Cannot fopen: No such file or directory (W311)"), + aB("w312-two", "bpf bytecode '1,6 0 0 0' bytecode '1,6 0 0 1' index 1", tcTool, "a second program word is the next kind (W312)"), + aB("w312-drop", "bpf drop", tcTool, "What mode is \"drop\"? (W312)"), + aB("w312", "bpf index 5", k("EINVAL"), "index ends the loop: PARMS only on a create (W312)"), + aB("w313", "bpf", tcTool, "a bare bpf: NEXT_ARG (W313)"), + aB("w313-help", "bpf help", tcTool, "help returns -1: bad action parsing (W313)"), + aB("w313-index", "bpf bytecode '1,6 0 0 0' index zz", tcTool, "bpf: Illegal \"index\" (W313)"), + aB("w314-obj", "bpf o nosuch.o index 1", tcTool, "o is object-file: an eBPF load (W314)"), + aB("w314-p", "bpf p /sys/fs/bpf/nosuch index 1", tcTool, "p is pinned: bpf(2) (W314)"), + aB("w314-fd", "bpf f 3 index 1", tcTool, "f is fd: pinned, bpf(2) (W314)"), + aB("ebpf-obj", "bpf object-file nosuch.o index 1", tcTool, "eBPF object-file: tc's answer, refused by name in gotc"), + aB("ebpf-pinned", "bpf object-pinned /sys/fs/bpf/nosuch index 1", tcTool, "eBPF object-pinned: bpf(2)"), + aB("ebpf-run", "bpf run obj nosuch.o index 1", tcTool, "eBPF obj after run"), + // bpf: the filter. + fB("w315", "classid 1:1", kf("EINVAL"), "options but no program: OPS_LEN 0 (W315)"), + brBad("w316", tcFwI+"pref 1 protocol ip handle 1 bpf", base, kf("EINVAL"), "no words: no OPTIONS (W316)"), + fB("w319", "bytecode '1,6 0 0 0' bogus", ack1, "What is \"bogus\"?, the usage (W319)"), + fB("w319-flowid", "bytecode '1,6 0 0 0' flowid zz", ack1, "Illegal \"classid\" for flowid (W319)"), + fB("w319-parse", "bytecode '1,6 0 0'", ack1, "Unable to parse bpf command line (W319)"), + fB("w320", "bytecode '1,6 0 0 0' skip_hw skip_sw", kf("EINVAL"), "both skip flags (W320)"), + fB("w320-sw", "bytecode '1,6 0 0 0' skip_sw", kf("ENOTSUP"), "skip_sw on a dummy (W320)"), + fB("fb-help", "help", ack1, "the filter's usage"), + fB("fb-obj", "object-file nosuch.o", ack1, "eBPF object-file in a filter: tc's answer"), + fB("fb-pinned", "pinned /sys/fs/bpf/nosuch", ack1, "eBPF pinned in a filter: bpf(2)"), + fB("fb-action", "bytecode '1,6 0 0 0' action bogus", ack255, "Bad action type bogus: gact's usage, exit(-1)"), + fB("fb-ops", "bytecode '1,6 0 0 0,6 0 0 0'", ack1, "an encoded length of 1 with two instructions"), + brBad("w248", "actions add action pedit ex"+tcA2Keys(128)+" index 1 action pedit ex"+tcA2Keys(128)+ + " index 2 action pedit ex"+tcA2Keys(128)+" index 3", base, k("EINVAL"), + "three 128-key ex actions pass 16384: the errors are ignored and a malformed nest is sent (W248)"), + // The batches whose exit ends a -force run. + bbBad("w268-force", "ife-exit", "-force", false, batchFile( + "actions add action ife pipe", + "actions add action gact pass index 2"), base, ack255, "ife's usage exit ends -force (W268)"), + bbBad("w250-force", "addr-exit", "-force", false, batchFile( + "actions add action tunnel_key set src_ip bogus dst_ip 10.0.0.2 id 1 index 1", + "actions add action gact pass index 2"), base, ack1, "get_addr's exit(1) ends -force (W250)"), + bbBad("ct-force", "return", "-force", false, batchFile( + "actions add action ct clear commit index 1", + "actions add action gact pass index 2"), base, ack1, "ct returns -1, so -force carries on"), + } + // The bad rows that read bpf.txt carry its pre step. + files := map[string]string{ + "w307-2039": tcA2FileN(2039, 2039), + "w307-2041": tcA2FileN(2041, 2041), + "w307-2042": tcA2FileN(2042, 2042), + "w307-4097": tcA2FileN(4097, 4097), + "w311-blank": tcA2File("\n1\n6 0 0 0\n"), + "w311-crlf": tcA2File("1\r\n6 0 0 0\r\n"), + } + for i := range bad { + if f, ok := files[bad[i].Value.Facts["fix"]]; ok { + bad[i].Value.Pre = tcAwPre(f) + } + } + sp := &space{ + Name: "tcact2write", + 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(tcA2Modules, vals) + r.Readback = rb[vals[len(vals)-1].Name] + return r + } + return sp +} diff --git a/tools/nlcapgen/matrix_tcact2write_test.go b/tools/nlcapgen/matrix_tcact2write_test.go new file mode 100644 index 000000000..6d41500bc --- /dev/null +++ b/tools/nlcapgen/matrix_tcact2write_test.go @@ -0,0 +1,288 @@ +package main + +import ( + "bytes" + "strconv" + "strings" + "testing" +) + +// TestTcAct2WriteSpace pins the second action write space (gotc 23C): each +// kind's verb grid and keywords, the bpf filter's verbs, a row for every +// lead, the eBPF refusals, the size bounds and the batches. +// +// go test ./tools/nlcapgen/ -run TestTcAct2WriteSpace +func TestTcAct2WriteSpace(t *testing.T) { + rows, err := matrixRows(families["tcact2write"](), matrixOpts{Seed: 1}) + if err != nil { + t.Fatal(err) + } + if err := checkRows(rows); err != nil { + t.Fatal(err) + } + const want = 418 + if len(rows) != want { + t.Errorf("%d rows, want %d", len(rows), want) + } + fixes := map[string]bool{} + byCmd := map[string]bool{} + for _, r := range rows { + if !strings.HasPrefix(r.ID, "tcact2write/") { + t.Errorf("%s: not in tcact2write/", 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) + } + } + all := r.Cmd + "\n" + strings.Join(preCmds(r), "\n") + if strings.Contains(all, "dev lo") || strings.Contains(all, "-netns") || strings.Contains(all, "dev eth") { + 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) + } + k := r.Cmd + "|" + r.Axes["fix"] + "|" + strings.Join(preCmds(r), ";") + if byCmd[k] { + t.Errorf("%s: %q twice", r.ID, k) + } + byCmd[k] = true + 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 + } + + // Every kind has the full verb grid. + for _, k := range tcA2Kinds { + for _, verb := range []string{"actions add action ", "actions change action ", "actions replace action "} { + if !has(verb + k + " ") { + t.Errorf("%s: no %q row", k, verb) + } + } + for _, sub := range []string{"actions delete action " + k + " index 1", "actions flush action " + k, "matchall action " + k} { + if !has(sub) { + t.Errorf("%s: no %q row", k, sub) + } + } + } + for _, fix := range []string{"v-add", "v-change", "v-replace", "v-replace-new", "v-delete", "v-flush"} { + if !fixes[fix] { + t.Errorf("no %s row", fix) + } + } + + // A row for every lead, W216-W320. W294 alone has none: its outcome + // is an uninitialised stack value, so gotc's unit test pins it. + for n := 216; n <= 320; n++ { + if n == 294 { + continue + } + p := "w" + strconv.Itoa(n) + var found bool + for f := range fixes { + found = found || f == p || strings.HasPrefix(f, p+"-") + } + if !found { + t.Errorf("lead W%d: no row", n) + } + } + if fixes["w294"] { + t.Error("lead W294: a row, but its outcome isn't reproducible") + } + + tests := []struct { + description string + sub string // a substring some row's command (or pre step) holds + expected bool + }{ + // pedit: raw offsets and every command. + {"positive: pedit u8", "offset 0 u8 set 0x1", true}, + {"positive: pedit u16", "offset 2 u16 set 0x1", true}, + {"positive: pedit u32 at", "u32 at 0 f 2 set", true}, + {"positive: pedit clear", "u32 clear", true}, + {"positive: pedit invert", "u32 invert", true}, + {"positive: pedit preserve", "u32 preserve", true}, + {"positive: pedit retain", "retain 0xff00", true}, + {"positive: pedit ex add", "pedit ex munge offset 12 u32 add 1", true}, + {"positive: pedit decrement", "ip ttl decrement", true}, + // pedit: every layered field. + {"positive: ip src", "munge ip src set", true}, + {"positive: ip dst", "munge ip dst set", true}, + {"positive: ip tos", "ip tos set", true}, + {"positive: ip dsfield", "ip dsfield set", true}, + {"positive: ip ihl", "ip ihl set", true}, + {"positive: ip protocol", "ip protocol set", true}, + {"positive: ip precedence", "ip precedence set", true}, + {"positive: ip nofrag", "ip nofrag set", true}, + {"positive: ip firstfrag", "ip firstfrag set", true}, + {"positive: ip ce", "ip ce set", true}, + {"positive: ip df", "ip df set", true}, + {"positive: ip mf", "ip mf set", true}, + {"positive: ip dport", "munge ip dport set 80", true}, + {"positive: ip sport", "munge ip sport set 53", true}, + {"positive: ip icmp_type", "ip icmp_type set 8", true}, + {"positive: ip6 src", "ip6 src set 2001:db8::1", true}, + {"positive: ip6 flow_lbl", "ip6 flow_lbl set 0x12345", true}, + {"positive: ip6 payload_len", "ip6 payload_len", true}, + {"positive: ip6 nexthdr", "ip6 nexthdr", true}, + {"positive: ip6 hoplimit", "ip6 hoplimit set", true}, + {"positive: ip6 traffic_class", "ip6 traffic_class", true}, + {"positive: tcp sport", "tcp sport", true}, + {"positive: tcp dport", "tcp dport set 443", true}, + {"positive: tcp flags", "tcp flags", true}, + {"positive: udp sport", "udp sport set 53 index", true}, + {"positive: udp dport", "udp dport", true}, + {"positive: eth dst", "eth dst set 02:00:00:00:00:09", true}, + {"positive: eth src", "eth src set", true}, + {"positive: eth type", "eth type set 0x0800", true}, + // tunnel_key. + {"positive: tunnel_key v4 with every scalar", "id 7 dst_port 4789 tos 0x10 ttl 64", true}, + {"positive: tunnel_key v6", "src_ip 2001:db8::1 dst_ip 2001:db8::2", true}, + {"positive: tunnel_key nocsum nofrag", "nocsum nofrag", true}, + {"positive: tunnel_key csum", "id 7 csum index", true}, + {"positive: tunnel_key geneve several", "0103:81:00a000b0,0104:82", true}, + {"positive: tunnel_key vxlan", "vxlan_opts 4660", true}, + {"positive: tunnel_key erspan v1", "erspan_opts 1:12:0:0", true}, + {"positive: tunnel_key erspan v2", "erspan_opts 2:0:1:7", true}, + {"positive: tunnel_key unset", "tunnel_key unset", true}, + // ife. + {"positive: ife encode with type and MACs", "type 0xED3E dst 02:00:00:00:00:01 src 02:00:00:00:00:02 use mark 7", true}, + {"positive: ife allow each", "allow mark allow prio allow tcindex", true}, + {"positive: ife use prio and tcindex", "use prio 5 use tcindex 3", true}, + {"positive: ife decode", "ife decode index 1", true}, + // ct. + {"positive: ct commit force", "ct commit force", true}, + {"positive: ct clear", "ct clear index", true}, + {"positive: ct zone mark label", "zone 404 mark 0x42/0xf0 label", true}, + {"positive: ct nat src v4 range ports", "nat src addr 10.0.0.1-10.0.0.9 port 1000-2000", true}, + {"positive: ct nat dst v6", "nat dst addr 2001:db8::1", true}, + {"positive: ct nat v6 range", "2001:db8::1-2001:db8::9 port 80-90", true}, + {"positive: ct helper v4", "helper ipv4-tcp-ftp", true}, + {"positive: ct helper v6", "helper ipv6-tcp-ftp", true}, + // gate. + {"positive: gate every scalar", "priority 2 clockid CLOCK_TAI base-time 200000000000ns cycle-time 300000000ns cycle-time-ext 1000ns", true}, + {"positive: gate ipv and maxoctets", "open 100000000ns 3 8000", true}, + {"positive: gate size suffix", "3 8k", true}, + {"positive: gate CLOCK_REALTIME", "clockid CLOCK_REALTIME", true}, + {"positive: gate CLOCK_MONOTONIC", "clockid CLOCK_MONOTONIC", true}, + {"positive: gate CLOCK_BOOTTIME", "clockid CLOCK_BOOTTIME", true}, + {"positive: gate clockid without the prefix", "clockid tai", true}, + {"positive: gate flags", "gate flags 1", true}, + // bpf. + {"positive: bpf bytecode", "bpf bytecode '" + tcA2Prog + "'", true}, + {"positive: bpf bc", "bpf bc '", true}, + {"positive: bpf run", "bpf run bytecode", true}, + {"positive: bpf bytecode-file", "bpf bytecode-file bpf.txt", true}, + {"positive: bpf bcf", "bpf bcf bpf.txt", true}, + {"positive: bpf filter classid", "bpf bytecode '" + tcA2Prog + "' classid 1:1", true}, + {"positive: bpf filter da skip_hw", "da skip_hw", true}, + {"positive: bpf filter action", "bpf bytecode '1,6 0 0 4294967295' action gact pass", true}, + {"positive: bpf filter police", "bpf bytecode '1,6 0 0 4294967295' police rate", true}, + {"positive: bpf filter change", "filter change dev d0 ingress pref 1 protocol ip handle 1 bpf", true}, + {"positive: bpf filter replace", "filter replace dev d0 ingress pref 1 protocol ip handle 1 bpf", true}, + {"positive: bpf filter delete", "filter delete dev d0 ingress pref 1 protocol ip handle 1 bpf", true}, + // eBPF only as refusals. + {"negative: eBPF object-file", "bpf object-file nosuch.o", true}, + {"negative: eBPF object-pinned", "bpf object-pinned /sys/fs/bpf/nosuch", true}, + {"negative: eBPF pinned in a filter", "bpf pinned /sys/fs/bpf/nosuch", true}, + // Boundaries. + {"boundary: 128 pedit keys", "pedit" + tcA2Keys(128) + " index 1", true}, + {"boundary: 129 pedit keys", "pedit" + tcA2Keys(129) + " index 1", true}, + {"boundary: 30 gate entries", "gate" + tcA2Entries(30) + " index 1", true}, + {"boundary: 31 gate entries", "gate" + tcA2Entries(31) + " index 1", true}, + {"boundary: 40 gate entries", "gate" + tcA2Entries(40) + " index 1", true}, + {"boundary: 2038 bpf instructions", tcA2FileN(2038, 2038), true}, + {"boundary: 2039 bpf instructions", tcA2FileN(2039, 2039), true}, + {"boundary: 2042 bpf instructions", tcA2FileN(2042, 2042), true}, + {"boundary: 4097 bpf instructions", tcA2FileN(4097, 4097), true}, + {"boundary: the 62-byte nat range", tcA2Nat62 + " index", true}, + {"boundary: the 63-byte nat range", tcA2Nat63 + " index", true}, + {"boundary: interval at the u32 limit", "open 4294967295 -1", true}, + {"boundary: interval past it", "open 4294967296 -1", true}, + {"boundary: tos 255", "tos 255 ttl 255", true}, + {"boundary: tos 256", "tos 256", true}, + // Negatives. + {"negative: no show or list command is captured", "actions ls", false}, + {"negative: no get command is captured", "actions get", false}, + {"negative: no host device", "dev eth0", 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) + } + }) + } + + // The eBPF rows are refusals, never positive writes. + for _, r := range rows { + for _, w := range []string{"object-file", "object-pinned", " pinned ", "bpf o ", "bpf p ", "bpf f ", " obj "} { + if strings.Contains(r.Cmd, w) && r.Expect.RefusedBy == refNone { + t.Errorf("%s: an eBPF form %q as a positive write", r.ID, w) + } + } + } + + // The batches carry their lines, with -force where the lead needs it. + batches := []struct { + description string + fix string + force bool + }{ + {"corner: W232's MAC colons", "w232-batch", false}, + {"corner: W265's strtok NULs", "w265-batch", false}, + {"corner: W291's slashes", "w291-batch", false}, + {"corner: bytecode-file in a batch", "bpf-batch", false}, + {"corner: W268's usage exit ends -force", "w268-force", true}, + {"corner: W250's exit(1) ends -force", "w250-force", true}, + {"corner: a -1 return carries on", "ct-force", true}, + } + for _, tc := range batches { + t.Run(tc.description, func(t *testing.T) { + var found bool + for _, r := range rows { + if r.Axes["fix"] != tc.fix { + continue + } + found = true + if !strings.Contains(r.Cmd, "-batch") { + t.Errorf("%s: not a batch: %q", r.ID, r.Cmd) + } + if got := strings.Contains(r.Cmd, "-force"); got != tc.force { + t.Errorf("%s: -force %t, want %t", r.ID, got, tc.force) + } + pre := preCmds(r) + if n := strings.Count(pre[len(pre)-1], "' '") + 1; n < 2 { + t.Errorf("%s: %d lines, want 2 or more", r.ID, n) + } + } + if !found { + t.Errorf("no %s row", tc.fix) + } + }) + } + + // Generation is deterministic. + var a, b bytes.Buffer + for i, buf := range []*bytes.Buffer{&a, &b} { + rs, err := matrixRows(families["tcact2write"](), 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") + } +} diff --git a/tools/nlcapgen/tdc.go b/tools/nlcapgen/tdc.go index dd50bbf01..11814a855 100644 --- a/tools/nlcapgen/tdc.go +++ b/tools/nlcapgen/tdc.go @@ -95,7 +95,7 @@ var tdcGuestModules = map[string]bool{} func init() { for _, m := range strings.Fields(`act_bpf act_connmark act_csum act_ctinfo act_ct act_gact - act_gate act_ife act_mirred act_mpls act_nat act_pedit act_police act_sample act_simple + act_gate act_ife act_meta_mark act_meta_skbprio act_meta_skbtcindex act_mirred act_mpls act_nat act_pedit act_police act_sample act_simple act_skbedit act_skbmod act_tunnel_key act_vlan cls_basic cls_bpf cls_cgroup cls_flower cls_flow cls_fw cls_matchall cls_route cls_u32 em_canid em_cmp em_ipset em_meta em_nbyte em_text em_u32 sch_cake sch_cbs sch_choke sch_codel From 91eafa8c434a0e28f9da34b9a21281a9a3ce1938 Mon Sep 17 00:00:00 2001 From: randomizedcoder Date: Mon, 30 Nov 2026 22:15:21 -0800 Subject: [PATCH 02/13] gotc 23P: encoders for pedit, tunnel_key, ife and cBPF (V066) Add Append for tc_pedit_key and tc_pedit_sel with its keys, tc_tunnel_key, tc_ife (with the two zero bytes of tail padding tc sends) and sock_filter. The layouts are those of the kernel headers at v7.4-rc4. ct, gate and the bpf action's parms are tc_gen, which TcGen.Append already lays out. TestAppendTcAct2Structs checks 21 tcact2write payloads: each one, decoded by the read side and laid out again, gives back tc's bytes. It also round-trips 14 hand-built structs. Co-Authored-By: Claude Opus 5.5 --- docs/netlink/gotc-status.md | 4 + pkg/xtcpnl/xtcpnl_tc_act2encode_test.go | 289 ++++++++++++++++++++++++ pkg/xtcpnl/xtcpnl_tc_actencode.go | 65 ++++++ pkg/xtcpnl/xtcpnl_tc_actencode_test.go | 17 +- 4 files changed, 373 insertions(+), 2 deletions(-) create mode 100644 pkg/xtcpnl/xtcpnl_tc_act2encode_test.go diff --git a/docs/netlink/gotc-status.md b/docs/netlink/gotc-status.md index 38e73f44b..2aee58240 100644 --- a/docs/netlink/gotc-status.md +++ b/docs/netlink/gotc-status.md @@ -338,6 +338,9 @@ and the bpf action, standalone and in filters, and the bpf filter's cBPF writes; `filter show` readback. Two batches on one boot agree on every row and on all 336 requests. Every lead W216–W320 has a row, apart from W294, whose outcome is uninitialised stack memory that changed from run to run. Five leads are corrected and K77–K89 written up (V065). +- **23P (encoders): done.** `Append` for pedit's selector and keys, tunnel_key's and ife's parms (ife with its two + zero bytes of tail padding, W275) and the cBPF instruction. Each one, fed the read side's decode of tc's captured + payload, gives back tc's bytes. No new lead (V066). ## Ledger @@ -419,6 +422,7 @@ and the bpf action, standalone and in filters, and the bpf filter's cBPF writes; | V063 | 22L | **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 a5fab166e (`/nix/store/6bfgnvxx3b6zfwwzllf23z71200mrr6c-gotc-write-22l`), with `GOTC_CONF_USR_DIR` and `TC_LIB_DIR` set to tc's. V058's method: each of the 363 `tcactwrite.rows.jsonl` rows, and tcfwrite's ec-111, ec-112 and ec-113, runs its pre steps in a fresh named namespace from its own directory (the six batch rows write `b.txt` there), then gotc with `GOTC_WRITE_OUT`, then tc, each under a 60 s timeout. Requests (RTM_NEW/DELACTION, RTM_NEW/DELTFILTER, RTM_NEW/DELCHAIN) are compared with tc's from the corpus pcaps, seq and pid zeroed, a tcmsg's ifindex zeroed (gotc saw 2 and 3), and W189's past-argv DEF_DATA bytes zeroed as `w189Canon` does. The comparer was first checked with the corpus on both sides (366/366). **Result: 342/366 identical**, 55 of them rows where the request is identical and only tc hears the kernel (K66's offload warning, K63–K75's refusals, W187's follow-on line) and 10 of them W189 rows identical once masked (ec-037–ec-040, ec-174, ec-175, ec-178, ec-179, ec-232, ec-250). **Named exceptions:** (1) increment 23's six refusals by name (ec-217–ec-222: pedit, tunnel_key, ife, ct, gate, bpf). (2) 18 rows whose one differing field is mirred's target ifindex, 4 in the corpus and 3 live, every other byte equal: ec-007–ec-010, ec-110–ec-112, ec-114–ec-118, ec-120, ec-121, ec-229, ec-245, ec-256 and tcfwrite ec-113. The capture harness gives each row its own nlmon0, which takes ifindex 2, so d0 and d1 are 3 and 4 there (the corpus tcmsg ifindexes are 3 and 4); without it they are 2 and 3, checked in a fresh namespace on the same boot. This is 20L's ec-032 exception. **tc against the corpus:** stdout, stderr and rc match `ws/tcactwrite` and `ws/tcfwrite` on all 366 rows, so every kernel answer the write-up cites (K63–K76, W164's ENOMEM, W171's ERANGE, W178's `Invalid TC action index value`, W183's EINVAL, W179's surviving index 33) recurred on a second boot. **Leads:** none new, none changed; the write-up's status block records 22L. tc made no core file. **VM:** pre-checked (`free -g`: 46G available; port 12061 free; no workbench process, the other qemu processes being unrelated libvirt guests), booted from off with `up`. The baseline was 86 modules, no namespace and no core files. The run took 105 s. It loaded 37 modules (the act_*, cls_* and sch_* modules, em_cmp, and the dependencies ife, mpls_gso, nf_flow_table, nf_nat and psample) and removed them with `modprobe -r` (none left), made no core file, left no namespace and removed `/tmp/t22l`. After the ifindex probe the VM was back at 86 modules, no namespace and no core file, and it was powered off with `down`: port 12061 free, no workbench process. | | V064 | 22R | **PR #375 review fixes**, both reproduced against host tc 7.2.0 by the reviewer and again here. (1) **A bare `0x` MAC group:** glibc 2.44's `%x` takes `0x` as a prefix and cannot give the `x` back, so `0x` with no hex digit after it is no conversion (`sscanf("0x:2", "%x")` is 0; `00x:` is 0, its second 0 a digit). `scanfHex` (aw_skbmod.go) had read it as 0, so `skbmod set dmac 0x:2:3:4:5:6` sent a request where tc prints `Invalid dst mac address`, rc 255. vlan's `llAddrA2N` used the strtoul model (`strtoul16`), so `dst_mac 0x:…` was accepted too; it now uses `scanfHex`. Host tc and gotc agree on five probes (bare `0x` first and last, skbmod and vlan). `TestScanfMac` gains 5 rows (its old row "0x with no digit is 0" was the error), `TestLlAddrA2N` gains 4 and checks the colons cut. (2) **Parsers' NULs in the batch buffer (W189):** `argMem.nul` and `nulEach` write a parser's NUL into argv's memory, which in a batch is getline's buffer: ll_addr_a2n's colons (ll_addr.c:65), skbedit's mark slash (m_skbedit.c:86), get_size64_and_cell's slash on a failure (tc_util.c:265; police, tbf, htb, through `sizeCellCut`), flow_parse_keys' commas (f_flow.c:70) and fw's handle slash (f_fw.c:43, through `filterArgs.handleAt`). A sweep of tc/*.c and lib/ at v7.2.0 for in-place NULs found no other ported site: get_prefix_1 and the control word's `/` put the byte back; flower, ct and gate are not ported. `TestGotcBatchArgvNuls` (10 rows: vlan, skbedit, flow, fw; tbf's size and cell failures, htb, flow's unknown key; eight MAC groups; a size and cell that parse) is each case's DEF_DATA, checked against host tc 7.2.0 under `unshare -rn strace -e write=all`: every byte gotc knows matches, and the rest is tc's heap, which gotc sends as zeros and the replay masks. A mutant with `nul` disabled fails 9 of the 10 (the restored slash passes, as it should). `TestArgMemNul` (8 rows) is the helper. **Leads:** W196 and W189 extended in [upstream/iproute2-tc-action-write.md](upstream/iproute2-tc-action-write.md); no new lead. **Gates:** `go test ./internal/gotc/ ./pkg/xtcpnl/ ./internal/wsreplay/ ./tools/nlcapgen/`, with and without `-tags gotc_write`; `CGO_ENABLED=0 go build ./...` in both builds; `gofmt -s` clean. | | V065 | 23C | **Captures**: `tools/nlcapgen/matrix_tcact2write.go` (`tcact2write`, 418 rows: 258 writes and 160 refusals, on 20C's fixture: d0 with clsact, d1 with an htb root, two classes and ingress block 10), registered in `main.go`'s `families`; rows `nix/microvms/workbench/tcact2write.rows.jsonl`; corpus `pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/`. Modules: increment 22's, cls_bpf, and act_meta_mark, act_meta_skbprio and act_meta_skbtcindex, which `tdcGuestModules` now lists (the guest has them in net/sched). **Rows:** each kind's add, change, replace (existing and new index), delete and flush with a `tc actions ls action K` readback, and each inside matchall. pedit's raw u8/u16/u32 offsets with `at`, every command (set, add, decrement, invert, clear, preserve, retain), every layered field of ip (17), ip6 (8), tcp, udp and eth, ex and legacy; tunnel_key v4 and v6 with id, dst_port, tos, ttl, csum/nocsum, nofrag, geneve with three options, vxlan and erspan v1/v2, and unset; ife encode and decode with allow and use for each meta kind, dst, src and type; ct commit, force, clear, zone, masked mark and label, nat src/dst with v4/v6 ranges and ports, helpers ipv4/ipv6-tcp-ftp; gate's every scalar, six clockid spellings, ipv and maxoctets with a size suffix; bpf's bytecode, bc, run, bytecode-file and bcf. The bpf filter: add with classid, da, skip_hw, an action, police, run, flowid first and two actions; change, replace (existing and new) and delete; a bytecode-file filter; one on d1's htb. eBPF (object-file, object-pinned, pinned, fd, obj, and the `o`/`p`/`f` prefixes) only as refusal rows recording tc's answer. A row for every lead W216–W320 except W294. Boundaries: 128 and 129 pedit keys, 30/31/40 open and 36 closed gate entries, 2038/2039/2041/2042/4097 bpf instructions, 62- and 63-byte nat ranges, the u32 interval edge, tos 255/256. Batches: W232's MAC colons, W265's strtok NULs and W291's slashes, each carried into a later `simple sdata x` (line 2's DEF_DATA shows them: `th\0dst\0set\002…`, `e_opts\00102\080\0…`, `x1\00xff\0label\001\0ff`); bytecode-file in a batch; three `-force` batches (ife's usage exit and get_addr's exit(1) end tc; ct's -1 carries on). **Trial batches** (scratch, same boot): the first matched 400 of 420; the second 419. Corrected in the generator: a fresh `ife decode` with no meta module loaded is EINVAL with no extack (K79), which made the first ife rows depend on row order, so the meta modules now load up front; ct's and gate's `… drop index 1` sends `index` as a second action kind (W288, W303); the index-only binds of pedit, gate and bpf became matchall binds; geneve's 0- and 3-byte DATA and erspan's shifted fields are kernel refusals; bpf's edge is 2039, not 2040; `src_ip any` and ct's `addr any` are ERANGE; netbios is EINVAL and a 22-byte helper ERANGE; skip_sw is ENOTSUP; W280's 63-byte range and W297's inf, nan and 1e30 are sent and accepted, so they are positive rows that gotc will refuse by name; `bytecode-file -` reads a file named `-`. **W294 removed from the corpus:** `gate sched-entry open 1ms 1 index 1` sent maxoctets 0x33874a91, 0x4c352a91 and 0x7fec5a91 in three runs (get_size stores an uninitialised sz64), and `… 1 sched-entry close 1ms` was refused twice as `"maxoctets" is too large` and sent once; no two batches could agree, so 23W pins gotc's refusal with a unit test and the write-up records the values. **Final:** two batches on one boot, 418/418 OK each, agree on every row's rc, stdout, stderr and readback, and on all 336 requests byte for byte (seq and pid zeroed). `TestWsCorpusRows` passes on all 418. Two `cmd.json` files (ec-132, ec-133) had only `axes` and `desc` rewritten from the regenerated rows, when their fix became w274 and w275; tc never reads them. **Write-up** (the new "Increment 23" part of `docs/netlink/upstream/iproute2-tc-action-write.md`, not submitted to netdev): a summary row for each of W216–W320 with its pinning rows and status, K77–K89 and five bug-class candidates. **Corrected from the sweep:** W220 (key 129 is followed by `Bad pedit construct (index)`), W267 (accepted while a meta module is loaded), W288 and W303 (tc sends the stray `index` kind; the kernel refuses it, ENOENT), W295 (`1.5` is consumed as 1), W307 (2039 and 2042). **Kernel notes K77–K89:** the legacy pedit offload warning on every add, ct's helper offload warning, ife's use_all_metadata EINVAL, gate's skipped non-entry with rc 0, tunnel_key's overwritten ERANGE message, ct's EXACT_LEN NAT addresses, ct's helper name limit, act_bpf's missing program, cls_bpf's flags, pedit's keys check after the idr, gate's empty list and zero interval, tunnel_key's option rules, and gate's u64 times. No new lead outside W216–W320. **Unit:** `TestTcAct2WriteSpace` (107 sub-tests). Positive: the verb grid and matchall for each kind, every keyword, the bpf filter's verbs. Lead: each W216–W320 has a row, and W294 has none. Negative: eBPF only as refusals, no `actions ls` or `get`, no host device, no `dev lo` or `-netns`. Boundary: the key, entry, instruction, nat and interval edges. Corner: the seven batches' lines and `-force`, determinism. **VM:** pre-checked (`free -g`: 38G available; port 12061 free; no workbench process), booted from off with `up`; baseline 86 modules, no namespace, no core file. The batches left no namespace and no core file. The run left 129 modules; this run's 40 (act_*, cls_*, sch_htb, sch_ingress, act_meta_*, nf_conntrack_ftp, nf_nat, nf_flow_table, ife, psample, mpls_gso, dummy, nlmon) were removed with `modprobe -r`, leaving 89: the baseline's 86 (nf_conntrack among them, held by the guest firewall's xt_conntrack) and bridge/stp/llc, which no row of this run uses, left alone as in 22C. The VM was powered off with `down` (it was off before): port 12061 free, no workbench process. **Bench pin:** ng-157 (W248's 16 KiB pedit echo, with the extack `act_pedit: Not enough extended keys to parse`) is now the corpus's largest NLMSG_ERROR. It replaces tcematch's W151 refusal, so `TestParseBenchAllocs` pins ParseNlMsgErr's largest pick at 1 allocation (the message copy), not 0. | +| V066 | 23P | **Encoders** (untagged, `pkg/xtcpnl/xtcpnl_tc_actencode.go`): `Append` for `TcPeditKey` (tc_pedit.h:52), `TcPeditSel` (new: tc_gen, nkeys, flags, two zero bytes aligning keys[] as m_pedit.c:626's `= {}` leaves them, then the keys; `Nkeys` is its own field, as on the read side), `TcTunnelKey` (new: tc_gen and t_action, tc_tunnel_key.h:15), `TcIfe` (new: tc_gen, flags and two zero bytes of tail padding, tc_ife.h:13, m_ife.c:53, W275) and `TcBpfInsn` (sock_filter, filter.h:24, host order), each cited at v7.4-rc4. ct, gate and the bpf action's parms are tc_gen, so `TcGen.Append` covers them as is. The builders need no change. **Unit** (`xtcpnl_tc_act2encode_test.go`): `TestAppendTcAct2Structs` (37 sub-tests). 21 are captured rows, each payload decoded by the read side and laid out again equal to tc's bytes: pedit PARMS with one and two raw keys, PARMS_EX for ip src and ip6 src (four keys), W216's at/offmask/shift, 128 keys ec-088 (3096 bytes) and eth dst invert ec-091 (W223); tunnel_key set v4, unset, tos/ttl 255 and ng-048's t_action 0 (W253); ife encode with type, dst, src and use, decode, ec-133's padding (W275) and index alone (W267); the bpf action's four-instruction program, 2038 instructions ec-222 (W307), the 65537 header ec-223 (W308) and wrapped fields ec-225 (W309); the bpf filter's OPS from bytecode ec-239 and from bytecode-file ec-247. 14 are round trips, including every field at its extreme, 128 keys and each zero struct as all-zero bytes. `TestAppendTcAct2StructsEdges` (5 rows): a full destination grows and keeps its bytes, pedit's padding after nkeys and flags, `TcIfe{Flags: 1}`'s zero tail, `Nkeys` sent as given, and sock_filter's host byte order. The capture helpers take a corpus directory (`tcActCapturedReqIn`, `tcActCapturedOptionsIn`). **Audits:** netlink-audit and kernel-citation-audit pass. **Bugs found:** none; every struct's layout and padding agree with the kernel headers. | | 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_tc_act2encode_test.go b/pkg/xtcpnl/xtcpnl_tc_act2encode_test.go new file mode 100644 index 000000000..5b1c54270 --- /dev/null +++ b/pkg/xtcpnl/xtcpnl_tc_act2encode_test.go @@ -0,0 +1,289 @@ +package xtcpnl + +import ( + "bytes" + "math" + "reflect" + "testing" + + "golang.org/x/sys/unix" +) + +const tdTcact2write = "testdata/7_3_1/ws/tcact2write/" + +// tcAct2Struct decodes the struct one attribute of a kind's options +// carries, returning that attribute's type with the struct, so that +// Append(decode(opts)) can be held against the attribute tc sent. +type tcAct2Struct struct { + attr func(t testing.TB, opts []byte) uint16 + decode func(t testing.TB, opts []byte) tcActEnc +} + +// tcBpfInsns is a cBPF program as one encoder: the instructions laid out +// back to back, as OPS carries them. +type tcBpfInsns []TcBpfInsn + +func (p tcBpfInsns) Append(b []byte) []byte { + for _, x := range p { + b = x.Append(b) + } + return b +} + +func tcAct2Structs() map[string]tcAct2Struct { + must := func(t testing.TB, err error) { + t.Helper() + if err != nil { + t.Fatal(err) + } + } + fixed := func(a uint16) func(testing.TB, []byte) uint16 { + return func(testing.TB, []byte) uint16 { return a } + } + // ops reads OPS_LEN instructions from OPS, as the read side does. + ops := func(lenAttr, opsAttr uint16) func(t testing.TB, o []byte) tcActEnc { + return func(t testing.TB, o []byte) tcActEnc { + n := tcAttr(t, o, lenAttr) + if len(n) != 2 { + t.Fatalf("OPS_LEN is % x", n) + } + p := ParseTcBpfOps(tcAttr(t, o, opsAttr), uint16(n[0])|uint16(n[1])<<8) + if p.Short { + t.Fatal("OPS is shorter than OPS_LEN") + } + return tcBpfInsns(p.Insns) + } + } + return map[string]tcAct2Struct{ + "pedit": { + attr: func(t testing.TB, o []byte) uint16 { + if tcAttr(t, o, TcaPeditParms) == nil { + return TcaPeditParmsEx + } + return TcaPeditParms + }, + decode: func(t testing.TB, o []byte) tcActEnc { + p, err := ParseTcPedit(o) + must(t, err) + if p.KeysShort { + t.Fatal("pedit's keys run past PARMS") + } + return TcPeditSel{TcGen: p.P, Nkeys: p.Nkeys, Flags: p.Flags, Keys: p.Keys} + }, + }, + "tunnel_key": {attr: fixed(TcaTunnelKeyParms), decode: func(t testing.TB, o []byte) tcActEnc { + p, err := ParseTcTunnelKey(o) + must(t, err) + return TcTunnelKey{TcGen: p.P, TAction: p.TAction} + }}, + "ife": {attr: fixed(TcaIfeParms), decode: func(t testing.TB, o []byte) tcActEnc { + p, err := ParseTcIfe(o) + must(t, err) + return TcIfe{TcGen: p.P, Flags: p.Flags} + }}, + "bpf-ops": {attr: fixed(TcaActBpfOps), decode: ops(TcaActBpfOpsLen, TcaActBpfOps)}, + "cls-bpf-ops": {attr: fixed(TcaBpfOps), decode: ops(TcaBpfOpsLen, TcaBpfOps)}, + } +} + +// tcFilterCapturedOptions is the TCA_OPTIONS of a row's first +// RTM_NEWTFILTER request. +func tcFilterCapturedOptions(t testing.TB, dir, id string) []byte { + t.Helper() + for _, m := range pcapNlMsgs(t, dir+id+"/ip.pcap") { + if m.h.Flags&unix.NLM_F_REQUEST == 0 || m.h.Type != unix.RTM_NEWTFILTER { + continue + } + opts := tcAttr(t, m.body[TcMsgSizeCst:], TcaOptions) + if opts == nil { + t.Fatalf("%s: no TCA_OPTIONS", id) + } + return opts + } + t.Fatalf("%s: no filter write in the capture", id) + return nil +} + +// TestAppendTcAct2Structs is the structs of increment 13's kinds against +// tc (gotc 23P): each captured payload decoded by the read side and laid +// out again by Append is the bytes tc 7.2.0 sent, padding included. The +// hand-built rows are decode(Append(x)) == x. +// +// go test ./pkg/xtcpnl/ -run TestAppendTcAct2Structs +func TestAppendTcAct2Structs(t *testing.T) { + structs := tcAct2Structs() + captured := []struct { + description string + id string // the tcact2write row + kind string + filter bool // the row is a filter write: the struct is in TCA_OPTIONS + expected int // the attribute's payload length + }{ + {"positive: pedit munge offset 12 u32 set 0x1 (PARMS, one key)", "ec-001", "pedit", false, TcPeditSelSizeCst + TcPeditKeySizeCst}, + {"positive: pedit with two raw keys", "ec-047", "pedit", false, TcPeditSelSizeCst + 2*TcPeditKeySizeCst}, + {"positive: pedit ex munge ip src (PARMS_EX)", "ec-065", "pedit", false, TcPeditSelSizeCst + TcPeditKeySizeCst}, + {"positive: pedit ex munge ip6 src, four keys", "ec-069", "pedit", false, TcPeditSelSizeCst + 4*TcPeditKeySizeCst}, + {"positive: pedit at/offmask/shift (W216's positional form)", "ec-089", "pedit", false, TcPeditSelSizeCst + TcPeditKeySizeCst}, + {"positive: tunnel_key set v4 with every scalar", "ec-112", "tunnel_key", false, TcTunnelKeySizeCst}, + {"positive: tunnel_key unset", "ec-007", "tunnel_key", false, TcTunnelKeySizeCst}, + {"positive: ife encode with type, dst, src and use mark", "ec-132", "ife", false, TcIfeSizeCst}, + {"positive: ife decode", "ec-135", "ife", false, TcIfeSizeCst}, + {"positive: bpf action, the four-instruction program", "ec-213", "bpf-ops", false, 4 * TcBpfInsnSizeCst}, + {"positive: bpf filter, the four-instruction program", "ec-239", "cls-bpf-ops", true, 4 * TcBpfInsnSizeCst}, + {"positive: bpf filter from bytecode-file", "ec-247", "cls-bpf-ops", true, 4 * TcBpfInsnSizeCst}, + {"negative: tunnel_key with no set/unset sends t_action 0 (W253)", "ng-048", "tunnel_key", false, TcTunnelKeySizeCst}, + {"boundary: pedit with 128 keys (W220)", "ec-088", "pedit", false, TcPeditSelSizeCst + 128*TcPeditKeySizeCst}, + {"boundary: bpf action with 2038 instructions (W307)", "ec-222", "bpf-ops", false, 2038 * TcBpfInsnSizeCst}, + {"boundary: tunnel_key tos 255 ttl 255", "ec-124", "tunnel_key", false, TcTunnelKeySizeCst}, + {"corner: ife's tail padding as tc zeroes it (W275)", "ec-133", "ife", false, TcIfeSizeCst}, + {"corner: ife index alone, flags 0 (W267)", "ec-138", "ife", false, TcIfeSizeCst}, + {"corner: pedit eth dst invert, two keys of 0xff (W223)", "ec-091", "pedit", false, TcPeditSelSizeCst + 2*TcPeditKeySizeCst}, + {"corner: bpf header 65537 wraps to one instruction (W308)", "ec-223", "bpf-ops", false, TcBpfInsnSizeCst}, + {"corner: bpf fields wrap (W309)", "ec-225", "bpf-ops", false, TcBpfInsnSizeCst}, + } + for _, tc := range captured { + t.Run(tc.description, func(t *testing.T) { + s := structs[tc.kind] + var opts []byte + if tc.filter { + opts = tcFilterCapturedOptions(t, tdTcact2write, tc.id) + } else { + opts = tcActCapturedOptionsIn(t, tdTcact2write, tc.id) + } + want := tcAttr(t, opts, s.attr(t, opts)) + if len(want) != tc.expected { + t.Fatalf("tc's attribute is %d bytes, want %d", len(want), tc.expected) + } + if got := s.decode(t, opts).Append(nil); !bytes.Equal(got, want) { + t.Errorf("Append(decode(attr)) = % x\ntc sent % x", got, want) + } + }) + } + + gen := TcGen{Index: 7, Capab: 1, Action: 3 /* TC_ACT_PIPE */, Refcnt: 2, Bindcnt: 3} + maxGen := TcGen{Index: math.MaxUint32, Capab: math.MaxUint32, Action: math.MinInt32, + Refcnt: math.MaxInt32, Bindcnt: -1} + key := TcPeditKey{Mask: 0xff00ffff, Val: 0x00400000, Off: 8, At: 4, Offmask: 0xf, Shift: 2} + maxKey := TcPeditKey{Mask: math.MaxUint32, Val: math.MaxUint32, Off: math.MaxUint32, At: math.MaxUint32, + Offmask: math.MaxUint32, Shift: math.MaxUint32} + keys128 := make([]TcPeditKey, 128) + for i := range keys128 { + keys128[i] = TcPeditKey{Mask: uint32(i), Val: 1, Off: uint32(4 * i)} + } + roundTrip := []struct { + description string + kind string + x tcActEnc + expected int // the bytes Append writes + }{ + {"positive: tc_pedit_sel with one key", "pedit", TcPeditSel{TcGen: gen, Nkeys: 1, Keys: []TcPeditKey{key}}, + TcPeditSelSizeCst + TcPeditKeySizeCst}, + {"positive: tc_tunnel_key set", "tunnel_key", TcTunnelKey{TcGen: gen, TAction: TcaTunnelKeyActSet}, TcTunnelKeySizeCst}, + {"positive: tc_ife encode", "ife", TcIfe{TcGen: gen, Flags: IfeEncode}, TcIfeSizeCst}, + {"positive: a cBPF program of two instructions", "bpf-ops", tcBpfInsns{{Code: 0x28, K: 12}, {Code: 6, Jt: 1, Jf: 2, + K: 0x40000}}, 2 * TcBpfInsnSizeCst}, + {"negative: tunnel_key's t_action 0, sent when neither set nor unset is given (W253)", "tunnel_key", + TcTunnelKey{TcGen: gen}, TcTunnelKeySizeCst}, + {"boundary: tc_pedit_sel with 128 keys (tc's MAX_OFFS)", "pedit", TcPeditSel{Nkeys: 128, Keys: keys128}, + TcPeditSelSizeCst + 128*TcPeditKeySizeCst}, + {"boundary: every pedit field at its extreme", "pedit", TcPeditSel{TcGen: maxGen, Nkeys: 1, Flags: math.MaxUint8, + Keys: []TcPeditKey{maxKey}}, TcPeditSelSizeCst + TcPeditKeySizeCst}, + {"boundary: tunnel_key's t_action at its extremes", "tunnel_key", TcTunnelKey{TcGen: maxGen, TAction: math.MinInt32}, + TcTunnelKeySizeCst}, + {"boundary: ife flags, all 16 bits", "ife", TcIfe{TcGen: maxGen, Flags: math.MaxUint16}, TcIfeSizeCst}, + {"boundary: a sock_filter with every field at its extreme", "bpf-ops", tcBpfInsns{{Code: math.MaxUint16, + Jt: math.MaxUint8, Jf: math.MaxUint8, K: math.MaxUint32}}, TcBpfInsnSizeCst}, + {"corner: zero tc_pedit_sel, no keys", "pedit", TcPeditSel{}, TcPeditSelSizeCst}, + {"corner: zero tc_tunnel_key", "tunnel_key", TcTunnelKey{}, TcTunnelKeySizeCst}, + {"corner: zero tc_ife", "ife", TcIfe{}, TcIfeSizeCst}, + {"corner: a zero sock_filter", "bpf-ops", tcBpfInsns{{}}, TcBpfInsnSizeCst}, + } + for _, tc := range roundTrip { + t.Run(tc.description, func(t *testing.T) { + s := structs[tc.kind] + b := tc.x.Append([]byte{0xaa}) + if len(b)-1 != tc.expected { + t.Fatalf("Append wrote %d bytes, want %d", len(b)-1, tc.expected) + } + if b[0] != 0xaa { + t.Fatal("Append changed what was already in the slice") + } + if tcAllZero(tc.x) && !bytes.Equal(b[1:], make([]byte, tc.expected)) { + t.Errorf("zero struct laid out as % x, want all zero", b[1:]) + } + ab := NewAttrBuilder(make([]byte, 4096)) + if tc.kind == "bpf-ops" { + n := len(tc.x.(tcBpfInsns)) + if err := ab.PutU16(TcaActBpfOpsLen, uint16(n)); err != nil { + t.Fatal(err) + } + } + if err := ab.PutBytes(s.attr(t, nil), b[1:]); err != nil { + t.Fatal(err) + } + if got := s.decode(t, ab.Bytes()); !reflect.DeepEqual(got, tc.x) { + t.Errorf("decode(Append(x)) = %+v, want %+v", got, tc.x) + } + }) + } +} + +// tcAllZero is whether x is its type's zero value, a program counting as +// zero when each of its instructions is. +func tcAllZero(x tcActEnc) bool { + if p, ok := x.(tcBpfInsns); ok { + for _, i := range p { + if i != (TcBpfInsn{}) { + return false + } + } + return true + } + return reflect.ValueOf(x).IsZero() +} + +// TestAppendTcAct2StructsEdges is what the struct table does not show: +// Append into a full slice, ife's padding, pedit's key count against its +// keys, and an instruction's host byte order. +// +// go test ./pkg/xtcpnl/ -run TestAppendTcAct2StructsEdges +func TestAppendTcAct2StructsEdges(t *testing.T) { + tests := []struct { + description string + got []byte + expected []byte + }{ + {"negative: a full destination grows and keeps its bytes", + TcTunnelKey{TAction: 1}.Append([]byte("abc")), + append(append([]byte("abc"), make([]byte, TcGactSizeCst)...), 1, 0, 0, 0)}, + {"boundary: pedit's 2 bytes of padding after nkeys and flags are zero", + TcPeditSel{Nkeys: 1, Flags: 2}.Append(nil), + append(make([]byte, TcGactSizeCst), 1, 2, 0, 0)}, + {"corner: TcIfe{Flags: 1} is 24 bytes, the last two zero (W275)", + TcIfe{Flags: 1}.Append(nil), + append(make([]byte, TcGactSizeCst), 1, 0, 0, 0)}, + {"corner: Nkeys is sent as given, not counted from Keys", + TcPeditSel{Nkeys: 3}.Append(nil), + append(make([]byte, TcGactSizeCst), 3, 0, 0, 0)}, + {"corner: sock_filter is host order: code, jt, jf, then k", + TcBpfInsn{Code: 0x0102, Jt: 3, Jf: 4, K: 0x05060708}.Append(nil), + []byte{0x02, 0x01, 3, 4, 0x08, 0x07, 0x06, 0x05}}, + } + for _, tc := range tests { + t.Run(tc.description, func(t *testing.T) { + if !bytes.Equal(tc.got, tc.expected) { + t.Errorf("got % x, want % x", tc.got, tc.expected) + } + }) + } +} + +// BenchmarkAppendTcPeditSel lays out pedit's largest selector, 128 keys. +func BenchmarkAppendTcPeditSel(b *testing.B) { + s := TcPeditSel{Nkeys: 128, Keys: make([]TcPeditKey, 128)} + buf := make([]byte, 0, TcPeditSelSizeCst+128*TcPeditKeySizeCst) + b.ReportAllocs() + for b.Loop() { + buf = s.Append(buf[:0]) + } +} diff --git a/pkg/xtcpnl/xtcpnl_tc_actencode.go b/pkg/xtcpnl/xtcpnl_tc_actencode.go index dd08226e0..8d19a922d 100644 --- a/pkg/xtcpnl/xtcpnl_tc_actencode.go +++ b/pkg/xtcpnl/xtcpnl_tc_actencode.go @@ -63,3 +63,68 @@ func (s TcSkbmod) Append(b []byte) []byte { b = append(s.TcGen.Append(b), 0, 0, 0, 0) return appendU64(b, s.Flags) } + +// The parms structs of increment 13's kinds (gotc 23P). ct, gate and the +// bpf action's parms are plain tc_gen (tc_ct.h:40, tc_gate.h:9, +// tc_bpf.h:11), which TcGen.Append lays out as is. + +// Append lays out k, struct tc_pedit_key (tc_pedit.h:52): mask, val, off, +// at, offmask, shift. Val and Mask are as the host reads them; pack_key32 +// and its kin (tc/m_pedit.c:153) store them in network order already. +func (k TcPeditKey) Append(b []byte) []byte { + b = appendU32(appendU32(appendU32(b, k.Mask), k.Val), k.Off) + return appendU32(appendU32(appendU32(b, k.At), k.Offmask), k.Shift) +} + +// TcPeditSel is struct tc_pedit_sel (tc_pedit.h:61) with its keys, as +// m_pedit.c:697-703 sends it in PARMS or PARMS_EX: sizeof(sel.sel) plus +// nkeys keys. Nkeys is its own field, as on the read side (TcPeditOpt); +// tc always sends len(Keys). +type TcPeditSel struct { + TcGen + Nkeys uint8 + Flags uint8 + Keys []TcPeditKey +} + +// Append lays out s: tc_gen, nkeys, flags, the two bytes of padding that +// align keys[] to 4 (zero: m_pedit.c:626 starts from `= {}`), then each +// key. +func (s TcPeditSel) Append(b []byte) []byte { + b = append(s.TcGen.Append(b), s.Nkeys, s.Flags, 0, 0) + for _, k := range s.Keys { + b = k.Append(b) + } + return b +} + +// TcTunnelKey is struct tc_tunnel_key (tc_tunnel_key.h:15): tc_gen and +// t_action (TcaTunnelKeyActSet or TcaTunnelKeyActRelease, 0 when tc sends +// neither, W253). +type TcTunnelKey struct { + TcGen + TAction int32 +} + +// Append lays out t, 24 bytes. +func (t TcTunnelKey) Append(b []byte) []byte { return appendS32(t.TcGen.Append(b), t.TAction) } + +// TcIfe is struct tc_ife (tc_ife.h:13): tc_gen and flags (IfeEncode or 0). +type TcIfe struct { + TcGen + Flags uint16 +} + +// Append lays out i: tc_gen, flags, and the two bytes of tail padding the +// struct's 4-byte alignment adds. m_ife.c:53 zeroes the struct with +// `= { 0 }`, so tc sends zeros there (W275, as W214 for connmark). +func (i TcIfe) Append(b []byte) []byte { + return append(appendU16(i.TcGen.Append(b), i.Flags), 0, 0) +} + +// Append lays out x, struct sock_filter (filter.h:24): code, jt, jf, k, +// in host order, as bpf_parse_ops (lib/bpf_legacy.c:320) fills it and the +// kernel copies it. +func (x TcBpfInsn) Append(b []byte) []byte { + return appendU32(append(appendU16(b, x.Code), x.Jt, x.Jf), x.K) +} diff --git a/pkg/xtcpnl/xtcpnl_tc_actencode_test.go b/pkg/xtcpnl/xtcpnl_tc_actencode_test.go index 017d30c98..5124afd60 100644 --- a/pkg/xtcpnl/xtcpnl_tc_actencode_test.go +++ b/pkg/xtcpnl/xtcpnl_tc_actencode_test.go @@ -17,7 +17,13 @@ const tdTcactwrite = "testdata/7_3_1/ws/tcactwrite/" // the nlmsghdr rebuilt so seq and pid read 0. func tcActCapturedReq(t testing.TB, id string) []byte { t.Helper() - for _, m := range pcapNlMsgs(t, tdTcactwrite+id+"/ip.pcap") { + return tcActCapturedReqIn(t, tdTcactwrite, id) +} + +// tcActCapturedReqIn is tcActCapturedReq for a row of the corpus in dir. +func tcActCapturedReqIn(t testing.TB, dir, id string) []byte { + t.Helper() + for _, m := range pcapNlMsgs(t, dir+id+"/ip.pcap") { if m.h.Flags&unix.NLM_F_REQUEST == 0 || (m.h.Type != unix.RTM_NEWACTION && m.h.Type != unix.RTM_DELACTION) { continue @@ -51,7 +57,14 @@ func tcAttr(t testing.TB, attrs []byte, typ uint16) []byte { // row's first action write: TAB, order 1, OPTIONS. func tcActCapturedOptions(t testing.TB, id string) []byte { t.Helper() - req := tcActCapturedReq(t, id) + return tcActCapturedOptionsIn(t, tdTcactwrite, id) +} + +// tcActCapturedOptionsIn is tcActCapturedOptions for a row of the corpus +// in dir. +func tcActCapturedOptionsIn(t testing.TB, dir, id string) []byte { + t.Helper() + req := tcActCapturedReqIn(t, dir, id) tab := tcAttr(t, req[NlMsgHdrSizeCst+TcaMsgSizeCst:], TcaRootTab) opts := tcAttr(t, tcAttr(t, tab, 1), TcaActOptions) if opts == nil { From d502ac649581393400b7d4fbfc45aad2c8972287 Mon Sep 17 00:00:00 2001 From: randomizedcoder Date: Mon, 30 Nov 2026 22:39:17 -0800 Subject: [PATCH 03/13] gotc 23W: copy tc's ignored addattr bound (W97, W151, W248, W293, W307) and get_addr fops now checks tc's addattr_l and addraw_l bounds as each call is recorded, from the running request length: a call past its bound prints tc's "addattr_l ERROR: message exceeded bound of N" (or addraw_l's), the attribute is dropped and the request is still sent, as tc ignores the result. A failed addattr_nest leaves a Mark (xtcpnl AttrBuilder.Mark) and its addattr_nest_end patches rta_len over whatever was written since, which is gate's broken entry nest (W293). tcematch ec-137 and ng-095 are now replayed byte for byte instead of refused; the fw W97 and ematch W151 rows pin tc's errors and sends. inet.go gains getAddr (utils.c:738: "Error: address is expected rather than ..." then exit(1)), used by flow's addend. TestGotcAct2Corpus replays the tcact2write space, skipping the six kinds still refused by name while 23W ports them. Co-Authored-By: Claude Opus 5.5 --- internal/gotc/act2_corpus_test.go | 60 +++++++++++++++++ internal/gotc/awrite.go | 2 +- internal/gotc/corpus_test.go | 10 ++- internal/gotc/fw_ematch_test.go | 4 +- internal/gotc/fw_flow.go | 7 +- internal/gotc/fwrite.go | 89 ++++++++++++++++++++++--- internal/gotc/fwrite_test.go | 4 +- internal/gotc/inet.go | 39 ++++++++++- pkg/xtcpnl/xtcpnl_rtattr_encode.go | 8 +++ pkg/xtcpnl/xtcpnl_rtattr_encode_test.go | 86 ++++++++++++++++++++++++ 10 files changed, 282 insertions(+), 27 deletions(-) create mode 100644 internal/gotc/act2_corpus_test.go diff --git a/internal/gotc/act2_corpus_test.go b/internal/gotc/act2_corpus_test.go new file mode 100644 index 000000000..bf752a3e0 --- /dev/null +++ b/internal/gotc/act2_corpus_test.go @@ -0,0 +1,60 @@ +//go:build gotc_write + +package gotc + +import ( + "os" + "path/filepath" + "strings" + "testing" +) + +// tcact2writeDir is increment 23's capture space (23C). +const tcact2writeDir = "../../pkg/xtcpnl/testdata/7_3_1/ws/tcact2write" + +// TestGotcAct2Corpus replays every tcact2write row as TestGotcCorpus does +// and holds gotc's stdout, stderr, exit code and requests to tc's. While +// 23W ports its kinds one at a time, a row gotc still refuses by name for +// a kind not yet ported is skipped; every other row is held exactly. +// +// go test -tags gotc_write ./internal/gotc/ -run TestGotcAct2Corpus +func TestGotcAct2Corpus(t *testing.T) { + base, err := filepath.Abs(tcact2writeDir) + if err != nil { + t.Fatal(err) + } + entries, err := os.ReadDir(base) + if err != nil { + t.Fatal(err) + } + pschedContent = readFile(t, pschedRow) + for _, e := range entries { + if !e.IsDir() { + continue + } + dir := filepath.Join(base, e.Name()) + c := readCmdJSON(t, dir) + t.Run(e.Name(), func(t *testing.T) { + got, want := corpusRow(t, dir, c) + if got.rc == 255 && act2Unported(got.stderr) { + t.Skipf("kind not ported yet: %s", strings.TrimSpace(got.stderr)) + } + if got != want { + t.Fatalf("%s\n got %#v\n want %#v", c.Cmd, got, want) + } + }) + } +} + +// act2Unported is gotc's refusal by name of a kind increment 23 ports. +func act2Unported(stderr string) bool { + if !strings.Contains(stderr, "not implemented: tc ") { + return false + } + for _, k := range []string{"pedit", "tunnel_key", "ife", "ct", "gate", "bpf"} { + if strings.Contains(stderr, "action kind "+k+"\n") || strings.Contains(stderr, "filter write of kind "+k+"\n") { + return true + } + } + return false +} diff --git a/internal/gotc/awrite.go b/internal/gotc/awrite.go index 662f3d0f2..423196222 100644 --- a/internal/gotc/awrite.go +++ b/internal/gotc/awrite.go @@ -23,7 +23,7 @@ import ( // do_action then reads as a command (W176). func (r *runner) actionModify(flags int, args []string) (rest []string, err error) { m := &fmod{standalone: true} - m.ops.hdr = tcaReqHdr + m.ops.hdr, m.ops.errf = tcaReqHdr, r.errf rest, ok, err := r.parseAction(m, args[1:], xtcpnl.TcaRootTab) if err != nil { return nil, err diff --git a/internal/gotc/corpus_test.go b/internal/gotc/corpus_test.go index f6addb810..4b260905c 100644 --- a/internal/gotc/corpus_test.go +++ b/internal/gotc/corpus_test.go @@ -44,10 +44,10 @@ var corpusRefused = map[string]string{ "tcfwrite/ec-116": "not implemented: tc filter write of kind flower", "tcfwrite/ec-117": "not implemented: tc filter write of kind bpf", "tcfwrite/ng-033": "uninitialised tc_gact_p (W110)", - // 21W: where tc writes or reads memory it does not own, the two - // ematch kinds refused by name (police went live in 22W), and trees - // past their bound, which - // tc truncates and sends (W97, W151). + // 21W: where tc writes or reads memory it does not own, and the two + // ematch kinds refused by name (police went live in 22W). Trees past + // their bound, which tc truncates and sends (W97, W151), are sent as + // tc sends them since 23W. "tcematch/ec-104": "quoted run past strbuf (W123)", "tcematch/ng-100": "quoted run past strbuf (W123)", "tcematch/ng-101": "quoted run past strbuf (W123)", @@ -57,8 +57,6 @@ var corpusRefused = map[string]string{ "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", // 22W: the kinds increment 23 ports, refused by name. "tcactwrite/ec-217": "not implemented: tc actions action kind pedit", "tcactwrite/ec-218": "not implemented: tc actions action kind tunnel_key", diff --git a/internal/gotc/fw_ematch_test.go b/internal/gotc/fw_ematch_test.go index 3a4f29306..771262528 100644 --- a/internal/gotc/fw_ematch_test.go +++ b/internal/gotc/fw_ematch_test.go @@ -213,8 +213,8 @@ 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: 4995 nested parens fit bison's 10000 states: parsed, then past the 16384 bound: tc's errors, and what fit is sent (W151)", + nest(4995), "", d0, "addraw_l ERROR: message exceeded bound of 16384\naddattr_l ERROR: message exceeded bound of 16384\n", true, 0, 2, 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}, diff --git a/internal/gotc/fw_flow.go b/internal/gotc/fw_flow.go index 1996d034a..33336c7a4 100644 --- a/internal/gotc/fw_flow.go +++ b/internal/gotc/fw_flow.go @@ -81,10 +81,9 @@ func (r *runner) flowAddend(arg string, keys uint32) (uint32, bool, error) { if keys&(flowKeySrc|flowKeyDst|flowKeyNfctSrc|flowKeyNfctDst) == 0 { return 0, false, nil } - a, good := getAddr1(arg, unix.AF_UNSPEC) - if !good { - r.errf("Error: any valid address is expected rather than \"%s\".\n", arg) - return 0, false, exitCode(1) + a, err := r.getAddr(arg, unix.AF_UNSPEC) + if err != nil { + return 0, false, err } switch a.family { case unix.AF_INET: diff --git a/internal/gotc/fwrite.go b/internal/gotc/fwrite.go index fc21db257..68c2c2164 100644 --- a/internal/gotc/fwrite.go +++ b/internal/gotc/fwrite.go @@ -38,13 +38,13 @@ const tcaReqHdr = xtcpnl.NlMsgHdrSizeCst + xtcpnl.TcaMsgSizeCst // none is given. var ethPAllBE = bits.ReverseBytes16(unix.ETH_P_ALL) -// errAddattrBound is an addattr_l past its maxlen: tc prints "addattr_l -// ERROR: message exceeded bound of N", ignores the -1 and sends the request -// without the attribute (W97); gotc refuses it. +// errAddattrBound is an addattr_l past its maxlen found only at replay, +// where fops' running length (tracked as each call is recorded, which +// prints tc's message and drops the attribute, W97, W248, W293, W307) and +// the request disagree; gotc refuses it rather than send what tc would not. 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. +// errAddrawBound is errAddattrBound for addraw_l (W151). var errAddrawBound = errors.New("addraw_l exceeded its bound") // filterWrite is do_filter's write verbs. @@ -120,6 +120,8 @@ func (r *runner) filterModify(cmd uint16, flags int, args []string) error { } } if m.named { + m.ops.errf = r.errf + m.ops.n = filterFrameLen(&m.w) if err := r.parseFoptWrite(m); err != nil { return err } @@ -240,17 +242,29 @@ type fop struct { b []byte maxlen int begin int // fopEnd: the index of its fopBegin + // failed is a fopBegin past its maxlen: addattr_nest's addattr_l + // printed its error and wrote no header, and the nest it returns is the + // tail, which its end patches (W293). + failed bool } // fops records a parse_fopt's addattr calls in the order it makes them, // replayed into the request after TCA_CHAIN and TCA_KIND. A nest never // ended keeps addattr_nest's rta_len of 4, as tc leaves it. +// +// n is the attributes' length so far, as tc's nlmsg_len less hdr: each +// call is held to its maxlen when it is recorded, as tc's addattr_l is +// when it is made, so a call past it prints tc's "addattr_l ERROR" at that +// point and is dropped, and tc's ignored -1 is copied (W97, W248, W307). type fops struct { ops []fop // hdr is what addattr_l's maxlen counts before the attributes: 0 is a // filter's nlmsghdr and tcmsg (tcReqHdr), and a standalone action's is // nlmsghdr and tcamsg (tcaReqHdr). hdr int + n int + // errf prints a bound's message; nil prints nothing. + errf func(format string, a ...any) } // reqHdr is f.hdr, or tcReqHdr when unset. @@ -261,9 +275,26 @@ func (f *fops) reqHdr() int { return f.hdr } +// fits is addattr_l's test for an attribute of alen payload bytes: +// NLMSG_ALIGN(nlmsg_len) + RTA_ALIGN(RTA_LENGTH(alen)) > maxlen fails, +// after "addattr_l ERROR: message exceeded bound of maxlen". +func (f *fops) fits(maxlen, alen int) bool { + l := xtcpnl.RTAttrSizeCst + alen + if f.reqHdr()+f.n+l+xtcpnl.FourByteAlignPadding(l) > maxlen { + if f.errf != nil { + f.errf("addattr_l ERROR: message exceeded bound of %d\n", maxlen) + } + return false + } + f.n += l + xtcpnl.FourByteAlignPadding(l) + return true +} + // put is addattr_l(n, maxlen, t, b, len(b)). func (f *fops) put(maxlen int, t uint16, b []byte) { - f.ops = append(f.ops, fop{kind: fopPut, t: t, b: b, maxlen: maxlen}) + if f.fits(maxlen, len(b)) { + f.ops = append(f.ops, fop{kind: fopPut, t: t, b: b, maxlen: maxlen}) + } } // u32 is addattr32, or addattr_l of four bytes. @@ -276,14 +307,25 @@ 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)). +// raw is addraw_l(n, maxlen, b, len(b)): NLMSG_ALIGN(nlmsg_len) + +// NLMSG_ALIGN(len) past maxlen fails, after "addraw_l ERROR: message +// exceeded bound of maxlen". func (f *fops) raw(maxlen int, b []byte) { + l := len(b) + xtcpnl.FourByteAlignPadding(len(b)) + if f.reqHdr()+f.n+l > maxlen { + if f.errf != nil { + f.errf("addraw_l ERROR: message exceeded bound of %d\n", maxlen) + } + return + } + f.n += l 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}) + ok := f.fits(maxlen, 0) + f.ops = append(f.ops, fop{kind: fopBegin, t: t, maxlen: maxlen, failed: !ok}) return len(f.ops) - 1 } @@ -293,13 +335,18 @@ func (f *fops) end(begin int) { } // replay writes the recorded calls into ab, which already holds what came -// before them; an addattr past its maxlen is errAddattrBound. +// before them; an addattr past its maxlen here is errAddattrBound, which +// only a running length that disagrees with the request can give. func (f *fops) replay(ab *xtcpnl.AttrBuilder) error { marks := make(map[int]xtcpnl.NestMark) for i, o := range f.ops { switch o.kind { case fopEnd: - if err := ab.EndNest(marks[o.begin]); err != nil { + err := ab.EndNest(marks[o.begin]) + if f.ops[o.begin].failed && errors.Is(err, xtcpnl.ErrNestNotOpen) { + continue // nothing was written at the tail: tc's write lands past nlmsg_len + } + if err != nil { return err } continue @@ -312,7 +359,12 @@ func (f *fops) replay(ab *xtcpnl.AttrBuilder) error { return err } continue - case fopPut, fopBegin: + case fopBegin: + if o.failed { + marks[i] = ab.Mark() + continue + } + case fopPut: } alen := xtcpnl.RTAttrSizeCst + len(o.b) if f.reqHdr()+ab.Len()+alen+xtcpnl.FourByteAlignPadding(alen) > o.maxlen { @@ -332,3 +384,18 @@ func (f *fops) replay(ab *xtcpnl.AttrBuilder) error { } return nil } + +// filterFrameLen is what tc_filter_modify adds before parse_fopt: TCA_CHAIN +// when a chain was given and TCA_KIND when the kind word was not empty, as +// putFilterFrame lays them out. +func filterFrameLen(w *xtcpnl.TcWrite) int { + n := 0 + if w.ChainSet { + n += xtcpnl.RTAttrSizeCst + 4 + } + if w.Kind != "" { + l := xtcpnl.RTAttrSizeCst + len(w.Kind) + 1 + n += l + xtcpnl.FourByteAlignPadding(l) + } + return n +} diff --git a/internal/gotc/fwrite_test.go b/internal/gotc/fwrite_test.go index 54abedec2..869309541 100644 --- a/internal/gotc/fwrite_test.go +++ b/internal/gotc/fwrite_test.go @@ -199,14 +199,14 @@ func TestGotcFilterWrite(t *testing.T) { 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 { + {"boundary: fw past its 4096 bound: tc's error per classid that does not fit, and the 506 that do are sent (W97)", func() []string { a := make([]string, 0, 9+2*520) a = append(a, "filter", "add", "dev", "d0", "parent", "1:", "handle", "5", "fw") for range 520 { a = append(a, "classid", "1:1") } return a - }(), d0[:1], notImpl + "a request tc would truncate or cannot be laid out: addattr_l exceeded its bound of 4096\n", 255, 1, nil}, + }(), d0, strings.Repeat("addattr_l ERROR: message exceeded bound of 4096\n", 520-506), 0, 2, nil}, {"corner: block 5 overwrites parent 1: (W67)", []string{"filter", "add", "block", "5", "parent", "1:", "pref", "2", "handle", "2", "matchall", "action", "pass"}, []Reply{rep(done()), rep(ack())}, "", 0, 2, diff --git a/internal/gotc/inet.go b/internal/gotc/inet.go index 0a4ada5a9..82c5557e5 100644 --- a/internal/gotc/inet.go +++ b/internal/gotc/inet.go @@ -12,7 +12,7 @@ import ( // lib/utils.c's address parsers at iproute2 v7.2.0, as far as the filter // writes reach them: get_prefix_1 (u32's ip and ip6 selectors), get_addr -// (flow's addend) and get_netmask with mask2bits. goip has its own port +// (flow's addend, tunnel_key, ct, pedit) and get_netmask with mask2bits. goip has its own port // (internal/goip/inet_prefix.go), tied to goip's types; gotc may not // import goip. @@ -65,6 +65,43 @@ func getAddr1(name string, family uint8) (inetPrefix, bool) { return p, true } +// familyNameVerbose is utils.c family_name_verbose: "any valid" for +// AF_UNSPEC, else family_name. +func familyNameVerbose(family uint8) string { + switch family { + case unix.AF_UNSPEC: + return "any valid" + case unix.AF_INET: + return "inet" + case unix.AF_INET6: + return "inet6" + case unix.AF_PACKET: + return "link" + case unix.AF_MPLS: + return "mpls" + case unix.AF_BRIDGE: + return "bridge" + } + return "???" +} + +// getAddr is get_addr (utils.c:738): getAddr1, or its message and exit(1), +// which ends a -force batch too. A parser's own message for a bad address +// after it can never print (flow's addend W104, tunnel_key W250, ct W279). +func (r *runner) getAddr(arg string, family uint8) (inetPrefix, error) { + a, ok := getAddr1(arg, family) + if !ok { + r.errf("Error: %s address is expected rather than \"%s\".\n", familyNameVerbose(family), arg) + return inetPrefix{}, exitCode(1) + } + return a, nil +} + +// byteLen is inet_prefix's bytelen as __get_addr_1 sets it: 4 or 16 for +// an address, and af_byte_len(family) for default, all and any, which is 0 +// for AF_UNSPEC (tunnel_key's and ct's 0-byte addresses, W251, W281). +func (p inetPrefix) byteLen() int { return afBitLen(p.family) / 8 } + // getAddrIPv4 is get_addr_ipv4: up to four parts split on '.', each // strtoul base 0 and at most 255 ("010" is 8, "10.8" is 10.8.0.0). func getAddrIPv4(ap []byte, cp string) bool { diff --git a/pkg/xtcpnl/xtcpnl_rtattr_encode.go b/pkg/xtcpnl/xtcpnl_rtattr_encode.go index b499c7625..e785f654e 100644 --- a/pkg/xtcpnl/xtcpnl_rtattr_encode.go +++ b/pkg/xtcpnl/xtcpnl_rtattr_encode.go @@ -272,6 +272,14 @@ func (a *AttrBuilder) BeginNest(atype uint16) (NestMark, error) { return m, nil } +// Mark is the nest a failed addattr_nest returns: NLMSG_TAIL, with no +// header written there. EndNest on it then sets the rta_len of whatever +// attribute was written at the mark since, to everything from there to the +// cursor, as addattr_nest_end does to tc's message (the broken nest of +// gotc's W293); with nothing written since, EndNest is ErrNestNotOpen and +// changes nothing, as tc's write lands past nlmsg_len. +func (a *AttrBuilder) Mark() NestMark { return NestMark{off: a.n} } + // EndNest closes the nest m opened, iproute2's addattr_nest_end: rta_len // becomes everything from the nest header to the cursor, inner padding // included, because every inner attribute already advanced the cursor by its diff --git a/pkg/xtcpnl/xtcpnl_rtattr_encode_test.go b/pkg/xtcpnl/xtcpnl_rtattr_encode_test.go index b32e872e9..96947c56d 100644 --- a/pkg/xtcpnl/xtcpnl_rtattr_encode_test.go +++ b/pkg/xtcpnl/xtcpnl_rtattr_encode_test.go @@ -349,6 +349,92 @@ func TestAttrBuilderReset(t *testing.T) { } } +// TestAttrBuilderMark is the nest a failed addattr_nest returns: no header +// at the tail, which EndNest then patches into whatever was written there +// (gotc's broken gate entry, W293). The positive bytes are tc's own, in +// gotc's replay of tcact2write ec-197..ec-199; these rows are the builder's +// edges. +// +// go test ./pkg/xtcpnl/ -run TestAttrBuilderMark +func TestAttrBuilderMark(t *testing.T) { + tests := []struct { + description string + steps func(a *AttrBuilder) error + expected []byte + expectedErr error + }{ + { + description: "corner: EndNest on a Mark sets the next attribute's rta_len to everything after the mark", + steps: func(a *AttrBuilder) error { + m := a.Mark() + if err := a.PutU32(1, 7); err != nil { + return err + } + if err := a.PutU8(2, 1); err != nil { + return err + } + return a.EndNest(m) + }, + // The first attribute's rta_len becomes 8+8: it now spans the second. + expected: append(append([]byte{16, 0, 1, 0}, le32(7)...), rtattr(2, []byte{1})...), + }, + { + description: "negative: EndNest on a Mark with nothing written since is ErrNestNotOpen and changes nothing", + steps: func(a *AttrBuilder) error { + if err := a.PutU8(2, 1); err != nil { + return err + } + return a.EndNest(a.Mark()) + }, + expected: rtattr(2, []byte{1}), + expectedErr: ErrNestNotOpen, + }, + { + description: "boundary: a Mark on a full buffer is at its end, and EndNest on it is ErrNestNotOpen", + steps: func(a *AttrBuilder) error { + if err := a.PutU32(1, 7); err != nil { + return err + } + if err := a.PutU16(3, 2); err != nil { + return err + } + return a.EndNest(a.Mark()) + }, + expected: append(rtattr(1, le32(7)), rtattr(3, []byte{2, 0})...), + expectedErr: ErrNestNotOpen, + }, + { + description: "corner: a Mark inside a real nest patches the attribute at the mark to its aligned span (5 becomes 8); the nest's own length is kept", + steps: func(a *AttrBuilder) error { + n, err := a.BeginNest(5) + if err != nil { + return err + } + m := a.Mark() + if err := a.PutU8(2, 9); err != nil { + return err + } + if err := a.EndNest(m); err != nil { + return err + } + return a.EndNest(n) + }, + expected: []byte{12, 0, 5, 0, 8, 0, 2, 0, 9, 0, 0, 0}, + }, + } + for _, tc := range tests { + t.Run(tc.description, func(t *testing.T) { + ab := NewAttrBuilder(make([]byte, 16)) + if err := tc.steps(&ab); !errors.Is(err, tc.expectedErr) { + t.Fatalf("err = %v, want %v", err, tc.expectedErr) + } + if got := ab.Bytes(); !bytes.Equal(got, tc.expected) { + t.Fatalf("Bytes() = % x, want % x", got, tc.expected) + } + }) + } +} + // ---- the read-only invariant ------------------------------------------------- // TestIsGetRequestType checks the arithmetic GET predicate, including the two From 3f6e89c53d355233178e48890db4a7f5107cf22c Mon Sep 17 00:00:00 2001 From: randomizedcoder Date: Mon, 30 Nov 2026 22:56:33 -0800 Subject: [PATCH 04/13] gotc 23W: bpf action, bpf filter and cBPF writes (W307-W320) cbpf.go is lib/bpf_legacy.c's parse side: bpf_do_parse's mode words (bytecode/bc, bytecode-file/bcf, object-file/obj, object-pinned, pinned, fd and their prefixes), the eBPF option words read before any bpf(2), and bpf_ops_parse with glibc sscanf's %hu/%hhu/%u wrap and the bytecode-file reader (newlines to commas, blank runs collapsed, a read error or a full buffer silently -E2BIG), relative to the working directory. aw_bpf.go is m_bpf.c (index ends the loop, a word after the program ends it, help returns -1); fw_bpf.go is f_bpf.c (program loaded after the loop, so OPS_LEN and OPS follow CLASSID, ACT and POLICE, then FLAGS_GEN and FLAGS; no program sends OPS_LEN 0 and an empty OPS). eBPF programs are refused by name as "eBPF program via bpf(2)" where tc first touches bpf(2): bpf_obj_pinned in the parse, bpf_obj_open at the load (after the filter's whole loop). Every bpf row of tcact2write replays byte for byte bar the 8 eBPF refusals; TestGotcBpfWrite, TestCbpfParseOps and FuzzCbpfParseOps added, with bpf seeds for the write fuzzers and a skip for inputs that could name a device as bytecode-file. The tdc and corpus pins are left for the merge. Co-Authored-By: Claude Opus 5.5 --- internal/gotc/act_parse.go | 1 + internal/gotc/aw_bpf.go | 105 ++++++++ internal/gotc/aw_bpf_test.go | 402 ++++++++++++++++++++++++++++++ internal/gotc/aw_test.go | 3 +- internal/gotc/awrite_fuzz_test.go | 14 +- internal/gotc/cbpf.go | 287 +++++++++++++++++++++ internal/gotc/fw_bpf.go | 158 ++++++++++++ internal/gotc/fwrite.go | 1 + internal/gotc/fwrite_fuzz_test.go | 8 +- 9 files changed, 974 insertions(+), 5 deletions(-) create mode 100644 internal/gotc/aw_bpf.go create mode 100644 internal/gotc/aw_bpf_test.go create mode 100644 internal/gotc/cbpf.go create mode 100644 internal/gotc/fw_bpf.go diff --git a/internal/gotc/act_parse.go b/internal/gotc/act_parse.go index 159673ce3..09300e93a 100644 --- a/internal/gotc/act_parse.go +++ b/internal/gotc/act_parse.go @@ -42,6 +42,7 @@ var actParsers = map[string]actParser{ xtcpnl.TcActKindSkbmod: (*runner).parseSkbmod, xtcpnl.TcActKindMpls: (*runner).parseMpls, xtcpnl.TcActKindSimple: (*runner).parseSimple, + xtcpnl.TcActKindBpf: (*runner).parseBpf, } // tcCookieMax is TC_COOKIE_MAX_SIZE. diff --git a/internal/gotc/aw_bpf.go b/internal/gotc/aw_bpf.go new file mode 100644 index 000000000..923926ba4 --- /dev/null +++ b/internal/gotc/aw_bpf.go @@ -0,0 +1,105 @@ +//go:build gotc_write + +package gotc + +import ( + "github.com/randomizedcoder/xtcp2/pkg/xtcpnl" +) + +// tc/m_bpf.c bpf_parse_opt at iproute2 v7.2.0. + +// bpfActExplain is m_bpf.c explain, with bpf_prog_to_default_section of +// BPF_PROG_TYPE_SCHED_ACT. +func (r *runner) bpfActExplain() { + r.errf("%s", "Usage: ... bpf ... [ index INDEX ]\n"+ + "\n"+ + "BPF use case:\n"+ + " bytecode BPF_BYTECODE\n"+ + " bytecode-file FILE\n"+ + "\n"+ + "eBPF use case:\n"+ + " object-file FILE [ section ACT_NAME ] [ export UDS_FILE ] [ verbose ]\n"+ + " object-pinned FILE\n"+ + "\n"+ + "Where BPF_BYTECODE := 's,c t f k,c t f k,c t f k,...'\n"+ + "c,t,f,k and s are decimals; s denotes number of 4-tuples\n"+ + "\n"+ + "Where FILE points to a file containing the BPF_BYTECODE string,\n"+ + "an ELF file containing eBPF map definitions and bytecode, or a\n"+ + "pinned eBPF program.\n"+ + "\n"+ + "Where ACT_NAME refers to the section name containing the\n"+ + "action (default 'action').\n"+ + "\n"+ + "Where UDS_FILE points to a unix domain socket file in order\n"+ + "to hand off control of all created eBPF maps to an agent.\n"+ + "\n"+ + "Where optionally INDEX points to an existing action, or\n"+ + "explicitly specifies an action index upon creation.\n") +} + +// parseBpf is bpf_parse_opt: the nest opens before the loop, which a +// bare kind never reaches (W313); `index` ends the loop, so `bpf index 5` +// sends PARMS alone (W312), and the first word that is no run, help or +// index is the program's mode word (`bpf drop` is "What mode is", W312). +// After the program, any word ends the loop: a second program word is +// left for parse_action (a control, or the next kind). Each program is +// loaded as parsed, its OPS_LEN and OPS written at once. +func (r *runner) parseBpf(ops *fops, args []string, tcaID uint16) ([]string, bool, error) { + args, err := r.nextArg(args) + if err != nil { + return nil, false, err + } + nest := ops.begin(maxMsg, tcaID) + seenRun := false +loop: + for len(args) > 0 { + switch { + case matches(args[0], "run"): + if args, err = r.nextArg(args); err != nil { + return nil, false, err + } + if seenRun { + return nil, false, r.duparg("run", args[0]) + } + case matches(args[0], helpWord): + r.bpfActExplain() + return nil, false, nil + case matches(args[0], "index"): + break loop + case seenRun: + break loop + } + seenRun = true // opt_bpf + var cfg bpfCfg + rest, ok, err := r.bpfDoParse(args, &cfg) + if err != nil || !ok { + return nil, false, err + } + if err := cfg.load(); err != nil { + return nil, false, err + } + ops.put(maxMsg, xtcpnl.TcaActBpfOpsLen, cfg.opsLen()) + ops.put(maxMsg, xtcpnl.TcaActBpfOps, cfg.opsBytes()) + args = rest[1:] // NEXT_ARG_FWD + } + var parm xtcpnl.TcGen + if args, parm.Action, err = r.parseActionControlDflt(args, tcActPipe); err != nil { + return nil, false, err + } + if len(args) > 0 && matches(args[0], "index") { + if args, err = r.nextArg(args); err != nil { + return nil, false, err + } + i, good := getU32(args[0], 10) + if !good { + r.errf("bpf: Illegal \"index\"\n") + return nil, false, nil + } + parm.Index = i + args = args[1:] + } + ops.put(maxMsg, xtcpnl.TcaActBpfParms, parm.Append(nil)) + ops.end(nest) + return args, true, nil +} diff --git a/internal/gotc/aw_bpf_test.go b/internal/gotc/aw_bpf_test.go new file mode 100644 index 000000000..f95ce4e35 --- /dev/null +++ b/internal/gotc/aw_bpf_test.go @@ -0,0 +1,402 @@ +//go:build gotc_write + +package gotc + +import ( + "bytes" + "encoding/binary" + "os" + "path/filepath" + "strconv" + "strings" + "testing" + + "github.com/randomizedcoder/xtcp2/pkg/xtcpnl" +) + +// The bpf action and filter write tests (23W). A row names a tcact2write +// capture: gotc runs its cmd against the capture's ip.pcap, every request +// is held to tc's byte for byte, and stdout, stderr and rc must be tc's, +// which the row's expected also pins. A row with no capture runs its words +// against a fake kernel (d0 at ifindex 2, then ACKs) and checks the first +// request's bpf attributes. + +// bwExpected is a row's outcome. +type bwExpected struct { + rc int + stderr string // exact, unless has is set + has string // a substring stderr holds + reqs int // fake rows: the requests sent + // check reads the last request sent (fake rows); nil skips. + check func(t *testing.T, req []byte) +} + +// bwCase is one row of a bpf write table. +type bwCase struct { + description string + row string // a tcact2write capture + args []string // else: the words after `tc` + file string // fake rows: bpf.txt in the working directory + expected bwExpected +} + +// runBwCases runs a table. +func runBwCases(t *testing.T, cases []bwCase) { + t.Helper() + for _, tc := range cases { + t.Run(tc.description, func(t *testing.T) { + var got result + var reqs [][]byte + if tc.row != "" { + got = bwReplayRow(t, tc.row) + } else { + if tc.file != "" { + t.Chdir(t.TempDir()) + if err := os.WriteFile("bpf.txt", []byte(tc.file), 0o600); err != nil { + t.Fatal(err) + } + } + src := &fakeSource{replies: []Reply{rep(linkMsg(2, "d0")), rep(ack()), rep(ack())}} + if tc.args[0] == "actions" { + src.replies = src.replies[1:] + } + var out, errb bytes.Buffer + rc := run(config{src: src, stdin: strings.NewReader(""), sys: emptySys(t)}, tc.args, &out, &errb) + got = result{stdout: out.String(), stderr: errb.String(), rc: rc} + reqs = src.reqs + if len(reqs) != tc.expected.reqs { + t.Errorf("%d requests sent, want %d", len(reqs), tc.expected.reqs) + } + } + e := tc.expected + if got.rc != e.rc { + t.Errorf("rc %d, want %d (stderr %q)", got.rc, e.rc, got.stderr) + } + switch { + case e.has != "" && !strings.Contains(got.stderr, e.has): + t.Errorf("stderr %q, want it to hold %q", got.stderr, e.has) + case e.has == "" && got.stderr != e.stderr: + t.Errorf("stderr\n got %q\n want %q", got.stderr, e.stderr) + } + if e.check != nil && len(reqs) > 0 { + e.check(t, reqs[len(reqs)-1]) + } + }) + } +} + +// bwReplayRow runs a tcact2write row's cmd against its capture and holds +// all of its outcome to tc's. +func bwReplayRow(t *testing.T, id string) result { + t.Helper() + dir, err := filepath.Abs(filepath.Join(tcact2writeDir, id)) + if err != nil { + t.Fatal(err) + } + c := readCmdJSON(t, dir) + pschedContent = readFile(t, pschedRow) + got, want := corpusRow(t, dir, c) + if got != want { + t.Errorf("%s\n got %#v\n want %#v", c.Cmd, got, want) + } + return got +} + +// bpfFilterOpts is a filter request's TCA_OPTIONS attributes. +func bpfFilterOpts(t *testing.T, req []byte) map[uint16][]byte { + t.Helper() + o, ok := rtAttrs(req[nlHeaderLen+xtcpnl.TcMsgSizeCst:])[xtcpnl.TcaOptions] + if !ok { + t.Fatalf("no TCA_OPTIONS in % x", req) + } + return rtAttrs(o) +} + +// bpfOpsCheck checks a request's OPS_LEN and OPS (absent when ops is +// nil), from the action's options or the filter's. +func bpfOpsCheck(filter bool, n uint16, ops []byte) func(*testing.T, []byte) { + return func(t *testing.T, req []byte) { + t.Helper() + lenT, opsT := xtcpnl.TcaActBpfOpsLen, xtcpnl.TcaActBpfOps + var m map[uint16][]byte + if filter { + lenT, opsT = xtcpnl.TcaBpfOpsLen, xtcpnl.TcaBpfOps + m = bpfFilterOpts(t, req) + } else { + m = firstActOpts(t, req) + } + if got := m[lenT]; !bytes.Equal(got, le16b(n)) { + t.Errorf("OPS_LEN % x, want % x", got, le16b(n)) + } + got, has := m[opsT] + switch { + case ops == nil && has: + t.Errorf("OPS sent (%d bytes), want none", len(got)) + case ops != nil && !bytes.Equal(got, ops): + t.Errorf("OPS % x, want % x", got, ops) + } + } +} + +// all2 runs each request check. +func all2(checks ...func(*testing.T, []byte)) func(*testing.T, []byte) { + return func(t *testing.T, req []byte) { + t.Helper() + for _, c := range checks { + c(t, req) + } + } +} + +// insns is n struct sock_filter. +func insns(xs ...xtcpnl.TcBpfInsn) []byte { + b := []byte{} + for _, x := range xs { + b = x.Append(b) + } + return b +} + +// bpfProgText is "n,6 0 0 0,…" with n return-0 instructions. +func bpfProgText(n int) string { + var b strings.Builder + b.WriteString(strconv.Itoa(n)) + for range n { + b.WriteString(",6 0 0 0") + } + return b.String() +} + +const bpfActParse = "bad action parsing\nparse_action: bad value (5:bpf)!\nIllegal \"action\"\n" + +// TestGotcBpfWrite is aw_bpf.go and fw_bpf.go. +// +// go test -tags gotc_write ./internal/gotc/ -run TestGotcBpfWrite +func TestGotcBpfWrite(t *testing.T) { + ret0 := xtcpnl.TcBpfInsn{Code: 6} + act := func(words ...string) []string { + return append([]string{"actions", "add", "action", "bpf"}, words...) + } + flt := func(words ...string) []string { + return append([]string{"filter", "add", "dev", "d0", "ingress", "pref", "1", "protocol", "ip", "handle", "1", "bpf"}, words...) + } + runBwCases(t, []bwCase{ + {"positive: bytecode sends OPS_LEN, OPS and PARMS (ec-213)", "ec-213", nil, "", bwExpected{}}, + {"positive: bytecode's OPS is each sock_filter in host order", "", act("bytecode", "4,40 0 0 12,21 0 1 2048,6 0 0 262144,6 0 0 0", "index", "1"), "", + bwExpected{reqs: 1, check: bpfOpsCheck(false, 4, insns( + xtcpnl.TcBpfInsn{Code: 40, K: 12}, xtcpnl.TcBpfInsn{Code: 21, Jf: 1, K: 2048}, + xtcpnl.TcBpfInsn{Code: 6, K: 262144}, ret0))}}, + {"positive: bytecode-file, newlines become commas (ec-218)", "ec-218", nil, "", bwExpected{}}, + {"positive: bytecode-file collapses blanks and a blank line (ec-220)", "ec-220", nil, "", bwExpected{}}, + {"positive: bytecode-file reads the working directory", "", act("bytecode-file", "bpf.txt", "index", "1"), "2,\t6 0 0 0\n\n6 0 0 1\n", + bwExpected{reqs: 1, check: bpfOpsCheck(false, 2, insns(ret0, xtcpnl.TcBpfInsn{Code: 6, K: 1}))}}, + {"positive: filter with classid, da and an action, in tc's order (ec-253, W317)", "ec-253", nil, "", bwExpected{}}, + {"positive: filter with police (ec-242)", "ec-242", nil, "", bwExpected{}}, + {"positive: filter da skip_hw sends FLAGS_GEN then FLAGS after OPS (ec-240)", "ec-240", nil, "", bwExpected{}}, + {"positive: filter's program loads after the loop: OPS follows CLASSID", "", flt("bytecode", "1,6 0 0 0", "classid", "1:1"), "", + bwExpected{reqs: 2, check: func(t *testing.T, req []byte) { + t.Helper() + o := rtAttrs(req[nlHeaderLen+xtcpnl.TcMsgSizeCst:])[xtcpnl.TcaOptions] + if len(o) < 4 || binary.LittleEndian.Uint16(o[2:4]) != xtcpnl.TcaBpfClassid { + t.Errorf("first option % x, want CLASSID", o) + } + bpfOpsCheck(true, 1, insns(ret0))(t, req) + }}}, + {"negative: an object file is refused by name", "", act("object-file", "x.o", "index", "1"), "", + bwExpected{rc: 255, stderr: "gotc: not implemented: eBPF program via bpf(2)\n"}}, + {"negative: a pinned program (`p`) is refused by name", "", act("p", "/sys/fs/bpf/x", "index", "1"), "", + bwExpected{rc: 255, stderr: "gotc: not implemented: eBPF program via bpf(2)\n"}}, + {"negative: a filter's object file is refused after the loop, so a bad classid comes first", "", flt("object-file", "x.o", "classid", "zz"), "", + bwExpected{rc: 1, reqs: 1, stderr: "Illegal \"classid\"\n"}}, + {"negative: an eBPF option that is incomplete exits before bpf(2)", "", act("obj", "x.o", "section"), "", + bwExpected{rc: 255, stderr: "Command line is not complete. Try option \"help\"\n"}}, + {"negative: every eBPF option word is read before the refusal", "", act("object-file", "x.o", "section", "s", "program", "p", "export", "u", "verbose", "index", "1"), "", + bwExpected{rc: 255, stderr: "gotc: not implemented: eBPF program via bpf(2)\n"}}, + {"negative: a pinned program's incomplete program word exits before bpf(2)", "", act("pinned", "x", "program"), "", + bwExpected{rc: 255, stderr: "Command line is not complete. Try option \"help\"\n"}}, + {"negative: a blank before the header's comma fails with no message (ng-124, W308)", "ng-124", nil, "", + bwExpected{rc: 255, stderr: bpfActParse}}, + {"negative: a trailing comma and blank is one instruction too many (ng-127, W310)", "ng-127", nil, "", + bwExpected{rc: 255, stderr: "Real program length exceeds encoded length parameter!\n" + bpfActParse}}, + {"negative: a hex code is no %hu (ng-126, W309)", "ng-126", nil, "", + bwExpected{rc: 255, stderr: "Error at instruction 0!\n" + bpfActParse}}, + {"negative: a missing file is fopen's perror", "", act("bytecode-file", "nosuch.txt", "index", "1"), "", + bwExpected{rc: 255, stderr: "Cannot fopen: No such file or directory\n" + bpfActParse}}, + {"negative: a directory reads as E2BIG, with no message (ng-131, W311)", "ng-131", nil, "", + bwExpected{rc: 255, stderr: bpfActParse}}, + {"negative: a filter's bad text is Unable to parse", "", flt("bytecode", "1,6 0 0"), "", + bwExpected{rc: 1, reqs: 1, stderr: "Error at instruction 0!\nUnable to parse bpf command line\n"}}, + {"negative: a filter's second program word is What is", "", flt("bc", "1,6 0 0 0", "bc", "1,6 0 0 0"), "", + bwExpected{rc: 1, reqs: 1, has: "What is \"bc\"?\nUsage: ... bpf ...\n"}}, + {"negative: a second run is duparg", "", act("run", "bc", "1,6 0 0 0", "run", "bc", "x"), "", + bwExpected{rc: 255, stderr: "Error: duplicate \"run\": \"bc\" is the second value.\n"}}, + {"boundary: 2038 instructions fit a standalone action (ec-222)", "ec-222", nil, "", bwExpected{}}, + {"boundary: at 2039 PARMS is past 16384 and dropped (ng-120, W307)", "ng-120", nil, "", + bwExpected{rc: 255, has: "addattr_l ERROR: message exceeded bound of 16384\nRTNETLINK answers: Invalid argument\n"}}, + {"boundary: 2041 still sends OPS and drops PARMS (ng-121)", "ng-121", nil, "", + bwExpected{rc: 255, has: "addattr_l ERROR: message exceeded bound of 16384\n"}}, + {"boundary: at 2042 OPS is dropped: OPS_LEN without OPS (ng-122, W307)", "ng-122", nil, "", + bwExpected{rc: 255, has: "addattr_l ERROR: message exceeded bound of 16384\n"}}, + {"boundary: 2039 instructions send OPS whole and no PARMS", "", act("bytecode", bpfProgText(2039), "index", "1"), "", + bwExpected{reqs: 1, stderr: "addattr_l ERROR: message exceeded bound of 16384\n", check: all2( + bpfOpsCheck(false, 2039, bytes.Repeat(insns(xtcpnl.TcBpfInsn{Code: 6}), 2039)), + func(t *testing.T, req []byte) { + t.Helper() + if _, has := firstActOpts(t, req)[xtcpnl.TcaActBpfParms]; has { + t.Error("PARMS sent, want none") + } + })}}, + {"boundary: 2042 instructions send OPS_LEN 2042 and no OPS", "", act("bytecode", bpfProgText(2042), "index", "1"), "", + bwExpected{reqs: 1, stderr: "addattr_l ERROR: message exceeded bound of 16384\n", check: bpfOpsCheck(false, 2042, nil)}}, + {"boundary: 4097 instructions pass BPF_MAXINSNS, with no message (ng-123)", "ng-123", nil, "", + bwExpected{rc: 255, stderr: bpfActParse}}, + {"boundary: 65537 in the header wraps to 1 (ec-223, W308)", "ec-223", nil, "", bwExpected{}}, + {"boundary: 65537 sends a one-instruction program", "", act("bytecode", "65537,6 0 0 0", "index", "1"), "", + bwExpected{reqs: 1, check: bpfOpsCheck(false, 1, insns(ret0))}}, + {"corner: junk after k is never read (ec-224, W309)", "ec-224", nil, "", bwExpected{}}, + {"corner: 0xffff after k is k 0", "", act("bytecode", "1,6 0 0 0xffff", "index", "1"), "", + bwExpected{reqs: 1, check: bpfOpsCheck(false, 1, insns(ret0))}}, + {"corner: each field wraps to its width (ec-225)", "ec-225", nil, "", bwExpected{}}, + {"corner: no program word sends OPS_LEN 0 and an empty OPS (ng-145, W315)", "ng-145", nil, "", + bwExpected{rc: 2, stderr: "RTNETLINK answers: Invalid argument\n" + talkErr}}, + {"corner: no program word, as attributes", "", flt("classid", "1:1"), "", + bwExpected{reqs: 2, check: bpfOpsCheck(true, 0, []byte{})}}, + {"corner: a bare filter kind sends no OPTIONS (ng-146, W316)", "ng-146", nil, "", + bwExpected{rc: 2, stderr: "RTNETLINK answers: Invalid argument\n" + talkErr}}, + {"corner: index first sends PARMS alone (ng-135, W312)", "ng-135", nil, "", + bwExpected{rc: 255, stderr: "RTNETLINK answers: Invalid argument\n" + talkErr}}, + {"corner: `s` is skip_hw and `f` flowid in a filter (ec-254, W318)", "ec-254", nil, "", bwExpected{}}, + {"corner: a control after the program ends the loop (ec-216)", "ec-216", nil, "", bwExpected{}}, + {"corner: `bpf drop` is a mode word (ng-134, W312)", "ng-134", nil, "", + bwExpected{rc: 255, stderr: "What mode is \"drop\"?\nbad action parsing\nparse_action: bad value (2:bpf)!\nIllegal \"action\"\n"}}, + {"corner: a bare kind is incomplete (ng-136, W313)", "ng-136", nil, "", + bwExpected{rc: 255, stderr: "Command line is not complete. Try option \"help\"\n"}}, + {"corner: a bytecode-file batch (ec-258)", "ec-258", nil, "", bwExpected{}}, + }) +} + +// TestCbpfParseOps is bpf_ops_parse and bpf_parse_string. +// +// go test -tags gotc_write ./internal/gotc/ -run TestCbpfParseOps +func TestCbpfParseOps(t *testing.T) { + type expected struct { + n int // instructions; -1 for failure + first xtcpnl.TcBpfInsn // the first, when n > 0 + last *xtcpnl.TcBpfInsn // the last, when set + stderr string + } + ret0 := xtcpnl.TcBpfInsn{Code: 6} + k1 := xtcpnl.TcBpfInsn{Code: 6, K: 1} + tests := []struct { + description string + arg string + file *string // fromFile: the file's content (nil: text) + expected expected + }{ + {"positive: one instruction", "1,6 0 0 0", nil, expected{n: 1, first: ret0}}, + {"positive: four fields each", "2,40 1 2 12,6 0 0 1", nil, expected{n: 2, first: xtcpnl.TcBpfInsn{Code: 40, Jt: 1, Jf: 2, K: 12}, last: &k1}}, + {"positive: a trailing comma ends the program", "1,6 0 0 0,", nil, expected{n: 1, first: ret0}}, + {"positive: a file's newlines and blanks", "bpf.txt", ptr("2\n6\t\t0 0 0\n\n6 0 0 1\n"), expected{n: 2, first: ret0, last: &k1}}, + {"negative: a blank before the header's comma", "4 ,6 0 0 0", nil, expected{n: -1}}, + {"negative: no header comma", "1", nil, expected{n: -1}}, + {"negative: one instruction too many", "1,6 0 0 0,6 0 0 0", nil, expected{n: -1, stderr: "Real program length exceeds encoded length parameter!\n"}}, + {"negative: a trailing comma and blank", "1,6 0 0 0, ", nil, expected{n: -1, stderr: "Real program length exceeds encoded length parameter!\n"}}, + {"negative: too few", "2,6 0 0 0", nil, expected{n: -1, stderr: "Parsed program length is less than encoded length parameter!\n"}}, + {"negative: three fields", "1,6 0 0", nil, expected{n: -1, stderr: "Error at instruction 0!\n"}}, + {"negative: a hex code", "1,0x6 0 0 0", nil, expected{n: -1, stderr: "Error at instruction 0!\n"}}, + {"negative: a missing file", "nosuch.txt", nil, expected{n: -1}}, + {"negative: a leading blank line", "bpf.txt", ptr("\n1\n6 0 0 0\n"), expected{n: -1}}, + {"negative: CRLF", "bpf.txt", ptr("1\r\n6 0 0 0\r\n"), expected{n: -1}}, + {"boundary: a zero length", "0,6 0 0 0", nil, expected{n: -1}}, + {"boundary: BPF_MAXINSNS", bpfProgText(4096), nil, expected{n: 4096, first: ret0}}, + {"boundary: past BPF_MAXINSNS", bpfProgText(4097), nil, expected{n: -1}}, + {"boundary: 65536 wraps to 0", "65536,6 0 0 0", nil, expected{n: -1}}, + {"boundary: 65537 wraps to 1", "65537,6 0 0 0", nil, expected{n: 1, first: ret0}}, + {"corner: junk after k", "1,6 0 0 0xffff", nil, expected{n: 1, first: ret0}}, + {"corner: each field wraps", "1,65542 256 257 4294967297", nil, expected{n: 1, first: xtcpnl.TcBpfInsn{Code: 6, Jf: 1, K: 1}}}, + {"corner: a minus negates modulo the width", "1,-1 -1 0 -1", nil, expected{n: 1, first: xtcpnl.TcBpfInsn{Code: 0xffff, Jt: 0xff, K: 0xffffffff}}}, + {"corner: a NUL in a file ends the text", "bpf.txt", ptr("1,6 0 0 0\x00,6 0 0 0\n"), expected{n: 1, first: ret0}}, + {"corner: a file that fills the buffer is E2BIG", "bpf.txt", ptr(strings.Repeat("x", bpfFileBuf)), expected{n: -1}}, + } + for _, tc := range tests { + t.Run(tc.description, func(t *testing.T) { + fromFile := tc.file != nil || tc.arg == "nosuch.txt" + if fromFile { + t.Chdir(t.TempDir()) + } + if tc.file != nil { + if err := os.WriteFile(tc.arg, []byte(*tc.file), 0o600); err != nil { + t.Fatal(err) + } + } + var errb bytes.Buffer + r := &runner{stderr: &errb} + got, ok := r.bpfOpsParse(tc.arg, fromFile) + e := tc.expected + stderr := e.stderr + if tc.arg == "nosuch.txt" { + stderr = "Cannot fopen: No such file or directory\n" + } + n := len(got) + if !ok { + n = -1 + } + if n != e.n || errb.String() != stderr { + t.Fatalf("got %d insns, stderr %q; want %d, %q", n, errb.String(), e.n, stderr) + } + if n > 0 && got[0] != e.first { + t.Errorf("first %+v, want %+v", got[0], e.first) + } + if e.last != nil && got[n-1] != *e.last { + t.Errorf("last %+v, want %+v", got[n-1], *e.last) + } + }) + } +} + +// FuzzCbpfParseOps drives bpf_ops_parse with text, or (fromFile) a file of +// it. A parse must not panic, a program must hold 1 to BPF_MAXINSNS +// instructions, its own message is at most one line, and a file's text +// reduced without a newline or blank run parses as the text does. +// +// go test -tags gotc_write ./internal/gotc/ -run '^$' -fuzz FuzzCbpfParseOps -fuzztime 60s +func FuzzCbpfParseOps(f *testing.F) { + for _, s := range []string{ + "1,6 0 0 0", "4,40 0 0 12,21 0 1 2048,6 0 0 262144,6 0 0 0", "1,6 0 0 0,", "1,6 0 0 0, ", + "65537,6 0 0 0", "1,6 0 0 0xffff", "4 ,6 0 0 0", "2,6 0 0 0", "1,0x6 0 0 0", "0,", "1,-1 +2 3 4", + "2\n6 0 0 0\n6 0 0 1\n", "\n1\n6 0 0 0", "1\r\n6 0 0 0\r\n", "1,6\t0 0 0", + } { + f.Add(s, false) + f.Add(s, true) + } + dir := f.TempDir() + f.Fuzz(func(t *testing.T, s string, fromFile bool) { + if len(s) > 2*bpfFileBuf { + t.Skip() + } + arg := s + if fromFile { + arg = filepath.Join(dir, "bpf.txt") + if err := os.WriteFile(arg, []byte(s), 0o600); err != nil { + t.Fatal(err) + } + } + var errb bytes.Buffer + r := &runner{stderr: &errb} + got, ok := r.bpfOpsParse(arg, fromFile) + if ok && (len(got) == 0 || len(got) > bpfMaxInsns) { + t.Fatalf("%q: %d instructions", s, len(got)) + } + if strings.Count(errb.String(), "\n") > 1 { + t.Fatalf("%q: stderr %q", s, errb.String()) + } + if fromFile && !strings.ContainsAny(s, "\n\x00") && !strings.Contains(s, " ") && !strings.ContainsAny(s, "\t") { + var e2 bytes.Buffer + r2 := &runner{stderr: &e2} + want, wok := r2.bpfOpsParse(s, false) + if len(s) < bpfFileBuf && (wok != ok || len(want) != len(got) || e2.String() != errb.String()) { + t.Fatalf("%q: file %v %d %q, text %v %d %q", s, ok, len(got), errb.String(), wok, len(want), e2.String()) + } + } + }) +} diff --git a/internal/gotc/aw_test.go b/internal/gotc/aw_test.go index 7fe412209..4b5c4b949 100644 --- a/internal/gotc/aw_test.go +++ b/internal/gotc/aw_test.go @@ -240,11 +240,12 @@ func TestGotcActParsers(t *testing.T) { cases = append(cases, awCase{"positive: matchall carries " + r.kind, r.row, nil, awExpected{}}) } for _, r := range []struct{ kind, row string }{ - {"pedit", "ec-217"}, {"tunnel_key", "ec-218"}, {"ife", "ec-219"}, {"ct", "ec-220"}, {"gate", "ec-221"}, {"bpf", "ec-222"}, + {"pedit", "ec-217"}, {"tunnel_key", "ec-218"}, {"ife", "ec-219"}, {"ct", "ec-220"}, {"gate", "ec-221"}, } { cases = append(cases, awCase{"negative: increment 23's " + r.kind + " is refused by name", "", []string{r.kind, "index", "1"}, awExpected{rc: 255, stderr: "gotc: not implemented: tc actions action kind " + r.kind + "\n"}}) } + cases = append(cases, awCase{"positive: increment 23's bpf is sent as tc sends it", "ec-222", nil, awExpected{}}) cases = append(cases, awCase{"boundary: an unlinked name falls back to gact, which reads it as a control (W114)", "", []string{"nosuchkind", "drop"}, awExpected{rc: 255, stderr: "Bad action type nosuchkind\n" + gactExplainText}}, diff --git a/internal/gotc/awrite_fuzz_test.go b/internal/gotc/awrite_fuzz_test.go index ada6acc9d..a76ab5110 100644 --- a/internal/gotc/awrite_fuzz_test.go +++ b/internal/gotc/awrite_fuzz_test.go @@ -36,6 +36,16 @@ var awFuzzSeeds = []string{ "actions add action get", "actions add action drop flowid 1:1", "actions add action gact pass index 1 skip_sw skip_hw no_percpu hw_stats d", + "actions add action bpf bytecode 1,6\t0\t0\t0 index 1", + "actions replace action bpf run bc 4,40\t0\t0\t12,21\t0\t1\t2048,6\t0\t0\t262144,6\t0\t0\t0 drop index 2", + "actions add action bpf index 5 action bpf drop", +} + +// bpfFuzzDevice is an input whose bytecode-file could name a device or a +// FIFO (bpf_parse_string reads it to EOF, as tc would, and stdin or a tty +// never ends): such inputs are skipped, as the fuzzer cannot finish them. +func bpfFuzzDevice(s string) bool { + return strings.Contains(s, "dev/") || strings.Contains(s, "proc/") || strings.Contains(s, "sys/") } // FuzzGotcActionWrite runs `tc ` through do_action's write verbs @@ -50,7 +60,7 @@ func FuzzGotcActionWrite(f *testing.F) { } sys := shareSys(f) f.Fuzz(func(t *testing.T, s string) { - if len(s) > fuzzFilterMaxIn { + if len(s) > fuzzFilterMaxIn || bpfFuzzDevice(s) { t.Skip() } src := &fakeSource{replies: []Reply{rep(linkMsg(2, "d0")), rep(ack()), rep(ack()), rep(ack())}} @@ -76,7 +86,7 @@ func FuzzGotcActionBatch(f *testing.F) { } sys := shareSys(f) f.Fuzz(func(t *testing.T, a, b string) { - if len(a)+len(b) > fuzzFilterMaxIn || strings.ContainsAny(a+b, "\n") { + if len(a)+len(b) > fuzzFilterMaxIn || strings.ContainsAny(a+b, "\n") || bpfFuzzDevice(a+b) { t.Skip() } stdin := a + "\n" + b + "\n" diff --git a/internal/gotc/cbpf.go b/internal/gotc/cbpf.go new file mode 100644 index 000000000..225b49575 --- /dev/null +++ b/internal/gotc/cbpf.go @@ -0,0 +1,287 @@ +//go:build gotc_write + +package gotc + +import ( + "bufio" + "encoding/binary" + "errors" + "fmt" + "io" + "math" + "os" + "strings" + + "github.com/randomizedcoder/xtcp2/pkg/cint" + "github.com/randomizedcoder/xtcp2/pkg/xtcpnl" +) + +// lib/bpf_legacy.c's parse side at iproute2 v7.2.0, shared by m_bpf.c and +// f_bpf.c: bpf_do_parse's mode words, bpf_ops_parse and bpf_parse_string +// (the bytecode text and the bytecode-file reader). cBPF only: an eBPF +// program reaches bpf(2), libbpf or the ELF loader, and gotc refuses it by +// name where tc would first touch them. + +// bpfMode is enum bpf_mode; a zeroed bpf_cfg_in is cbpfBytecode. +type bpfMode int + +// The bpf_mode values. +const ( + cbpfBytecode bpfMode = iota + cbpfFile + ebpfObject + ebpfPinned +) + +// bpfMaxInsns is BPF_MAXINSNS. +const bpfMaxInsns = 4096 + +// bpfFileBuf is bpf_parse_string's buffer, sizeof("4096,") + BPF_MAXINSNS +// * sizeof("65535 255 255 4294967295,"): a file whose reduced text fills it +// is -E2BIG. +const bpfFileBuf = len("4096,") + 1 + bpfMaxInsns*(len("65535 255 255 4294967295,")+1) + +// errEbpf is gotc's refusal of an eBPF program. +var errEbpf = fmt.Errorf("%w: eBPF program via bpf(2)", errNotImplemented) + +// bpfCfg is what bpf_cfg_in carries from the parse to the load. +type bpfCfg struct { + mode bpfMode + insns []xtcpnl.TcBpfInsn // opcodes[:n_opcodes] +} + +// opsLen is n_opcodes, a u16 attribute (at most BPF_MAXINSNS). +func (c *bpfCfg) opsLen() []byte { + n, _ := cint.U16(len(c.insns)) + return binary.LittleEndian.AppendUint16(nil, n) +} + +// opsBytes is the opcodes, struct sock_filter each. +func (c *bpfCfg) opsBytes() []byte { + b := make([]byte, 0, len(c.insns)*xtcpnl.TcBpfInsnSizeCst) + for _, x := range c.insns { + b = x.Append(b) + } + return b +} + +// load is bpf_load_common's bpf_do_load: an object file is the ELF loader +// and bpf(2), refused; a cBPF program is then cbpf_cb, which the caller +// writes. +func (c *bpfCfg) load() error { + if c.mode == ebpfObject { + return errEbpf + } + return nil +} + +// bpfDoParse is bpf_do_parse with both callers' opt_tbl (cbpf_cb and +// ebpf_cb set) and a prog type that is not BPF_PROG_TYPE_UNSPEC, so no +// `type` word is read; both types may export to a UDS. args starts at the +// mode word. rest is cfg->argv, the last word it took; ok false is its +// negative return, after any message of its own. A pinned program is +// bpf_obj_pinned's bpf(2), refused. +func (r *runner) bpfDoParse(args []string, cfg *bpfCfg) (rest []string, ok bool, err error) { + w := args[0] + switch { + case matches(w, "bytecode") || w == "bc": + cfg.mode = cbpfBytecode + case matches(w, "bytecode-file") || w == "bcf": + cfg.mode = cbpfFile + case matches(w, "object-file") || w == "obj": + cfg.mode = ebpfObject + case matches(w, "object-pinned") || matches(w, "pinned") || matches(w, "fd"): + cfg.mode = ebpfPinned + default: + r.errf("What mode is \"%s\"?\n", w) + return nil, false, nil + } + if args, err = r.nextArg(args); err != nil { + return nil, false, err + } + if cfg.mode == ebpfObject || cfg.mode == ebpfPinned { + if args, err = r.bpfEbpfWords(args); err != nil { + return nil, false, err + } + if cfg.mode == ebpfPinned { + return nil, false, errEbpf + } + return args, true, nil + } + insns, good := r.bpfOpsParse(args[0], cfg.mode == cbpfFile) + if !good { + return nil, false, nil + } + cfg.insns = insns + return args, true, nil +} + +// bpfEbpfWords is bpf_do_parse's eBPF arm after NEXT_ARG: FILE, then +// section, program, export (unless $TC_BPF_UDS is set) and verbose, each +// optional and in that order, then PREV_ARG. args starts at FILE; the +// result is the last word taken. +func (r *runner) bpfEbpfWords(args []string) ([]string, error) { + i := 1 // NEXT_ARG_FWD past FILE + var err error + opt := func(match bool) error { + if !match { + return nil + } + if _, err = r.nextArg(args[i:]); err != nil { + return err + } + i += 2 + return nil + } + if err = opt(i < len(args) && matches(args[i], "section")); err != nil { + return nil, err + } + if err = opt(i < len(args) && args[i] == "program"); err != nil { + return nil, err + } + _, uds := os.LookupEnv("TC_BPF_UDS") + if err = opt(i < len(args) && !uds && matches(args[i], "export")); err != nil { + return nil, err + } + if i < len(args) && matches(args[i], "verbose") { + i++ + } + return args[i-1:], nil // PREV_ARG +} + +// bpfOpsParse is bpf_ops_parse on arg, the text or (fromFile) its file: +// the program, or false after any message of its own (bpf_len 0 or past +// BPF_MAXINSNS and a bad header are silent, W308). +func (r *runner) bpfOpsParse(arg string, fromFile bool) ([]xtcpnl.TcBpfInsn, bool) { + s := cstr(arg) + if fromFile { + var ok bool + if s, ok = r.bpfReadFile(s); !ok { + return nil, false + } + } + n, rest, ok := scanfU16(s) // "%hu%c" + if !ok || rest == "" || rest[0] != ',' { + return nil, false + } + if n == 0 || n > bpfMaxInsns { + return nil, false + } + insns := make([]xtcpnl.TcBpfInsn, 0, n) + tok := s + for { + c := strings.IndexByte(tok, ',') + if c < 0 || c+1 == len(tok) { + break + } + tok = tok[c+1:] + if len(insns) >= int(n) { + r.errf("Real program length exceeds encoded length parameter!\n") + return nil, false + } + x, good := scanfInsn(tok) + if !good { + r.errf("Error at instruction %d!\n", len(insns)) + return nil, false + } + insns = append(insns, x) + } + if len(insns) != int(n) { + r.errf("Parsed program length is less than encoded length parameter!\n") + return nil, false + } + return insns, true +} + +// scanfInsn is sscanf(tok, "%hu %hhu %hhu %u,") == 4: what follows k is +// never looked at (W309), and each field wraps to its width. +func scanfInsn(tok string) (xtcpnl.TcBpfInsn, bool) { + var x xtcpnl.TcBpfInsn + var ok bool + if x.Code, tok, ok = scanfU16(tok); !ok { + return x, false + } + if x.Jt, tok, ok = scanfU8(tok); !ok { + return x, false + } + if x.Jf, tok, ok = scanfU8(tok); !ok { + return x, false + } + x.K, _, ok = scanfU32(tok) + return x, ok +} + +// scanfU32 is one glibc scanf %u conversion: leading space, a sign, then +// decimal digits as strtoul reads them (a minus negates, overflow is +// ULONG_MAX), cut to 32 bits; ok is false when no digit was read. +func scanfU32(s string) (uint32, string, bool) { + v, rest, ok := strtoul(s, 10) + return cint.Low32(v), rest, ok +} + +// scanfU16 is scanfU32 for %hu: the low 16 bits. +func scanfU16(s string) (uint16, string, bool) { + v, rest, ok := strtoul(s, 10) + n, _ := cint.U16From64(v & math.MaxUint16) + return n, rest, ok +} + +// scanfU8 is scanfU32 for %hhu: the low 8 bits. +func scanfU8(s string) (uint8, string, bool) { + v, rest, ok := strtoul(s, 10) + n, _ := cint.U8From64(v & math.MaxUint8) + return n, rest, ok +} + +// bpfReadFile is bpf_parse_string's from_file arm: fopen and its perror, +// then the text with each newline a comma (one after a comma is dropped) +// and each run of blanks its first, up to the first NUL as sscanf sees it. +// A read error (a directory) or a reduced text that fills the buffer is +// -E2BIG, with no message (W311). +func (r *runner) bpfReadFile(name string) (string, bool) { + f, err := os.Open(name) + if err != nil { + r.errf("Cannot fopen: %s\n", strerror(errnoOf(err))) + return "", false + } + defer func() { + if cerr := f.Close(); cerr != nil && r.errOut == nil { + r.errOut = cerr + } + }() + return bpfReduce(bufio.NewReader(f)) +} + +// bpfReduce is bpf_parse_string's fgetc loop over br. +func bpfReduce(br io.ByteReader) (string, bool) { + var b strings.Builder + prev := byte(' ') + for { + c, err := br.ReadByte() + if errors.Is(err, io.EOF) { + break + } + if err != nil { + return "", false // !feof: the read failed + } + switch c { + case '\n': + if prev != ',' { + b.WriteByte(',') + } + prev = ',' + case ' ', '\t': + if prev != ' ' { + b.WriteByte(c) + } + prev = ' ' + default: + b.WriteByte(c) + prev = c + } + if b.Len() == bpfFileBuf { + return "", false // the loop breaks before EOF: !feof + } + } + return cstr(b.String()), true +} diff --git a/internal/gotc/fw_bpf.go b/internal/gotc/fw_bpf.go new file mode 100644 index 000000000..524e9e303 --- /dev/null +++ b/internal/gotc/fw_bpf.go @@ -0,0 +1,158 @@ +//go:build gotc_write + +package gotc + +import ( + "github.com/randomizedcoder/xtcp2/pkg/xtcpnl" +) + +// tc/f_bpf.c bpf_parse_opt at iproute2 v7.2.0. + +// bpfFoptExplain is f_bpf.c explain, with bpf_prog_to_default_section of +// BPF_PROG_TYPE_SCHED_CLS. +func (r *runner) bpfFoptExplain() { + r.errf("%s", "Usage: ... bpf ...\n"+ + "\n"+ + "BPF use case:\n"+ + " bytecode BPF_BYTECODE\n"+ + " bytecode-file FILE\n"+ + "\n"+ + "eBPF use case:\n"+ + " object-file FILE [ section CLS_NAME ] [ export UDS_FILE ] [ verbose ] [ direct-action ] [ skip_hw | skip_sw ]\n"+ + " object-pinned FILE [ direct-action ] [ skip_hw | skip_sw ]\n"+ + "\n"+ + "Common remaining options:\n"+ + " [ action ACTION_SPEC ]\n"+ + " [ classid CLASSID ]\n"+ + "\n"+ + "Where BPF_BYTECODE := 's,c t f k,c t f k,c t f k,...'\n"+ + "c,t,f,k and s are decimals; s denotes number of 4-tuples\n"+ + "\n"+ + "Where FILE points to a file containing the BPF_BYTECODE string,\n"+ + "an ELF file containing eBPF map definitions and bytecode, or a\n"+ + "pinned eBPF program.\n"+ + "\n"+ + "Where CLS_NAME refers to the section name containing the\n"+ + "classifier (default 'classifier').\n"+ + "\n"+ + "Where UDS_FILE points to a unix domain socket file in order\n"+ + "to hand off control of all created eBPF maps to an agent.\n"+ + "\n"+ + "ACTION_SPEC := ... look at individual actions\n"+ + "NOTE: CLASSID is parsed as hexadecimal input.\n") +} + +// parseBpfFopt is f_bpf.c bpf_parse_opt. No words send no TCA_OPTIONS +// (W316); the program is parsed in the loop but loaded after it, so +// OPS_LEN and OPS follow CLASSID, ACT and POLICE in command order, then +// FLAGS_GEN and FLAGS (W317), and with no program word the zeroed cfg is +// an empty bytecode: OPS_LEN 0 and an empty OPS (W315). The prefixes are +// the loop's order: `s` is skip_hw, `f` flowid, `p` police (W318). An +// object file is refused after the whole loop, where tc loads it. +func parseBpfFopt(r *runner, m *fmod) error { + if m.a.hasHandle { + v, ok := getU32(m.handle, 0) + if !ok { + r.errf("Illegal \"handle\"\n") + return errKindParse + } + m.w.Handle = v + } + args := m.rest + if len(args) == 0 { + return nil + } + tail := m.ops.begin(maxMsg, xtcpnl.TcaOptions) + var cfg bpfCfg + var genFlags, flags uint32 + seenRun := false + for len(args) > 0 { + a := args[0] + var err error + prog := false + switch { + case matches(a, "run"): + if args, err = r.nextArg(args); err != nil { + return err + } + if seenRun { + return r.duparg("run", args[0]) + } + prog = true + case matches(a, wordClassid) || matches(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.TcaBpfClassid, c) + case matches(a, "direct-action") || matches(a, "da"): + flags |= xtcpnl.TcaBpfFlagActDirect + case matches(a, wordSkipHw): + genFlags |= xtcpnl.TcaClsFlagsSkipHw + case matches(a, wordSkipSw): + genFlags |= xtcpnl.TcaClsFlagsSkipSw + case matches(a, wordAction): + v, err := r.nextArg(args) + if err != nil { + return err + } + rest, ok, err := r.parseAction(m, v, xtcpnl.TcaBpfAct) + if err != nil { + return err + } + if !ok { + r.errf("Illegal \"action\"\n") + return errKindParse + } + args = rest + continue + case matches(a, "police"): + rest, err := r.policeArm(m, args, xtcpnl.TcaBpfPolice) + if err != nil { + return err + } + args = rest + continue + case matches(a, helpWord): + r.bpfFoptExplain() + return errKindParse + default: + if seenRun { + r.errf("What is \"%s\"?\n", a) + r.bpfFoptExplain() + return errKindParse + } + prog = true + } + if prog { // opt_bpf + seenRun = true + rest, ok, err := r.bpfDoParse(args, &cfg) + if err != nil { + return err + } + if !ok { + r.errf("Unable to parse bpf command line\n") + return errKindParse + } + args = rest + } + args = args[1:] // NEXT_ARG_FWD + } + if err := cfg.load(); err != nil { + return err + } + m.ops.put(maxMsg, xtcpnl.TcaBpfOpsLen, cfg.opsLen()) + m.ops.put(maxMsg, xtcpnl.TcaBpfOps, cfg.opsBytes()) + if genFlags != 0 { + m.ops.u32(maxMsg, xtcpnl.TcaBpfFlagsGen, genFlags) + } + if flags != 0 { + m.ops.u32(maxMsg, xtcpnl.TcaBpfFlags, flags) + } + m.ops.end(tail) + return nil +} diff --git a/internal/gotc/fwrite.go b/internal/gotc/fwrite.go index 68c2c2164..c115bab0f 100644 --- a/internal/gotc/fwrite.go +++ b/internal/gotc/fwrite.go @@ -185,6 +185,7 @@ var foptParsers = map[string]foptParser{ xtcpnl.TcFKindRoute: parseRouteFopt, xtcpnl.TcFKindFlow: parseFlowFopt, xtcpnl.TcFKindMatchall: parseMatchallFopt, + xtcpnl.TcFKindBpf: parseBpfFopt, } // parseFoptWrite is q->parse_fopt(q, fhandle, argc, argv, &req.n): a kind diff --git a/internal/gotc/fwrite_fuzz_test.go b/internal/gotc/fwrite_fuzz_test.go index d8557669e..24d80c5d4 100644 --- a/internal/gotc/fwrite_fuzz_test.go +++ b/internal/gotc/fwrite_fuzz_test.go @@ -65,12 +65,16 @@ func FuzzGotcFilterWrite(f *testing.F) { "filter add dev d0 parent 1: basic police rate 1mbit burst 10k mtu 255 conform-exceed drop/pipe classid 1:1", "filter add dev d0 parent 1: handle 1 fw police pkts_rate 1000 pkts_burst 100 action drop", "filter add dev d0 parent 1: route to 5 police rate 1mbit burst 10k/x", + "filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode 1,6\t0\t0\t0 classid 1:1 da skip_hw action gact pass", + "filter add dev d0 ingress bpf run bc 65537,6\t0\t0\t0xffff s f 1:2 police rate 1mbit burst 10k drop", + "filter replace dev d0 ingress bpf classid 1:1", + "filter add dev d0 ingress matchall action bpf bytecode 2,6\t0\t0\t0,6\t0\t0\t1 drop index 1", } { f.Add(s) } sys := shareSys(f) f.Fuzz(func(t *testing.T, s string) { - if len(s) > fuzzFilterMaxIn { + if len(s) > fuzzFilterMaxIn || bpfFuzzDevice(s) { t.Skip() } src := &fakeSource{replies: []Reply{rep(linkMsg(2, "d0")), rep(ack()), rep(ack()), rep(ack()), rep(ack())}} @@ -112,7 +116,7 @@ func FuzzGotcEmatchBatch(f *testing.F) { } sys := shareSys(f) f.Fuzz(func(t *testing.T, a, b string) { - if len(a)+len(b) > fuzzFilterMaxIn || strings.ContainsAny(a+b, "\n\\#") { + if len(a)+len(b) > fuzzFilterMaxIn || strings.ContainsAny(a+b, "\n\\#") || bpfFuzzDevice(a+b) { t.Skip() } const pre = "filter add dev d0 ingress pref 1 protocol all handle 1 " From 3c00d5d34b9eb8565b2dcd6b396a3cf9fdbf6a86 Mon Sep 17 00:00:00 2001 From: randomizedcoder Date: Mon, 30 Nov 2026 22:58:26 -0800 Subject: [PATCH 05/13] gotc 23W: bpf pins (tdc +7 actions, +5 filters; ec-117, ec-222 sent; eBPF refused by name) Co-Authored-By: Claude Opus 5.5 --- internal/gotc/act2_corpus_test.go | 18 +++++++++++++++++- internal/gotc/awrite_tdc_test.go | 6 +++--- internal/gotc/corpus_test.go | 2 -- internal/gotc/qwrite_tdc_test.go | 9 +++++---- 4 files changed, 25 insertions(+), 10 deletions(-) diff --git a/internal/gotc/act2_corpus_test.go b/internal/gotc/act2_corpus_test.go index bf752a3e0..2c5c53a77 100644 --- a/internal/gotc/act2_corpus_test.go +++ b/internal/gotc/act2_corpus_test.go @@ -36,6 +36,12 @@ func TestGotcAct2Corpus(t *testing.T) { c := readCmdJSON(t, dir) t.Run(e.Name(), func(t *testing.T) { got, want := corpusRow(t, dir, c) + if why, ok := act2Refused[e.Name()]; ok { + if got.rc != 255 || !strings.Contains(got.stderr, why) { + t.Fatalf("%s: want gotc's refusal %q, got %#v", c.Cmd, why, got) + } + return + } if got.rc == 255 && act2Unported(got.stderr) { t.Skipf("kind not ported yet: %s", strings.TrimSpace(got.stderr)) } @@ -46,12 +52,22 @@ func TestGotcAct2Corpus(t *testing.T) { } } +// act2Refused are the rows gotc refuses by name, each with its message: +// tc reaches bpf(2), libbpf or the ELF loader (eBPF), which gotc never +// does, in the action (W314's mode words) and the filter. +var act2Refused = map[string]string{ + "ng-139": "eBPF program via bpf(2)", "ng-140": "eBPF program via bpf(2)", + "ng-141": "eBPF program via bpf(2)", "ng-142": "eBPF program via bpf(2)", + "ng-143": "eBPF program via bpf(2)", "ng-144": "eBPF program via bpf(2)", + "ng-153": "eBPF program via bpf(2)", "ng-154": "eBPF program via bpf(2)", +} + // act2Unported is gotc's refusal by name of a kind increment 23 ports. func act2Unported(stderr string) bool { if !strings.Contains(stderr, "not implemented: tc ") { return false } - for _, k := range []string{"pedit", "tunnel_key", "ife", "ct", "gate", "bpf"} { + for _, k := range []string{"pedit", "tunnel_key", "ife", "ct", "gate"} { if strings.Contains(stderr, "action kind "+k+"\n") || strings.Contains(stderr, "filter write of kind "+k+"\n") { return true } diff --git a/internal/gotc/awrite_tdc_test.go b/internal/gotc/awrite_tdc_test.go index 1751d9021..66c5effff 100644 --- a/internal/gotc/awrite_tdc_test.go +++ b/internal/gotc/awrite_tdc_test.go @@ -19,15 +19,15 @@ import ( // tdcActionSkips pins the tdc `tc actions` writes gotc refuses, by the // action kind named: increment 23's six. var tdcActionSkips = map[string]int{ - "bpf": 7, "ct": 17, "gate": 8, "ife": 48, "pedit": 69, "tunnel_key": 35, + "ct": 17, "gate": 8, "ife": 48, "pedit": 69, "tunnel_key": 35, } // tdcActionKnown are the `tc actions` rows gotc cannot match, each with why. var tdcActionKnown = map[string]string{} // tdcActionWritesSent pins how many tdc `tc actions` writes gotc matches -// exactly (22W: gact and the 12 kinds of increment 12). -const tdcActionWritesSent = 332 +// exactly (22W: gact and the 12 kinds of increment 12; 23W: bpf 7). +const tdcActionWritesSent = 339 var actionWriteRefused = regexp.MustCompile(`not implemented: tc actions action kind (\S+)`) diff --git a/internal/gotc/corpus_test.go b/internal/gotc/corpus_test.go index 4b260905c..a134ce37e 100644 --- a/internal/gotc/corpus_test.go +++ b/internal/gotc/corpus_test.go @@ -42,7 +42,6 @@ var corpusRefused = map[string]string{ // basic, cgroup, flower, bpf and flow's ematch), and W110, where tc // prints a tc_gact_p nothing set. "tcfwrite/ec-116": "not implemented: tc filter write of kind flower", - "tcfwrite/ec-117": "not implemented: tc filter write of kind bpf", "tcfwrite/ng-033": "uninitialised tc_gact_p (W110)", // 21W: where tc writes or reads memory it does not own, and the two // ematch kinds refused by name (police went live in 22W). Trees past @@ -63,7 +62,6 @@ var corpusRefused = map[string]string{ "tcactwrite/ec-219": "not implemented: tc actions action kind ife", "tcactwrite/ec-220": "not implemented: tc actions action kind ct", "tcactwrite/ec-221": "not implemented: tc actions action kind gate", - "tcactwrite/ec-222": "not implemented: tc actions action kind bpf", } // qwriteSent are the corpusWrites rows the gotc_write build sends and diff --git a/internal/gotc/qwrite_tdc_test.go b/internal/gotc/qwrite_tdc_test.go index 7540b3060..d7b41c02f 100644 --- a/internal/gotc/qwrite_tdc_test.go +++ b/internal/gotc/qwrite_tdc_test.go @@ -134,8 +134,8 @@ func TestGotcTdcWrites(t *testing.T) { // 21W; police and the other 11 increment-12 action kinds since 22W, which // leaves increment 23's six. var tdcFilterSkips = map[string]int{ - "kind bpf": 4, "kind flower": 2, - "action bpf": 1, "action ct": 7, "action gate": 1, "action ife": 2, "action pedit": 1, + "kind flower": 2, + "action ct": 7, "action gate": 1, "action ife": 2, "action pedit": 1, "action tunnel_key": 1, } @@ -144,8 +144,9 @@ var tdcFilterKnown = map[string]string{} // tdcFilterWritesSent pins how many tdc filter and chain writes gotc // matches exactly (20W 134, 21W's basic, cgroup and flow match 111 more, -// 22W's police and the other 11 action kinds 31 more). -const tdcFilterWritesSent = 276 +// 22W's police and the other 11 action kinds 31 more, 23W's bpf filter +// and action 5 more). +const tdcFilterWritesSent = 281 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+)\))`) From e3799dd810bc12d73f2696314214efcd6f44129a Mon Sep 17 00:00:00 2001 From: randomizedcoder Date: Mon, 30 Nov 2026 22:57:28 -0800 Subject: [PATCH 06/13] gotc 23W: pedit writes (m_pedit.c and the six layered kinds) aw_pedit.go is parse_pedit, parse_munge, parse_offset, parse_cmd, parse_val and the pack_key family, in tc's host-order words; aw_pedit_hdr.go is p_ip, p_ip6, p_icmp, p_tcp, p_udp and p_eth as one table. Any other kind is pedit_parse_nopopt. Copied as tc does it: the "Bad pedit construct" word set by each parser's write-back (W218), the silent 128-key limit (W220), invert as 0xff on eth and ip6 (W223), the NULs that eth MAC colons leave in a batch (W232), and the ignored addattr results (W248). All 129 pedit rows in tcact2write and tcactwrite ec-217 now replay byte for byte; TestGotcPeditWrite pins them. TestGotcActParsers and TestGotcFilterWrite now expect pedit to be sent, not refused. Co-Authored-By: Claude Opus 5.5 --- internal/gotc/act2_corpus_test.go | 2 +- internal/gotc/act_parse.go | 9 +- internal/gotc/aw_pedit.go | 498 ++++++++++++++++++++++++++++++ internal/gotc/aw_pedit_hdr.go | 139 +++++++++ internal/gotc/aw_pedit_test.go | 127 ++++++++ internal/gotc/aw_test.go | 3 +- internal/gotc/awrite_tdc_test.go | 6 +- internal/gotc/corpus_test.go | 1 - internal/gotc/fwrite_test.go | 4 +- internal/gotc/qwrite_tdc_test.go | 6 +- 10 files changed, 780 insertions(+), 15 deletions(-) create mode 100644 internal/gotc/aw_pedit.go create mode 100644 internal/gotc/aw_pedit_hdr.go create mode 100644 internal/gotc/aw_pedit_test.go diff --git a/internal/gotc/act2_corpus_test.go b/internal/gotc/act2_corpus_test.go index 2c5c53a77..254a89f8a 100644 --- a/internal/gotc/act2_corpus_test.go +++ b/internal/gotc/act2_corpus_test.go @@ -67,7 +67,7 @@ func act2Unported(stderr string) bool { if !strings.Contains(stderr, "not implemented: tc ") { return false } - for _, k := range []string{"pedit", "tunnel_key", "ife", "ct", "gate"} { + for _, k := range []string{"tunnel_key", "ife", "ct", "gate"} { if strings.Contains(stderr, "action kind "+k+"\n") || strings.Contains(stderr, "filter write of kind "+k+"\n") { return true } diff --git a/internal/gotc/act_parse.go b/internal/gotc/act_parse.go index 09300e93a..e3032b4d6 100644 --- a/internal/gotc/act_parse.go +++ b/internal/gotc/act_parse.go @@ -15,10 +15,10 @@ import ( // m_action.c parse_action (each action's prio nest, kind, options, cookie, // hw_stats and flags), tc_util.c action_a2n and parse_action_control, and // each kind's parse_aopt by name (actParsers: m_gact.c here, the 12 kinds -// of increment 22 in aw_*.go). pedit, tunnel_key, ife, ct, gate and bpf -// are refused by name until increment 23; an unknown name is -// get_action_kind's fallback to gact's parser, with the name kept as -// TCA_ACT_KIND (W114). +// of increment 22 and increment 23's pedit in aw_*.go). tunnel_key, ife, +// ct, gate and bpf are refused by name until increment 23 ports them; an +// unknown name is get_action_kind's fallback to gact's parser, with the +// name kept as TCA_ACT_KIND (W114). // actParser is an action_util's parse_aopt(a, &argc, &argv, tca_id, n): // args starts at the kind word (for gact, possibly a control word); it @@ -43,6 +43,7 @@ var actParsers = map[string]actParser{ xtcpnl.TcActKindMpls: (*runner).parseMpls, xtcpnl.TcActKindSimple: (*runner).parseSimple, xtcpnl.TcActKindBpf: (*runner).parseBpf, + xtcpnl.TcActKindPedit: (*runner).parsePedit, } // tcCookieMax is TC_COOKIE_MAX_SIZE. diff --git a/internal/gotc/aw_pedit.go b/internal/gotc/aw_pedit.go new file mode 100644 index 000000000..be1956e34 --- /dev/null +++ b/internal/gotc/aw_pedit.go @@ -0,0 +1,498 @@ +//go:build gotc_write + +package gotc + +import ( + "encoding/binary" + "math/bits" + "strings" + + "github.com/randomizedcoder/xtcp2/pkg/cint" + "github.com/randomizedcoder/xtcp2/pkg/xtcpnl" + "golang.org/x/sys/unix" +) + +// tc/m_pedit.c parse_pedit and its helpers at iproute2 v7.2.0, with +// m_pedit.h; the layered kinds are in aw_pedit_hdr.go. Values are kept as +// tc's x86 host holds them: pack_key32 and its kin store htonl'd words, +// which TcPeditKey.Append writes back in host order. + +// peditMaxOffs is MAX_OFFS: pack_key's silent key limit (W220; the kernel +// takes 255). +const peditMaxOffs = 128 + +// htonl is htonl on a little-endian host. +func htonl(v uint32) uint32 { return bits.ReverseBytes32(v) } + +// peditExplain is m_pedit.c explain, which contradicts the parser (W228). +func (r *runner) peditExplain() { + r.errf("%s", "Usage: ... pedit munge [ex] [CONTROL]\n"+ + "Where: MUNGE := |\n"+ + "\t:= [ATC]\n \t\tOFFSETC:= offset \n"+ + "\t\tATC:= at offmask shift \n"+ + "\t\tNOTE: offval is byte offset, must be multiple of 4\n"+ + "\t\tNOTE: maskval is a 32 bit hex number\n \t\tNOTE: shiftval is a shift value\n"+ + "\t\tCMD:= clear | invert | set | add | decrement | retain\n"+ + "\t:= ip | ip6 \n"+ + " \t\t| udp | tcp | icmp \n"+ + "\tCONTROL:= reclassify | pipe | drop | continue | pass |\n"+ + "\t goto chain \n"+ + "\tNOTE: if 'ex' is set, extended functionality will be supported (kernel >= 4.11)\n"+ + "For Example usage look at the examples directory\n") +} + +// peditKey is struct m_pedit_key, parse_munge's tkey: zero for each munge. +type peditKey struct { + mask, val, off, at, offmask, shift uint32 + htype, cmd uint16 +} + +// peditKeyEx is struct m_pedit_key_ex. +type peditKeyEx struct{ htype, cmd uint16 } + +// peditSel is struct m_pedit_sel: the tc_pedit_sel's action and index, +// the keys packed so far, their key_ex and extended. +type peditSel struct { + action int32 + index uint32 + keys []xtcpnl.TcPeditKey + keysEx []peditKeyEx + extended bool +} + +// parsePedit is parse_pedit: `pedit` words (each counted, so `pedit pedit +// ex` is "'ex' must be before first 'munge'", W241, and a bare `p` after a +// key is pedit, W226), munge sections, then the control (dflt pass, before +// index, W243) and the index in base 10 (W247). Any other word ends the +// options and is left for parse_action (W245). Nothing checks for a key: +// `pedit pipe` sends nkeys 0 (W242). +func (r *runner) parsePedit(ops *fops, args []string, tcaID uint16) ([]string, bool, error) { + var s peditSel + ok := 0 +loop: + for len(args) > 0 { + w := args[0] + var err error + switch { + case matches(w, xtcpnl.TcActKindPedit): + if args, err = r.nextArg(args); err != nil { + return nil, false, err + } + ok++ + if matches(args[0], "ex") { + if ok > 1 { + r.errf("'ex' must be before first 'munge'\n") + r.peditExplain() + return nil, false, nil + } + s.extended = true + if args, err = r.nextArg(args); err != nil { + return nil, false, err + } + } + case matches(w, helpWord): + r.peditExplain() + return nil, false, exitCode(-1) // usage (W246) + case matches(w, "munge"): + if ok == 0 { + r.errf("Bad pedit construct (%s)\n", w) + r.peditExplain() + return nil, false, nil + } + if args, err = r.nextArg(args); err != nil { + return nil, false, err + } + var good bool + args, good, err = r.peditMunge(&s, args) + if err != nil { + return nil, false, err + } + if !good { + r.errf("Bad pedit construct (%s)\n", argOrNull(args)) // W218 + r.peditExplain() + return nil, false, nil + } + ok++ + default: + break loop + } + } + if ok == 0 { + r.peditExplain() + return nil, false, nil + } + args, action, err := r.parseActionControlDflt(args, tcActOK) + if err != nil { + return nil, false, err + } + s.action = action + if len(args) > 0 && matches(args[0], "index") { + if args, err = r.nextArg(args); err != nil { + return nil, false, err + } + i, good := getU32(args[0], 10) + if !good { + r.errf("Pedit: Illegal \"index\"\n") + return nil, false, nil + } + s.index = i + args = args[1:] + } + r.peditAddattr(ops, &s, tcaID) + return args, true, nil +} + +// argOrNull is *argv as glibc's printf %s prints it: "(null)" past argv's +// end. +func argOrNull(args []string) string { + if len(args) == 0 { + return wordNull + } + return args[0] +} + +// peditAddattr is parse_pedit's attributes: PARMS, or PARMS_EX and +// pedit_keys_ex_addattr, each addattr's result ignored (W248). +func (r *runner) peditAddattr(ops *fops, s *peditSel, tcaID uint16) { + nkeys, _ := cint.U8(len(s.keys)) // at most MAX_OFFS + sel := xtcpnl.TcPeditSel{TcGen: xtcpnl.TcGen{Index: s.index, Action: s.action}, Nkeys: nkeys, Keys: s.keys} + nest := ops.begin(maxMsg, tcaID) + if !s.extended { + ops.put(maxMsg, xtcpnl.TcaPeditParms, sel.Append(nil)) + } else { + ops.put(maxMsg, xtcpnl.TcaPeditParmsEx, sel.Append(nil)) + peditKeysExAddattr(ops, s) + } + ops.end(nest) +} + +// peditKeysExAddattr is pedit_keys_ex_addattr: a KEY_EX nest per key, and +// a failed addattr16 returns -1 there, with that nest and KEYS_EX left +// open, as tc leaves them. +func peditKeysExAddattr(ops *fops, s *peditSel) { + put16 := func(t, v uint16) bool { + n := len(ops.ops) + ops.put(maxMsg, t, binary.LittleEndian.AppendUint16(nil, v)) + return len(ops.ops) > n + } + keys := ops.begin(maxMsg, xtcpnl.TcaPeditKeysEx|unix.NLA_F_NESTED) + for _, k := range s.keysEx { + key := ops.begin(maxMsg, xtcpnl.TcaPeditKeyEx|unix.NLA_F_NESTED) + if !put16(xtcpnl.TcaPeditKeyExHtype, k.htype) || !put16(xtcpnl.TcaPeditKeyExCmd, k.cmd) { + return + } + ops.end(key) + } + ops.end(keys) +} + +// peditMunge is parse_munge: args starts at the word after munge. rest is +// parse_pedit's argv after it: on the offset path parse_offset's write-back +// whether or not it failed, on a layered failure the kind word, so tc's +// "Bad pedit construct" names a word that depends on where it failed +// (W218), and every layered failure first prints "bad pedit parsing" +// (W219). +func (r *runner) peditMunge(s *peditSel, args []string) (rest []string, ok bool, err error) { + var k peditKey + if matches(args[0], "offset") { + if args, err = r.nextArg(args); err != nil { + return nil, false, err + } + return r.peditOffset(s, &k, args) + } + h := peditHdrs[args[0]] + at := args + if args, err = r.nextArg(args); err != nil { + return nil, false, err // a kind as the last word (W230) + } + if h == nil { + // pedit_parse_nopopt: two spaces, and it names the next word (W230). + r.errf("Unknown action hence option \"%s\" is unparsable\n", args[0]) + r.errf("bad pedit parsing\n") + return at, false, nil + } + rest, ok, err = r.peditLayer(h, s, &k, args) + if err != nil { + return nil, false, err + } + if !ok { + r.errf("bad pedit parsing\n") + return at, false, nil + } + return rest, true, nil +} + +// peditOffset is parse_offset: args starts at the offset, get_integer in +// base 0, so -4 is 0xfffffffc (W235); then u32, u16 or u8 by prefix (`u` +// is u32, `u1` u16, W227) and the positional `at A M S` (the man page's +// keywords are refused, W216; `a` is at, W227), offmask in base 16 and the +// others base 0 (W217). An early failure keeps parse_munge's argv at the +// offset. +func (r *runner) peditOffset(s *peditSel, k *peditKey, args []string) (rest []string, ok bool, err error) { + at := args + off, good := getInteger(args[0], 0) + if !good { + return at, false, nil + } + k.off = cint.Bits(off) + args = args[1:] + if len(args) == 0 { + return at, false, nil + } + var ln, retain uint32 + switch { + case matches(args[0], "u32"): + ln, retain = 4, ru32 + case matches(args[0], "u16"): + ln, retain = 2, ru16 + case matches(args[0], "u8"): + ln, retain = 1, ru8 + default: + return at, false, nil + } + if args, err = r.nextArg(args); err != nil { + return nil, false, err + } + if matches(args[0], "at") { + dst := [...]*uint32{&k.at, &k.offmask, &k.shift} + for i, base := range [...]uint64{0, 16, 0} { + if args, err = r.nextArg(args); err != nil { + return nil, false, err + } + v, good := getU32(args[0], base) + if !good { + return at, false, nil + } + *dst[i] = v + } + if args, err = r.nextArg(args); err != nil { + return nil, false, err + } + } + return r.peditCmd(s, k, args, ln, peditTU32, retain, 0) +} + +// peditCmd is parse_cmd: args starts at the command word, by prefix in +// tc's order (invert, set, add, decrement, preserve, clear), then an +// optional retain (`r`, W225). rest is its write-back: args unmoved on an +// early -1, past the command once it reaches the pack, whose result is ok. +func (r *runner) peditCmd(s *peditSel, k *peditKey, args []string, ln uint32, typ int, retain uint32, flags int) (rest []string, ok bool, err error) { + at := args + var val, mask [4]uint32 + o := uint32(0xFF) + switch ln { + case 2: + o = 0xFFFF + case 4: + o = 0xFFFFFFFF + } + w := args[0] + switch { + case matches(w, "invert"): + val[0], mask[0] = o, o // 0xff for eth and ip6, not an inversion (W223) + case matches(w, "set"), matches(w, "add"): + if matches(w, "add") { + k.cmd = xtcpnl.PeditCmdAdd + } + if !s.extended && k.cmd != 0 { + r.errf("Non extended mode. only 'set' command is supported\n") + return at, false, nil + } + if args, err = r.nextArg(args); err != nil { + return nil, false, err + } + if !r.peditVal(args, &val, typ) { + return at, false, nil + } + case matches(w, "decrement"): + if flags&peditAllowDec == 0 { + r.errf("decrement command is not supported for this field\n") + return at, false, nil + } + if !s.extended { + r.errf("Non extended mode. only 'set' command is supported\n") + return at, false, nil + } + k.cmd = xtcpnl.PeditCmdAdd + val[0] = retain // decrement by overflow + case matches(w, "preserve"): + retain = 0 + case !matches(w, "clear"): + return at, false, nil + } + args = args[1:] + if len(args) > 0 && matches(args[0], "retain") { + if args, err = r.nextArg(args); err != nil { + return nil, false, err + } + v, good := getU32(args[0], 0) + if !good { + return at, false, nil + } + retain = v + args = args[1:] + } + if ln > 4 && retain != ru32 { + r.errf("retain is not supported for fields longer the 32 bits\n") // sic (W222) + return at, false, nil + } + switch typ { + case peditTMAC: + var mac [16]byte + for i, v := range val { + binary.LittleEndian.PutUint32(mac[4*i:], v) + } + return args, r.peditPackMac(s, k, mac[:6]), nil + case peditTIPv6: + return args, r.peditPackIPv6(s, k, val), nil + } + k.val, k.mask = val[0], mask[0] + if typ == peditTIPv4 { + k.val = htonl(k.val) + } + switch ln { + case 1: + return args, r.peditPack8(retain, s, k), nil + case 2: + return args, r.peditPack16(retain, s, k), nil + } + return args, r.peditPack32(retain, s, k), nil +} + +// peditVal is parse_val: a u32 in base 0; an IPv4 prefix whose length is +// dropped (W233); an IPv6 prefix, any being bytelen 0 and so :: (W234); a +// MAC that ll_addr_a2n must read as exactly six groups, its colons written +// to NUL in argv, which a batch keeps (W232). +func (r *runner) peditVal(args []string, val *[4]uint32, typ int) bool { + switch typ { + case peditTU32: + v, good := getU32(args[0], 0) + val[0] = v + return good + case peditTIPv4: + p, good := getPrefix1(args[0], unix.AF_INET) + val[0] = binary.LittleEndian.Uint32(p.data[:4]) + return good + case peditTIPv6: + p, good := getPrefix1(args[0], unix.AF_INET6) + for i := range val { + val[i] = binary.LittleEndian.Uint32(p.data[4*i:]) + } + return good + } + var mac [16]byte + _, cut, good := r.llAddrA2N(mac[:6], args[0]) + r.mem.nulEach(args, ':', cut) + n := cut + 1 + if strings.Contains(args[0], ".") { + n = 4 + } + for i := range val { + val[i] = binary.LittleEndian.Uint32(mac[4*i:]) + } + return good && n == 6 +} + +// peditPackKey is pack_key: the silent MAX_OFFS limit (W220), and a dead +// non-ex check (W229). +func (r *runner) peditPackKey(s *peditSel, k *peditKey) bool { + if len(s.keys) >= peditMaxOffs { + return false + } + if k.off%4 != 0 { + r.errf("offsets MUST be in 32 bit boundaries\n") + return false + } + if !s.extended && (k.htype != xtcpnl.PeditHtypeNetwork || k.cmd != xtcpnl.PeditCmdSet) { + r.errf("Munge parameters not supported. Use 'pedit ex munge ...'.\n") + return false + } + s.keys = append(s.keys, xtcpnl.TcPeditKey{Mask: k.mask, Val: k.val, Off: k.off, At: k.at, Offmask: k.offmask, Shift: k.shift}) + if s.extended { + s.keysEx = append(s.keysEx, peditKeyEx{htype: k.htype, cmd: k.cmd}) + } + return true +} + +// peditPack32 is pack_key32. +func (r *runner) peditPack32(retain uint32, s *peditSel, k *peditKey) bool { + if k.off&3 != 0 { + r.errf("pack_key32: 32 bit offsets must begin in 32bit boundaries\n") + return false + } + k.val = htonl(k.val & retain) + k.mask = htonl(k.mask | ^retain) + return r.peditPackKey(s, k) +} + +// peditPack16 is pack_key16. +func (r *runner) peditPack16(retain uint32, s *peditSel, k *peditKey) bool { + m := [...]uint32{0x0000FFFF, 0xFF0000FF, 0xFFFF0000} + if k.val > 0xFFFF || k.mask > 0xFFFF { + r.errf("pack_key16 bad value\n") + return false + } + ind := k.off & 3 + if ind == 3 { + r.errf("pack_key16 bad index value %d\n", ind) + return false + } + stride := 8 * (2 - ind) + k.val = htonl((k.val & retain) << stride) + k.mask = htonl(((k.mask | ^retain) << stride) | m[ind]) + k.off &^= 3 + return r.peditPackKey(s, k) +} + +// peditPack8 is pack_key8, whose message has no closing parenthesis +// (W221). +func (r *runner) peditPack8(retain uint32, s *peditSel, k *peditKey) bool { + m := [...]uint32{0x00FFFFFF, 0xFF00FFFF, 0xFFFF00FF, 0xFFFFFF00} + if k.val > 0xFF || k.mask > 0xFF { + r.errf("pack_key8 bad value (val %x mask %x\n", k.val, k.mask) + return false + } + ind := k.off & 3 + stride := 8 * (3 - ind) + k.val = htonl((k.val & retain) << stride) + k.mask = htonl(((k.mask | ^retain) << stride) | m[ind]) + k.off &^= 3 + return r.peditPackKey(s, k) +} + +// peditPackMac is pack_mac: two keys, each packed even when the first +// failed (ret |=). +func (r *runner) peditPackMac(s *peditSel, k *peditKey, mac []byte) bool { + switch { + case k.off&3 == 0: + k.mask, k.val = 0, binary.BigEndian.Uint32(mac) + ok := r.peditPack32(ru32, s, k) + k.off += 4 + k.mask, k.val = 0, uint32(binary.BigEndian.Uint16(mac[4:])) + return r.peditPack16(ru32, s, k) && ok + case k.off&1 == 0: + k.mask, k.val = 0, uint32(binary.BigEndian.Uint16(mac)) + ok := r.peditPack16(ru32, s, k) + k.off += 4 + k.mask, k.val = 0, binary.BigEndian.Uint32(mac[2:]) + return r.peditPack32(ru32, s, k) && ok + } + r.errf("pack_mac: mac offsets must begin in 32bit or 16bit boundaries\n") + return false +} + +// peditPackIPv6 is pack_ipv6: four keys, stopping at the first failure. +func (r *runner) peditPackIPv6(s *peditSel, k *peditKey, ipv6 [4]uint32) bool { + if k.off&3 != 0 { + r.errf("pack_ipv6: IPv6 offsets must begin in 32bit boundaries\n") + return false + } + for _, w := range ipv6 { + k.mask, k.val = 0, htonl(w) + if !r.peditPack32(ru32, s, k) { + return false + } + k.off += 4 + } + return true +} diff --git a/internal/gotc/aw_pedit_hdr.go b/internal/gotc/aw_pedit_hdr.go new file mode 100644 index 000000000..51c328ad8 --- /dev/null +++ b/internal/gotc/aw_pedit_hdr.go @@ -0,0 +1,139 @@ +//go:build gotc_write + +package gotc + +import "github.com/randomizedcoder/xtcp2/pkg/xtcpnl" + +// tc/p_ip.c, p_ip6.c, p_icmp.c, p_tcp.c, p_udp.c and p_eth.c at iproute2 +// v7.2.0: the layered kinds get_pedit_kind finds by dlsym in tc itself, +// p_pedit_. Any other name is its noexist arm, pedit_parse_nopopt +// (W230), and so is a name of 15 bytes or more, whose strncpy leaves k +// unterminated (W231): no symbol can match it. + +// The parse_val types (m_pedit.h). +const ( + peditTIPv4 = 1 + peditTIPv6 = 2 + peditTU32 = 4 + peditTMAC = 5 +) + +// peditAllowDec is PEDIT_ALLOW_DEC. +const peditAllowDec = 1 << 0 + +// peditField is one field arm of a layered parser: the word (strcmp, or +// matches when prefix), the offset and parse_cmd's len, type, retain and +// flags. tcShift is ip6 traffic_class's 4-bit shift of the key it packed. +type peditField struct { + name string + prefix bool + off uint32 + len uint32 + typ int + retain uint32 + flags int + tcShift bool +} + +// is the field's test of word w. +func (f peditField) is(w string) bool { + if f.prefix { + return matches(w, f.name) + } + return w == f.name +} + +// peditHdr is one p_pedit_: needEx is its `if (!sel->extended) +// return -1` before any field (W240); exCut is the index of ip's first +// field past `if (sel->extended) return -1` (sport, dport and icmp_*), +// -1 for none. ip's htype is NETWORK without ex. +type peditHdr struct { + needEx bool + htype uint16 + exCut int + fields []peditField +} + +const ( + ru32 = 0xFFFFFFFF + ru16 = 0xFFFF + ru8 = 0xFF +) + +// peditHdrs are the six layered kinds, by id. icmp has no field: parse_icmp +// always returns -1 (W239). +var peditHdrs = map[string]*peditHdr{ + "ip": {htype: xtcpnl.PeditHtypeIP4, exCut: 13, fields: []peditField{ + {name: "src", off: 12, len: 4, typ: peditTIPv4, retain: ru32}, + {name: "dst", off: 16, len: 4, typ: peditTIPv4, retain: ru32}, + {name: "tos", off: 1, len: 1, typ: peditTU32, retain: ru8}, + {name: "dsfield", prefix: true, off: 1, len: 1, typ: peditTU32, retain: ru8}, + {name: "ihl", off: 0, len: 1, typ: peditTU32, retain: 0x0f}, + {name: "ttl", off: 8, len: 1, typ: peditTU32, retain: ru8, flags: peditAllowDec}, + {name: "protocol", off: 9, len: 1, typ: peditTU32, retain: ru8}, + {name: "precedence", prefix: true, off: 1, len: 1, typ: peditTU32, retain: ru8}, + {name: "nofrag", off: 6, len: 1, typ: peditTU32, retain: 0x3F}, + {name: "firstfrag", off: 6, len: 1, typ: peditTU32, retain: 0x1F}, + {name: "ce", off: 6, len: 1, typ: peditTU32, retain: 0x80}, + {name: "df", off: 6, len: 1, typ: peditTU32, retain: 0x40}, + {name: "mf", off: 6, len: 1, typ: peditTU32, retain: 0x20}, + // exCut: the rest assume a 20-byte IP header (W237). + {name: "dport", off: 22, len: 2, typ: peditTU32, retain: ru16}, + {name: "sport", off: 20, len: 2, typ: peditTU32, retain: ru16}, + {name: "icmp_type", off: 20, len: 1, typ: peditTU32, retain: ru8}, + {name: "icmp_code", off: 20, len: 1, typ: peditTU32, retain: ru8}, // the type byte (W236) + }}, + "ip6": {needEx: true, htype: xtcpnl.PeditHtypeIP6, exCut: -1, fields: []peditField{ + {name: "src", off: 8, len: 16, typ: peditTIPv6, retain: ru32}, + {name: "dst", off: 24, len: 16, typ: peditTIPv6, retain: ru32}, + {name: "flow_lbl", off: 0, len: 4, typ: peditTU32, retain: 0x0007ffff}, // 19 bits (W238) + {name: "payload_len", off: 4, len: 2, typ: peditTU32, retain: ru16}, + {name: "nexthdr", off: 6, len: 1, typ: peditTU32, retain: ru8}, + {name: "hoplimit", off: 7, len: 1, typ: peditTU32, retain: ru8, flags: peditAllowDec}, + {name: "traffic_class", off: 1, len: 1, typ: peditTU32, retain: ru8, tcShift: true}, + }}, + "icmp": {exCut: -1}, + "tcp": {needEx: true, htype: xtcpnl.PeditHtypeTCP, exCut: -1, fields: []peditField{ + {name: "sport", off: 0, len: 2, typ: peditTU32, retain: ru16}, + {name: "dport", off: 2, len: 2, typ: peditTU32, retain: ru16}, + {name: "flags", off: 13, len: 1, typ: peditTU32, retain: ru8}, + }}, + "udp": {needEx: true, htype: xtcpnl.PeditHtypeUDP, exCut: -1, fields: []peditField{ + {name: "sport", off: 0, len: 2, typ: peditTU32, retain: ru16}, + {name: "dport", off: 2, len: 2, typ: peditTU32, retain: ru16}, + }}, + "eth": {needEx: true, htype: xtcpnl.PeditHtypeEth, exCut: -1, fields: []peditField{ + {name: "type", off: 12, len: 2, typ: peditTU32, retain: ru16}, + {name: "dst", off: 0, len: 6, typ: peditTMAC, retain: ru32}, + {name: "src", off: 6, len: 6, typ: peditTMAC, retain: ru32}, + }}, +} + +// peditLayer is a p_pedit_'s parse_peopt: args starts at the field +// word. rest is what it writes back, which parse_munge keeps only when ok. +func (r *runner) peditLayer(h *peditHdr, s *peditSel, k *peditKey, args []string) (rest []string, ok bool, err error) { + if len(args) < 2 || h.fields == nil || (h.needEx && !s.extended) { + return args, false, nil + } + k.htype = h.htype + if !s.extended { + k.htype = xtcpnl.PeditHtypeNetwork // ip only: the rest need ex + } + for i, f := range h.fields { + if i == h.exCut && s.extended { + return args, false, nil + } + if !f.is(args[0]) { + continue + } + k.off = f.off + rest, ok, err = r.peditCmd(s, k, args[1:], f.len, f.typ, f.retain, f.flags) + if ok && f.tcShift { + key := &s.keys[len(s.keys)-1] + key.Mask = htonl(htonl(key.Mask)<<4 | 0xf) + key.Val = htonl(htonl(key.Val) << 4) + } + return rest, ok, err + } + return args, false, nil +} diff --git a/internal/gotc/aw_pedit_test.go b/internal/gotc/aw_pedit_test.go new file mode 100644 index 000000000..29e245ea1 --- /dev/null +++ b/internal/gotc/aw_pedit_test.go @@ -0,0 +1,127 @@ +//go:build gotc_write + +package gotc + +import ( + "testing" + + "github.com/randomizedcoder/xtcp2/pkg/xtcpnl" +) + +// TestGotcPeditWrite is aw_pedit.go and aw_pedit_hdr.go (23W). A row with +// a capture replays a tcact2write row, its requests held to tc's byte for +// byte, and checks tc's rc and stderr; a row without one runs `tc actions +// add action` against one ACK and checks the options it sent. +// +// go test -tags gotc_write ./internal/gotc/ -run TestGotcPeditWrite +func TestGotcPeditWrite(t *testing.T) { + row := func(id string) string { return "../tcact2write/" + id } + const ( + badParse = "bad pedit parsing\n" + // A standalone add of non-ex keys: no KEYS_EX, so tcf_pedit_cmd is + // __PEDIT_CMD_MAX and the kernel's offload setup warns. + offload = "Warning: act_pedit: Unsupported pedit command offload.\n" + ) + construct := func(w string) string { return "Bad pedit construct (" + w + ")\nUsage: ... pedit munge [ex]" } + // eth dst invert: pack_mac's two SET keys of ff:00:00:00:00:00 (W223). + ethInvert := xtcpnl.TcPeditSel{Nkeys: 2, Keys: []xtcpnl.TcPeditKey{ + {Val: 0x000000ff}, + {Mask: htonl(0x0000ffff), Off: 4}, + }}.Append(nil) + // ip ttl set 1: pack_key8 at byte 8 of word 8. + ttl1 := xtcpnl.TcPeditSel{Nkeys: 1, Keys: []xtcpnl.TcPeditKey{ + {Val: htonl(1 << 24), Mask: htonl(0x00ffffff), Off: 8}, + }}.Append(nil) + cases := []awCase{ + // positive + {"positive: raw offset u32 set", row("ec-001"), nil, awExpected{stderr: offload}}, + {"positive: raw offset u16 at byte 2", row("ec-040"), nil, awExpected{stderr: offload}}, + {"positive: raw offset u8 at byte 1", row("ec-038"), nil, awExpected{stderr: offload}}, + {"positive: two munges and a control", row("ec-047"), nil, awExpected{stderr: offload}}, + {"positive: ex ip ttl add sends PARMS_EX and KEYS_EX (IP4, ADD)", row("ec-067"), nil, awExpected{}}, + {"positive: ex ip6 src packs four words", row("ec-069"), nil, awExpected{}}, + {"positive: ex tcp dport", row("ec-078"), nil, awExpected{}}, + {"positive: ex udp sport", row("ec-080"), nil, awExpected{}}, + {"positive: ex eth dst packs a u32 and a u16 key", row("ec-082"), nil, awExpected{}}, + {"positive: ex eth src starts on a 16-bit boundary", row("ec-083"), nil, awExpected{}}, + {"positive: four layered kinds in one action", row("ec-085"), nil, awExpected{}}, + {"positive: tos set with retain masks the value", row("ec-068"), nil, awExpected{}}, + {"positive: clear", row("ec-043"), nil, awExpected{stderr: offload}}, + {"positive: preserve", row("ec-045"), nil, awExpected{stderr: offload}}, + {"positive: ip6 traffic_class is shifted by 4 bits", row("ec-076"), nil, awExpected{}}, + {"positive: matchall carries pedit", row("ec-227"), nil, awExpected{}}, + {"positive: the batch carries eth dst's colon NULs into simple's sdata (W232)", row("ec-255"), nil, awExpected{}}, + {"positive: ip ttl set 1 with no capture", "", []string{"pedit", "munge", "ip", "ttl", "set", "1"}, + awExpected{reqs: 1, opts: optBytes(xtcpnl.TcaPeditParms, ttl1)}}, + // negative + {"negative: ip6 without ex fails silently (W240)", row("ng-024"), nil, + awExpected{rc: 255, has: badParse + construct("ip6")}}, + {"negative: tcp without ex fails silently (W240)", row("ng-025"), nil, + awExpected{rc: 255, has: badParse + construct("tcp")}}, + {"negative: ex ip sport fails silently (W240)", row("ng-028"), nil, + awExpected{rc: 255, has: badParse + construct("ip")}}, + {"negative: an unknown kind names the next word, two spaces (W230)", row("ng-016"), nil, + awExpected{rc: 255, has: "Unknown action hence option \"bar\" is unparsable\n" + badParse + construct("foo")}}, + {"negative: an unknown kind as the last word is incomplete (W230)", row("ng-017"), nil, + awExpected{rc: 255, stderr: "Command line is not complete. Try option \"help\"\n"}}, + {"negative: icmp always fails (W239)", row("ng-023"), nil, awExpected{rc: 255, has: badParse + construct("icmp")}}, + {"negative: the man page's at/offmask/shift words are refused (W216)", row("ng-002"), nil, + awExpected{rc: 255, has: construct("12")}}, + {"negative: add without ex", row("ng-014"), nil, + awExpected{rc: 255, has: "Non extended mode. only 'set' command is supported\n" + badParse}}, + {"negative: decrement on tos", row("ng-042"), nil, + awExpected{rc: 255, has: "decrement command is not supported for this field\n" + badParse}}, + {"negative: eth dst preserve is a retain past 32 bits, sic (W222)", row("ng-009"), nil, + awExpected{rc: 255, has: "retain is not supported for fields longer the 32 bits\n" + badParse + construct("eth")}}, + {"negative: a bad MAC group is cut at its colon (W232)", row("ng-022"), nil, + awExpected{rc: 255, has: "\"zz\" is invalid lladdr.\n" + badParse}}, + {"negative: a 7-group MAC fails with no message (W232)", row("ng-021"), nil, + awExpected{rc: 255, has: badParse + construct("eth")}}, + {"negative: index is base 10 (W247)", row("ng-037"), nil, awExpected{rc: 255, has: "Pedit: Illegal \"index\"\nbad action parsing\n"}}, + {"negative: pedit pedit ex counts the second pedit (W241)", row("ng-030"), nil, + awExpected{rc: 255, has: "'ex' must be before first 'munge'\n"}}, + {"negative: no key is sent as nkeys 0 and the kernel refuses (W242)", row("ng-031"), nil, + awExpected{rc: 255, stderr: "Error: act_pedit: Pedit requires keys to be passed.\nWe have an error talking to the kernel\n"}}, + {"negative: help is usage and exit (W246)", row("ng-013"), nil, awExpected{rc: 255, has: "Usage: ... pedit munge [ex] [CONTROL]\n"}}, + // boundary + {"boundary: 128 keys are sent", row("ec-088"), nil, awExpected{stderr: offload}}, + {"boundary: the 129th key fails silently, naming the word after it (W220)", row("ng-006"), nil, + awExpected{rc: 255, has: construct("index")}}, + {"boundary: ttl 255 is sent", row("ec-086"), nil, awExpected{stderr: offload}}, + {"boundary: ttl 256 is pack_key8's message with no closing parenthesis (W221)", row("ng-007"), nil, + awExpected{rc: 255, has: "pack_key8 bad value (val 100 mask 0\n" + badParse}}, + {"boundary: dport 65535 is sent", row("ec-087"), nil, awExpected{stderr: offload}}, + {"boundary: dport 65536 is pack_key16's message", row("ng-008"), nil, awExpected{rc: 255, has: "pack_key16 bad value\n"}}, + {"boundary: 128-key ex actions past 16384 drop PARMS_EX and send KEYS_EX (W248)", row("ng-157"), nil, + awExpected{rc: 255, has: "addattr_l ERROR: message exceeded bound of 16384\n"}}, + // corner + {"corner: a pack failure at the end of the line names (null) (W218)", row("ng-003"), nil, + awExpected{rc: 255, has: "pack_key32: 32 bit offsets must begin in 32bit boundaries\n" + construct("(null)")}}, + {"corner: eth dst invert sets ff:00:... (W223)", row("ec-091"), nil, awExpected{}}, + {"corner: eth dst invert's keys", "", []string{"pedit", "ex", "munge", "eth", "dst", "invert"}, + awExpected{reqs: 1, opts: optBytes(xtcpnl.TcaPeditParmsEx, ethInvert)}}, + {"corner: ip6 dst invert sets ff00:: (W223)", row("ec-092"), nil, awExpected{}}, + {"corner: a bare p after a key is pedit, so incomplete (W226)", row("ng-012"), nil, + awExpected{rc: 255, stderr: "Command line is not complete. Try option \"help\"\n"}}, + {"corner: r after a command is retain, so incomplete (W225)", row("ng-011"), nil, + awExpected{rc: 255, stderr: "Command line is not complete. Try option \"help\"\n"}}, + {"corner: a is at and u is u32 (W227)", row("ec-095"), nil, awExpected{stderr: offload}}, + {"corner: u1 is u16 (W227)", row("ec-097"), nil, awExpected{stderr: offload}}, + {"corner: offset -4 is 0xfffffffc (W235)", row("ec-104"), nil, awExpected{stderr: offload}}, + {"corner: the positional at form, offmask in base 16 (W217)", row("ec-089"), nil, awExpected{stderr: offload}}, + {"corner: trailing junk after a MAC's sixth group is accepted (W232)", row("ec-098"), nil, awExpected{}}, + {"corner: ip src drops the prefix length (W233)", row("ec-099"), nil, awExpected{stderr: offload}}, + {"corner: ip6 src any is :: (W234)", row("ec-102"), nil, awExpected{}}, + {"corner: icmp_code edits the type byte (W236)", row("ec-105"), nil, awExpected{stderr: offload}}, + {"corner: d is dsfield and p precedence (W237)", row("ec-106"), nil, awExpected{stderr: offload}}, + {"corner: flow_lbl's retain is 19 bits (W238)", row("ec-108"), nil, awExpected{}}, + {"corner: index before a control leaves it for a second gact (W243)", row("ec-109"), nil, awExpected{stderr: offload}}, + {"corner: a bad goto chain is reported twice (W244)", row("ng-033"), nil, + awExpected{rc: 255, has: "Illegal \"chain index\"\nIllegal \"chain index\"\n"}}, + {"corner: an unknown word after a key is the next action kind (W245)", row("ng-034"), nil, + awExpected{rc: 255, has: "Bad action type foo\n"}}, + {"corner: a 15+ byte kind is an unknown kind (W231)", row("ng-018"), nil, + awExpected{rc: 255, has: construct("abcdefghijklmnopq")}}, + } + runAwCases(t, cases) +} diff --git a/internal/gotc/aw_test.go b/internal/gotc/aw_test.go index 4b5c4b949..534f91b61 100644 --- a/internal/gotc/aw_test.go +++ b/internal/gotc/aw_test.go @@ -236,11 +236,12 @@ func TestGotcActParsers(t *testing.T) { {"police", "ec-244"}, {"mirred", "ec-245"}, {"skbedit", "ec-246"}, {"vlan", "ec-247"}, {"csum", "ec-248"}, {"nat", "ec-249"}, {"simple", "ec-250"}, {"connmark", "ec-251"}, {"ctinfo", "ec-252"}, {"sample", "ec-253"}, {"skbmod", "ec-254"}, {"mpls", "ec-255"}, + {"pedit", "ec-217"}, } { cases = append(cases, awCase{"positive: matchall carries " + r.kind, r.row, nil, awExpected{}}) } for _, r := range []struct{ kind, row string }{ - {"pedit", "ec-217"}, {"tunnel_key", "ec-218"}, {"ife", "ec-219"}, {"ct", "ec-220"}, {"gate", "ec-221"}, + {"tunnel_key", "ec-218"}, {"ife", "ec-219"}, {"ct", "ec-220"}, {"gate", "ec-221"}, } { cases = append(cases, awCase{"negative: increment 23's " + r.kind + " is refused by name", "", []string{r.kind, "index", "1"}, awExpected{rc: 255, stderr: "gotc: not implemented: tc actions action kind " + r.kind + "\n"}}) diff --git a/internal/gotc/awrite_tdc_test.go b/internal/gotc/awrite_tdc_test.go index 66c5effff..ed3a795fb 100644 --- a/internal/gotc/awrite_tdc_test.go +++ b/internal/gotc/awrite_tdc_test.go @@ -19,15 +19,15 @@ import ( // tdcActionSkips pins the tdc `tc actions` writes gotc refuses, by the // action kind named: increment 23's six. var tdcActionSkips = map[string]int{ - "ct": 17, "gate": 8, "ife": 48, "pedit": 69, "tunnel_key": 35, + "ct": 17, "gate": 8, "ife": 48, "tunnel_key": 35, } // tdcActionKnown are the `tc actions` rows gotc cannot match, each with why. var tdcActionKnown = map[string]string{} // tdcActionWritesSent pins how many tdc `tc actions` writes gotc matches -// exactly (22W: gact and the 12 kinds of increment 12; 23W: bpf 7). -const tdcActionWritesSent = 339 +// exactly (22W: gact and the 12 kinds of increment 12; 23W: bpf 7, pedit 69). +const tdcActionWritesSent = 408 var actionWriteRefused = regexp.MustCompile(`not implemented: tc actions action kind (\S+)`) diff --git a/internal/gotc/corpus_test.go b/internal/gotc/corpus_test.go index a134ce37e..710ec52b5 100644 --- a/internal/gotc/corpus_test.go +++ b/internal/gotc/corpus_test.go @@ -57,7 +57,6 @@ var corpusRefused = map[string]string{ "tcematch/ng-109": "not implemented: tc filter write of ematch kind ipset", "tcematch/ng-110": "not implemented: tc filter write of ematch kind ipset", // 22W: the kinds increment 23 ports, refused by name. - "tcactwrite/ec-217": "not implemented: tc actions action kind pedit", "tcactwrite/ec-218": "not implemented: tc actions action kind tunnel_key", "tcactwrite/ec-219": "not implemented: tc actions action kind ife", "tcactwrite/ec-220": "not implemented: tc actions action kind ct", diff --git a/internal/gotc/fwrite_test.go b/internal/gotc/fwrite_test.go index 869309541..0e199a006 100644 --- a/internal/gotc/fwrite_test.go +++ b/internal/gotc/fwrite_test.go @@ -124,8 +124,8 @@ func TestGotcFilterWrite(t *testing.T) { {"negative: fw police rate with no burst is W156's inverted message, after the device", with("pref", "1", "handle", "5", "fw", "police", "rate", "1mbit"), d0[:1], "'burst' requires 'rate'.\nIllegal \"police\"\n", 1, 1, nil}, - {"negative: an increment-23 action is refused by name", m("action", "pedit", "ex", "munge", "ip", "ttl", "set", "10"), - d0[:1], notImpl + "tc filter action kind pedit\n", 255, 1, nil}, + {"positive: pedit, ported in increment 23, is sent in a filter", m("action", "pedit", "ex", "munge", "ip", "ttl", "set", "10"), + d0, "", 0, 2, nil}, {"negative: flower on a missing device is nodev first", []string{"filter", "add", "dev", "nosuch", "ingress", "flower"}, []Reply{rep(nlErr(unix.ENODEV))}, "Cannot find device \"nosuch\"\n", 1, 1, nil}, {"negative: flow addend foo is get_addr's exit 1 (W104)", diff --git a/internal/gotc/qwrite_tdc_test.go b/internal/gotc/qwrite_tdc_test.go index d7b41c02f..6ba9f82ae 100644 --- a/internal/gotc/qwrite_tdc_test.go +++ b/internal/gotc/qwrite_tdc_test.go @@ -135,7 +135,7 @@ func TestGotcTdcWrites(t *testing.T) { // leaves increment 23's six. var tdcFilterSkips = map[string]int{ "kind flower": 2, - "action ct": 7, "action gate": 1, "action ife": 2, "action pedit": 1, + "action ct": 7, "action gate": 1, "action ife": 2, "action tunnel_key": 1, } @@ -145,8 +145,8 @@ var tdcFilterKnown = map[string]string{} // tdcFilterWritesSent pins how many tdc filter and chain writes gotc // matches exactly (20W 134, 21W's basic, cgroup and flow match 111 more, // 22W's police and the other 11 action kinds 31 more, 23W's bpf filter -// and action 5 more). -const tdcFilterWritesSent = 281 +// and action 5 more, pedit 1). +const tdcFilterWritesSent = 282 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+)\))`) From 32506c720f042cebf550c1b5e1df40eb2d656c40 Mon Sep 17 00:00:00 2001 From: randomizedcoder Date: Mon, 30 Nov 2026 22:57:47 -0800 Subject: [PATCH 07/13] gotc 23W: tunnel_key and ife writes (m_tunnel_key.c, m_ife.c) parse_tunnel_key and parse_ife join actParsers. tunnel_key opens its nest before NEXT_ARG (W254), writes each option as read, takes addresses through get_addr's exit(1) (W250, 0-byte IPV6_* for any, W251), always sends NO_CSUM (W263), tries tos/ttl in base 10 then 16 (W257), and splits geneve/erspan with a strtok_r clone whose NULs stay in the batch buffer (W258, W261, W265). ife parses before opening its nest (W274), counts index as a mode (W267), sends decode as PARMS alone (W273) and METALST as mark, prio, tcindex (W271). All 82 tcact2write tunnel_key and ife rows replay byte for byte; TestGotcTunnelKeyWrite, TestGotcIfeWrite and TestStrtok pin them. awReplayRow takes a space/row id; TestGotcActParsers moves both kinds from refused to sent. The tdc pins and tcactwrite ec-218/219's refusals are left for the merge. Co-Authored-By: Claude Opus 5.5 --- internal/gotc/act2_corpus_test.go | 2 +- internal/gotc/act_parse.go | 36 +-- internal/gotc/aw_ife.go | 257 +++++++++++++++++++ internal/gotc/aw_ife_test.go | 113 +++++++++ internal/gotc/aw_pedit_test.go | 2 +- internal/gotc/aw_test.go | 15 +- internal/gotc/aw_tunnel_key.go | 376 ++++++++++++++++++++++++++++ internal/gotc/aw_tunnel_key_test.go | 159 ++++++++++++ internal/gotc/awrite_tdc_test.go | 6 +- internal/gotc/corpus_test.go | 2 - internal/gotc/qwrite_tdc_test.go | 7 +- 11 files changed, 944 insertions(+), 31 deletions(-) create mode 100644 internal/gotc/aw_ife.go create mode 100644 internal/gotc/aw_ife_test.go create mode 100644 internal/gotc/aw_tunnel_key.go create mode 100644 internal/gotc/aw_tunnel_key_test.go diff --git a/internal/gotc/act2_corpus_test.go b/internal/gotc/act2_corpus_test.go index 254a89f8a..795454a01 100644 --- a/internal/gotc/act2_corpus_test.go +++ b/internal/gotc/act2_corpus_test.go @@ -67,7 +67,7 @@ func act2Unported(stderr string) bool { if !strings.Contains(stderr, "not implemented: tc ") { return false } - for _, k := range []string{"tunnel_key", "ife", "ct", "gate"} { + for _, k := range []string{"ct", "gate"} { if strings.Contains(stderr, "action kind "+k+"\n") || strings.Contains(stderr, "filter write of kind "+k+"\n") { return true } diff --git a/internal/gotc/act_parse.go b/internal/gotc/act_parse.go index e3032b4d6..2340a4d36 100644 --- a/internal/gotc/act_parse.go +++ b/internal/gotc/act_parse.go @@ -15,8 +15,8 @@ import ( // m_action.c parse_action (each action's prio nest, kind, options, cookie, // hw_stats and flags), tc_util.c action_a2n and parse_action_control, and // each kind's parse_aopt by name (actParsers: m_gact.c here, the 12 kinds -// of increment 22 and increment 23's pedit in aw_*.go). tunnel_key, ife, -// ct, gate and bpf are refused by name until increment 23 ports them; an +// of increment 22 and increment 23's pedit, tunnel_key, ife and bpf in +// aw_*.go). ct and gate are refused by name until 23W ports them; an // unknown name is get_action_kind's fallback to gact's parser, with the // name kept as TCA_ACT_KIND (W114). @@ -29,21 +29,23 @@ type actParser func(r *runner, ops *fops, args []string, tcaID uint16) (rest []s // actParsers are the parse_aopts gotc clones, by action_util id. var actParsers = map[string]actParser{ - xtcpnl.TcActKindGact: (*runner).parseGact, - xtcpnl.TcActKindPolice: (*runner).parsePoliceAct, - xtcpnl.TcActKindMirred: (*runner).parseMirred, - xtcpnl.TcActKindSkbedit: (*runner).parseSkbedit, - xtcpnl.TcActKindVlan: (*runner).parseVlan, - xtcpnl.TcActKindCsum: (*runner).parseCsum, - xtcpnl.TcActKindNat: (*runner).parseNat, - xtcpnl.TcActKindConnmark: (*runner).parseConnmark, - xtcpnl.TcActKindCtinfo: (*runner).parseCtinfo, - xtcpnl.TcActKindSample: (*runner).parseSample, - xtcpnl.TcActKindSkbmod: (*runner).parseSkbmod, - xtcpnl.TcActKindMpls: (*runner).parseMpls, - xtcpnl.TcActKindSimple: (*runner).parseSimple, - xtcpnl.TcActKindBpf: (*runner).parseBpf, - xtcpnl.TcActKindPedit: (*runner).parsePedit, + xtcpnl.TcActKindGact: (*runner).parseGact, + xtcpnl.TcActKindPolice: (*runner).parsePoliceAct, + xtcpnl.TcActKindMirred: (*runner).parseMirred, + xtcpnl.TcActKindSkbedit: (*runner).parseSkbedit, + xtcpnl.TcActKindVlan: (*runner).parseVlan, + xtcpnl.TcActKindCsum: (*runner).parseCsum, + xtcpnl.TcActKindNat: (*runner).parseNat, + xtcpnl.TcActKindConnmark: (*runner).parseConnmark, + xtcpnl.TcActKindCtinfo: (*runner).parseCtinfo, + xtcpnl.TcActKindSample: (*runner).parseSample, + xtcpnl.TcActKindSkbmod: (*runner).parseSkbmod, + xtcpnl.TcActKindMpls: (*runner).parseMpls, + xtcpnl.TcActKindSimple: (*runner).parseSimple, + xtcpnl.TcActKindTunnelKey: (*runner).parseTunnelKey, + xtcpnl.TcActKindIfe: (*runner).parseIfe, + xtcpnl.TcActKindBpf: (*runner).parseBpf, + xtcpnl.TcActKindPedit: (*runner).parsePedit, } // tcCookieMax is TC_COOKIE_MAX_SIZE. diff --git a/internal/gotc/aw_ife.go b/internal/gotc/aw_ife.go new file mode 100644 index 000000000..c2ff64a2a --- /dev/null +++ b/internal/gotc/aw_ife.go @@ -0,0 +1,257 @@ +//go:build gotc_write + +package gotc + +import ( + "encoding/binary" + + "github.com/randomizedcoder/xtcp2/pkg/xtcpnl" +) + +// tc/m_ife.c parse_ife at iproute2 v7.2.0. + +// ethPIfe is ETH_P_IFE, the type ife prints when none is given. +const ethPIfe = 0xED3E + +// ifeExplain is m_ife.c ife_explain. +func (r *runner) ifeExplain() { + r.errf("%s", "Usage:... ife {decode|encode} [{ALLOW|USE} ATTR] [dst DMAC] [src SMAC] [type TYPE] [CONTROL] [index INDEX]\n"+ + "\tALLOW := Encode direction. Allows encoding specified metadata\n"+ + "\t\t e.g \"allow mark\"\n"+ + "\tUSE := Encode direction. Enforce Static encoding of specified metadata\n"+ + "\t\t e.g \"use mark 0x12\"\n"+ + "\tATTR := mark (32-bit), prio (32-bit), tcindex (16-bit)\n"+ + "\tDMAC := 6 byte Destination MAC address to encode\n"+ + "\tSMAC := optional 6 byte Source MAC address to encode\n"+ + "\tTYPE := optional 16 bit ethertype to encode\n"+ + "\tCONTROL := reclassify|pipe|drop|continue|ok\n"+ + "\tINDEX := optional IFE table index value used\n"+ + "encode is used for sending IFE packets\n"+ + "decode is used for receiving IFE packets\n") +} + +// ifeUsage is ife_usage: exit(-1), which ends a -force batch (W268). +func (r *runner) ifeUsage() error { + r.ifeExplain() + return exitCode(-1) +} + +// ifeArgs is parse_ife's locals. +type ifeArgs struct { + p xtcpnl.TcIfe + ok int + dbuf, sbuf [ethAlenCst]byte + daddr, saddr bool + ifeType uint16 + userType bool + mark, prio, tcindex bool // allow + markV, prioV uint32 + tcindexV uint16 +} + +// parseIfe is parse_ife: the keyword loop, then the control word, then +// the index in base 0, which counts as a mode, so `ife index 5` is a +// decode (W267, W272); with neither mode nor index it is a usage exit +// (W268). The nest opens only now (W274); decode sends PARMS alone, +// dropping dst, src, type, allow and use (W273); encode always sends +// METALST, in the order mark, prio, tcindex, with use's value over allow +// and a value of 0 sending nothing (W271), TYPE in host order (W274), and +// the default type printed (AC70). +func (r *runner) parseIfe(ops *fops, args []string, tcaID uint16) ([]string, bool, error) { + var a ifeArgs + args, err := r.ifeLoop(&a, args) + if err != nil { + return nil, false, err + } + if args, a.p.Action, err = r.parseActionControlDflt(args, tcActPipe); err != nil { + return nil, false, err + } + if len(args) > 0 && matches(args[0], "index") { + if args, err = r.nextArg(args); err != nil { + return nil, false, err + } + i, good := getU32(args[0], 0) + if !good { + r.errf("ife: Illegal \"index\"\n") + return nil, false, nil + } + a.p.Index = i + a.ok++ + args = args[1:] + } + if a.ok == 0 { + r.errf("IFE requires decode/encode specified\n") + return nil, false, r.ifeUsage() + } + tail := ops.begin(maxMsg, tcaID) + ops.put(maxMsg, xtcpnl.TcaIfeParms, a.p.Append(nil)) + if a.p.Flags&xtcpnl.IfeEncode != 0 { + r.ifeEncode(ops, &a) + } + ops.end(tail) + return args, true, nil +} + +// ifeEncode is parse_ife's encode attributes, between PARMS and the end of +// the options nest. +func (r *runner) ifeEncode(ops *fops, a *ifeArgs) { + if a.daddr { + ops.put(maxMsg, xtcpnl.TcaIfeDmac, append([]byte(nil), a.dbuf[:]...)) + } + if a.userType { + ops.put(maxMsg, xtcpnl.TcaIfeType, binary.LittleEndian.AppendUint16(nil, a.ifeType)) + } else { + r.errf("IFE type 0x%04X\n", ethPIfe) + } + if a.saddr { + ops.put(maxMsg, xtcpnl.TcaIfeSmac, append([]byte(nil), a.sbuf[:]...)) + } + lst := ops.begin(maxMsg, xtcpnl.TcaIfeMetalst) + switch { + case a.markV != 0: + ops.u32(maxMsg, xtcpnl.IfeMetaSkbmark, a.markV) + case a.mark: + ops.put(maxMsg, xtcpnl.IfeMetaSkbmark, nil) + } + switch { + case a.prioV != 0: + ops.u32(maxMsg, xtcpnl.IfeMetaPrio, a.prioV) + case a.prio: + ops.put(maxMsg, xtcpnl.IfeMetaPrio, nil) + } + switch { + case a.tcindexV != 0: + ops.put(maxMsg, xtcpnl.IfeMetaTcindex, binary.LittleEndian.AppendUint16(nil, a.tcindexV)) + case a.tcindex: + ops.put(maxMsg, xtcpnl.IfeMetaTcindex, nil) + } + ops.end(lst) +} + +// ifeLoop is parse_ife's keyword loop, in tc's order: a word `ife` is a +// prefix of is skipped by NEXT_ARG, so it is incomplete at the end of the +// line (W269); `d` is decode and dst needs `ds`, the last of decode and +// encode wins (W270); every bad value is invarg's exit (W268). +func (r *runner) ifeLoop(a *ifeArgs, args []string) ([]string, error) { + var err error + for len(args) > 0 { + w := args[0] + switch { + case matches(w, xtcpnl.TcActKindIfe): + if args, err = r.nextArg(args); err != nil { + return nil, err + } + continue + case matches(w, "decode"): + a.p.Flags = 0 // IFE_DECODE + a.ok++ + case matches(w, "encode"): + a.p.Flags = xtcpnl.IfeEncode + a.ok++ + case matches(w, "allow"): + if args, err = r.nextArg(args); err != nil { + return nil, err + } + if err = r.ifeAllow(a, args[0]); err != nil { + return nil, err + } + case matches(w, "use"): + if args, err = r.ifeUse(a, args); err != nil { + return nil, err + } + case matches(w, "type"): + if args, err = r.nextArg(args); err != nil { + return nil, err + } + t, good := getU16(args[0], 0) + if !good { + return nil, r.invarg("ife type is invalid", args[0]) + } + a.ifeType, a.userType = t, true + r.errf("IFE type 0x%04X\n", t) + case matches(w, "dst"), matches(w, "src"): + if args, err = r.nextArg(args); err != nil { + return nil, err + } + if err = r.ifeMac(a, matches(w, "dst"), args[0]); err != nil { + return nil, err + } + case matches(w, helpWord): + return nil, r.ifeUsage() + default: + return args, nil + } + args = args[1:] + } + return args, nil +} + +// ifeAllow is the allow arm's attribute. +func (r *runner) ifeAllow(a *ifeArgs, v string) error { + switch { + case matches(v, "mark"): + a.mark = true + case matches(v, "prio"): + a.prio = true + case matches(v, "tcindex"): + a.tcindex = true + default: + return r.invarg("Illegal meta define", v) + } + return nil +} + +// ifeUse is the use arm: the attribute and its value, base 0; args is +// left at the value. +func (r *runner) ifeUse(a *ifeArgs, args []string) ([]string, error) { + args, err := r.nextArg(args) + if err != nil { + return nil, err + } + attr := args[0] + var name string + switch { + case matches(attr, "mark"): + name = "mark" + case matches(attr, "prio"): + name = "prio" + case matches(attr, "tcindex"): + name = "tcindex" + default: + return nil, r.invarg("Illegal meta use type", attr) + } + if args, err = r.nextArg(args); err != nil { + return nil, err + } + v := args[0] + var good bool + switch name { + case "mark": + a.markV, good = getU32(v, 0) + case "prio": + a.prioV, good = getU32(v, 0) + default: + a.tcindexV, good = getU16(v, 0) + } + if !good { + return nil, r.invarg("ife "+name+" val is invalid", v) + } + return args, nil +} + +// ifeMac is the dst and src arms: sscanf "%hhx:..." (W196), invarg's exit +// on fewer than six, then the address echoed to stderr. +func (r *runner) ifeMac(a *ifeArgs, dst bool, v string) error { + buf, n := sscanfMac(v) + if n != ethAlenCst { + return r.invarg("Invalid mac address", v) + } + if dst { + a.dbuf, a.daddr = buf, true + r.errf("dst MAC address <%s>\n", v) + } else { + a.sbuf, a.saddr = buf, true + r.errf("src MAC address <%s>\n", v) + } + return nil +} diff --git a/internal/gotc/aw_ife_test.go b/internal/gotc/aw_ife_test.go new file mode 100644 index 000000000..237bb3c05 --- /dev/null +++ b/internal/gotc/aw_ife_test.go @@ -0,0 +1,113 @@ +//go:build gotc_write + +package gotc + +import ( + "strings" + "testing" + + "github.com/randomizedcoder/xtcp2/pkg/xtcpnl" +) + +// ifeUsageHead is the first line of m_ife.c ife_explain. +const ifeUsageHead = "Usage:... ife {decode|encode} [{ALLOW|USE} ATTR] [dst DMAC] [src SMAC] [type TYPE] [CONTROL] [index INDEX]\n" + +// ifeDefaultType is the line encode prints with no type given (AC70). +const ifeDefaultType = "IFE type 0xED3E\n" + +// TestGotcIfeWrite is m_ife.c parse_ife (aw_ife.go). Rows named +// tcact2write/... are held to tc's capture byte for byte. +// +// go test -tags gotc_write ./internal/gotc/ -run TestGotcIfeWrite +func TestGotcIfeWrite(t *testing.T) { + const incomplete = "Command line is not complete. Try option \"help\"\n" + metalst := func(want []byte) func(*testing.T, map[uint16][]byte) { + return optBytes(xtcpnl.TcaIfeMetalst, want) + } + runAwCases(t, []awCase{ + {"positive: encode with type, dst, src and use, with the stderr chatter (AC70)", "tcact2write/ec-132", nil, + awExpected{stderr: "IFE type 0xED3E\ndst MAC address <02:00:00:00:00:01>\nsrc MAC address <02:00:00:00:00:02>\n"}}, + {"positive: allow all three", "tcact2write/ec-133", nil, awExpected{stderr: ifeDefaultType}}, + {"positive: use prio and tcindex", "tcact2write/ec-134", nil, awExpected{stderr: ifeDefaultType}}, + {"positive: decode", "tcact2write/ec-013", nil, awExpected{}}, + {"positive: decode sends PARMS alone (W273)", "", []string{"ife", "decode"}, + awExpected{reqs: 1, opts: all(parmsU32At(xtcpnl.TcaIfeParms, 20, 0), optAbsent(xtcpnl.TcaIfeMetalst), + optAbsent(xtcpnl.TcaIfeType))}}, + {"positive: change", "tcact2write/ec-014", nil, awExpected{stderr: ifeDefaultType}}, + {"positive: replace", "tcact2write/ec-016", nil, awExpected{stderr: ifeDefaultType}}, + {"positive: delete", "tcact2write/ec-017", nil, awExpected{}}, + {"positive: flush", "tcact2write/ec-018", nil, awExpected{}}, + {"positive: inside matchall", "tcact2write/ec-229", nil, awExpected{}}, + {"negative: no mode is the usage's exit(-1) (W268)", "tcact2write/ng-066", nil, + awExpected{rc: 255, has: "IFE requires decode/encode specified\n" + ifeUsageHead}}, + {"negative: that exit ends a -force batch (W268)", "tcact2write/ng-158", nil, + awExpected{rc: 255, has: "IFE requires decode/encode specified\n" + ifeUsageHead}}, + {"negative: a bare ife is incomplete (W269)", "tcact2write/ng-068", nil, awExpected{rc: 255, stderr: incomplete}}, + {"negative: ife as the last word is incomplete (W269)", "tcact2write/ng-067", nil, awExpected{rc: 255, stderr: incomplete}}, + {"negative: allow of an unknown attribute is invarg", "tcact2write/ng-069", nil, + awExpected{rc: 255, stderr: "Error: argument \"foo\" is wrong: Illegal meta define\n"}}, + {"negative: a bad use mark", "tcact2write/ng-070", nil, + awExpected{rc: 255, stderr: "Error: argument \"zz\" is wrong: ife mark val is invalid\n"}}, + {"negative: use of an unknown attribute", "tcact2write/ng-071", nil, + awExpected{rc: 255, stderr: "Error: argument \"foo\" is wrong: Illegal meta use type\n"}}, + {"negative: a bad type", "tcact2write/ng-073", nil, + awExpected{rc: 255, stderr: "Error: argument \"zz\" is wrong: ife type is invalid\n"}}, + {"negative: a bad MAC", "tcact2write/ng-074", nil, + awExpected{rc: 255, stderr: "Error: argument \"zz\" is wrong: Invalid mac address\n"}}, + {"negative: a bad index", "tcact2write/ng-075", nil, + awExpected{rc: 255, stderr: "ife: Illegal \"index\"\n" + parseTail(6, "ife")}}, + {"negative: help is exit(-1)", "tcact2write/ng-076", nil, awExpected{rc: 255, has: ifeUsageHead}}, + {"boundary: use mark 0 sends nothing, an empty METALST (W271)", "tcact2write/ec-142", nil, awExpected{stderr: ifeDefaultType}}, + {"boundary: use mark 0's METALST", "", []string{"ife", "encode", "use", "mark", "0"}, + awExpected{reqs: 1, stderr: ifeDefaultType, opts: metalst([]byte{})}}, + {"boundary: mark 4294967295 and tcindex 65535 are sent", "tcact2write/ec-137", nil, awExpected{stderr: ifeDefaultType}}, + {"boundary: tcindex 65536 is invarg", "tcact2write/ng-072", nil, + awExpected{rc: 255, stderr: "Error: argument \"65536\" is wrong: ife tcindex val is invalid\n"}}, + {"corner: index alone counts as a mode, a decode with no METALST (W267)", "tcact2write/ec-138", nil, awExpected{}}, + {"corner: trailing junk after six groups is accepted (W196)", "tcact2write/ec-147", nil, + awExpected{stderr: "dst MAC address <02:00:00:00:00:01junk>\n" + ifeDefaultType}}, + {"corner: 0x and over-long groups are sscanf's (W196)", "tcact2write/ec-148", nil, + awExpected{stderr: "dst MAC address <0x2:1aa:00:00:00:01>\n" + ifeDefaultType}}, + {"corner: METALST is mark then tcindex, whatever the order given (W271)", "tcact2write/ec-143", nil, + awExpected{stderr: ifeDefaultType}}, + {"corner: that METALST's bytes", "", []string{"ife", "encode", "use", "tcindex", "1", "use", "mark", "2"}, + awExpected{reqs: 1, stderr: ifeDefaultType, opts: metalst([]byte{8, 0, 1, 0, 2, 0, 0, 0, 6, 0, 5, 0, 1, 0, 0, 0})}}, + {"corner: use's value overrides allow", "tcact2write/ec-144", nil, awExpected{stderr: ifeDefaultType}}, + {"corner: words ife is a prefix of are skipped (W269)", "tcact2write/ec-139", nil, awExpected{}}, + {"corner: e, a, ds and t are encode, allow, dst and type (W270)", "tcact2write/ec-140", nil, + awExpected{stderr: "dst MAC address <02:00:00:00:00:01>\nIFE type 0x1234\n"}}, + {"corner: the last of encode and decode wins (W270)", "tcact2write/ec-141", nil, awExpected{}}, + {"corner: mark and index are base 0 (W272)", "tcact2write/ec-145", nil, awExpected{stderr: ifeDefaultType}}, + {"corner: decode drops dst, type and allow, after their chatter (W273)", "tcact2write/ec-146", nil, + awExpected{stderr: "dst MAC address <02:00:00:00:00:01>\nIFE type 0x1234\n"}}, + {"corner: TYPE is host order (W274)", "", []string{"ife", "encode", "type", "0x1234", "allow", "mark"}, + awExpected{reqs: 1, stderr: "IFE type 0x1234\n", opts: all(optBytes(xtcpnl.TcaIfeType, le16b(0x1234)), + metalst([]byte{4, 0, 1, 0}))}}, + {"corner: a control word", "tcact2write/ec-136", nil, awExpected{stderr: ifeDefaultType}}, + }) +} + +// TestGotcIfeUsage holds ife_explain to m_ife.c's text. +func TestGotcIfeUsage(t *testing.T) { + tests := []struct { + description string + line int + expected string + }{ + {"positive: the first line", 0, strings.TrimSuffix(ifeUsageHead, "\n")}, + {"boundary: the last line", 12, "decode is used for receiving IFE packets"}, + {"corner: ATTR names the widths", 5, "\tATTR := mark (32-bit), prio (32-bit), tcindex (16-bit)"}, + {"negative: nothing after the last newline", 13, ""}, + } + var b strings.Builder + r := &runner{stderr: &b} + r.ifeExplain() + lines := strings.Split(b.String(), "\n") + for _, tc := range tests { + t.Run(tc.description, func(t *testing.T) { + if tc.line >= len(lines) || lines[tc.line] != tc.expected { + t.Errorf("line %d of %q, want %q", tc.line, b.String(), tc.expected) + } + }) + } +} diff --git a/internal/gotc/aw_pedit_test.go b/internal/gotc/aw_pedit_test.go index 29e245ea1..c4d5d22c0 100644 --- a/internal/gotc/aw_pedit_test.go +++ b/internal/gotc/aw_pedit_test.go @@ -15,7 +15,7 @@ import ( // // go test -tags gotc_write ./internal/gotc/ -run TestGotcPeditWrite func TestGotcPeditWrite(t *testing.T) { - row := func(id string) string { return "../tcact2write/" + id } + row := func(id string) string { return "tcact2write/" + id } const ( badParse = "bad pedit parsing\n" // A standalone add of non-ex keys: no KEYS_EX, so tcf_pedit_cmd is diff --git a/internal/gotc/aw_test.go b/internal/gotc/aw_test.go index 534f91b61..d78c94fbe 100644 --- a/internal/gotc/aw_test.go +++ b/internal/gotc/aw_test.go @@ -85,10 +85,15 @@ func runAwCases(t *testing.T, cases []awCase) { } } -// awReplayRow runs a tcactwrite row's cmd against its capture. +// awReplayRow runs a tcactwrite row's cmd against its capture; an id with +// a space's name, as tcact2write/ec-112, is that space's row. func awReplayRow(t *testing.T, id string) result { t.Helper() - dir, err := filepath.Abs(filepath.Join(tcactwriteDir, id)) + rel := filepath.Join(tcactwriteDir, id) + if strings.Contains(id, "/") { + rel = filepath.Join(tcactwriteDir, "..", id) + } + dir, err := filepath.Abs(rel) if err != nil { t.Fatal(err) } @@ -240,8 +245,12 @@ func TestGotcActParsers(t *testing.T) { } { cases = append(cases, awCase{"positive: matchall carries " + r.kind, r.row, nil, awExpected{}}) } + cases = append(cases, + awCase{"positive: increment 23's tunnel_key is parsed and sent", "ec-218", nil, awExpected{}}, + awCase{"positive: increment 23's ife is parsed and sent", "ec-219", nil, awExpected{stderr: "IFE type 0xED3E\n"}}, + ) for _, r := range []struct{ kind, row string }{ - {"tunnel_key", "ec-218"}, {"ife", "ec-219"}, {"ct", "ec-220"}, {"gate", "ec-221"}, + {"ct", "ec-220"}, {"gate", "ec-221"}, } { cases = append(cases, awCase{"negative: increment 23's " + r.kind + " is refused by name", "", []string{r.kind, "index", "1"}, awExpected{rc: 255, stderr: "gotc: not implemented: tc actions action kind " + r.kind + "\n"}}) diff --git a/internal/gotc/aw_tunnel_key.go b/internal/gotc/aw_tunnel_key.go new file mode 100644 index 000000000..5ad5433fc --- /dev/null +++ b/internal/gotc/aw_tunnel_key.go @@ -0,0 +1,376 @@ +//go:build gotc_write + +package gotc + +import ( + "encoding/binary" + "strings" + + "github.com/randomizedcoder/xtcp2/pkg/xtcpnl" + "golang.org/x/sys/unix" +) + +// tc/m_tunnel_key.c parse_tunnel_key at iproute2 v7.2.0. + +// tunnelKeyExplain is m_tunnel_key.c explain: it omits tos, ttl, index and +// CONTROL (W266). +func (r *runner) tunnelKeyExplain() { + r.errf("%s", "Usage: tunnel_key unset\n"+ + " tunnel_key set \n"+ + "Where TUNNEL_KEY is a combination of:\n"+ + "id \n"+ + "src_ip (mandatory)\n"+ + "dst_ip (mandatory)\n"+ + "dst_port \n"+ + "geneve_opts | vxlan_opts | erspan_opts \n"+ + "csum | nocsum (default is \"csum\")\n"+ + "nofrag\n") +} + +// tunnelKeyArgs is parse_tunnel_key's locals. +type tunnelKeyArgs struct { + parm xtcpnl.TcTunnelKey + action int32 + hasSrc, hasDst bool + csum, nofrag bool +} + +// parseTunnelKey is parse_tunnel_key. The options nest opens before the +// first NEXT_ARG, so a bare `tunnel_key` is incomplete (W254); the keyword +// loop takes words by prefix in tc's order (`s` set, `d` dst_ip, `t` tos, +// `n` nocsum, `e` erspan_opts; nofrag by strcmp, W255) and each option is +// written as it is read. NO_CSUM is always sent, unset too (W263); no set +// or unset sends t_action 0 (W253); the control word comes before the +// index (W264), which is base 10 (W256). +func (r *runner) parseTunnelKey(ops *fops, args []string, tcaID uint16) ([]string, bool, error) { + if !matches(args[0], xtcpnl.TcActKindTunnelKey) { + return nil, false, nil + } + a := tunnelKeyArgs{csum: true} + tail := ops.begin(maxMsg, tcaID) + args, err := r.nextArg(args) + if err != nil { + return nil, false, err + } + args, ok, err := r.tunnelKeyLoop(ops, &a, args) + if err != nil || !ok { + return nil, false, err + } + var noCsum byte + if !a.csum { + noCsum = 1 + } + ops.put(maxMsg, xtcpnl.TcaTunnelKeyNoCsum, []byte{noCsum}) + if a.nofrag { + ops.put(maxMsg, xtcpnl.TcaTunnelKeyNoFrag, nil) + } + if args, a.parm.Action, err = r.parseActionControlDflt(args, tcActPipe); err != nil { + return nil, false, err + } + if len(args) > 0 && matches(args[0], "index") { + if args, err = r.nextArg(args); err != nil { + return nil, false, err + } + i, good := getU32(args[0], 10) + if !good { + r.errf("tunnel_key: Illegal \"index\"\n") + return nil, false, nil + } + a.parm.Index = i + args = args[1:] + } + if a.action == xtcpnl.TcaTunnelKeyActSet && (!a.hasSrc || !a.hasDst) { + r.errf("set needs tunnel_key parameters\n") + r.tunnelKeyExplain() + return nil, false, nil + } + a.parm.TAction = a.action + ops.put(maxMsg, xtcpnl.TcaTunnelKeyParms, a.parm.Append(nil)) + ops.end(tail) + return args, true, nil +} + +// tunnelKeyLoop is parse_tunnel_key's keyword loop: rest starts at the +// first word it does not know. ok false is a return -1. +func (r *runner) tunnelKeyLoop(ops *fops, a *tunnelKeyArgs, args []string) (rest []string, ok bool, err error) { + for len(args) > 0 { + w := args[0] + switch { + case matches(w, "unset"), matches(w, "set"): + if a.action != 0 { + r.errf("unexpected \"%s\" - action already specified\n", w) + r.tunnelKeyExplain() + return nil, false, nil + } + a.action = xtcpnl.TcaTunnelKeyActSet + if matches(w, "unset") { + a.action = xtcpnl.TcaTunnelKeyActRelease + } + case matches(w, "src_ip"), matches(w, "dst_ip"): + if args, err = r.nextArg(args); err != nil { + return nil, false, err + } + src := matches(w, "src_ip") + if err = r.tunnelKeyAddr(ops, args[0], src); err != nil { + return nil, false, err + } + if src { + a.hasSrc = true + } else { + a.hasDst = true + } + case matches(w, "help"): + r.tunnelKeyExplain() + return nil, false, exitCode(-1) + case w == "nofrag": + a.nofrag = true + default: + var known bool + if args, known, ok, err = r.tunnelKeyOpt(ops, a, args); err != nil || !ok { + return nil, false, err + } + if !known { + return args, true, nil + } + } + args = args[1:] + } + return args, true, nil +} + +// tunnelKeyOpt is the loop's arms from id on, in tc's order: known false +// is the loop's break, ok false a return -1 after its message. +func (r *runner) tunnelKeyOpt(ops *fops, a *tunnelKeyArgs, args []string) (rest []string, known, ok bool, err error) { + w := args[0] + var parse func(*fops, []string) bool + var name string + switch { + case matches(w, "id"): + name, parse = "id", func(o *fops, v []string) bool { return putBe32(o, v[0], 10, xtcpnl.TcaTunnelKeyEncKeyID) } + case matches(w, "dst_port"): + name, parse = "dst port", func(o *fops, v []string) bool { return putBe16(o, v[0], 10, xtcpnl.TcaTunnelKeyEncDstPort) } + case matches(w, "geneve_opts"): + name, parse = "geneve_opts", r.tunnelKeyGeneveOpts + case matches(w, "vxlan_opts"): + name, parse = "vxlan_opts", tunnelKeyVxlanOpt + case matches(w, "erspan_opts"): + name, parse = "erspan_opts", r.tunnelKeyErspanOpt + case matches(w, "tos"): + name, parse = "tos", func(o *fops, v []string) bool { return putTosTTL(o, v[0], xtcpnl.TcaTunnelKeyEncTos) } + case matches(w, "ttl"): + name, parse = "ttl", func(o *fops, v []string) bool { return putTosTTL(o, v[0], xtcpnl.TcaTunnelKeyEncTTL) } + case matches(w, "csum"): + a.csum = true + return args, true, true, nil + case matches(w, "nocsum"): + a.csum = false + return args, true, true, nil + default: + return args, false, true, nil + } + if args, err = r.nextArg(args); err != nil { + return nil, false, false, err + } + if !parse(ops, args) { + r.errf("Illegal \"%s\"\n", name) + return nil, true, false, nil + } + return args, true, true, nil +} + +// tunnelKeyAddr is tunnel_key_parse_ip_addr: get_addr's exit(1) for a bad +// address, so "Illegal \"src_ip\"" can never print (W250), and the family +// picks the type: any, all and default are AF_UNSPEC's, 0 bytes of +// IPV6_* (W251); a v4 and a v6 address are both sent (W252). +func (r *runner) tunnelKeyAddr(ops *fops, arg string, src bool) error { + p, err := r.getAddr(arg, unix.AF_UNSPEC) + if err != nil { + return err + } + t4, t6 := xtcpnl.TcaTunnelKeyEncIPv4Dst, xtcpnl.TcaTunnelKeyEncIPv6Dst + if src { + t4, t6 = xtcpnl.TcaTunnelKeyEncIPv4Src, xtcpnl.TcaTunnelKeyEncIPv6Src + } + t := t6 + if p.family == unix.AF_INET { + t = t4 + } + ops.put(maxMsg, t, append([]byte(nil), p.data[:p.byteLen()]...)) + return nil +} + +// putBe16 is get_be16 then addattr16: false is get_be16's failure. +func putBe16(ops *fops, s string, base uint64, t uint16) bool { + v, ok := getU16(s, base) + if ok { + ops.put(maxMsg, t, binary.BigEndian.AppendUint16(nil, v)) + } + return ok +} + +// putBe32 is get_be32 then addattr32. +func putBe32(ops *fops, s string, base uint64, t uint16) bool { + v, ok := getU32(s, base) + if ok { + ops.put(maxMsg, t, binary.BigEndian.AppendUint32(nil, v)) + } + return ok +} + +// putU8 is get_u8 then addattr8. +func putU8(ops *fops, s string, base uint64, t uint16) bool { + v, ok := getU8(s, base) + if ok { + ops.put(maxMsg, t, []byte{v}) + } + return ok +} + +// putTosTTL is tunnel_key_parse_tos_ttl: base 10, and on failure base 16, +// so `1a` is 26 and `010` is 10 (W257). +func putTosTTL(ops *fops, s string, t uint16) bool { + v, ok := getU8(s, 10) + if !ok { + v, ok = getU8(s, 16) + } + if ok { + ops.put(maxMsg, t, []byte{v}) + } + return ok +} + +// strtok is glibc strtok_r over one argv word: each token, the offset of +// the delimiter strtok_r writes a NUL over (-1 at the word's end), and +// where the next call starts. Leading delimiters are skipped, so empty +// fields merge and the fields after them shift (W258, W261). +func strtok(w string, from int, delim string) (tok string, at, nul, next int, ok bool) { + s := from + for s < len(w) && strings.IndexByte(delim, w[s]) >= 0 { + s++ + } + if s >= len(w) { + return "", 0, -1, len(w), false + } + e := s + for e < len(w) && strings.IndexByte(delim, w[e]) < 0 { + e++ + } + if e == len(w) { + return w[s:e], s, -1, e, true + } + return w[s:e], s, e, e + 1, true +} + +// tokNul is strtok_r's NUL at byte k of words[0], which tc never puts back +// and a later batch line can read (W265). +func (r *runner) tokNul(words []string, k int) { + if k >= 0 { + r.mem.nul(words, k) + } +} + +// tunnelKeyGeneveOpts is tunnel_key_parse_geneve_opts: ENC_OPTS, without +// NLA_F_NESTED, then a GENEVE nest per ','-token. An empty word sends an +// empty ENC_OPTS (W260). +func (r *runner) tunnelKeyGeneveOpts(ops *fops, words []string) bool { + nest := ops.begin(maxMsg, xtcpnl.TcaTunnelKeyEncOpts) + w := words[0] + for i := 0; ; { + tok, at, nul, next, ok := strtok(w, i, ",") + if !ok { + break + } + r.tokNul(words, nul) + if !r.tunnelKeyGeneveOpt(ops, words, tok, at) { + return false + } + i = next + } + ops.end(nest) + return true +} + +// tunnelKeyGeneveOpt is tunnel_key_parse_geneve_opt over the token at byte +// base of words[0]: CLASS (be16, base 16), TYPE (u8, base 16) and DATA, +// each a ':'-token. DATA is len/2 bytes of hex2mem (pairs from the +// start, whatever follows), so an odd last nibble +// is dropped unread and one character is 0 bytes (W259); a fourth field +// fails. +func (r *runner) tunnelKeyGeneveOpt(ops *fops, words []string, opt string, base int) bool { + nest := ops.begin(maxMsg, xtcpnl.TcaTunnelKeyEncOptsGeneve) + n := uint16(1) + for i := 0; ; n++ { + tok, _, nul, next, ok := strtok(opt, i, ":") + if !ok { + break + } + if nul >= 0 { + r.tokNul(words, base+nul) + } + switch n { + case xtcpnl.TcaTunnelKeyEncOptGeneveClass: + ok = putBe16(ops, tok, 16, n) + case xtcpnl.TcaTunnelKeyEncOptGeneveType: + ok = putU8(ops, tok, 16, n) + case xtcpnl.TcaTunnelKeyEncOptGeneveData: + b := make([]byte, len(tok)/2) + if ok = hex2mem(tok, b); ok { + ops.put(maxMsg, n, b) + } + default: + ok = false + } + if !ok { + return false + } + i = next + } + ops.end(nest) + return true +} + +// tunnelKeyVxlanOpt is tunnel_key_parse_vxlan_opt: ENC_OPTS and VXLAN, +// both with NLA_F_NESTED, and GBP in base 0. +func tunnelKeyVxlanOpt(ops *fops, words []string) bool { + encap := ops.begin(maxMsg, xtcpnl.TcaTunnelKeyEncOpts|unix.NLA_F_NESTED) + nest := ops.begin(maxMsg, xtcpnl.TcaTunnelKeyEncOptsVxlan|unix.NLA_F_NESTED) + v, ok := getU32(words[0], 0) + if !ok { + return false + } + ops.u32(maxMsg, xtcpnl.TcaTunnelKeyEncOptVxlanGbp, v) + ops.end(nest) + ops.end(encap) + return true +} + +// tunnelKeyErspanOpt is tunnel_key_parse_erspan_opt: VER, INDEX (be32), +// DIR and HWID, each a ':'-token in base 0 (W261); a fifth field fails. +func (r *runner) tunnelKeyErspanOpt(ops *fops, words []string) bool { + encap := ops.begin(maxMsg, xtcpnl.TcaTunnelKeyEncOpts|unix.NLA_F_NESTED) + nest := ops.begin(maxMsg, xtcpnl.TcaTunnelKeyEncOptsErspan|unix.NLA_F_NESTED) + w := words[0] + n := uint16(1) + for i := 0; ; n++ { + tok, _, nul, next, ok := strtok(w, i, ":") + if !ok { + break + } + r.tokNul(words, nul) + switch n { + case xtcpnl.TcaTunnelKeyEncOptErspanVer, xtcpnl.TcaTunnelKeyEncOptErspanDir, xtcpnl.TcaTunnelKeyEncOptErspanHwid: + ok = putU8(ops, tok, 0, n) + case xtcpnl.TcaTunnelKeyEncOptErspanIndex: + ok = putBe32(ops, tok, 0, n) + default: + ok = false + } + if !ok { + return false + } + i = next + } + ops.end(nest) + ops.end(encap) + return true +} diff --git a/internal/gotc/aw_tunnel_key_test.go b/internal/gotc/aw_tunnel_key_test.go new file mode 100644 index 000000000..a13931ac3 --- /dev/null +++ b/internal/gotc/aw_tunnel_key_test.go @@ -0,0 +1,159 @@ +//go:build gotc_write + +package gotc + +import ( + "testing" + + "github.com/randomizedcoder/xtcp2/pkg/xtcpnl" +) + +// tunnelKeyUsage is m_tunnel_key.c explain's text. +const tunnelKeyUsage = "Usage: tunnel_key unset\n" + + " tunnel_key set \n" + + "Where TUNNEL_KEY is a combination of:\n" + + "id \n" + + "src_ip (mandatory)\n" + + "dst_ip (mandatory)\n" + + "dst_port \n" + + "geneve_opts | vxlan_opts | erspan_opts \n" + + "csum | nocsum (default is \"csum\")\n" + + "nofrag\n" + +// geneveDataLen checks the first geneve option's DATA is n bytes. +func geneveDataLen(n int) func(*testing.T, map[uint16][]byte) { + return func(t *testing.T, opts map[uint16][]byte) { + t.Helper() + enc, ok := opts[xtcpnl.TcaTunnelKeyEncOpts] + if !ok { + t.Fatal("no ENC_OPTS") + } + data, ok := rtAttrs(rtAttrs(enc)[xtcpnl.TcaTunnelKeyEncOptsGeneve])[xtcpnl.TcaTunnelKeyEncOptGeneveData] + if !ok || len(data) != n { + t.Errorf("geneve DATA % x (present %v), want %d bytes", data, ok, n) + } + } +} + +// TestGotcTunnelKeyWrite is m_tunnel_key.c parse_tunnel_key (aw_tunnel_key.go). +// Rows named tcact2write/... are held to tc's capture byte for byte. +// +// go test -tags gotc_write ./internal/gotc/ -run TestGotcTunnelKeyWrite +func TestGotcTunnelKeyWrite(t *testing.T) { + const kerr = "We have an error talking to the kernel\n" + runAwCases(t, []awCase{ + {"positive: set v4 with id, dst_port, tos 0x10 (base 16 after base 10) and ttl", "tcact2write/ec-112", nil, awExpected{}}, + {"positive: set v6 with dst_port", "tcact2write/ec-113", nil, awExpected{}}, + {"positive: geneve, its ENC_OPTS without NLA_F_NESTED", "tcact2write/ec-117", nil, awExpected{}}, + {"positive: three geneve options on v6", "tcact2write/ec-118", nil, awExpected{}}, + {"positive: vxlan, both nests with NLA_F_NESTED", "tcact2write/ec-119", nil, awExpected{}}, + {"positive: erspan v1 and v2", "tcact2write/ec-120", nil, awExpected{}}, + {"positive: erspan v2", "tcact2write/ec-121", nil, awExpected{}}, + {"positive: unset sends PARMS and NO_CSUM (W263)", "tcact2write/ec-007", nil, awExpected{}}, + {"positive: unset's attributes", "", []string{"tunnel_key", "unset"}, + awExpected{reqs: 1, opts: all(optBytes(xtcpnl.TcaTunnelKeyNoCsum, u8b(0)), + parmsU32At(xtcpnl.TcaTunnelKeyParms, 20, xtcpnl.TcaTunnelKeyActRelease), + parmsU32At(xtcpnl.TcaTunnelKeyParms, 8, tcActPipe))}}, + {"positive: change, replace, delete and flush", "tcact2write/ec-008", nil, awExpected{}}, + {"positive: replace", "tcact2write/ec-009", nil, awExpected{}}, + {"positive: delete", "tcact2write/ec-011", nil, awExpected{}}, + {"positive: flush", "tcact2write/ec-012", nil, awExpected{}}, + {"positive: inside matchall", "tcact2write/ec-228", nil, awExpected{}}, + {"positive: nocsum and nofrag", "tcact2write/ec-114", nil, awExpected{}}, + {"negative: a bad address is get_addr's exit(1); Illegal \"src_ip\" never prints (W250)", "tcact2write/ng-045", nil, + awExpected{rc: 1, stderr: "Error: any valid address is expected rather than \"bogus\".\n"}}, + {"negative: get_addr's exit(1) ends a -force batch (W250)", "tcact2write/ng-159", nil, + awExpected{rc: 1, stderr: "Error: any valid address is expected rather than \"bogus\".\n"}}, + {"negative: no set or unset sends t_action 0, which the kernel refuses (W253)", "tcact2write/ng-048", nil, + awExpected{rc: 255, stderr: "Error: Unknown tunnel key action.\n" + kerr}}, + {"negative: a bare tunnel_key is incomplete (W254)", "tcact2write/ng-049", nil, + awExpected{rc: 255, stderr: "Command line is not complete. Try option \"help\"\n"}}, + {"negative: id with no value is incomplete", "tcact2write/ng-065", nil, + awExpected{rc: 255, stderr: "Command line is not complete. Try option \"help\"\n"}}, + {"negative: id is base 10 (W256)", "tcact2write/ng-050", nil, + awExpected{rc: 255, stderr: "Illegal \"id\"\n" + parseTail(10, "tunnel_key")}}, + {"negative: dst_port is base 10 and its message has a space (W256)", "tcact2write/ng-051", nil, + awExpected{rc: 255, stderr: "Illegal \"dst port\"\n" + parseTail(12, "tunnel_key")}}, + {"negative: index is base 10 (W256)", "tcact2write/ng-052", nil, + awExpected{rc: 255, stderr: "tunnel_key: Illegal \"index\"\n" + parseTail(10, "tunnel_key")}}, + {"negative: a second set (W266)", "tcact2write/ng-059", nil, + awExpected{rc: 255, stderr: "unexpected \"set\" - action already specified\n" + tunnelKeyUsage + parseTail(9, "tunnel_key")}}, + {"negative: set with no addresses", "tcact2write/ng-060", nil, + awExpected{rc: 255, stderr: "set needs tunnel_key parameters\n" + tunnelKeyUsage + parseTail(6, "tunnel_key")}}, + {"negative: help is exit(-1)", "tcact2write/ng-064", nil, awExpected{rc: 255, stderr: tunnelKeyUsage}}, + {"negative: a bad vxlan GBP", "tcact2write/ng-062", nil, + awExpected{rc: 255, stderr: "Illegal \"vxlan_opts\"\n" + parseTail(12, "tunnel_key")}}, + {"negative: a fifth erspan field", "tcact2write/ng-063", nil, + awExpected{rc: 255, stderr: "Illegal \"erspan_opts\"\n" + parseTail(12, "tunnel_key")}}, + {"boundary: tos and ttl 255", "tcact2write/ec-124", nil, awExpected{}}, + {"boundary: tos 256 fails in both bases", "tcact2write/ng-061", nil, + awExpected{rc: 255, stderr: "Illegal \"tos\"\n" + parseTail(12, "tunnel_key")}}, + {"boundary: id and dst_port at their limits", "tcact2write/ec-125", nil, awExpected{}}, + {"boundary: one DATA character is 0 bytes (W259)", "tcact2write/ng-055", nil, + awExpected{rc: 255, stderr: "Error: Tunnel key geneve option data is less than 4 bytes long.\n" + kerr}}, + {"boundary: seven DATA characters are 3 bytes, the last nibble unread (W259)", "tcact2write/ng-056", nil, + awExpected{rc: 255, stderr: "Error: Tunnel key geneve option data is less than 4 bytes long.\n" + kerr}}, + {"boundary: eight DATA characters are 4 bytes", "tcact2write/ec-128", nil, awExpected{}}, + {"boundary: DATA lengths 1, 7 and 8 give 0, 3 and 4 bytes (W259)", "", + []string{"tunnel_key", "unset", "geneve_opts", "0102:80:0"}, awExpected{reqs: 1, opts: geneveDataLen(0)}}, + {"boundary: DATA of 7 characters", "", []string{"tunnel_key", "unset", "geneve_opts", "0102:80:0011223"}, + awExpected{reqs: 1, opts: geneveDataLen(3)}}, + {"boundary: DATA of 8 characters", "", []string{"tunnel_key", "unset", "geneve_opts", "0102:80:00112233"}, + awExpected{reqs: 1, opts: geneveDataLen(4)}}, + {"corner: an empty geneve field merges and shifts the rest (W258)", "tcact2write/ng-053", nil, + awExpected{rc: 255, stderr: "Illegal \"geneve_opts\"\n" + parseTail(12, "tunnel_key")}}, + {"corner: geneve with no DATA is sent; the kernel refuses", "tcact2write/ng-054", nil, + awExpected{rc: 255, stderr: "Error: Missing tunnel key geneve option class, type or data.\n" + kerr}}, + {"corner: an empty erspan field shifts dir into index's place (W261)", "tcact2write/ng-057", nil, + awExpected{rc: 255, stderr: "Error: Missing tunnel key erspan option dir or hwid.\n" + kerr}}, + {"corner: an empty geneve_opts sends an empty ENC_OPTS (W260)", "tcact2write/ng-058", nil, + awExpected{rc: 255, stderr: "Error: Empty list of tunnel options.\n" + kerr}}, + {"corner: src_ip any sends 0 bytes of IPV6_SRC (W251)", "tcact2write/ng-046", nil, + awExpected{rc: 255, stderr: "Error: Failed to parse nested tunnel key attributes.\n" + kerr}}, + {"corner: src_ip any's attribute", "", []string{"tunnel_key", "unset", "src_ip", "any"}, + awExpected{reqs: 1, opts: all(optBytes(xtcpnl.TcaTunnelKeyEncIPv6Src, []byte{}), optAbsent(xtcpnl.TcaTunnelKeyEncIPv4Src))}}, + {"corner: a v4 src and a v6 dst are both sent (W252)", "tcact2write/ng-047", nil, + awExpected{rc: 255, stderr: "Error: Missing either ipv4 or ipv6 src and dst.\n" + kerr}}, + {"corner: strtok_r's NULs stay in the batch buffer for simple's sdata (W265)", "tcact2write/ec-256", nil, awExpected{}}, + {"corner: geneve and vxlan send two ENC_OPTS (W262)", "tcact2write/ec-129", nil, awExpected{}}, + {"corner: unset sends the addresses and NO_CSUM 1 (W263)", "tcact2write/ec-130", nil, awExpected{}}, + {"corner: control before index, so a later pipe is a second action (W264)", "tcact2write/ec-131", nil, awExpected{}}, + {"corner: a control word", "tcact2write/ec-122", nil, awExpected{}}, + {"corner: tos 1a is 26 and ttl 010 is 10 (W257)", "tcact2write/ec-127", nil, awExpected{}}, + {"corner: s, d, i, t and n are set, dst_ip, id, tos and nocsum (W255)", "tcact2write/ec-126", nil, awExpected{}}, + {"corner: nofrag is a strcmp, so nof is the next action's kind", "", []string{"tunnel_key", "unset", "nof"}, + awExpected{rc: 255, stderr: "Bad action type nof\n" + gactExplainText}}, + }) +} + +// TestStrtok is glibc strtok_r over one word. +func TestStrtok(t *testing.T) { + type tok struct { + tok string + at, nul, nxt int + ok bool + } + tests := []struct { + description string + w string + from int + expected tok + }{ + {"positive: the first field, a NUL over its delimiter", "ab:cd", 0, tok{"ab", 0, 2, 3, true}}, + {"positive: the last field, no NUL", "ab:cd", 3, tok{"cd", 3, -1, 5, true}}, + {"negative: an empty word has no token", "", 0, tok{"", 0, -1, 0, false}}, + {"negative: only delimiters", ":::", 0, tok{"", 0, -1, 3, false}}, + {"boundary: past the end", "ab", 2, tok{"", 0, -1, 2, false}}, + {"corner: leading and doubled delimiters merge (W258)", "::ab::cd", 0, tok{"ab", 2, 4, 5, true}}, + {"corner: a trailing delimiter gets its NUL", "ab:", 0, tok{"ab", 0, 2, 3, true}}, + } + for _, tc := range tests { + t.Run(tc.description, func(t *testing.T) { + var g tok + g.tok, g.at, g.nul, g.nxt, g.ok = strtok(tc.w, tc.from, ":") + if g != tc.expected { + t.Errorf("strtok(%q, %d) = %+v, want %+v", tc.w, tc.from, g, tc.expected) + } + }) + } +} diff --git a/internal/gotc/awrite_tdc_test.go b/internal/gotc/awrite_tdc_test.go index ed3a795fb..db10f7192 100644 --- a/internal/gotc/awrite_tdc_test.go +++ b/internal/gotc/awrite_tdc_test.go @@ -19,15 +19,15 @@ import ( // tdcActionSkips pins the tdc `tc actions` writes gotc refuses, by the // action kind named: increment 23's six. var tdcActionSkips = map[string]int{ - "ct": 17, "gate": 8, "ife": 48, "tunnel_key": 35, + "ct": 17, "gate": 8, } // tdcActionKnown are the `tc actions` rows gotc cannot match, each with why. var tdcActionKnown = map[string]string{} // tdcActionWritesSent pins how many tdc `tc actions` writes gotc matches -// exactly (22W: gact and the 12 kinds of increment 12; 23W: bpf 7, pedit 69). -const tdcActionWritesSent = 408 +// exactly (22W: gact and the 12 kinds of increment 12; 23W: bpf 7, pedit 69, ife 48, tunnel_key 35). +const tdcActionWritesSent = 491 var actionWriteRefused = regexp.MustCompile(`not implemented: tc actions action kind (\S+)`) diff --git a/internal/gotc/corpus_test.go b/internal/gotc/corpus_test.go index 710ec52b5..dfc795a0c 100644 --- a/internal/gotc/corpus_test.go +++ b/internal/gotc/corpus_test.go @@ -57,8 +57,6 @@ var corpusRefused = map[string]string{ "tcematch/ng-109": "not implemented: tc filter write of ematch kind ipset", "tcematch/ng-110": "not implemented: tc filter write of ematch kind ipset", // 22W: the kinds increment 23 ports, refused by name. - "tcactwrite/ec-218": "not implemented: tc actions action kind tunnel_key", - "tcactwrite/ec-219": "not implemented: tc actions action kind ife", "tcactwrite/ec-220": "not implemented: tc actions action kind ct", "tcactwrite/ec-221": "not implemented: tc actions action kind gate", } diff --git a/internal/gotc/qwrite_tdc_test.go b/internal/gotc/qwrite_tdc_test.go index 6ba9f82ae..3746132e6 100644 --- a/internal/gotc/qwrite_tdc_test.go +++ b/internal/gotc/qwrite_tdc_test.go @@ -135,8 +135,7 @@ func TestGotcTdcWrites(t *testing.T) { // leaves increment 23's six. var tdcFilterSkips = map[string]int{ "kind flower": 2, - "action ct": 7, "action gate": 1, "action ife": 2, - "action tunnel_key": 1, + "action ct": 7, "action gate": 1, } // tdcFilterKnown are the filter rows gotc cannot match, each with why. @@ -145,8 +144,8 @@ var tdcFilterKnown = map[string]string{} // tdcFilterWritesSent pins how many tdc filter and chain writes gotc // matches exactly (20W 134, 21W's basic, cgroup and flow match 111 more, // 22W's police and the other 11 action kinds 31 more, 23W's bpf filter -// and action 5 more, pedit 1). -const tdcFilterWritesSent = 282 +// and action 5 more, pedit 1, ife 2 and tunnel_key 1). +const tdcFilterWritesSent = 285 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+)\))`) From 2c922422bbef990fef5f6e218dccad77a5658c75 Mon Sep 17 00:00:00 2001 From: randomizedcoder Date: Mon, 30 Nov 2026 23:01:09 -0800 Subject: [PATCH 08/13] gotc 23W: ct and gate writes (m_ct.c, m_gate.c) aw_ct.go is parse_ct: the options nest first, each option's attributes as read, nat's words each needing one after them (W276, W277), get_addr's exit(1) for nat addresses with the second taking the first's family (W279), 0-byte IPV6 for any (W281), base-10 ports (W282), the 3-field helper scan (W283) with inet_proto_a2n by get_u8 base 10 then the workbench's /etc/protocols (render.ProtoByName; W284), labels as tc halves and reports them (W285-W287), index only inside the loop (W288), and the NULs mark's and label's '/' leave in a batch (W291). A nat argument of 63+ bytes is refused by name: tc reads past its unterminated SPRINT_BUF copy (W280). aw_gate.go is parse_gate: entries nested at addattr_nest(n, 1024, ...) so the bound copy gives W293's errors and broken nests byte for byte; get_s64/get_time64 times (W296, W298), 0 as unset (W299), closed entries forced to -1 (W304), get_size's low-32-bit store on its failure (W295). Refused by name: get_size's uninitialised store after a numeric ipv (W294) and strtod times tc casts to __s64 out of range, inf and nan (W297). tcact2write: 117 of the 121 ct and gate rows replay byte for byte; ec-168 (W280) and ec-204..206 (W297) are the refusals. gotc may import internal/goip/render for getprotobyname. With all six kinds in, TestGotcCorpus replays tcact2write (418 rows, 12 refused by name: eBPF, W280, W297) and the temporary act2 test goes. tdc: no action write is refused any more (516 sent), and only flower's 2 filter writes are (293 sent). tcactwrite ec-217..ec-222 and tcfwrite ec-117 are sent byte for byte. Co-Authored-By: Claude Opus 5.5 --- internal/gotc/act2_corpus_test.go | 75 +----- internal/gotc/act_parse.go | 6 +- internal/gotc/aw_ct.go | 391 ++++++++++++++++++++++++++++++ internal/gotc/aw_ct_test.go | 172 +++++++++++++ internal/gotc/aw_gate.go | 367 ++++++++++++++++++++++++++++ internal/gotc/aw_gate_test.go | 210 ++++++++++++++++ internal/gotc/aw_test.go | 8 +- internal/gotc/awrite_tdc_test.go | 11 +- internal/gotc/corpus_test.go | 15 +- internal/gotc/imports_test.go | 15 +- internal/gotc/qwrite_tdc_test.go | 14 +- 11 files changed, 1182 insertions(+), 102 deletions(-) create mode 100644 internal/gotc/aw_ct.go create mode 100644 internal/gotc/aw_ct_test.go create mode 100644 internal/gotc/aw_gate.go create mode 100644 internal/gotc/aw_gate_test.go diff --git a/internal/gotc/act2_corpus_test.go b/internal/gotc/act2_corpus_test.go index 795454a01..28c082188 100644 --- a/internal/gotc/act2_corpus_test.go +++ b/internal/gotc/act2_corpus_test.go @@ -2,75 +2,10 @@ package gotc -import ( - "os" - "path/filepath" - "strings" - "testing" -) - -// tcact2writeDir is increment 23's capture space (23C). +// tcact2writeDir is increment 23's capture space (23C). TestGotcCorpus +// replays it since 23W, with the rows refused by name in corpusRefused. const tcact2writeDir = "../../pkg/xtcpnl/testdata/7_3_1/ws/tcact2write" -// TestGotcAct2Corpus replays every tcact2write row as TestGotcCorpus does -// and holds gotc's stdout, stderr, exit code and requests to tc's. While -// 23W ports its kinds one at a time, a row gotc still refuses by name for -// a kind not yet ported is skipped; every other row is held exactly. -// -// go test -tags gotc_write ./internal/gotc/ -run TestGotcAct2Corpus -func TestGotcAct2Corpus(t *testing.T) { - base, err := filepath.Abs(tcact2writeDir) - if err != nil { - t.Fatal(err) - } - entries, err := os.ReadDir(base) - if err != nil { - t.Fatal(err) - } - pschedContent = readFile(t, pschedRow) - for _, e := range entries { - if !e.IsDir() { - continue - } - dir := filepath.Join(base, e.Name()) - c := readCmdJSON(t, dir) - t.Run(e.Name(), func(t *testing.T) { - got, want := corpusRow(t, dir, c) - if why, ok := act2Refused[e.Name()]; ok { - if got.rc != 255 || !strings.Contains(got.stderr, why) { - t.Fatalf("%s: want gotc's refusal %q, got %#v", c.Cmd, why, got) - } - return - } - if got.rc == 255 && act2Unported(got.stderr) { - t.Skipf("kind not ported yet: %s", strings.TrimSpace(got.stderr)) - } - if got != want { - t.Fatalf("%s\n got %#v\n want %#v", c.Cmd, got, want) - } - }) - } -} - -// act2Refused are the rows gotc refuses by name, each with its message: -// tc reaches bpf(2), libbpf or the ELF loader (eBPF), which gotc never -// does, in the action (W314's mode words) and the filter. -var act2Refused = map[string]string{ - "ng-139": "eBPF program via bpf(2)", "ng-140": "eBPF program via bpf(2)", - "ng-141": "eBPF program via bpf(2)", "ng-142": "eBPF program via bpf(2)", - "ng-143": "eBPF program via bpf(2)", "ng-144": "eBPF program via bpf(2)", - "ng-153": "eBPF program via bpf(2)", "ng-154": "eBPF program via bpf(2)", -} - -// act2Unported is gotc's refusal by name of a kind increment 23 ports. -func act2Unported(stderr string) bool { - if !strings.Contains(stderr, "not implemented: tc ") { - return false - } - for _, k := range []string{"ct", "gate"} { - if strings.Contains(stderr, "action kind "+k+"\n") || strings.Contains(stderr, "filter write of kind "+k+"\n") { - return true - } - } - return false -} +// act2Row is a tcact2write row id as awCase.row names it: a space/row id +// awReplayRow resolves. +func act2Row(id string) string { return "tcact2write/" + id } diff --git a/internal/gotc/act_parse.go b/internal/gotc/act_parse.go index 2340a4d36..ff54f0e49 100644 --- a/internal/gotc/act_parse.go +++ b/internal/gotc/act_parse.go @@ -15,8 +15,8 @@ import ( // m_action.c parse_action (each action's prio nest, kind, options, cookie, // hw_stats and flags), tc_util.c action_a2n and parse_action_control, and // each kind's parse_aopt by name (actParsers: m_gact.c here, the 12 kinds -// of increment 22 and increment 23's pedit, tunnel_key, ife and bpf in -// aw_*.go). ct and gate are refused by name until 23W ports them; an +// of increment 22 and increment 23's six in aw_*.go). linkedActKinds' +// refusal by name stays for a kind tc links that gotc does not parse; an // unknown name is get_action_kind's fallback to gact's parser, with the // name kept as TCA_ACT_KIND (W114). @@ -46,6 +46,8 @@ var actParsers = map[string]actParser{ xtcpnl.TcActKindIfe: (*runner).parseIfe, xtcpnl.TcActKindBpf: (*runner).parseBpf, xtcpnl.TcActKindPedit: (*runner).parsePedit, + xtcpnl.TcActKindCt: (*runner).parseCt, + xtcpnl.TcActKindGate: (*runner).parseGate, } // tcCookieMax is TC_COOKIE_MAX_SIZE. diff --git a/internal/gotc/aw_ct.go b/internal/gotc/aw_ct.go new file mode 100644 index 000000000..5559b9629 --- /dev/null +++ b/internal/gotc/aw_ct.go @@ -0,0 +1,391 @@ +//go:build gotc_write + +package gotc + +import ( + "encoding/binary" + "fmt" + "strconv" + "strings" + + "github.com/randomizedcoder/xtcp2/internal/goip/render" + "github.com/randomizedcoder/xtcp2/pkg/xtcpnl" + "golang.org/x/sys/unix" +) + +// tc/m_ct.c parse_ct at iproute2 v7.2.0, with lib/inet_proto.c +// inet_proto_a2n for the helper's protocol. + +// ctSprintBuf is SPRINT_BUF's size: the nat range parsers strncpy their +// argument into one of these, uninitialised, keeping 63 bytes. +const ctSprintBuf = 64 + +// ctLabelsSize is m_ct.c LABELS_SIZE. +const ctLabelsSize = 16 + +// ctHelperBuf is ct_parse_helper's `char f[32], p[32], name[32]`. +const ctHelperBuf = 32 + +// ctUsage is m_ct.c usage: its text, then exit(-1). +func (r *runner) ctUsage() error { + r.errf("%s", "Usage: ct clear\n"+ + "\tct commit [force] [zone ZONE] [mark MASKED_MARK] [label MASKED_LABEL] [nat NAT_SPEC] [helper HELPER]\n"+ + "\tct [nat] [zone ZONE]\n"+ + "Where: ZONE is the conntrack zone table number\n"+ + "\tNAT_SPEC is {src|dst} addr addr1[-addr2] [port port1[-port2]]\n"+ + "\tHELPER is family-proto-name such as ipv4-tcp-ftp\n"+ + "\n") + return exitCode(-1) +} + +// parseCt is parse_ct: the options nest is opened first and each option's +// attributes are added as it is read; a word that is no option ends the +// loop, and only then the control word, so `index` after it is the next +// action's kind (W288). nat's words each need one after them (W276, +// W277). TCA_CT_ACTION and TCA_CT_PARMS close the nest. +func (r *runner) parseCt(ops *fops, args []string, tcaID uint16) ([]string, bool, error) { + var sel xtcpnl.TcGen + var act uint16 + var err error + nest := ops.begin(maxMsg, tcaID) + if len(args) > 0 && matches(args[0], xtcpnl.TcActKindCt) { + args = args[1:] + } +loop: + for len(args) > 0 { + switch { + case matches(args[0], "zone"): + if args, err = r.nextArg(args); err != nil { + return nil, false, err + } + v, good := getU16(args[0], 0) // ct_parse_u16 with no mask: no '/' split (W290) + if !good { + r.errf("ct: Illegal \"zone\"\n") + return nil, false, nil + } + ops.put(maxMsg, xtcpnl.TcaCtZone, binary.LittleEndian.AppendUint16(nil, v)) + case matches(args[0], "nat"): + var again, ok bool + if args, again, ok, err = r.ctNat(ops, args, &act); err != nil || !ok { + return nil, false, err + } + if again { + continue // the word after nat, or after its address, is read again + } + case matches(args[0], "clear"): + act |= xtcpnl.TcaCtActClear + case matches(args[0], "commit"): + act |= xtcpnl.TcaCtActCommit + case matches(args[0], "force"): + act |= xtcpnl.TcaCtActForce + case matches(args[0], "index"): + if args, err = r.nextArg(args); err != nil { + return nil, false, err + } + i, good := getU32(args[0], 10) + if !good { + r.errf("ct: Illegal \"index\"\n") + return nil, false, nil + } + sel.Index = i + case matches(args[0], "mark"): + if args, err = r.nextArg(args); err != nil { + return nil, false, err + } + if !r.ctMark(ops, args) { + r.errf("ct: Illegal \"mark\"\n") + return nil, false, nil + } + case matches(args[0], "label"): + if args, err = r.nextArg(args); err != nil { + return nil, false, err + } + if err = r.ctLabels(ops, args); err != nil { + return nil, false, err + } + case matches(args[0], helpWord): + return nil, false, r.ctUsage() + case matches(args[0], "helper"): + if args, err = r.nextArg(args); err != nil { + return nil, false, err + } + if !ctHelper(ops, args[0]) { + r.errf("ct: Illegal \"helper\"\n") + return nil, false, nil + } + default: + break loop + } + args = args[1:] // NEXT_ARG_FWD + } + if msg := ctCheck(act); msg != "" { + r.errf("%s", msg) + return nil, false, nil + } + if args, sel.Action, err = r.parseActionControlDflt(args, tcActPipe); err != nil { + return nil, false, err + } + ops.put(maxMsg, xtcpnl.TcaCtAction, binary.LittleEndian.AppendUint16(nil, act)) + ops.put(maxMsg, xtcpnl.TcaCtParms, sel.Append(nil)) + ops.end(nest) + return args, true, nil +} + +// ctCheck is parse_ct's checks of the action bits after the loop, in +// tc's order: the message of the first that fails, or "". +func ctCheck(act uint16) string { + const natDir = xtcpnl.TcaCtActNatSrc | xtcpnl.TcaCtActNatDst + switch { + case act&xtcpnl.TcaCtActClear != 0 && act&^xtcpnl.TcaCtActClear != 0: + return "ct: clear can only be used alone\n" + case act&xtcpnl.TcaCtActNatSrc != 0 && act&xtcpnl.TcaCtActNatDst != 0: + return "ct: src and dst nat can't be used together\n" + case act&xtcpnl.TcaCtActCommit != 0 && act&xtcpnl.TcaCtActNat != 0 && act&natDir == 0: + return "ct: commit and nat must set src or dst\n" + case act&xtcpnl.TcaCtActCommit == 0 && act&natDir != 0: + return "ct: src or dst is only valid if commit is set\n" + } + return "" +} + +// ctNat is parse_ct's nat arm, args at "nat": src or dst, else the word +// is read again (again); "addr" or usage's exit; the range; then a word +// must follow (W276), port's range if it is "port", else that word is +// read again. ok false is a -1, after its message. +func (r *runner) ctNat(ops *fops, args []string, act *uint16) (rest []string, again, ok bool, err error) { + *act |= xtcpnl.TcaCtActNat + if args, err = r.nextArg(args); err != nil { + return nil, false, false, err + } + switch { + case matches(args[0], "src"): + *act |= xtcpnl.TcaCtActNatSrc + case matches(args[0], "dst"): + *act |= xtcpnl.TcaCtActNatDst + default: + return args, true, true, nil + } + if args, err = r.nextArg(args); err != nil { + return nil, false, false, err + } + if !matches(args[0], "addr") { + return nil, false, false, r.ctUsage() // W278 + } + if args, err = r.nextArg(args); err != nil { + return nil, false, false, err + } + if err = r.ctNatAddr(ops, args[0]); err != nil { + return nil, false, false, err + } + if args, err = r.nextArg(args); err != nil { + return nil, false, false, err + } + if !matches(args[0], "port") { + return args, true, true, nil + } + if args, err = r.nextArg(args); err != nil { + return nil, false, false, err + } + good, err := ctNatPort(ops, args[0]) + if err != nil { + return nil, false, false, err + } + if !good { + r.errf("ct: Illegal nat port range\n") // W282 + return nil, false, false, nil + } + return args, false, true, nil +} + +// ctSprintCopy is the nat range parsers' strncpy(buffer, str, 63) into an +// uninitialised SPRINT_BUF: an argument of 63 bytes or more leaves the +// copy unterminated, and tc reads the stack past it (W280). +func ctSprintCopy(s string) error { + if len(s) >= ctSprintBuf-1 { + return fmt.Errorf("%w: ct nat argument of %d bytes: tc reads past its unterminated %d-byte copy (W280)", + errNotImplemented, len(s), ctSprintBuf-1) + } + return nil +} + +// ctNatAddr is ct_parse_nat_addr_range: addr1[-addr2], each by get_addr, +// whose exit(1) makes "ct: Illegal nat address range" unreachable; the +// second takes the first's family (W279). The family picks IPV4 or IPV6 +// attributes, and any, all and default are 0 bytes of IPV6 (W281); with +// no addr2, MAX repeats MIN. +func (r *runner) ctNatAddr(ops *fops, s string) error { + if err := ctSprintCopy(s); err != nil { + return err + } + a1, a2, two := strings.Cut(s, "-") + addr, err := r.getAddr(a1, unix.AF_UNSPEC) + if err != nil { + return err + } + minT, maxT := xtcpnl.TcaCtNatIPv6Min, xtcpnl.TcaCtNatIPv6Max + if addr.family == unix.AF_INET { + minT = xtcpnl.TcaCtNatIPv4Min + } + ops.put(maxMsg, minT, append([]byte(nil), addr.data[:addr.byteLen()]...)) + if two { + if addr, err = r.getAddr(a2, addr.family); err != nil { + return err + } + } + if addr.family == unix.AF_INET { + maxT = xtcpnl.TcaCtNatIPv4Max + } + ops.put(maxMsg, maxT, append([]byte(nil), addr.data[:addr.byteLen()]...)) + return nil +} + +// ctNatPort is ct_parse_nat_port_range: port1[-port2], each get_be16 base +// 10, and MAX repeats MIN with no port2. Neither order nor emptiness is +// checked beyond get_u16's (W282). +func ctNatPort(ops *fops, s string) (bool, error) { + if err := ctSprintCopy(s); err != nil { + return false, err + } + p1, p2, two := strings.Cut(s, "-") + port, good := getU16(p1, 10) + if !good { + return false, nil + } + ops.put(maxMsg, xtcpnl.TcaCtNatPortMin, binary.BigEndian.AppendUint16(nil, port)) + if two { + if port, good = getU16(p2, 10); !good { + return false, nil + } + } + ops.put(maxMsg, xtcpnl.TcaCtNatPortMax, binary.BigEndian.AppendUint16(nil, port)) + return true, nil +} + +// ctMark is ct_parse_mark (ct_parse_u32): VALUE[/MASK], each get_u32 base +// 0, the mask all ones without one. The NUL written at the '/' is never +// put back (W291). +func (r *runner) ctMark(ops *fops, args []string) bool { + s := args[0] + v, m, slash := strings.Cut(s, "/") + if slash { + r.mem.nul(args, len(v)) + } + val, good := getU32(v, 0) + if !good { + return false + } + mask := ^uint32(0) + if slash { + if mask, good = getU32(m, 0); !good { + return false + } + } + ops.u32(maxMsg, xtcpnl.TcaCtMark, val) + ops.u32(maxMsg, xtcpnl.TcaCtMarkMask, mask) + return true +} + +// ctLabels is ct_parse_labels: LABEL[/MASK] in hex. Either longer than 32 +// is invarg naming the label and its length (W285); each sends its length +// halved, so an odd last digit is dropped and "0" sends nothing (W287); +// a bad digit is invarg with a doubled newline (W286). The mask is 16 +// bytes of 0xff without one. The NUL written at the '/' is never put back +// (W291). +func (r *runner) ctLabels(ops *fops, args []string) error { + s, mask, slash := strings.Cut(args[0], "/") + if slash { + r.mem.nul(args, len(s)) + } + if len(s) > ctLabelsSize*2 || len(mask) > ctLabelsSize*2 { + return r.invarg(strconv.Itoa(len(s))+" Max allowed size "+strconv.Itoa(ctLabelsSize*2), s) + } + labels := make([]byte, len(s)/2) + if !hex2mem(s, labels) { + return r.invarg("ct: labels must be a hex string\n", s) + } + ops.put(maxMsg, xtcpnl.TcaCtLabels, labels) + lmask := make([]byte, ctLabelsSize) + if slash { + lmask = lmask[:len(mask)/2] + if !hex2mem(mask, lmask) { + return r.invarg("ct: labels mask must be a hex string\n", mask) + } + } else { + for i := range lmask { + lmask[i] = 0xff + } + } + ops.put(maxMsg, xtcpnl.TcaCtLabelsMask, lmask) + return nil +} + +// ctHelper is ct_parse_helper: under 32 bytes, sscanf's +// "%[^-]-%[^-]-%[^-]" keeping three non-empty fields, so a fourth is +// dropped (W283); the family ipv4 or ipv6; the protocol by +// inet_proto_a2n. FAMILY, PROTO and NAME are added in that order. +func ctHelper(ops *fops, s string) bool { + if len(s) >= ctHelperBuf { + return false + } + f, p, name, good := scanDash3(s) + if !good { + return false + } + var family uint8 + switch f { + case "ipv4": + family = unix.AF_INET + case "ipv6": + family = unix.AF_INET6 + default: + return false + } + proto, good := inetProtoA2N(p) + if !good { + return false + } + ops.put(maxMsg, xtcpnl.TcaCtHelperFamily, []byte{family}) + ops.put(maxMsg, xtcpnl.TcaCtHelperProto, []byte{proto}) + ops.str(maxMsg, xtcpnl.TcaCtHelperName, name) + return true +} + +// scanDash3 is sscanf(s, "%[^-]-%[^-]-%[^-]", f, p, name) == 3: each +// %[^-] needs at least one byte. +func scanDash3(s string) (f, p, name string, ok bool) { + field := func() (string, bool) { + i := strings.IndexByte(s, '-') + if i < 0 { + i = len(s) + } + w := s[:i] + s = s[i:] + return w, w != "" + } + sep := func() bool { + if s == "" || s[0] != '-' { + return false + } + s = s[1:] + return true + } + if f, ok = field(); !ok || !sep() { + return "", "", "", false + } + if p, ok = field(); !ok || !sep() { + return "", "", "", false + } + name, ok = field() + return f, p, name, ok +} + +// inetProtoA2N is inet_proto_a2n: get_u8 base 10 (so 0x6 is no number, +// W284), else getprotobyname of the workbench's /etc/protocols +// (render.ProtoByName). Its static cache holds the canonical name, which +// maps to the number it cached, so it changes no answer. +func inetProtoA2N(s string) (uint8, bool) { + if v, ok := getU8(s, 10); ok { + return v, true + } + return render.ProtoByName(s) +} diff --git a/internal/gotc/aw_ct_test.go b/internal/gotc/aw_ct_test.go new file mode 100644 index 000000000..6c91f369a --- /dev/null +++ b/internal/gotc/aw_ct_test.go @@ -0,0 +1,172 @@ +//go:build gotc_write + +package gotc + +import ( + "bytes" + "strings" + "testing" + + "github.com/randomizedcoder/xtcp2/pkg/xtcpnl" +) + +// ctUsageText is m_ct.c usage's text. +const ctUsageText = "Usage: ct clear\n" + + "\tct commit [force] [zone ZONE] [mark MASKED_MARK] [label MASKED_LABEL] [nat NAT_SPEC] [helper HELPER]\n" + + "\tct [nat] [zone ZONE]\n" + + "Where: ZONE is the conntrack zone table number\n" + + "\tNAT_SPEC is {src|dst} addr addr1[-addr2] [port port1[-port2]]\n" + + "\tHELPER is family-proto-name such as ipv4-tcp-ftp\n" + + "\n" + +// TestGotcCtWrite is aw_ct.go: tcact2write rows are held to tc's bytes, +// the rest are fake rows checked attribute by attribute. +// +// go test -tags gotc_write ./internal/gotc/ -run TestGotcCtWrite +func TestGotcCtWrite(t *testing.T) { + nat63 := "2001:0db8:0000:0000:0000:0000:0000:0001-2001:0db8:0000:0000::09" + cases := []awCase{ + {"positive: commit with zone, mark and label: each sent as read, both masks always", "", strings.Fields("ct commit zone 3 mark 1/0xff label 01/ff pipe"), + awExpected{reqs: 1, opts: all( + optBytes(xtcpnl.TcaCtZone, le16b(3)), optBytes(xtcpnl.TcaCtMark, le32b(1)), + optBytes(xtcpnl.TcaCtMarkMask, le32b(0xff)), optBytes(xtcpnl.TcaCtLabels, []byte{1}), + optBytes(xtcpnl.TcaCtLabelsMask, []byte{0xff}), optBytes(xtcpnl.TcaCtAction, le16b(xtcpnl.TcaCtActCommit)), + parmsU32At(xtcpnl.TcaCtParms, 8, tcActPipe))}}, + {"positive: commit, zone, masked mark and label as tc sends them", act2Row("ec-153"), nil, awExpected{}}, + {"positive: mark alone has the all-ones mask, label alone 16 bytes of 0xff", "", strings.Fields("ct commit mark 5 label 0102"), + awExpected{reqs: 1, opts: all(optBytes(xtcpnl.TcaCtMarkMask, le32b(0xffffffff)), + optBytes(xtcpnl.TcaCtLabelsMask, bytes.Repeat([]byte{0xff}, 16)))}}, + {"positive: a v4 nat range with ports", act2Row("ec-156"), nil, awExpected{}}, + {"positive: a v6 nat range with ports", act2Row("ec-159"), nil, awExpected{}}, + {"positive: a single address and port: MAX repeats MIN", "", strings.Fields("ct commit nat dst addr 10.0.0.1 port 80"), + awExpected{reqs: 1, opts: all(optBytes(xtcpnl.TcaCtNatIPv4Min, []byte{10, 0, 0, 1}), optBytes(xtcpnl.TcaCtNatIPv4Max, []byte{10, 0, 0, 1}), + optBytes(xtcpnl.TcaCtNatPortMin, []byte{0, 80}), optBytes(xtcpnl.TcaCtNatPortMax, []byte{0, 80}))}}, + {"positive: helper ipv4-tcp-ftp sends FAMILY, PROTO and NAME", act2Row("ec-162"), nil, awExpected{stderr: actAPIWarn}}, + {"positive: helper's protocol by number and by name agree", "", strings.Fields("ct commit helper ipv6-6-ftp"), + awExpected{reqs: 1, opts: all(optBytes(xtcpnl.TcaCtHelperFamily, u8b(10)), optBytes(xtcpnl.TcaCtHelperProto, u8b(6)), + optBytes(xtcpnl.TcaCtHelperName, []byte("ftp\x00")))}}, + {"negative: nat's address as the last words is incomplete (W276)", act2Row("ng-077"), nil, awExpected{rc: 255, stderr: "Command line is not complete. Try option \"help\"\n"}}, + {"negative: a bare nat is incomplete, though the usage shows [nat] (W277)", act2Row("ng-078"), nil, awExpected{rc: 255, stderr: "Command line is not complete. Try option \"help\"\n"}}, + {"negative: nat src without addr is usage's exit (W278)", act2Row("ng-079"), nil, awExpected{rc: 255, stderr: ctUsageText}}, + {"negative: a bad nat address is get_addr's exit(1) (W279)", act2Row("ng-080"), nil, + awExpected{rc: 1, stderr: "Error: any valid address is expected rather than \"bogus\".\n"}}, + {"negative: the second address takes the first's family (W279)", act2Row("ng-081"), nil, + awExpected{rc: 1, stderr: "Error: inet address is expected rather than \"2001:db8::1\".\n"}}, + {"negative: a hex port is no base-10 number (W282)", act2Row("ng-084"), nil, awExpected{rc: 255, stderr: "ct: Illegal nat port range\n" + parseTail(10, "ct")}}, + {"negative: a hex protocol is no base-10 number and no name (W284)", act2Row("ng-087"), nil, awExpected{rc: 255, stderr: "ct: Illegal \"helper\"\n" + parseTail(6, "ct")}}, + {"negative: clear with commit", act2Row("ng-094"), nil, awExpected{rc: 255, stderr: "ct: clear can only be used alone\n" + parseTail(5, "ct")}}, + {"negative: help is usage's exit", act2Row("ng-101"), nil, awExpected{rc: 255, stderr: ctUsageText}}, + {"negative: zone's slash is no mask (W290)", act2Row("ng-092"), nil, awExpected{rc: 255, stderr: "ct: Illegal \"zone\"\n" + parseTail(5, "ct")}}, + {"boundary: a 32-digit label is sent", act2Row("ec-166"), nil, awExpected{}}, + {"boundary: a 34-digit label is invarg naming it and its length (W285)", act2Row("ng-088"), nil, + awExpected{rc: 255, stderr: "Error: argument \"0123456789abcdef0123456789abcdef01\" is wrong: 34 Max allowed size 32\n"}}, + {"boundary: a too-long mask is reported against the label (W285)", act2Row("ng-089"), nil, + awExpected{rc: 255, stderr: "Error: argument \"01\" is wrong: 2 Max allowed size 32\n"}}, + {"boundary: a 62-byte nat range is parsed", act2Row("ec-167"), nil, awExpected{}}, + {"boundary: a 63-byte nat range is refused by name: tc reads past its copy (W280)", "", []string{"ct", "commit", "nat", "src", "addr", nat63}, + awExpected{rc: 255, has: "(W280)"}}, + {"boundary: a 63-byte port range is refused by name too (W280)", "", []string{"ct", "commit", "nat", "src", "addr", "10.0.0.1", "port", strings.Repeat("1", 63)}, + awExpected{rc: 255, has: "(W280)"}}, + {"corner: index after the control word is the next action's kind (W288)", act2Row("ng-091"), nil, + awExpected{rc: 255, stderr: "Error: Failed to load TC action module.\n" + talkErr}}, + {"corner: a 4-field helper sends its third field (W283)", act2Row("ng-085"), nil, + awExpected{rc: 255, stderr: "Error: act_ct: Failed to add helper.\n" + talkErr}}, + {"corner: addr any is a 0-byte IPV6_MIN and MAX (W281)", act2Row("ng-082"), nil, + awExpected{rc: 255, stderr: "Error: binary attribute size out of range.\n" + talkErr}}, + {"corner: an odd label drops its last digit (W287)", act2Row("ec-172"), nil, awExpected{}}, + {"corner: label 0 sends no bytes (W287)", act2Row("ec-173"), nil, awExpected{}}, + {"corner: a bad label digit is invarg with a doubled newline (W286)", act2Row("ng-090"), nil, + awExpected{rc: 255, stderr: "Error: argument \"zz\" is wrong: ct: labels must be a hex string\n\n"}}, + {"corner: prefixes: co is commit, z zone, m mark (W292)", act2Row("ec-177"), nil, awExpected{}}, + {"corner: h is help, not helper (W292)", act2Row("ng-093"), nil, awExpected{rc: 255, stderr: ctUsageText}}, + {"corner: nat with no src or dst reads its word again", act2Row("ec-161"), nil, awExpected{}}, + {"corner: the mark's and label's '/' NULs carry into a later simple sdata (W291)", act2Row("ec-257"), nil, awExpected{}}, + {"corner: the -force batch goes on after a -1", act2Row("ng-160"), nil, + awExpected{rc: 1, stderr: "ct: clear can only be used alone\n" + parseTail(5, "ct") + "Command failed b.txt:1\n"}}, + } + runAwCases(t, cases) +} + +// TestCtHelpers is aw_ct.go's pure helpers. +// +// go test -tags gotc_write ./internal/gotc/ -run TestCtHelpers +func TestCtHelpers(t *testing.T) { + t.Run("scanDash3", func(t *testing.T) { + for _, tc := range []struct { + description, in string + expected string // f|p|name, or "" for a count short of 3 + }{ + {"positive: three fields", "ipv4-tcp-ftp", "ipv4|tcp|ftp"}, + {"corner: a fourth field is dropped (W283)", "ipv4-udp-netbios-ns", "ipv4|udp|netbios"}, + {"negative: an empty name", "ipv4-tcp-", ""}, + {"negative: an empty first field", "-tcp-ftp", ""}, + {"negative: two fields", "ipv4-tcp", ""}, + {"boundary: one byte each", "a-b-c", "a|b|c"}, + {"corner: a doubled dash is an empty field", "ipv4--ftp", ""}, + } { + t.Run(tc.description, func(t *testing.T) { + f, p, n, ok := scanDash3(tc.in) + got := "" + if ok { + got = f + "|" + p + "|" + n + } + if got != tc.expected { + t.Errorf("scanDash3(%q) = %q, want %q", tc.in, got, tc.expected) + } + }) + } + }) + t.Run("inetProtoA2N", func(t *testing.T) { + for _, tc := range []struct { + description, in string + expected int // -1 for none + }{ + {"positive: a name", "tcp", 6}, + {"positive: an alias", "UDP", 17}, + {"positive: a number", "6", 6}, + {"boundary: 255", "255", 255}, + {"negative: 256 is no u8 and no name", "256", -1}, + {"negative: hex is no base-10 number (W284)", "0x6", -1}, + {"corner: getprotobyname is case-sensitive", "Tcp", -1}, + } { + t.Run(tc.description, func(t *testing.T) { + v, ok := inetProtoA2N(tc.in) + got := -1 + if ok { + got = int(v) + } + if got != tc.expected { + t.Errorf("inetProtoA2N(%q) = %d, want %d", tc.in, got, tc.expected) + } + }) + } + }) + t.Run("ctCheck", func(t *testing.T) { + const ( + c = xtcpnl.TcaCtActCommit + n = xtcpnl.TcaCtActNat + src = xtcpnl.TcaCtActNatSrc + dst = xtcpnl.TcaCtActNatDst + ) + for _, tc := range []struct { + description string + act uint16 + expected string + }{ + {"positive: commit with nat src", c | n | src, ""}, + {"positive: nat alone (restore)", n, ""}, + {"negative: clear and force", xtcpnl.TcaCtActClear | xtcpnl.TcaCtActForce, "ct: clear can only be used alone\n"}, + {"negative: src and dst", c | n | src | dst, "ct: src and dst nat can't be used together\n"}, + {"negative: commit and nat without a direction", c | n, "ct: commit and nat must set src or dst\n"}, + {"negative: a direction without commit", n | dst, "ct: src or dst is only valid if commit is set\n"}, + {"boundary: nothing", 0, ""}, + {"corner: clear alone", xtcpnl.TcaCtActClear, ""}, + } { + t.Run(tc.description, func(t *testing.T) { + if got := ctCheck(tc.act); got != tc.expected { + t.Errorf("ctCheck(%#x) = %q, want %q", tc.act, got, tc.expected) + } + }) + } + }) +} diff --git a/internal/gotc/aw_gate.go b/internal/gotc/aw_gate.go new file mode 100644 index 000000000..9d437e5d5 --- /dev/null +++ b/internal/gotc/aw_gate.go @@ -0,0 +1,367 @@ +//go:build gotc_write + +package gotc + +import ( + "encoding/binary" + "fmt" + "math" + "strings" + + "github.com/randomizedcoder/xtcp2/pkg/cint" + "github.com/randomizedcoder/xtcp2/pkg/xtcpnl" + "golang.org/x/sys/unix" +) + +// tc/m_gate.c parse_gate at iproute2 v7.2.0, with tc_util.c get_clockid +// (getClockid) and lib/utils_math.c get_size. + +// gateEntryMax is add_gate_list's addattr_nest(n, 1024, …): each entry's +// nest is held to 1024 bytes of the whole message, so from about the 31st +// entry its header is refused and its end patches the first attribute +// after it (W293). +const gateEntryMax = 1024 + +// gateEntry is m_gate.c struct gate_entry. +type gateEntry struct { + open bool + interval uint32 + ipv int32 + maxoctets int32 +} + +// gateExplain is m_gate.c explain, "pas" and all (W300). +func (r *runner) gateExplain() { + r.errf("%s", "Usage: gate [ priority PRIO-SPEC ] [ base-time BASE-TIME ]\n"+ + " [ cycle-time CYCLE-TIME ]\n"+ + " [ cycle-time-ext CYCLE-TIME-EXT ]\n"+ + " [ clockid CLOCKID ] [flags FLAGS]\n"+ + " [ sched-entry GATE0 INTERVAL [ INTERNAL-PRIO-VALUE MAX-OCTETS ] ]\n"+ + " [ sched-entry GATE1 INTERVAL [ INTERNAL-PRIO-VALUE MAX-OCTETS ] ]\n"+ + " ......\n"+ + " [ sched-entry GATEn INTERVAL [ INTERNAL-PRIO-VALUE MAX-OCTETS ] ]\n"+ + " [ CONTROL ]\n"+ + " GATEn := open | close\n"+ + " INTERVAL : nanoseconds period of gate slot\n"+ + " INTERNAL-PRIO-VALUE : internal priority decide which\n"+ + " rx queue number direct to.\n"+ + " default to be -1 which means wildcard.\n"+ + " MAX-OCTETS : maximum number of MSDU octets that are\n"+ + " permitted to pas the gate during the\n"+ + " specified TimeInterval.\n"+ + " default to be -1 which means wildcard.\n"+ + " CONTROL := pipe | drop | continue | pass |\n"+ + " goto chain \n") +} + +// gateIncomplete is a sched-entry's failure: explain_entry_format, then +// "\"sched-entry\" is incomplete", a -1 (W300). +func (r *runner) gateIncomplete() { + r.errf("Usage: sched-entry [ ]\n") + r.errf("\"sched-entry\" is incomplete\n") +} + +// gateArgs is parse_gate's locals. +type gateArgs struct { + parm xtcpnl.TcGen + clockid int32 + base, cycle, cycleExt int64 + flags uint32 + prio int32 + entries []gateEntry +} + +// parseGate is parse_gate: the options in any order and any number of +// times, the last winning (W306), until a word that is none; then the +// control word, so `index` after it is the next action's kind (W303). +// A zero value is not sent, nor priority -1 (W299). A bad option value is +// invarg's exit(-1) (W301). +func (r *runner) parseGate(ops *fops, args []string, tcaID uint16) ([]string, bool, error) { + a := gateArgs{parm: xtcpnl.TcGen{Action: tcActPipe}, clockid: clockidInvalid, prio: -1} + args, err := r.nextArg(args) // past "gate": a bare gate is incomplete + if err != nil { + return nil, false, err + } +loop: + for len(args) > 0 { + var good bool + switch { + case matches(args[0], "index"): + if args, err = r.nextArg(args); err != nil { + return nil, false, err + } + if a.parm.Index, good = getU32(args[0], 10); !good { + return nil, false, r.invarg("index", args[0]) + } + case matches(args[0], "priority"): + if args, err = r.nextArg(args); err != nil { + return nil, false, err + } + if a.prio, good = getS32(args[0], 0); !good { + return nil, false, r.invarg("priority", args[0]) + } + case matches(args[0], "base-time"): + if args, err = r.gateS64Time(args, &a.base, "base-time"); err != nil { + return nil, false, err + } + case matches(args[0], "cycle-time"): + if args, err = r.gateS64Time(args, &a.cycle, "cycle-time"); err != nil { + return nil, false, err + } + case matches(args[0], "cycle-time-ext"): + if args, err = r.gateS64Time(args, &a.cycleExt, "cycle-time-ext"); err != nil { + return nil, false, err + } + case matches(args[0], "clockid"): + if args, err = r.nextArg(args); err != nil { + return nil, false, err + } + if a.clockid, good = getClockid(args[0]); !good { + return nil, false, r.invarg("clockid", args[0]) + } + case matches(args[0], "flags"): + if args, err = r.nextArg(args); err != nil { + return nil, false, err + } + if a.flags, good = getU32(args[0], 0); !good { + return nil, false, r.invarg("flags", args[0]) + } + case matches(args[0], "sched-entry"): + var e gateEntry + if args, e, good, err = r.gateSchedEntry(args); err != nil || !good { + return nil, false, err + } + a.entries = append(a.entries, e) + case matches(args[0], helpWord): + r.gateExplain() + return nil, false, exitCode(-1) + default: + break loop + } + args = args[1:] + } + if args, a.parm.Action, err = r.parseActionControlDflt(args, tcActPipe); err != nil { + return nil, false, err + } + if len(a.entries) == 0 && a.parm.Index == 0 { + r.errf("gate: must add at least one entry\n") + return nil, false, nil + } + a.put(ops, tcaID) + return args, true, nil +} + +// put is parse_gate's attributes: PARMS, then each nonzero option, then +// ENTRY_LIST, empty for `gate index N` (W305), each entry's nest held to +// 1024 (W293). A closed entry always carries ipv and maxoctets -1 (W304). +func (a *gateArgs) put(ops *fops, tcaID uint16) { + le32 := func(v uint32) []byte { return binary.LittleEndian.AppendUint32(nil, v) } + le64 := func(v int64) []byte { return binary.LittleEndian.AppendUint64(nil, cint.U64Bits(v)) } + nest := ops.begin(maxMsg, tcaID) + ops.put(maxMsg, xtcpnl.TcaGateParms, a.parm.Append(nil)) + if a.prio != -1 { + ops.put(maxMsg, xtcpnl.TcaGatePriority, le32(cint.Bits(a.prio))) + } + if a.flags != 0 { + ops.put(maxMsg, xtcpnl.TcaGateFlags, le32(a.flags)) + } + if a.base != 0 { + ops.put(maxMsg, xtcpnl.TcaGateBaseTime, le64(a.base)) + } + if a.cycle != 0 { + ops.put(maxMsg, xtcpnl.TcaGateCycleTime, le64(a.cycle)) + } + if a.cycleExt != 0 { + ops.put(maxMsg, xtcpnl.TcaGateCycleTimeExt, le64(a.cycleExt)) + } + if a.clockid != clockidInvalid { + ops.put(maxMsg, xtcpnl.TcaGateClockid, le32(cint.Bits(a.clockid))) + } + list := ops.begin(maxMsg, xtcpnl.TcaGateEntryList|unix.NLA_F_NESTED) + for _, e := range a.entries { + en := ops.begin(gateEntryMax, xtcpnl.TcaGateOneEntry|unix.NLA_F_NESTED) + if e.open { + ops.put(maxMsg, xtcpnl.TcaGateEntryGate, nil) + } + ops.put(maxMsg, xtcpnl.TcaGateEntryInterval, le32(e.interval)) + ops.put(maxMsg, xtcpnl.TcaGateEntryIpv, le32(cint.Bits(e.ipv))) + ops.put(maxMsg, xtcpnl.TcaGateEntryMaxOctets, le32(cint.Bits(e.maxoctets))) + ops.end(en) + } + ops.end(list) + ops.end(nest) +} + +// gateS64Time is the base-time, cycle-time and cycle-time-ext arms: +// get_s64 base 10, else get_time64 (so -1 is u64 max and -1ms is invarg, +// W298), else invarg naming the option. +func (r *runner) gateS64Time(args []string, v *int64, name string) ([]string, error) { + args, err := r.nextArg(args) + if err != nil { + return nil, err + } + if n, ok := getS64(args[0], 10); ok { + *v = n + return args, nil + } + n, ok, err := gateTime64(args[0]) + if err != nil { + return nil, err + } + if !ok { + return nil, r.invarg(name, args[0]) + } + *v = n + return args, nil +} + +// gateTime64 is get_time64, refusing by name the strtod results tc casts +// to __s64 out of range, inf and nan among them: undefined behaviour +// (W297). Fractions truncate. +func gateTime64(s string) (int64, bool, error) { + ns, p, erange := cStrtod(s) + if p == s || ns < 0 || (math.IsInf(ns, 1) && erange) { + return 0, false, nil + } + switch strings.ToLower(p) { + case "": + case "s", "sec", "secs": + ns *= nsecPerSec + case "ms", "msec", "msecs": + ns *= nsecPerMsec + case "us", "usec", "usecs": + ns *= nsecPerUsec + case "ns", "nsec", "nsecs": + default: + return 0, false, nil + } + if math.IsNaN(ns) || ns >= 1<<63 { + return 0, false, fmt.Errorf("%w: gate time %q: tc casts %g to __s64, undefined behaviour (W297)", + errNotImplemented, s, ns) + } + return cDoubleToI64(ns), true, nil +} + +// gateState is get_gate_state: OPEN or CLOSE by strcasecmp. +func gateState(s string) (open, ok bool) { + switch { + case strings.EqualFold(s, "OPEN"): + return true, true + case strings.EqualFold(s, "CLOSE"): + return false, true + } + return false, false +} + +// gateSchedEntry is parse_gate's sched-entry arm, args at "sched-entry": +// the state, the interval (get_u32 base 0, else get_time64 within a u32), +// then an optional ipv (get_s32 base 0; a word that is none is read again +// as an option) and, after an ipv, an optional maxoctets (get_s32 base 0, +// else get_size, whose failure still keeps what it wrote and reads the +// word again, W295). rest is at the entry's last word. ok false is a -1. +func (r *runner) gateSchedEntry(args []string) (rest []string, e gateEntry, ok bool, err error) { + e = gateEntry{ipv: -1, maxoctets: -1} + if len(args) < 2 { + r.gateIncomplete() + return nil, e, false, nil + } + args = args[1:] + if e.open, ok = gateState(args[0]); !ok { + r.gateIncomplete() + return nil, e, false, nil + } + if len(args) < 2 { + r.gateIncomplete() + return nil, e, false, nil + } + args = args[1:] + var iv64 int64 + if e.interval, ok = getU32(args[0], 0); !ok { + if iv64, ok, err = gateTime64(args[0]); err != nil { + return nil, e, false, err + } + if !ok { + r.gateIncomplete() + return nil, e, false, nil + } + } + if iv64 > math.MaxUint32 { + r.errf("\"interval\" is too large\n") + return nil, e, false, nil + } + if iv64 != 0 { + e.interval = cint.LongBits(iv64) + } + if len(args) < 2 { + return args, e, true, nil + } + ipv, good := getS32(args[1], 0) + if !good { + return args, e, true, nil // PREV_ARG + } + args = args[1:] + e.ipv = ipv + if !e.open { + e.ipv = -1 + } + if len(args) < 2 { + return args, e, true, nil + } + ipvAt := args + args = args[1:] + var mu uint32 + if mo, good := getS32(args[0], 0); good { + e.maxoctets = mo + } else { + var wrote bool + mu, wrote, good = gateGetSize(args[0]) + if !wrote { + return nil, e, false, fmt.Errorf("%w: gate maxoctets %q: get_size stores an uninitialised value (W294)", + errNotImplemented, args[0]) + } + if !good { + args = ipvAt // PREV_ARG + } + } + if mu > math.MaxInt32 { + r.errf("\"maxoctets\" is too large\n") + return nil, e, false, nil + } + if mu != 0 { + e.maxoctets = cint.Int(mu) + } + if !e.open { + e.maxoctets = -1 + } + return args, e, true, nil +} + +// gateGetSize is get_size as maxoctets meets it: wrote false is a +// get_size64 that returned before storing, whose caller then stores the +// uninitialised sz64 (W294); with wrote true, v is the low 32 bits of +// what it stored, also when ok is false (past floor or 32 bits, W295). +func gateGetSize(s string) (v uint32, wrote, ok bool) { + sz, p, erange := cStrtod(s) + if p == s || sz < 0 || (math.IsInf(sz, 1) && erange) { + return 0, false, false + } + switch strings.ToLower(p) { + case "", "b": + case "kb", "k": + sz *= 1024 + case "gb", "g": + sz *= 1024 * 1024 * 1024 + case "gbit": + sz *= 1024 * 1024 * 1024 / 8 + case "mb", "m": + sz *= 1024 * 1024 + case "mbit": + sz *= 1024 * 1024 / 8 + case "kbit": + sz *= 1024 / 8 + default: + return 0, false, false + } + v64 := cDoubleToU64(sz) + return cint.Low32(v64), true, float64(v64) == math.Floor(sz) && v64 <= math.MaxUint32 +} diff --git a/internal/gotc/aw_gate_test.go b/internal/gotc/aw_gate_test.go new file mode 100644 index 000000000..37c17c411 --- /dev/null +++ b/internal/gotc/aw_gate_test.go @@ -0,0 +1,210 @@ +//go:build gotc_write + +package gotc + +import ( + "encoding/binary" + "math" + "strings" + "testing" + + "github.com/randomizedcoder/xtcp2/pkg/cint" + "github.com/randomizedcoder/xtcp2/pkg/xtcpnl" +) + +// gateEntryFmt is a sched-entry's -1: explain_entry_format and the +// incomplete message. +const gateEntryFmt = "Usage: sched-entry [ ]\n" + + "\"sched-entry\" is incomplete\n" + +// gateEntryAttrs is each ONE_ENTRY's attributes in ENTRY_LIST. +func gateEntryAttrs(t *testing.T, opts map[uint16][]byte) []map[uint16][]byte { + t.Helper() + b, ok := opts[xtcpnl.TcaGateEntryList] + if !ok { + t.Fatal("no ENTRY_LIST") + } + var out []map[uint16][]byte + for len(b) >= 4 { + l := int(binary.LittleEndian.Uint16(b)) + if l < 4 || l > len(b) { + break + } + out = append(out, rtAttrs(b[4:l])) + b = b[min((l+3)&^3, len(b)):] + } + return out +} + +// gateEntriesAre checks each entry's open flag, interval, ipv and +// maxoctets. +func gateEntriesAre(want ...gateEntry) func(*testing.T, map[uint16][]byte) { + return func(t *testing.T, opts map[uint16][]byte) { + t.Helper() + got := gateEntryAttrs(t, opts) + if len(got) != len(want) { + t.Fatalf("%d entries, want %d", len(got), len(want)) + } + for i, w := range want { + _, open := got[i][xtcpnl.TcaGateEntryGate] + e := gateEntry{open: open, + interval: binary.LittleEndian.Uint32(got[i][xtcpnl.TcaGateEntryInterval]), + ipv: cint.Int(binary.LittleEndian.Uint32(got[i][xtcpnl.TcaGateEntryIpv])), + maxoctets: cint.Int(binary.LittleEndian.Uint32(got[i][xtcpnl.TcaGateEntryMaxOctets]))} + if e != w { + t.Errorf("entry %d = %+v, want %+v", i, e, w) + } + } + } +} + +func le64b(v uint64) []byte { return binary.LittleEndian.AppendUint64(nil, v) } + +// TestGotcGateWrite is aw_gate.go: tcact2write rows are held to tc's +// bytes, the rest are fake rows checked attribute by attribute. +// +// go test -tags gotc_write ./internal/gotc/ -run TestGotcGateWrite +func TestGotcGateWrite(t *testing.T) { + entries := func(n int, state string) []string { + w := []string{"gate"} + for range n { + w = append(w, "sched-entry", state, "1000") + } + return append(w, "index", "1") + } + cases := []awCase{ + {"positive: entries and times as the plan's example", "", + strings.Fields("gate base-time 1 cycle-time 2ms clockid CLOCK_TAI sched-entry open 1ms 2 1000 sched-entry close 1ms"), + awExpected{reqs: 1, opts: all( + optBytes(xtcpnl.TcaGateBaseTime, le64b(1)), optBytes(xtcpnl.TcaGateCycleTime, le64b(2000000)), + optBytes(xtcpnl.TcaGateClockid, le32b(11)), optAbsent(xtcpnl.TcaGatePriority), optAbsent(xtcpnl.TcaGateFlags), + parmsU32At(xtcpnl.TcaGateParms, 8, tcActPipe), + gateEntriesAre(gateEntry{true, 1000000, 2, 1000}, gateEntry{false, 1000000, -1, -1}))}}, + {"positive: every option and three entries as tc sends them", act2Row("ec-179"), nil, awExpected{}}, + {"positive: two entries with base-time and cycle-time", act2Row("ec-190"), nil, awExpected{}}, + {"positive: each clockid name, with or without CLOCK_ and case", act2Row("ec-189"), nil, awExpected{}}, + {"negative: a bad state is the entry usage and incomplete (W300)", act2Row("ng-107"), nil, awExpected{rc: 255, stderr: gateEntryFmt + parseTail(6, "gate")}}, + {"negative: help is explain's exit(-1) (W301)", "", []string{"gate", "help"}, awExpected{rc: 255, has: "permitted to pas the gate"}}, + {"negative: a bare gate is incomplete", act2Row("ng-102"), nil, awExpected{rc: 255, stderr: "Command line is not complete. Try option \"help\"\n"}}, + {"negative: index is base 10, invarg's exit (W296, W301)", act2Row("ng-104"), nil, awExpected{rc: 255, stderr: "Error: argument \"0x1\" is wrong: index\n"}}, + {"negative: an unknown clockid", act2Row("ng-118"), nil, awExpected{rc: 255, stderr: "Error: argument \"FOO\" is wrong: clockid\n"}}, + {"negative: no entry and no index", act2Row("ng-119"), nil, awExpected{rc: 255, stderr: "gate: must add at least one entry\n" + parseTail(3, "gate")}}, + {"boundary: 30 open entries fit their 1024 bound", "", entries(30, "open"), awExpected{reqs: 1}}, + {"boundary: 31 open entries: the 31st's header is refused and its end patches its first attribute (W293)", "", entries(31, "open"), + awExpected{reqs: 1, stderr: "addattr_l ERROR: message exceeded bound of 1024\n"}}, + {"boundary: 40 open entries: ten refused headers (W293)", "", entries(40, "open"), + awExpected{reqs: 1, stderr: strings.Repeat("addattr_l ERROR: message exceeded bound of 1024\n", 10)}}, + {"boundary: the captured 31-entry row byte for byte (W293)", act2Row("ec-197"), nil, + awExpected{stderr: "addattr_l ERROR: message exceeded bound of 1024\nWarning: Attribute isn't type 'entry'.\n"}}, + {"boundary: interval 4294967295ns is sent", act2Row("ec-194"), nil, awExpected{}}, + {"boundary: interval 4294967296 is too large", act2Row("ng-117"), nil, awExpected{rc: 255, stderr: "\"interval\" is too large\n" + parseTail(8, "gate")}}, + {"boundary: maxoctets 2147483648 is too large", act2Row("ng-103"), nil, awExpected{rc: 255, stderr: "\"maxoctets\" is too large\n" + parseTail(8, "gate")}}, + {"corner: maxoctets 1.5 is get_size's 1, and the word is used (W295)", act2Row("ec-200"), nil, awExpected{}}, + {"corner: maxoctets 5G keeps get_size's low 32 bits and is read again (W295)", "", strings.Fields("gate sched-entry open 1ms 1 5G"), + awExpected{rc: 255, has: "Bad action type 5G"}}, + {"corner: maxoctets 0kb is 0, so -1 stays (W295)", act2Row("ec-201"), nil, awExpected{}}, + {"corner: a word after a numeric ipv meets get_size's uninitialised store, refused by name (W294)", "", + strings.Fields("gate sched-entry open 100 1 sched-entry close 50"), awExpected{rc: 255, has: "(W294)"}}, + {"corner: inf base-time is a UB cast, refused by name (W297)", "", strings.Fields("gate base-time inf sched-entry open 1000000 -1 -1 index 1"), + awExpected{rc: 255, has: "(W297)"}}, + {"corner: nan and 1e30 are refused by name too (W297)", "", strings.Fields("gate cycle-time 1e30 base-time nan sched-entry open 1000000"), + awExpected{rc: 255, has: "(W297)"}}, + {"corner: an interval past 2^63 is refused by name (W297)", "", strings.Fields("gate sched-entry open 1e19"), + awExpected{rc: 255, has: "(W297)"}}, + {"corner: 0 means unset: priority -1 and zero flags and times are not sent (W299)", act2Row("ec-209"), nil, awExpected{}}, + {"corner: priority -1 alone is not sent (W299)", "", strings.Fields("gate priority -1 flags 0 sched-entry open 1000000"), + awExpected{reqs: 1, opts: all(optAbsent(xtcpnl.TcaGatePriority), optAbsent(xtcpnl.TcaGateFlags))}}, + {"corner: base-time -1 is u64 max (W298)", act2Row("ec-208"), nil, awExpected{}}, + {"corner: base-time -1ms is invarg (W298)", act2Row("ng-106"), nil, awExpected{rc: 255, stderr: "Error: argument \"-1ms\" is wrong: base-time\n"}}, + {"corner: a closed entry's ipv and maxoctets are -1 (W304)", "", strings.Fields("gate sched-entry close 1000000 3 8000"), + awExpected{reqs: 1, opts: gateEntriesAre(gateEntry{false, 1000000, -1, -1})}}, + {"corner: p is priority and c cycle-time (W302)", act2Row("ec-210"), nil, awExpected{}}, + {"corner: index after the control word is a kind (W303)", act2Row("ng-114"), nil, + awExpected{rc: 255, stderr: "Error: Failed to load TC action module.\n" + talkErr}}, + {"corner: gate index 5 sends an empty ENTRY_LIST (W305)", act2Row("ng-116"), nil, + awExpected{rc: 255, stderr: "Error: The entry list is empty.\n" + talkErr}}, + {"corner: fractions truncate and hex goes through strtod (W296)", act2Row("ec-203"), nil, awExpected{}}, + } + runAwCases(t, cases) +} + +// TestGateHelpers is aw_gate.go's pure helpers. +// +// go test -tags gotc_write ./internal/gotc/ -run TestGateHelpers +func TestGateHelpers(t *testing.T) { + t.Run("gateTime64", func(t *testing.T) { + for _, tc := range []struct { + description, in string + expected int64 + ok, refused bool + }{ + {"positive: nanoseconds", "100ns", 100, true, false}, + {"positive: milliseconds", "2ms", 2000000, true, false}, + {"negative: a negative time", "-1ms", 0, false, false}, + {"negative: an unknown suffix", "1h", 0, false, false}, + {"negative: ERANGE", "1e400", 0, false, false}, + {"boundary: the largest double below 2^63", "9223372036854774784", 9223372036854774784, true, false}, + {"boundary: 2^63 is a UB cast", "9223372036854775808", 0, false, true}, + {"corner: inf", "inf", 0, false, true}, + {"corner: nan", "nan", 0, false, true}, + {"corner: a fraction truncates", "1.9ns", 1, true, false}, + {"corner: hex through strtod", "0x10", 16, true, false}, + } { + t.Run(tc.description, func(t *testing.T) { + v, ok, err := gateTime64(tc.in) + if (err != nil) != tc.refused || ok != tc.ok || v != tc.expected { + t.Errorf("gateTime64(%q) = %d, %v, %v; want %d, %v, refused %v", tc.in, v, ok, err, tc.expected, tc.ok, tc.refused) + } + }) + } + }) + t.Run("gateGetSize", func(t *testing.T) { + for _, tc := range []struct { + description, in string + expected uint32 + wrote, ok bool + }{ + {"positive: kilobytes", "8k", 8192, true, true}, + {"positive: a fraction is its floor", "1.5", 1, true, true}, + {"negative: a word stores nothing (W294)", "index", 0, false, false}, + {"negative: an unknown suffix stores nothing (W294)", "1h", 0, false, false}, + {"boundary: u32 max", "4294967295", math.MaxUint32, true, true}, + {"boundary: 2^32 stores its low 32 bits and fails (W295)", "4294967296", 0, true, false}, + {"corner: 5G stores 1 GiB and fails (W295)", "5G", 1 << 30, true, false}, + {"corner: zero", "0kb", 0, true, true}, + } { + t.Run(tc.description, func(t *testing.T) { + v, wrote, ok := gateGetSize(tc.in) + if v != tc.expected || wrote != tc.wrote || ok != tc.ok { + t.Errorf("gateGetSize(%q) = %d, %v, %v; want %d, %v, %v", tc.in, v, wrote, ok, tc.expected, tc.wrote, tc.ok) + } + }) + } + }) + t.Run("gateState", func(t *testing.T) { + for _, tc := range []struct { + description, in string + expected string + }{ + {"positive: open", "open", "open"}, + {"positive: close", "close", "close"}, + {"negative: a typo", "opn", "bad"}, + {"boundary: a prefix is not enough", "o", "bad"}, + {"corner: strcasecmp", "OpEn", "open"}, + } { + t.Run(tc.description, func(t *testing.T) { + open, ok := gateState(tc.in) + got := "bad" + switch { + case ok && open: + got = "open" + case ok: + got = "close" + } + if got != tc.expected { + t.Errorf("gateState(%q) = %s, want %s", tc.in, got, tc.expected) + } + }) + } + }) +} diff --git a/internal/gotc/aw_test.go b/internal/gotc/aw_test.go index d78c94fbe..f4651c199 100644 --- a/internal/gotc/aw_test.go +++ b/internal/gotc/aw_test.go @@ -241,7 +241,7 @@ func TestGotcActParsers(t *testing.T) { {"police", "ec-244"}, {"mirred", "ec-245"}, {"skbedit", "ec-246"}, {"vlan", "ec-247"}, {"csum", "ec-248"}, {"nat", "ec-249"}, {"simple", "ec-250"}, {"connmark", "ec-251"}, {"ctinfo", "ec-252"}, {"sample", "ec-253"}, {"skbmod", "ec-254"}, {"mpls", "ec-255"}, - {"pedit", "ec-217"}, + {"pedit", "ec-217"}, {"ct", "ec-220"}, {"gate", "ec-221"}, } { cases = append(cases, awCase{"positive: matchall carries " + r.kind, r.row, nil, awExpected{}}) } @@ -249,12 +249,6 @@ func TestGotcActParsers(t *testing.T) { awCase{"positive: increment 23's tunnel_key is parsed and sent", "ec-218", nil, awExpected{}}, awCase{"positive: increment 23's ife is parsed and sent", "ec-219", nil, awExpected{stderr: "IFE type 0xED3E\n"}}, ) - for _, r := range []struct{ kind, row string }{ - {"ct", "ec-220"}, {"gate", "ec-221"}, - } { - cases = append(cases, awCase{"negative: increment 23's " + r.kind + " is refused by name", "", []string{r.kind, "index", "1"}, - awExpected{rc: 255, stderr: "gotc: not implemented: tc actions action kind " + r.kind + "\n"}}) - } cases = append(cases, awCase{"positive: increment 23's bpf is sent as tc sends it", "ec-222", nil, awExpected{}}) cases = append(cases, awCase{"boundary: an unlinked name falls back to gact, which reads it as a control (W114)", "", []string{"nosuchkind", "drop"}, diff --git a/internal/gotc/awrite_tdc_test.go b/internal/gotc/awrite_tdc_test.go index db10f7192..ed504af20 100644 --- a/internal/gotc/awrite_tdc_test.go +++ b/internal/gotc/awrite_tdc_test.go @@ -17,17 +17,16 @@ import ( ) // tdcActionSkips pins the tdc `tc actions` writes gotc refuses, by the -// action kind named: increment 23's six. -var tdcActionSkips = map[string]int{ - "ct": 17, "gate": 8, -} +// action kind named: none since 23W ported increment 23's six. +var tdcActionSkips = map[string]int{} // tdcActionKnown are the `tc actions` rows gotc cannot match, each with why. var tdcActionKnown = map[string]string{} // tdcActionWritesSent pins how many tdc `tc actions` writes gotc matches -// exactly (22W: gact and the 12 kinds of increment 12; 23W: bpf 7, pedit 69, ife 48, tunnel_key 35). -const tdcActionWritesSent = 491 +// exactly (22W: gact and the 12 kinds of increment 12; 23W: bpf 7, pedit 69, ife 48, tunnel_key 35, ct 17, +// gate 8). +const tdcActionWritesSent = 516 var actionWriteRefused = regexp.MustCompile(`not implemented: tc actions action kind (\S+)`) diff --git a/internal/gotc/corpus_test.go b/internal/gotc/corpus_test.go index dfc795a0c..79520c891 100644 --- a/internal/gotc/corpus_test.go +++ b/internal/gotc/corpus_test.go @@ -56,9 +56,16 @@ var corpusRefused = map[string]string{ "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", - // 22W: the kinds increment 23 ports, refused by name. - "tcactwrite/ec-220": "not implemented: tc actions action kind ct", - "tcactwrite/ec-221": "not implemented: tc actions action kind gate", + // 23W: tc reaches bpf(2), libbpf or the ELF loader (eBPF), which gotc + // never does (W314); ct reads past its 63-byte nat copy (W280); gate + // casts inf, nan and out-of-range times with undefined behaviour (W297). + "tcact2write/ng-139": "eBPF program via bpf(2)", "tcact2write/ng-140": "eBPF program via bpf(2)", + "tcact2write/ng-141": "eBPF program via bpf(2)", "tcact2write/ng-142": "eBPF program via bpf(2)", + "tcact2write/ng-143": "eBPF program via bpf(2)", "tcact2write/ng-144": "eBPF program via bpf(2)", + "tcact2write/ng-153": "eBPF program via bpf(2)", "tcact2write/ng-154": "eBPF program via bpf(2)", + "tcact2write/ec-168": "reads past its unterminated 63-byte copy (W280)", + "tcact2write/ec-204": "undefined behaviour (W297)", "tcact2write/ec-205": "undefined behaviour (W297)", + "tcact2write/ec-206": "undefined behaviour (W297)", } // qwriteSent are the corpusWrites rows the gotc_write build sends and @@ -324,6 +331,8 @@ func TestGotcCorpus(t *testing.T) { corpusRows["tcematch"] = 257 spaces = append(spaces, "tcactwrite") corpusRows["tcactwrite"] = 363 + spaces = append(spaces, "tcact2write") + corpusRows["tcact2write"] = 418 } for _, sp := range spaces { more, err := filepath.Glob("../../pkg/xtcpnl/testdata/*/ws/" + sp) diff --git a/internal/gotc/imports_test.go b/internal/gotc/imports_test.go index 1dcbe573e..8b0dd2bc5 100644 --- a/internal/gotc/imports_test.go +++ b/internal/gotc/imports_test.go @@ -23,12 +23,13 @@ var gotcPackages = []string{modulePath + "/cmd/gotc", modulePath + "/internal/go // each other, and why: the same hermetic rule internal/gordma's imports_test.go // explains, so `go test ./internal/gotc/` runs without nix, root or a VM. var gotcMayImport = map[string]string{ - "golang.org/x/sys/unix": "the NLM_F_*/NLMSG_*/IFLA_* constants, the errno names and the live socket", - modulePath + "/pkg/xtcpnl": "the subject under test: the request builders, the pcap reader and the tcmsg decoders", - modulePath + "/pkg/cint": "the C integer conversions tc's scans and prints make (int of a u32, s64 of a u64)", - modulePath + "/internal/wsreplay": "the ws pcap replay core shared with the other read-only clones; xtcpnl only", - modulePath + "/internal/jsonw": "json_writer.c's string escaping, shared with gobridge; stdlib only", - modulePath + "/internal/nlmon": "the monitor core shared with goip: rtnl_listen, rtnl_from_file, the stamp; xtcpnl only", + "golang.org/x/sys/unix": "the NLM_F_*/NLMSG_*/IFLA_* constants, the errno names and the live socket", + modulePath + "/pkg/xtcpnl": "the subject under test: the request builders, the pcap reader and the tcmsg decoders", + modulePath + "/pkg/cint": "the C integer conversions tc's scans and prints make (int of a u32, s64 of a u64)", + modulePath + "/internal/wsreplay": "the ws pcap replay core shared with the other read-only clones; xtcpnl only", + modulePath + "/internal/jsonw": "json_writer.c's string escaping, shared with gobridge; stdlib only", + modulePath + "/internal/nlmon": "the monitor core shared with goip: rtnl_listen, rtnl_from_file, the stamp; xtcpnl only", + modulePath + "/internal/goip/render": "getprotobyname of the workbench's /etc/protocols, compiled in, for ct's helper (inet_proto_a2n); xtcpnl, jsonw and cint only", } // gotcClosure is the first-party closure of gotc's non-test files. @@ -36,7 +37,7 @@ var gotcClosure = []string{ modulePath + "/cmd/gotc", modulePath + "/internal/gotc", modulePath + "/pkg/xtcpnl", modulePath + "/internal/wsreplay", modulePath + "/pkg/cint", modulePath + "/internal/jsonw", - modulePath + "/internal/nlmon", + modulePath + "/internal/nlmon", modulePath + "/internal/goip/render", // Reached through xtcpnl's congestion-name decoder; stdlib only. modulePath + "/pkg/strpolicy", // Reached through xtcpnl's inet_diag decoders; see internal/gordma. diff --git a/internal/gotc/qwrite_tdc_test.go b/internal/gotc/qwrite_tdc_test.go index 3746132e6..52fba45c4 100644 --- a/internal/gotc/qwrite_tdc_test.go +++ b/internal/gotc/qwrite_tdc_test.go @@ -129,13 +129,12 @@ func TestGotcTdcWrites(t *testing.T) { } // tdcFilterSkips pins the tdc filter writes gotc refuses, by what it -// 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; police and the other 11 increment-12 action kinds since 22W, which -// leaves increment 23's six. +// names: a filter kind, police, an action kind, an ematch kind, or an +// ematch lead. basic, cgroup and flow's match are sent since 21W; police +// and the other 11 increment-12 action kinds since 22W; increment 23's six +// and the bpf filter since 23W, which leaves flower (increment 24). var tdcFilterSkips = map[string]int{ "kind flower": 2, - "action ct": 7, "action gate": 1, } // tdcFilterKnown are the filter rows gotc cannot match, each with why. @@ -144,8 +143,9 @@ var tdcFilterKnown = map[string]string{} // tdcFilterWritesSent pins how many tdc filter and chain writes gotc // matches exactly (20W 134, 21W's basic, cgroup and flow match 111 more, // 22W's police and the other 11 action kinds 31 more, 23W's bpf filter -// and action 5 more, pedit 1, ife 2 and tunnel_key 1). -const tdcFilterWritesSent = 285 +// and action 5 more, pedit 1, ife 2, tunnel_key 1, +// ct 7 and gate 1). +const tdcFilterWritesSent = 293 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+)\))`) From ebacc6a4b0a2be16fe8eade67f20bda858ce90aa Mon Sep 17 00:00:00 2001 From: randomizedcoder Date: Mon, 30 Nov 2026 23:24:21 -0800 Subject: [PATCH 09/13] gotc 23W: lint fixes for the merged kinds, and fuzz seeds for all six Shared word constants for the header fields u32, flower, pedit and tunnel_key all spell (tos, ttl, nofrag, firstfrag, sport, dport, icmp_type, icmp_code, type), with prio and flags moved to util.go so the untagged readers use them too; get_time64's and get_size64's suffixes as time64Scale and size64Scale, shared by gate; actParsers built from a kind list; parseBpfFopt's handle, classid and action arms split out. FuzzGotcActionWrite, FuzzGotcActionBatch and FuzzGotcFilterWrite gain seeds for pedit, tunnel_key, ife, ct and gate, with the W232, W265 and W291 NULs carried to a later line. Co-Authored-By: Claude Opus 5.5 --- internal/gotc/act_parse.go | 55 +++++++++++++--------- internal/gotc/action.go | 2 +- internal/gotc/aw_bpf_test.go | 3 +- internal/gotc/aw_ct.go | 4 +- internal/gotc/aw_gate.go | 39 ++++------------ internal/gotc/aw_ife.go | 14 +++--- internal/gotc/aw_mpls.go | 4 +- internal/gotc/aw_pedit_hdr.go | 40 ++++++++-------- internal/gotc/aw_tunnel_key.go | 10 ++-- internal/gotc/awrite_fuzz_test.go | 17 +++++++ internal/gotc/corpus_test.go | 6 +-- internal/gotc/f_bpf.go | 2 +- internal/gotc/f_flower.go | 14 +++--- internal/gotc/fkind.go | 16 +++---- internal/gotc/fw_bpf.go | 77 +++++++++++++++++++++---------- internal/gotc/fw_u32.go | 16 +++---- internal/gotc/fwrite_fuzz_test.go | 3 ++ internal/gotc/m_gate.go | 4 +- internal/gotc/m_ife.go | 6 +-- internal/gotc/m_mpls.go | 2 +- internal/gotc/m_nat.go | 2 +- internal/gotc/m_tunnel_key.go | 12 ++--- internal/gotc/q_gred.go | 2 +- internal/gotc/q_shape.go | 2 +- internal/gotc/q_taprio.go | 4 +- internal/gotc/qw_taprio.go | 1 - internal/gotc/qwrite.go | 1 - internal/gotc/units.go | 76 ++++++++++++++++++------------ internal/gotc/util.go | 12 +++++ 29 files changed, 256 insertions(+), 190 deletions(-) diff --git a/internal/gotc/act_parse.go b/internal/gotc/act_parse.go index ff54f0e49..77c7a0c02 100644 --- a/internal/gotc/act_parse.go +++ b/internal/gotc/act_parse.go @@ -27,28 +27,39 @@ import ( // action parsing"; a non-nil error is an exit, or a refusal. type actParser func(r *runner, ops *fops, args []string, tcaID uint16) (rest []string, ok bool, err error) -// actParsers are the parse_aopts gotc clones, by action_util id. -var actParsers = map[string]actParser{ - xtcpnl.TcActKindGact: (*runner).parseGact, - xtcpnl.TcActKindPolice: (*runner).parsePoliceAct, - xtcpnl.TcActKindMirred: (*runner).parseMirred, - xtcpnl.TcActKindSkbedit: (*runner).parseSkbedit, - xtcpnl.TcActKindVlan: (*runner).parseVlan, - xtcpnl.TcActKindCsum: (*runner).parseCsum, - xtcpnl.TcActKindNat: (*runner).parseNat, - xtcpnl.TcActKindConnmark: (*runner).parseConnmark, - xtcpnl.TcActKindCtinfo: (*runner).parseCtinfo, - xtcpnl.TcActKindSample: (*runner).parseSample, - xtcpnl.TcActKindSkbmod: (*runner).parseSkbmod, - xtcpnl.TcActKindMpls: (*runner).parseMpls, - xtcpnl.TcActKindSimple: (*runner).parseSimple, - xtcpnl.TcActKindTunnelKey: (*runner).parseTunnelKey, - xtcpnl.TcActKindIfe: (*runner).parseIfe, - xtcpnl.TcActKindBpf: (*runner).parseBpf, - xtcpnl.TcActKindPedit: (*runner).parsePedit, - xtcpnl.TcActKindCt: (*runner).parseCt, - xtcpnl.TcActKindGate: (*runner).parseGate, -} +// actParsers are the parse_aopts gotc clones, by action_util id, built +// from a kind and parser list as action_util is. +var actParsers = func() map[string]actParser { + kinds := []struct { + kind string + parse actParser + }{ + {xtcpnl.TcActKindGact, (*runner).parseGact}, + {xtcpnl.TcActKindPolice, (*runner).parsePoliceAct}, + {xtcpnl.TcActKindMirred, (*runner).parseMirred}, + {xtcpnl.TcActKindSkbedit, (*runner).parseSkbedit}, + {xtcpnl.TcActKindVlan, (*runner).parseVlan}, + {xtcpnl.TcActKindCsum, (*runner).parseCsum}, + {xtcpnl.TcActKindNat, (*runner).parseNat}, + {xtcpnl.TcActKindConnmark, (*runner).parseConnmark}, + {xtcpnl.TcActKindCtinfo, (*runner).parseCtinfo}, + {xtcpnl.TcActKindSample, (*runner).parseSample}, + {xtcpnl.TcActKindSkbmod, (*runner).parseSkbmod}, + {xtcpnl.TcActKindMpls, (*runner).parseMpls}, + {xtcpnl.TcActKindSimple, (*runner).parseSimple}, + {xtcpnl.TcActKindTunnelKey, (*runner).parseTunnelKey}, + {xtcpnl.TcActKindIfe, (*runner).parseIfe}, + {xtcpnl.TcActKindBpf, (*runner).parseBpf}, + {xtcpnl.TcActKindPedit, (*runner).parsePedit}, + {xtcpnl.TcActKindCt, (*runner).parseCt}, + {xtcpnl.TcActKindGate, (*runner).parseGate}, + } + m := make(map[string]actParser, len(kinds)) + for _, k := range kinds { + m[k.kind] = k.parse + } + return m +}() // tcCookieMax is TC_COOKIE_MAX_SIZE. const tcCookieMax = 16 diff --git a/internal/gotc/action.go b/internal/gotc/action.go index f2ab24890..fad80c70a 100644 --- a/internal/gotc/action.go +++ b/internal/gotc/action.go @@ -343,7 +343,7 @@ func (r *runner) printActionControl(prefix string, a int32, suffix string) { o.fp(prefix) o.openObject("control_action") t := actionN2A(a) - o.str(printAny, colorNone, "type", t, t) + o.str(printAny, colorNone, wordType, t, t) v := cint.Bits(a) & tcActExtValMask if a&^tcActExtValMask == tcActGotoChain { o.uint(printAny, "chain", " chain "+u32s(v), v) diff --git a/internal/gotc/aw_bpf_test.go b/internal/gotc/aw_bpf_test.go index f95ce4e35..5441f7f69 100644 --- a/internal/gotc/aw_bpf_test.go +++ b/internal/gotc/aw_bpf_test.go @@ -318,7 +318,8 @@ func TestCbpfParseOps(t *testing.T) { {"corner: a NUL in a file ends the text", "bpf.txt", ptr("1,6 0 0 0\x00,6 0 0 0\n"), expected{n: 1, first: ret0}}, {"corner: a file that fills the buffer is E2BIG", "bpf.txt", ptr(strings.Repeat("x", bpfFileBuf)), expected{n: -1}}, } - for _, tc := range tests { + for i := range tests { + tc := &tests[i] t.Run(tc.description, func(t *testing.T) { fromFile := tc.file != nil || tc.arg == "nosuch.txt" if fromFile { diff --git a/internal/gotc/aw_ct.go b/internal/gotc/aw_ct.go index 5559b9629..4165dc01b 100644 --- a/internal/gotc/aw_ct.go +++ b/internal/gotc/aw_ct.go @@ -158,9 +158,9 @@ func (r *runner) ctNat(ops *fops, args []string, act *uint16) (rest []string, ag return nil, false, false, err } switch { - case matches(args[0], "src"): + case matches(args[0], wordSrc): *act |= xtcpnl.TcaCtActNatSrc - case matches(args[0], "dst"): + case matches(args[0], wordDst): *act |= xtcpnl.TcaCtActNatDst default: return args, true, true, nil diff --git a/internal/gotc/aw_gate.go b/internal/gotc/aw_gate.go index 9d437e5d5..370c1ca32 100644 --- a/internal/gotc/aw_gate.go +++ b/internal/gotc/aw_gate.go @@ -119,12 +119,12 @@ loop: if a.clockid, good = getClockid(args[0]); !good { return nil, false, r.invarg("clockid", args[0]) } - case matches(args[0], "flags"): + case matches(args[0], wordFlags): if args, err = r.nextArg(args); err != nil { return nil, false, err } if a.flags, good = getU32(args[0], 0); !good { - return nil, false, r.invarg("flags", args[0]) + return nil, false, r.invarg(wordFlags, args[0]) } case matches(args[0], "sched-entry"): var e gateEntry @@ -216,27 +216,20 @@ func (r *runner) gateS64Time(args []string, v *int64, name string) ([]string, er } // gateTime64 is get_time64, refusing by name the strtod results tc casts -// to __s64 out of range, inf and nan among them: undefined behaviour +// to __s64 out of range, inf and nan among them: undefined behavior // (W297). Fractions truncate. func gateTime64(s string) (int64, bool, error) { ns, p, erange := cStrtod(s) if p == s || ns < 0 || (math.IsInf(ns, 1) && erange) { return 0, false, nil } - switch strings.ToLower(p) { - case "": - case "s", "sec", "secs": - ns *= nsecPerSec - case "ms", "msec", "msecs": - ns *= nsecPerMsec - case "us", "usec", "usecs": - ns *= nsecPerUsec - case "ns", "nsec", "nsecs": - default: + k, ok := time64Scale(p) + if !ok { return 0, false, nil } + ns *= k if math.IsNaN(ns) || ns >= 1<<63 { - return 0, false, fmt.Errorf("%w: gate time %q: tc casts %g to __s64, undefined behaviour (W297)", + return 0, false, fmt.Errorf("%w: gate time %q: tc casts %g to __s64, undefined behavior (W297)", errNotImplemented, s, ns) } return cDoubleToI64(ns), true, nil @@ -345,23 +338,11 @@ func gateGetSize(s string) (v uint32, wrote, ok bool) { if p == s || sz < 0 || (math.IsInf(sz, 1) && erange) { return 0, false, false } - switch strings.ToLower(p) { - case "", "b": - case "kb", "k": - sz *= 1024 - case "gb", "g": - sz *= 1024 * 1024 * 1024 - case "gbit": - sz *= 1024 * 1024 * 1024 / 8 - case "mb", "m": - sz *= 1024 * 1024 - case "mbit": - sz *= 1024 * 1024 / 8 - case "kbit": - sz *= 1024 / 8 - default: + k, ok := size64Scale(p) + if !ok { return 0, false, false } + sz *= k v64 := cDoubleToU64(sz) return cint.Low32(v64), true, float64(v64) == math.Floor(sz) && v64 <= math.MaxUint32 } diff --git a/internal/gotc/aw_ife.go b/internal/gotc/aw_ife.go index c2ff64a2a..d1eb0ef36 100644 --- a/internal/gotc/aw_ife.go +++ b/internal/gotc/aw_ife.go @@ -159,7 +159,7 @@ func (r *runner) ifeLoop(a *ifeArgs, args []string) ([]string, error) { if args, err = r.ifeUse(a, args); err != nil { return nil, err } - case matches(w, "type"): + case matches(w, wordType): if args, err = r.nextArg(args); err != nil { return nil, err } @@ -169,11 +169,11 @@ func (r *runner) ifeLoop(a *ifeArgs, args []string) ([]string, error) { } a.ifeType, a.userType = t, true r.errf("IFE type 0x%04X\n", t) - case matches(w, "dst"), matches(w, "src"): + case matches(w, wordDst), matches(w, wordSrc): if args, err = r.nextArg(args); err != nil { return nil, err } - if err = r.ifeMac(a, matches(w, "dst"), args[0]); err != nil { + if err = r.ifeMac(a, matches(w, wordDst), args[0]); err != nil { return nil, err } case matches(w, helpWord): @@ -191,7 +191,7 @@ func (r *runner) ifeAllow(a *ifeArgs, v string) error { switch { case matches(v, "mark"): a.mark = true - case matches(v, "prio"): + case matches(v, wordPrio): a.prio = true case matches(v, "tcindex"): a.tcindex = true @@ -213,8 +213,8 @@ func (r *runner) ifeUse(a *ifeArgs, args []string) ([]string, error) { switch { case matches(attr, "mark"): name = "mark" - case matches(attr, "prio"): - name = "prio" + case matches(attr, wordPrio): + name = wordPrio case matches(attr, "tcindex"): name = "tcindex" default: @@ -228,7 +228,7 @@ func (r *runner) ifeUse(a *ifeArgs, args []string) ([]string, error) { switch name { case "mark": a.markV, good = getU32(v, 0) - case "prio": + case wordPrio: a.prioV, good = getU32(v, 0) default: a.tcindexV, good = getU16(v, 0) diff --git a/internal/gotc/aw_mpls.go b/internal/gotc/aw_mpls.go index e4ecd8604..290dc009b 100644 --- a/internal/gotc/aw_mpls.go +++ b/internal/gotc/aw_mpls.go @@ -158,7 +158,7 @@ func (r *runner) mplsLoop(a *mplsArgs, args []string) (rest []string, done bool, continue } switch { - case matches(w, "label"), matches(w, "tc"), matches(w, "ttl"), matches(w, "bos"): + case matches(w, "label"), matches(w, "tc"), matches(w, wordTTL), matches(w, "bos"): if args, err = r.mplsField(a, args); err != nil { return nil, false, err } @@ -210,7 +210,7 @@ func (r *runner) mplsField(a *mplsArgs, args []string) ([]string, error) { return nil, r.invarg("tc field is 3 bits max", v) } a.tc = t - case matches(w, "ttl"): + case matches(w, wordTTL): t, ok := getU8(v, 0) if !ok || t == 0 { return nil, r.invarg("ttl must be >0 and <=255", v) diff --git a/internal/gotc/aw_pedit_hdr.go b/internal/gotc/aw_pedit_hdr.go index 51c328ad8..6134e8639 100644 --- a/internal/gotc/aw_pedit_hdr.go +++ b/internal/gotc/aw_pedit_hdr.go @@ -64,28 +64,28 @@ const ( // always returns -1 (W239). var peditHdrs = map[string]*peditHdr{ "ip": {htype: xtcpnl.PeditHtypeIP4, exCut: 13, fields: []peditField{ - {name: "src", off: 12, len: 4, typ: peditTIPv4, retain: ru32}, - {name: "dst", off: 16, len: 4, typ: peditTIPv4, retain: ru32}, - {name: "tos", off: 1, len: 1, typ: peditTU32, retain: ru8}, + {name: wordSrc, off: 12, len: 4, typ: peditTIPv4, retain: ru32}, + {name: wordDst, off: 16, len: 4, typ: peditTIPv4, retain: ru32}, + {name: wordTos, off: 1, len: 1, typ: peditTU32, retain: ru8}, {name: "dsfield", prefix: true, off: 1, len: 1, typ: peditTU32, retain: ru8}, {name: "ihl", off: 0, len: 1, typ: peditTU32, retain: 0x0f}, - {name: "ttl", off: 8, len: 1, typ: peditTU32, retain: ru8, flags: peditAllowDec}, + {name: wordTTL, off: 8, len: 1, typ: peditTU32, retain: ru8, flags: peditAllowDec}, {name: "protocol", off: 9, len: 1, typ: peditTU32, retain: ru8}, {name: "precedence", prefix: true, off: 1, len: 1, typ: peditTU32, retain: ru8}, - {name: "nofrag", off: 6, len: 1, typ: peditTU32, retain: 0x3F}, - {name: "firstfrag", off: 6, len: 1, typ: peditTU32, retain: 0x1F}, + {name: wordNofrag, off: 6, len: 1, typ: peditTU32, retain: 0x3F}, + {name: wordFirstfrag, off: 6, len: 1, typ: peditTU32, retain: 0x1F}, {name: "ce", off: 6, len: 1, typ: peditTU32, retain: 0x80}, {name: "df", off: 6, len: 1, typ: peditTU32, retain: 0x40}, {name: "mf", off: 6, len: 1, typ: peditTU32, retain: 0x20}, // exCut: the rest assume a 20-byte IP header (W237). - {name: "dport", off: 22, len: 2, typ: peditTU32, retain: ru16}, - {name: "sport", off: 20, len: 2, typ: peditTU32, retain: ru16}, - {name: "icmp_type", off: 20, len: 1, typ: peditTU32, retain: ru8}, - {name: "icmp_code", off: 20, len: 1, typ: peditTU32, retain: ru8}, // the type byte (W236) + {name: wordDport, off: 22, len: 2, typ: peditTU32, retain: ru16}, + {name: wordSport, off: 20, len: 2, typ: peditTU32, retain: ru16}, + {name: wordIcmpType, off: 20, len: 1, typ: peditTU32, retain: ru8}, + {name: wordIcmpCode, off: 20, len: 1, typ: peditTU32, retain: ru8}, // the type byte (W236) }}, "ip6": {needEx: true, htype: xtcpnl.PeditHtypeIP6, exCut: -1, fields: []peditField{ - {name: "src", off: 8, len: 16, typ: peditTIPv6, retain: ru32}, - {name: "dst", off: 24, len: 16, typ: peditTIPv6, retain: ru32}, + {name: wordSrc, off: 8, len: 16, typ: peditTIPv6, retain: ru32}, + {name: wordDst, off: 24, len: 16, typ: peditTIPv6, retain: ru32}, {name: "flow_lbl", off: 0, len: 4, typ: peditTU32, retain: 0x0007ffff}, // 19 bits (W238) {name: "payload_len", off: 4, len: 2, typ: peditTU32, retain: ru16}, {name: "nexthdr", off: 6, len: 1, typ: peditTU32, retain: ru8}, @@ -94,18 +94,18 @@ var peditHdrs = map[string]*peditHdr{ }}, "icmp": {exCut: -1}, "tcp": {needEx: true, htype: xtcpnl.PeditHtypeTCP, exCut: -1, fields: []peditField{ - {name: "sport", off: 0, len: 2, typ: peditTU32, retain: ru16}, - {name: "dport", off: 2, len: 2, typ: peditTU32, retain: ru16}, - {name: "flags", off: 13, len: 1, typ: peditTU32, retain: ru8}, + {name: wordSport, off: 0, len: 2, typ: peditTU32, retain: ru16}, + {name: wordDport, off: 2, len: 2, typ: peditTU32, retain: ru16}, + {name: wordFlags, off: 13, len: 1, typ: peditTU32, retain: ru8}, }}, "udp": {needEx: true, htype: xtcpnl.PeditHtypeUDP, exCut: -1, fields: []peditField{ - {name: "sport", off: 0, len: 2, typ: peditTU32, retain: ru16}, - {name: "dport", off: 2, len: 2, typ: peditTU32, retain: ru16}, + {name: wordSport, off: 0, len: 2, typ: peditTU32, retain: ru16}, + {name: wordDport, off: 2, len: 2, typ: peditTU32, retain: ru16}, }}, "eth": {needEx: true, htype: xtcpnl.PeditHtypeEth, exCut: -1, fields: []peditField{ - {name: "type", off: 12, len: 2, typ: peditTU32, retain: ru16}, - {name: "dst", off: 0, len: 6, typ: peditTMAC, retain: ru32}, - {name: "src", off: 6, len: 6, typ: peditTMAC, retain: ru32}, + {name: wordType, off: 12, len: 2, typ: peditTU32, retain: ru16}, + {name: wordDst, off: 0, len: 6, typ: peditTMAC, retain: ru32}, + {name: wordSrc, off: 6, len: 6, typ: peditTMAC, retain: ru32}, }}, } diff --git a/internal/gotc/aw_tunnel_key.go b/internal/gotc/aw_tunnel_key.go index 5ad5433fc..a66c3624b 100644 --- a/internal/gotc/aw_tunnel_key.go +++ b/internal/gotc/aw_tunnel_key.go @@ -122,7 +122,7 @@ func (r *runner) tunnelKeyLoop(ops *fops, a *tunnelKeyArgs, args []string) (rest case matches(w, "help"): r.tunnelKeyExplain() return nil, false, exitCode(-1) - case w == "nofrag": + case w == wordNofrag: a.nofrag = true default: var known bool @@ -155,10 +155,10 @@ func (r *runner) tunnelKeyOpt(ops *fops, a *tunnelKeyArgs, args []string) (rest name, parse = "vxlan_opts", tunnelKeyVxlanOpt case matches(w, "erspan_opts"): name, parse = "erspan_opts", r.tunnelKeyErspanOpt - case matches(w, "tos"): - name, parse = "tos", func(o *fops, v []string) bool { return putTosTTL(o, v[0], xtcpnl.TcaTunnelKeyEncTos) } - case matches(w, "ttl"): - name, parse = "ttl", func(o *fops, v []string) bool { return putTosTTL(o, v[0], xtcpnl.TcaTunnelKeyEncTTL) } + case matches(w, wordTos): + name, parse = wordTos, func(o *fops, v []string) bool { return putTosTTL(o, v[0], xtcpnl.TcaTunnelKeyEncTos) } + case matches(w, wordTTL): + name, parse = wordTTL, func(o *fops, v []string) bool { return putTosTTL(o, v[0], xtcpnl.TcaTunnelKeyEncTTL) } case matches(w, "csum"): a.csum = true return args, true, true, nil diff --git a/internal/gotc/awrite_fuzz_test.go b/internal/gotc/awrite_fuzz_test.go index a76ab5110..660d6f9e0 100644 --- a/internal/gotc/awrite_fuzz_test.go +++ b/internal/gotc/awrite_fuzz_test.go @@ -39,6 +39,19 @@ var awFuzzSeeds = []string{ "actions add action bpf bytecode 1,6\t0\t0\t0 index 1", "actions replace action bpf run bc 4,40\t0\t0\t12,21\t0\t1\t2048,6\t0\t0\t262144,6\t0\t0\t0 drop index 2", "actions add action bpf index 5 action bpf drop", + "actions add action pedit munge offset 12 u32 set 0x1 pipe index 14", + "actions add action pedit ex munge ip ttl add 1 munge ip6 src set ::1 munge tcp dport set 80 munge eth dst invert pipe", + "actions replace action pedit munge ip tos set 0x10 retain 0xf0 munge offset -4 u8 at 0 offmask f shift 0 set 1", + "actions add action tunnel_key set src_ip 1.1.1.1 dst_ip 2.2.2.2 id 1 dst_port 4789 tos 1a ttl 64 geneve_opts 0102:80:00880022 index 15", + "actions change action tunnel_key set src_ip ::1 dst_ip ::2 erspan_opts 2:0:1:16 nocsum nofrag index 15", + "actions add action tunnel_key unset vxlan_opts 1 pipe", + "actions add action ife encode use mark 5 allow prio dst 01:02:03:04:05:06junk type 0xed3e index 16", + "actions add action ife decode use tcindex 1 use mark 0 pipe", + "actions add action ct commit zone 3 mark 1/0xff label 01/ff nat src addr 10.0.0.1-10.0.0.9 port 1000-2000 pipe index 17", + "actions add action ct commit helper ipv4-udp-netbios-ns force pipe index 5", + "actions add action ct clear zone 5/1", + "actions add action gate base-time 1 cycle-time 2ms clockid CLOCK_TAI sched-entry open 1ms 2 1000 sched-entry close 1ms index 18", + "actions add action gate priority -1 flags 0 cycle-time-ext 1.5 sched-entry open 4294967295ns -1 5G pipe index 5", } // bpfFuzzDevice is an input whose bytecode-file could name a device or a @@ -81,6 +94,10 @@ func FuzzGotcActionBatch(f *testing.F) { {"actions add action police rate 1mbit burst 10x index 1", "actions add action gact pass index 1"}, {"actions add action mpls push index 1", "actions flush action mpls"}, {"actions add action nat sideways 1.1.1.1 2.2.2.2", "actions add action simple sdata x # tail"}, + {"actions add action pedit ex munge eth dst set aa:bb:cc:dd:ee:ff", "actions add action simple sdata LLLLLLLLLLLLLLLLLLLLLLLLLL"}, + {"actions add action tunnel_key set src_ip 1.1.1.1 dst_ip 2.2.2.2 id 1 geneve_opts 0102:80:00880022", "actions add action simple sdata LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL"}, + {"actions add action ct mark 1/0xff label 01/ff", "actions add action simple sdata LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL"}, + {"actions add action tunnel_key set src_ip bogus", "actions add action gate sched-entry opn 1ms"}, } { f.Add(s[0], s[1]) } diff --git a/internal/gotc/corpus_test.go b/internal/gotc/corpus_test.go index 79520c891..428a8fc43 100644 --- a/internal/gotc/corpus_test.go +++ b/internal/gotc/corpus_test.go @@ -58,14 +58,14 @@ var corpusRefused = map[string]string{ "tcematch/ng-110": "not implemented: tc filter write of ematch kind ipset", // 23W: tc reaches bpf(2), libbpf or the ELF loader (eBPF), which gotc // never does (W314); ct reads past its 63-byte nat copy (W280); gate - // casts inf, nan and out-of-range times with undefined behaviour (W297). + // casts inf, nan and out-of-range times with undefined behavior (W297). "tcact2write/ng-139": "eBPF program via bpf(2)", "tcact2write/ng-140": "eBPF program via bpf(2)", "tcact2write/ng-141": "eBPF program via bpf(2)", "tcact2write/ng-142": "eBPF program via bpf(2)", "tcact2write/ng-143": "eBPF program via bpf(2)", "tcact2write/ng-144": "eBPF program via bpf(2)", "tcact2write/ng-153": "eBPF program via bpf(2)", "tcact2write/ng-154": "eBPF program via bpf(2)", "tcact2write/ec-168": "reads past its unterminated 63-byte copy (W280)", - "tcact2write/ec-204": "undefined behaviour (W297)", "tcact2write/ec-205": "undefined behaviour (W297)", - "tcact2write/ec-206": "undefined behaviour (W297)", + "tcact2write/ec-204": "undefined behavior (W297)", "tcact2write/ec-205": "undefined behavior (W297)", + "tcact2write/ec-206": "undefined behavior (W297)", } // qwriteSent are the corpusWrites rows the gotc_write build sends and diff --git a/internal/gotc/f_bpf.go b/internal/gotc/f_bpf.go index 939f8cdaa..eeec1dd9b 100644 --- a/internal/gotc/f_bpf.go +++ b/internal/gotc/f_bpf.go @@ -23,7 +23,7 @@ func printBpfOpt(r *runner, opt []byte, handle uint32) error { for _, c := range []struct { t uint16 what string - }{{xtcpnl.TcaBpfClassid, wordClassid}, {xtcpnl.TcaBpfFlags, "flags"}, {xtcpnl.TcaBpfFlagsGen, "gen flags"}} { + }{{xtcpnl.TcaBpfClassid, wordClassid}, {xtcpnl.TcaBpfFlags, wordFlags}, {xtcpnl.TcaBpfFlagsGen, "gen flags"}} { if err := attrNeed(kind, c.what, tb.Bytes(c.t), 4); err != nil { return err } diff --git a/internal/gotc/f_flower.go b/internal/gotc/f_flower.go index 303a024e8..129591f62 100644 --- a/internal/gotc/f_flower.go +++ b/internal/gotc/f_flower.go @@ -55,7 +55,7 @@ type flowerFlag struct { // flowerFlagsStr is f_flower.c flags_str. var flowerFlagsStr = []flowerFlag{ {xtcpnl.TcaFlowerKeyFlagsIsFragment, false, "frag"}, - {xtcpnl.TcaFlowerKeyFlagsFragIsFirst, false, "firstfrag"}, + {xtcpnl.TcaFlowerKeyFlagsFragIsFirst, false, wordFirstfrag}, {xtcpnl.TcaFlowerKeyFlagsTunnelCsum, true, "tuncsum"}, {xtcpnl.TcaFlowerKeyFlagsTunnelDontFragment, true, "tundf"}, {xtcpnl.TcaFlowerKeyFlagsTunnelOam, true, "tunoam"}, @@ -215,10 +215,10 @@ func (r *runner) flowerL3Keys(tb xtcpnl.AttrTable, ethType uint16, ipProto uint8 } if t, m, ok := flowerICMPAttrs(ethType, ipProto, false); ok { - r.flowerMaskedU8("icmp_type", tb, t, m, nil) + r.flowerMaskedU8(wordIcmpType, tb, t, m, nil) } if t, m, ok := flowerICMPAttrs(ethType, ipProto, true); ok { - r.flowerMaskedU8("icmp_code", tb, t, m, nil) + r.flowerMaskedU8(wordIcmpCode, tb, t, m, nil) } if tb.Has(xtcpnl.TcaFlowerKeyL2tpv3Sid) { @@ -575,7 +575,7 @@ func (r *runner) flowerMplsOpts(b []byte) { } u8(xtcpnl.TcaFlowerKeyMplsOptLseTc, "tc") u8(xtcpnl.TcaFlowerKeyMplsOptLseBos, "bos") - u8(xtcpnl.TcaFlowerKeyMplsOptLseTTL, "ttl") + u8(xtcpnl.TcaFlowerKeyMplsOptLseTTL, wordTTL) o.closeObject() } r.deficit(m.Deficit) @@ -762,7 +762,7 @@ func (r *runner) flowerGeneveOpts(name string, b []byte) (string, error) { for _, opt := range g.Opts { o.openObject("") o.uint(printJSON, "class", "", uint32(opt.Class)) - o.uint(printJSON, "type", "", uint32(opt.Type)) + o.uint(printJSON, wordType, "", uint32(opt.Type)) o.openArray(printJSON, "data") for _, c := range opt.Data { o.uint(printJSON, "", "", uint32(c)) @@ -832,7 +832,7 @@ func (r *runner) flowerPfcpOpts(name string, b []byte) (string, error) { o := r.o o.openArray(printJSON, name) o.openObject("") - o.uint(printJSON, "type", "", uint32(p.Type)) + o.uint(printJSON, wordType, "", uint32(p.Type)) o.uint(printJSON, "seid", "", uint32(p.Seid&0xffffffff)) o.closeObject() o.closeArray(printJSON, name) @@ -854,7 +854,7 @@ var flowerKeywords = []struct { {"mpls_bos", false}, {"mpls_ttl", false}, {"dst_mac", false}, {"src_mac", false}, {"ip_proto", false}, {"ip_tos", false}, {"ip_ttl", false}, {wordDstIP, false}, {wordSrcIP, false}, {wordDstPort, false}, {"src_port", false}, {"tcp_flags", false}, - {"type", false}, {"code", false}, {"l2tpv3_sid", true}, {"spi", true}, + {wordType, false}, {"code", false}, {"l2tpv3_sid", true}, {"spi", true}, {"arp_tip", false}, {"arp_sip", false}, {"arp_op", false}, {"arp_tha", false}, {"arp_sha", false}, {"pppoe_sid", true}, {"ppp_proto", true}, {"enc_dst_ip", false}, {"enc_src_ip", false}, {"enc_key_id", false}, {"enc_dst_port", false}, diff --git a/internal/gotc/fkind.go b/internal/gotc/fkind.go index 2db899847..ab8011315 100644 --- a/internal/gotc/fkind.go +++ b/internal/gotc/fkind.go @@ -348,23 +348,23 @@ func (r *runner) printU32IP(k xtcpnl.TcU32Key, v6 bool) { lo, hi := k.Val&0xffff, k.Val>>16 switch { case k.Mask == 0x0000ffff && !v6: - o.uint(printAny, "dport", "match dport "+u32s(lo), lo) + o.uint(printAny, wordDport, "match dport "+u32s(lo), lo) case k.Mask == 0x0000ffff: o.nl() - o.uint(printAny, "sport", " match sport "+u32s(lo), lo) + o.uint(printAny, wordSport, " match sport "+u32s(lo), lo) case k.Mask == 0xffff0000 && !v6: o.nl() - o.uint(printAny, "sport", " match sport "+u32s(hi), hi) + o.uint(printAny, wordSport, " match sport "+u32s(hi), hi) case k.Mask == 0xffff0000: - o.uint(printAny, "dport", "match dport "+u32s(hi), hi) + o.uint(printAny, wordDport, "match dport "+u32s(hi), hi) case k.Mask == 0xffffffff && !v6: o.nl() - o.uint(printAny, "dport", " match dport "+u32s(lo)+", ", lo) - o.uint(printAny, "sport", "match sport "+u32s(hi), hi) + o.uint(printAny, wordDport, " match dport "+u32s(lo)+", ", lo) + o.uint(printAny, wordSport, "match sport "+u32s(hi), hi) case k.Mask == 0xffffffff: o.nl() - o.uint(printAny, "sport", " match sport "+u32s(lo)+", ", lo) - o.uint(printAny, "dport", "match dport "+u32s(hi), hi) + o.uint(printAny, wordSport, " match sport "+u32s(lo)+", ", lo) + o.uint(printAny, wordDport, "match dport "+u32s(hi), hi) } } o.closeObject() diff --git a/internal/gotc/fw_bpf.go b/internal/gotc/fw_bpf.go index 524e9e303..4503e0905 100644 --- a/internal/gotc/fw_bpf.go +++ b/internal/gotc/fw_bpf.go @@ -50,13 +50,8 @@ func (r *runner) bpfFoptExplain() { // the loop's order: `s` is skip_hw, `f` flowid, `p` police (W318). An // object file is refused after the whole loop, where tc loads it. func parseBpfFopt(r *runner, m *fmod) error { - if m.a.hasHandle { - v, ok := getU32(m.handle, 0) - if !ok { - r.errf("Illegal \"handle\"\n") - return errKindParse - } - m.w.Handle = v + if err := r.bpfFoptHandle(m); err != nil { + return err } args := m.rest if len(args) == 0 { @@ -80,15 +75,9 @@ func parseBpfFopt(r *runner, m *fmod) error { } prog = true case matches(a, wordClassid) || matches(a, wordFlowid): - if args, err = r.nextArg(args); err != nil { + if args, err = r.bpfFoptClassid(m, args); err != nil { return err } - c, ok := tcClassid(args[0]) - if !ok { - r.errf("Illegal \"classid\"\n") - return errKindParse - } - m.ops.u32(maxMsg, xtcpnl.TcaBpfClassid, c) case matches(a, "direct-action") || matches(a, "da"): flags |= xtcpnl.TcaBpfFlagActDirect case matches(a, wordSkipHw): @@ -96,19 +85,9 @@ func parseBpfFopt(r *runner, m *fmod) error { case matches(a, wordSkipSw): genFlags |= xtcpnl.TcaClsFlagsSkipSw case matches(a, wordAction): - v, err := r.nextArg(args) - if err != nil { + if args, err = r.bpfFoptAction(m, args); err != nil { return err } - rest, ok, err := r.parseAction(m, v, xtcpnl.TcaBpfAct) - if err != nil { - return err - } - if !ok { - r.errf("Illegal \"action\"\n") - return errKindParse - } - args = rest continue case matches(a, "police"): rest, err := r.policeArm(m, args, xtcpnl.TcaBpfPolice) @@ -156,3 +135,51 @@ func parseBpfFopt(r *runner, m *fmod) error { m.ops.end(tail) return nil } + +// bpfFoptHandle is bpf_parse_opt's handle: get_u32 base 0. +func (r *runner) bpfFoptHandle(m *fmod) error { + if !m.a.hasHandle { + return nil + } + v, ok := getU32(m.handle, 0) + if !ok { + r.errf("Illegal \"handle\"\n") + return errKindParse + } + m.w.Handle = v + return nil +} + +// bpfFoptClassid is the classid and flowid arm: NEXT_ARG, then get_tc_classid +// and TCA_BPF_CLASSID, sent each time the word comes (W317). +func (r *runner) bpfFoptClassid(m *fmod, args []string) ([]string, error) { + args, err := r.nextArg(args) + if err != nil { + return nil, err + } + c, ok := tcClassid(args[0]) + if !ok { + r.errf("Illegal \"classid\"\n") + return nil, errKindParse + } + m.ops.u32(maxMsg, xtcpnl.TcaBpfClassid, c) + return args, nil +} + +// bpfFoptAction is the action arm: NEXT_ARG, then parse_action into +// TCA_BPF_ACT; it returns the words after the actions, already advanced. +func (r *runner) bpfFoptAction(m *fmod, args []string) ([]string, error) { + v, err := r.nextArg(args) + if err != nil { + return nil, err + } + rest, ok, err := r.parseAction(m, v, xtcpnl.TcaBpfAct) + if err != nil { + return nil, err + } + if !ok { + r.errf("Illegal \"action\"\n") + return nil, errKindParse + } + return rest, nil +} diff --git a/internal/gotc/fw_u32.go b/internal/gotc/fw_u32.go index 73356838b..572307499 100644 --- a/internal/gotc/fw_u32.go +++ b/internal/gotc/fw_u32.go @@ -296,26 +296,26 @@ type u32Field struct { var ( u32IPFields = []u32Field{ {name: wordSrc, addr: unix.AF_INET, off: 12}, {name: wordDst, addr: unix.AF_INET, off: 16}, - {name: "tos", width: 8, off: 1}, {name: "dsfield", prefix: true, width: 8, off: 1}, + {name: wordTos, width: 8, off: 1}, {name: "dsfield", prefix: true, width: 8, off: 1}, {name: wordPrecedence, prefix: true, width: 8, off: 1}, {name: "ihl", width: 8}, {name: wordProtocol, width: 8, off: 9}, - {name: "nofrag", flag: [2]uint32{0, 0x3FFF}}, {name: "firstfrag", flag: [2]uint32{0x2000, 0x3FFF}}, + {name: wordNofrag, flag: [2]uint32{0, 0x3FFF}}, {name: wordFirstfrag, flag: [2]uint32{0x2000, 0x3FFF}}, {name: "df", flag: [2]uint32{0x4000, 0x4000}}, {name: "mf", flag: [2]uint32{0x2000, 0x2000}}, - {name: "dport", width: 16, off: 22}, {name: "sport", width: 16, off: 20}, - {name: "icmp_type", width: 8, off: 20}, {name: "icmp_code", width: 8, off: 21}, + {name: wordDport, width: 16, off: 22}, {name: wordSport, width: 16, off: 20}, + {name: wordIcmpType, width: 8, off: 20}, {name: wordIcmpCode, width: 8, off: 21}, } u32IP6Fields = []u32Field{ {name: wordSrc, addr: unix.AF_INET6, off: 8}, {name: wordDst, addr: unix.AF_INET6, off: 24}, {name: "priority", class: true}, {name: wordProtocol, width: 8, off: 6}, - {name: "flowlabel", width: 32}, {name: "dport", width: 16, off: 42}, {name: "sport", width: 16, off: 40}, - {name: "icmp_type", width: 8, off: 40}, - {name: "icmp_code", width: 8, off: 41, offmask: 1}, // offmask 1, every other field 0 (W80) + {name: "flowlabel", width: 32}, {name: wordDport, width: 16, off: 42}, {name: wordSport, width: 16, off: 40}, + {name: wordIcmpType, width: 8, off: 40}, + {name: wordIcmpCode, width: 8, off: 41, offmask: 1}, // offmask 1, every other field 0 (W80) } u32UDPFields = []u32Field{ {name: wordSrc, width: 16, offmask: -1}, {name: wordDst, width: 16, off: 2, offmask: -1}, } u32ICMPFields = []u32Field{ - {name: "type", width: 8, offmask: -1}, {name: "code", width: 8, off: 1, offmask: -1}, + {name: wordType, width: 8, offmask: -1}, {name: "code", width: 8, off: 1, offmask: -1}, } ) diff --git a/internal/gotc/fwrite_fuzz_test.go b/internal/gotc/fwrite_fuzz_test.go index 24d80c5d4..79915fd7a 100644 --- a/internal/gotc/fwrite_fuzz_test.go +++ b/internal/gotc/fwrite_fuzz_test.go @@ -69,6 +69,9 @@ func FuzzGotcFilterWrite(f *testing.F) { "filter add dev d0 ingress bpf run bc 65537,6\t0\t0\t0xffff s f 1:2 police rate 1mbit burst 10k drop", "filter replace dev d0 ingress bpf classid 1:1", "filter add dev d0 ingress matchall action bpf bytecode 2,6\t0\t0\t0,6\t0\t0\t1 drop index 1", + "filter add dev d0 ingress matchall action pedit munge ip ttl set 5 p action tunnel_key unset", + "filter add dev d0 ingress matchall action ife encode allow mark action ct commit pipe index 5", + "filter add dev d0 ingress matchall action gate sched-entry open 1ms -1 -1 sched-entry close 1ms action drop", } { f.Add(s) } diff --git a/internal/gotc/m_gate.go b/internal/gotc/m_gate.go index 4c95f8f67..9a9c953b1 100644 --- a/internal/gotc/m_gate.go +++ b/internal/gotc/m_gate.go @@ -38,7 +38,7 @@ var gateChecks = []struct { }{ {xtcpnl.TcaGatePriority, wordPriority, 4}, {xtcpnl.TcaGateClockid, "clockid", 4}, - {xtcpnl.TcaGateFlags, "flags", 4}, + {xtcpnl.TcaGateFlags, wordFlags, 4}, {xtcpnl.TcaGateBaseTime, "base-time", 8}, {xtcpnl.TcaGateCycleTime, "cycle-time", 8}, {xtcpnl.TcaGateCycleTimeExt, "cycle-time-ext", 8}, @@ -97,7 +97,7 @@ func (r *runner) printGate(opt []byte, has bool) (int, error) { o.str(printAny, colorNone, "clockid", "\tclockid "+cn, cn) if b := tb.Bytes(xtcpnl.TcaGateFlags); b != nil { f := rtaU32(b) - o.hex0x(printAny, "flags", "\tflags "+cHashX(uint64(f)), uint64(f)) + o.hex0x(printAny, wordFlags, "\tflags "+cHashX(uint64(f)), uint64(f)) } o.fp("\n") for _, t := range []struct { diff --git a/internal/gotc/m_ife.go b/internal/gotc/m_ife.go index 58e768447..bc2ba3fb4 100644 --- a/internal/gotc/m_ife.go +++ b/internal/gotc/m_ife.go @@ -28,7 +28,7 @@ var ifeMetas = []struct { }{ {xtcpnl.IfeMetaSkbmark, wordMark, 4}, {xtcpnl.IfeMetaTcindex, "tcindex", 2}, - {xtcpnl.IfeMetaPrio, "prio", 4}, + {xtcpnl.IfeMetaPrio, wordPrio, 4}, } // printIfe is print_ife: type prints "%#llX" (AC51); the break after it is @@ -54,7 +54,7 @@ func (r *runner) printIfe(opt []byte, has bool) (int, error) { return 0, actShort(kind, f.ParmsLen) } tb := f.Tb - if err := attrNeed(kind, "type", tb.Bytes(xtcpnl.TcaIfeType), 2); err != nil { + if err := attrNeed(kind, wordType, tb.Bytes(xtcpnl.TcaIfeType), 2); err != nil { return 0, err } if f.HasMeta { @@ -85,7 +85,7 @@ func (r *runner) printIfe(opt []byte, has bool) (int, error) { if b := tb.Bytes(xtcpnl.TcaIfeType); b != nil { v := uint64(rtaU16(b)) hasOptional = true - o.hex0x(printAny, "type", "type "+cHashXUpper(v)+" ", v) + o.hex0x(printAny, wordType, "type "+cHashXUpper(v)+" ", v) } if hasOptional { o.fp(o.sl + "\t") diff --git a/internal/gotc/m_mpls.go b/internal/gotc/m_mpls.go index 5a923f0f4..a0d310dde 100644 --- a/internal/gotc/m_mpls.go +++ b/internal/gotc/m_mpls.go @@ -62,7 +62,7 @@ func (r *runner) printMpls(opt []byte, has bool) (int, error) { for _, f := range []struct { t uint16 key string - }{{xtcpnl.TcaMplsTC, "tc"}, {xtcpnl.TcaMplsBos, "bos"}, {xtcpnl.TcaMplsTTL, "ttl"}} { + }{{xtcpnl.TcaMplsTC, "tc"}, {xtcpnl.TcaMplsBos, "bos"}, {xtcpnl.TcaMplsTTL, wordTTL}} { if tb.Has(f.t) { v := uint32(rtaU8(tb.Bytes(f.t))) o.uint(printAny, f.key, " "+f.key+" "+u32s(v), v) diff --git a/internal/gotc/m_nat.go b/internal/gotc/m_nat.go index e4ad0766d..8f9f298e8 100644 --- a/internal/gotc/m_nat.go +++ b/internal/gotc/m_nat.go @@ -15,7 +15,7 @@ import ( // 33 - ffs(mask), wrong for a mask that is not contiguous (AC23). func (r *runner) printNat(opt []byte, has bool) (int, error) { o := r.o - o.str(printAny, colorNone, "type", " nat ", xtcpnl.TcActKindNat) + o.str(printAny, colorNone, wordType, " nat ", xtcpnl.TcActKindNat) if !has { return 0, nil } diff --git a/internal/gotc/m_tunnel_key.go b/internal/gotc/m_tunnel_key.go index c6bb0a1ef..feac23667 100644 --- a/internal/gotc/m_tunnel_key.go +++ b/internal/gotc/m_tunnel_key.go @@ -58,8 +58,8 @@ var tunnelKeyChecks = []struct { {xtcpnl.TcaTunnelKeyEncKeyID, "key_id", 4}, {xtcpnl.TcaTunnelKeyEncDstPort, wordDstPort, 2}, {xtcpnl.TcaTunnelKeyNoCsum, "no_csum", 1}, - {xtcpnl.TcaTunnelKeyEncTos, "tos", 1}, - {xtcpnl.TcaTunnelKeyEncTTL, "ttl", 1}, + {xtcpnl.TcaTunnelKeyEncTos, wordTos, 1}, + {xtcpnl.TcaTunnelKeyEncTTL, wordTTL, 1}, } // tunnelKeySet is the TCA_TUNNEL_KEY_ACT_SET branch. @@ -114,15 +114,15 @@ func (r *runner) tunnelKeySet(t xtcpnl.TcTunnelKeyOpt) error { if tb.Has(xtcpnl.TcaTunnelKeyNoFrag) { o.fp("\tnofrag") } - o.boolean(printJSON, "nofrag", "", tb.Has(xtcpnl.TcaTunnelKeyNoFrag)) + o.boolean(printJSON, wordNofrag, "", tb.Has(xtcpnl.TcaTunnelKeyNoFrag)) // tunnel_key_print_tos_ttl. if b := tb.Bytes(xtcpnl.TcaTunnelKeyEncTos); b != nil && b[0] != 0 { o.nl() - o.uint(printAny, "tos", fmt.Sprintf("\ttos 0x%x", b[0]), uint32(b[0])) + o.uint(printAny, wordTos, fmt.Sprintf("\ttos 0x%x", b[0]), uint32(b[0])) } if b := tb.Bytes(xtcpnl.TcaTunnelKeyEncTTL); b != nil && b[0] != 0 { o.nl() - o.uint(printAny, "ttl", "\tttl "+u32s(uint32(b[0])), uint32(b[0])) + o.uint(printAny, wordTTL, "\tttl "+u32s(uint32(b[0])), uint32(b[0])) } return nil } @@ -168,7 +168,7 @@ func (r *runner) tunnelKeyOpts(e xtcpnl.TcTunnelKeyEncOpts) { for _, g := range e.Geneve { o.openObject("") o.uint(printJSON, "class", "", uint32(g.Class)) - o.uint(printJSON, "type", "", uint32(g.Type)) + o.uint(printJSON, wordType, "", uint32(g.Type)) o.openArray(printJSON, "data") for _, c := range g.Data { o.uint(printJSON, "", "", uint32(c)) diff --git a/internal/gotc/q_gred.go b/internal/gotc/q_gred.go index 1f91df7f1..0d77a619e 100644 --- a/internal/gotc/q_gred.go +++ b/internal/gotc/q_gred.go @@ -61,7 +61,7 @@ func printGredOpt(r *runner, _ *qdiscUtil, opt []byte, has bool) { } o.openObject("") o.uint(printAny, "vq", "\n vq "+u32s(qo.DP)+" ", qo.DP) - o.hhu(printAny, "prio", "prio "+u32s(uint32(qo.Prio))+" ", qo.Prio) + o.hhu(printAny, wordPrio, "prio "+u32s(uint32(qo.Prio))+" ", qo.Prio) o.size(printAny, "limit", "limit ", " ", uint64(qo.Limit)) o.size(printAny, "min", "min ", " ", uint64(qo.QthMin)) o.size(printAny, "max", "max ", " ", uint64(qo.QthMax)) diff --git a/internal/gotc/q_shape.go b/internal/gotc/q_shape.go index e8bf315a4..028085c1e 100644 --- a/internal/gotc/q_shape.go +++ b/internal/gotc/q_shape.go @@ -61,7 +61,7 @@ func (r *runner) htbParms(tb xtcpnl.AttrTable, h *xtcpnl.TcHtbOpt) { o := r.o if h.Level == 0 { prio := cint.Int(h.Prio) - o.int(printAny, "prio", "prio "+strconv.Itoa(int(prio))+" ", prio) + o.int(printAny, wordPrio, "prio "+strconv.Itoa(int(prio))+" ", prio) if r.details > 0 { q := cint.Int(h.Quantum) o.int(printAny, "quantum", "quantum "+strconv.Itoa(int(q))+" ", q) diff --git a/internal/gotc/q_taprio.go b/internal/gotc/q_taprio.go index f9616bbd8..138967139 100644 --- a/internal/gotc/q_taprio.go +++ b/internal/gotc/q_taprio.go @@ -98,11 +98,11 @@ func (r *runner) taprioTop(tb xtcpnl.AttrTable) bool { o.str(printAny, colorNone, "clockid", "clockid "+c, c) } if b := tb.Bytes(xtcpnl.TcaTaprioAttrFlags); tb.Has(xtcpnl.TcaTaprioAttrFlags) { - if !r.kindNeed(k, "flags", b, 4) { + if !r.kindNeed(k, wordFlags, b, 4) { return false } v, _ := tb.U32(xtcpnl.TcaTaprioAttrFlags) - o.hex0x(printAny, "flags", " flags "+cHashX(uint64(v)), uint64(v)) + o.hex0x(printAny, wordFlags, " flags "+cHashX(uint64(v)), uint64(v)) } if b := tb.Bytes(xtcpnl.TcaTaprioAttrTxtimeDelay); tb.Has(xtcpnl.TcaTaprioAttrTxtimeDelay) { if !r.kindNeed(k, "txtime delay", b, 4) { diff --git a/internal/gotc/qw_taprio.go b/internal/gotc/qw_taprio.go index cd22bccf9..9d5389bc7 100644 --- a/internal/gotc/qw_taprio.go +++ b/internal/gotc/qw_taprio.go @@ -77,7 +77,6 @@ const ( wordBaseTime = "base-time" wordCycleTime = "cycle-time" wordCycleTimeExt = "cycle-time-extension" - wordFlags = "flags" wordTxtimeDelay = "txtime-delay" ) diff --git a/internal/gotc/qwrite.go b/internal/gotc/qwrite.go index f16e3a2af..de078c26e 100644 --- a/internal/gotc/qwrite.go +++ b/internal/gotc/qwrite.go @@ -109,7 +109,6 @@ const ( wordMtu = "mtu" wordOverhead = "overhead" wordPeakrate = "peakrate" - wordPrio = "prio" wordRate = "rate" ) diff --git a/internal/gotc/units.go b/internal/gotc/units.go index f23ffe512..83966d183 100644 --- a/internal/gotc/units.go +++ b/internal/gotc/units.go @@ -215,6 +215,44 @@ func getRate64(s string) (uint64, bool) { return cDoubleToU64(bps), true } +// time64Scale is get_time64's suffix, case-insensitive, as nanoseconds +// per unit: none is nanoseconds. +func time64Scale(p string) (float64, bool) { + switch strings.ToLower(p) { + case "", "ns", "nsec", "nsecs": + return 1, true + case "s", "sec", "secs": + return nsecPerSec, true + case "ms", "msec", "msecs": + return nsecPerMsec, true + case "us", "usec", "usecs": + return nsecPerUsec, true + } + return 0, false +} + +// size64Scale is get_size64's suffix, case-insensitive, as bytes per +// unit: k, m and g and their bit forms are powers of 1024. +func size64Scale(p string) (float64, bool) { + switch strings.ToLower(p) { + case "", "b": + return 1, true + case "kb", "k": + return 1024, true + case "gb", "g": + return 1024 * 1024 * 1024, true + case "gbit": + return 1024 * 1024 * 1024 / 8, true + case "mb", "m": + return 1024 * 1024, true + case "mbit": + return 1024 * 1024 / 8, true + case "kbit": + return 1024 / 8, true + } + return 0, false +} + // getSize64 is get_size64: the k, m, g and their bit forms are powers of // 1024; the result must equal floor(sz). func getSize64(s string) (uint64, bool) { @@ -222,25 +260,11 @@ func getSize64(s string) (uint64, bool) { if p == s || sz < 0 || (math.IsInf(sz, 1) && erange) { return 0, false } - if p != "" { - switch strings.ToLower(p) { - case "kb", "k": - sz *= 1024 - case "gb", "g": - sz *= 1024 * 1024 * 1024 - case "gbit": - sz *= 1024 * 1024 * 1024 / 8 - case "mb", "m": - sz *= 1024 * 1024 - case "mbit": - sz *= 1024 * 1024 / 8 - case "kbit": - sz *= 1024 / 8 - case "b": - default: - return 0, false - } + k, ok := size64Scale(p) + if !ok { + return 0, false } + sz *= k v := cDoubleToU64(sz) if float64(v) != math.Floor(sz) { return 0, false @@ -285,19 +309,11 @@ func getTime64(s string) (int64, bool) { if p == s || ns < 0 || (math.IsInf(ns, 1) && erange) { return 0, false } - if p != "" { - switch strings.ToLower(p) { - case "s", "sec", "secs": - ns *= nsecPerSec - case "ms", "msec", "msecs": - ns *= nsecPerMsec - case "us", "usec", "usecs": - ns *= nsecPerUsec - case "ns", "nsec", "nsecs": - default: - return 0, false - } + k, ok := time64Scale(p) + if !ok { + return 0, false } + ns *= k return cDoubleToI64(ns), true } diff --git a/internal/gotc/util.go b/internal/gotc/util.go index d6063c694..4d1a27bd8 100644 --- a/internal/gotc/util.go +++ b/internal/gotc/util.go @@ -54,6 +54,18 @@ const ( wordPrecedence = "precedence" wordRandom = "random" wordFwmark = "fwmark" + wordPrio = "prio" + wordFlags = "flags" + wordType = "type" + // Header fields the u32, flower and pedit selectors and tunnel_key share. + wordTos = "tos" + wordTTL = "ttl" + wordNofrag = "nofrag" + wordFirstfrag = "firstfrag" + wordSport = "sport" + wordDport = "dport" + wordIcmpType = "icmp_type" + wordIcmpCode = "icmp_code" // The ematch kinds by name, as ematch_map spells them. emNameCmp = "cmp" emNameNbyte = "nbyte" From e013b4d9599d5cb2ba48d8ebde6901a66fb798b1 Mon Sep 17 00:00:00 2001 From: randomizedcoder Date: Mon, 30 Nov 2026 23:41:22 -0800 Subject: [PATCH 10/13] gotc 23W: ledger V067, the upstream gotc column, and a rangeValCopy fix gotc-status.md: the 23W bullet and V067 (the ports, the bound emulation, refusals by name, corpus and tdc pins, unit tables, 60 s fuzz of four targets, 10 mutants all killed, coverage 86.6%, lint tiers 0-2). iproute2-tc-action-write.md: the gotc column for W216-W320 (copies, or the refusal's text for W280, W294 and W297, and W314's eBPF modes), the 23W status, and W295's past-32-bits detail. No new lead or kernel note. Co-Authored-By: Claude Opus 5.5 --- docs/netlink/gotc-status.md | 5 + .../upstream/iproute2-tc-action-write.md | 216 +++++++++--------- internal/gotc/aw_bpf_test.go | 3 +- 3 files changed, 117 insertions(+), 107 deletions(-) diff --git a/docs/netlink/gotc-status.md b/docs/netlink/gotc-status.md index 2aee58240..77d11650d 100644 --- a/docs/netlink/gotc-status.md +++ b/docs/netlink/gotc-status.md @@ -341,6 +341,10 @@ and the bpf action, standalone and in filters, and the bpf filter's cBPF writes; - **23P (encoders): done.** `Append` for pedit's selector and keys, tunnel_key's and ife's parms (ife with its two zero bytes of tail padding, W275) and the cBPF instruction. Each one, fed the read side's decode of tc's captured payload, gives back tc's bytes. No new lead (V066). +- **23W (gotc writes): done.** pedit (with the six layered kinds), tunnel_key, ife, ct, gate, the bpf action and the + bpf filter with cBPF. All 418 tcact2write rows replay byte for byte, except 12 refused by name (eBPF, W280, W297). + tcactwrite ec-217–ec-222 and tcfwrite ec-117 are now sent, and of the tdc writes only flower's two filter rows stay + refused. No new lead (V067). ## Ledger @@ -423,6 +427,7 @@ and the bpf action, standalone and in filters, and the bpf filter's cBPF writes; | V064 | 22R | **PR #375 review fixes**, both reproduced against host tc 7.2.0 by the reviewer and again here. (1) **A bare `0x` MAC group:** glibc 2.44's `%x` takes `0x` as a prefix and cannot give the `x` back, so `0x` with no hex digit after it is no conversion (`sscanf("0x:2", "%x")` is 0; `00x:` is 0, its second 0 a digit). `scanfHex` (aw_skbmod.go) had read it as 0, so `skbmod set dmac 0x:2:3:4:5:6` sent a request where tc prints `Invalid dst mac address`, rc 255. vlan's `llAddrA2N` used the strtoul model (`strtoul16`), so `dst_mac 0x:…` was accepted too; it now uses `scanfHex`. Host tc and gotc agree on five probes (bare `0x` first and last, skbmod and vlan). `TestScanfMac` gains 5 rows (its old row "0x with no digit is 0" was the error), `TestLlAddrA2N` gains 4 and checks the colons cut. (2) **Parsers' NULs in the batch buffer (W189):** `argMem.nul` and `nulEach` write a parser's NUL into argv's memory, which in a batch is getline's buffer: ll_addr_a2n's colons (ll_addr.c:65), skbedit's mark slash (m_skbedit.c:86), get_size64_and_cell's slash on a failure (tc_util.c:265; police, tbf, htb, through `sizeCellCut`), flow_parse_keys' commas (f_flow.c:70) and fw's handle slash (f_fw.c:43, through `filterArgs.handleAt`). A sweep of tc/*.c and lib/ at v7.2.0 for in-place NULs found no other ported site: get_prefix_1 and the control word's `/` put the byte back; flower, ct and gate are not ported. `TestGotcBatchArgvNuls` (10 rows: vlan, skbedit, flow, fw; tbf's size and cell failures, htb, flow's unknown key; eight MAC groups; a size and cell that parse) is each case's DEF_DATA, checked against host tc 7.2.0 under `unshare -rn strace -e write=all`: every byte gotc knows matches, and the rest is tc's heap, which gotc sends as zeros and the replay masks. A mutant with `nul` disabled fails 9 of the 10 (the restored slash passes, as it should). `TestArgMemNul` (8 rows) is the helper. **Leads:** W196 and W189 extended in [upstream/iproute2-tc-action-write.md](upstream/iproute2-tc-action-write.md); no new lead. **Gates:** `go test ./internal/gotc/ ./pkg/xtcpnl/ ./internal/wsreplay/ ./tools/nlcapgen/`, with and without `-tags gotc_write`; `CGO_ENABLED=0 go build ./...` in both builds; `gofmt -s` clean. | | V065 | 23C | **Captures**: `tools/nlcapgen/matrix_tcact2write.go` (`tcact2write`, 418 rows: 258 writes and 160 refusals, on 20C's fixture: d0 with clsact, d1 with an htb root, two classes and ingress block 10), registered in `main.go`'s `families`; rows `nix/microvms/workbench/tcact2write.rows.jsonl`; corpus `pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/`. Modules: increment 22's, cls_bpf, and act_meta_mark, act_meta_skbprio and act_meta_skbtcindex, which `tdcGuestModules` now lists (the guest has them in net/sched). **Rows:** each kind's add, change, replace (existing and new index), delete and flush with a `tc actions ls action K` readback, and each inside matchall. pedit's raw u8/u16/u32 offsets with `at`, every command (set, add, decrement, invert, clear, preserve, retain), every layered field of ip (17), ip6 (8), tcp, udp and eth, ex and legacy; tunnel_key v4 and v6 with id, dst_port, tos, ttl, csum/nocsum, nofrag, geneve with three options, vxlan and erspan v1/v2, and unset; ife encode and decode with allow and use for each meta kind, dst, src and type; ct commit, force, clear, zone, masked mark and label, nat src/dst with v4/v6 ranges and ports, helpers ipv4/ipv6-tcp-ftp; gate's every scalar, six clockid spellings, ipv and maxoctets with a size suffix; bpf's bytecode, bc, run, bytecode-file and bcf. The bpf filter: add with classid, da, skip_hw, an action, police, run, flowid first and two actions; change, replace (existing and new) and delete; a bytecode-file filter; one on d1's htb. eBPF (object-file, object-pinned, pinned, fd, obj, and the `o`/`p`/`f` prefixes) only as refusal rows recording tc's answer. A row for every lead W216–W320 except W294. Boundaries: 128 and 129 pedit keys, 30/31/40 open and 36 closed gate entries, 2038/2039/2041/2042/4097 bpf instructions, 62- and 63-byte nat ranges, the u32 interval edge, tos 255/256. Batches: W232's MAC colons, W265's strtok NULs and W291's slashes, each carried into a later `simple sdata x` (line 2's DEF_DATA shows them: `th\0dst\0set\002…`, `e_opts\00102\080\0…`, `x1\00xff\0label\001\0ff`); bytecode-file in a batch; three `-force` batches (ife's usage exit and get_addr's exit(1) end tc; ct's -1 carries on). **Trial batches** (scratch, same boot): the first matched 400 of 420; the second 419. Corrected in the generator: a fresh `ife decode` with no meta module loaded is EINVAL with no extack (K79), which made the first ife rows depend on row order, so the meta modules now load up front; ct's and gate's `… drop index 1` sends `index` as a second action kind (W288, W303); the index-only binds of pedit, gate and bpf became matchall binds; geneve's 0- and 3-byte DATA and erspan's shifted fields are kernel refusals; bpf's edge is 2039, not 2040; `src_ip any` and ct's `addr any` are ERANGE; netbios is EINVAL and a 22-byte helper ERANGE; skip_sw is ENOTSUP; W280's 63-byte range and W297's inf, nan and 1e30 are sent and accepted, so they are positive rows that gotc will refuse by name; `bytecode-file -` reads a file named `-`. **W294 removed from the corpus:** `gate sched-entry open 1ms 1 index 1` sent maxoctets 0x33874a91, 0x4c352a91 and 0x7fec5a91 in three runs (get_size stores an uninitialised sz64), and `… 1 sched-entry close 1ms` was refused twice as `"maxoctets" is too large` and sent once; no two batches could agree, so 23W pins gotc's refusal with a unit test and the write-up records the values. **Final:** two batches on one boot, 418/418 OK each, agree on every row's rc, stdout, stderr and readback, and on all 336 requests byte for byte (seq and pid zeroed). `TestWsCorpusRows` passes on all 418. Two `cmd.json` files (ec-132, ec-133) had only `axes` and `desc` rewritten from the regenerated rows, when their fix became w274 and w275; tc never reads them. **Write-up** (the new "Increment 23" part of `docs/netlink/upstream/iproute2-tc-action-write.md`, not submitted to netdev): a summary row for each of W216–W320 with its pinning rows and status, K77–K89 and five bug-class candidates. **Corrected from the sweep:** W220 (key 129 is followed by `Bad pedit construct (index)`), W267 (accepted while a meta module is loaded), W288 and W303 (tc sends the stray `index` kind; the kernel refuses it, ENOENT), W295 (`1.5` is consumed as 1), W307 (2039 and 2042). **Kernel notes K77–K89:** the legacy pedit offload warning on every add, ct's helper offload warning, ife's use_all_metadata EINVAL, gate's skipped non-entry with rc 0, tunnel_key's overwritten ERANGE message, ct's EXACT_LEN NAT addresses, ct's helper name limit, act_bpf's missing program, cls_bpf's flags, pedit's keys check after the idr, gate's empty list and zero interval, tunnel_key's option rules, and gate's u64 times. No new lead outside W216–W320. **Unit:** `TestTcAct2WriteSpace` (107 sub-tests). Positive: the verb grid and matchall for each kind, every keyword, the bpf filter's verbs. Lead: each W216–W320 has a row, and W294 has none. Negative: eBPF only as refusals, no `actions ls` or `get`, no host device, no `dev lo` or `-netns`. Boundary: the key, entry, instruction, nat and interval edges. Corner: the seven batches' lines and `-force`, determinism. **VM:** pre-checked (`free -g`: 38G available; port 12061 free; no workbench process), booted from off with `up`; baseline 86 modules, no namespace, no core file. The batches left no namespace and no core file. The run left 129 modules; this run's 40 (act_*, cls_*, sch_htb, sch_ingress, act_meta_*, nf_conntrack_ftp, nf_nat, nf_flow_table, ife, psample, mpls_gso, dummy, nlmon) were removed with `modprobe -r`, leaving 89: the baseline's 86 (nf_conntrack among them, held by the guest firewall's xt_conntrack) and bridge/stp/llc, which no row of this run uses, left alone as in 22C. The VM was powered off with `down` (it was off before): port 12061 free, no workbench process. **Bench pin:** ng-157 (W248's 16 KiB pedit echo, with the extack `act_pedit: Not enough extended keys to parse`) is now the corpus's largest NLMSG_ERROR. It replaces tcematch's W151 refusal, so `TestParseBenchAllocs` pins ParseNlMsgErr's largest pick at 1 allocation (the message copy), not 0. | | V066 | 23P | **Encoders** (untagged, `pkg/xtcpnl/xtcpnl_tc_actencode.go`): `Append` for `TcPeditKey` (tc_pedit.h:52), `TcPeditSel` (new: tc_gen, nkeys, flags, two zero bytes aligning keys[] as m_pedit.c:626's `= {}` leaves them, then the keys; `Nkeys` is its own field, as on the read side), `TcTunnelKey` (new: tc_gen and t_action, tc_tunnel_key.h:15), `TcIfe` (new: tc_gen, flags and two zero bytes of tail padding, tc_ife.h:13, m_ife.c:53, W275) and `TcBpfInsn` (sock_filter, filter.h:24, host order), each cited at v7.4-rc4. ct, gate and the bpf action's parms are tc_gen, so `TcGen.Append` covers them as is. The builders need no change. **Unit** (`xtcpnl_tc_act2encode_test.go`): `TestAppendTcAct2Structs` (37 sub-tests). 21 are captured rows, each payload decoded by the read side and laid out again equal to tc's bytes: pedit PARMS with one and two raw keys, PARMS_EX for ip src and ip6 src (four keys), W216's at/offmask/shift, 128 keys ec-088 (3096 bytes) and eth dst invert ec-091 (W223); tunnel_key set v4, unset, tos/ttl 255 and ng-048's t_action 0 (W253); ife encode with type, dst, src and use, decode, ec-133's padding (W275) and index alone (W267); the bpf action's four-instruction program, 2038 instructions ec-222 (W307), the 65537 header ec-223 (W308) and wrapped fields ec-225 (W309); the bpf filter's OPS from bytecode ec-239 and from bytecode-file ec-247. 14 are round trips, including every field at its extreme, 128 keys and each zero struct as all-zero bytes. `TestAppendTcAct2StructsEdges` (5 rows): a full destination grows and keeps its bytes, pedit's padding after nkeys and flags, `TcIfe{Flags: 1}`'s zero tail, `Nkeys` sent as given, and sock_filter's host byte order. The capture helpers take a corpus directory (`tcActCapturedReqIn`, `tcActCapturedOptionsIn`). **Audits:** netlink-audit and kernel-citation-audit pass. **Bugs found:** none; every struct's layout and padding agree with the kernel headers. | +| V067 | 23W | **gotc writes** (tagged `gotc_write`): `aw_pedit.go` and `aw_pedit_hdr.go` (parse_pedit, parse_munge, parse_offset, parse_cmd, parse_val, the pack_key family, and p_ip, p_ip6, p_icmp, p_tcp, p_udp and p_eth as one table; any other kind is pedit_parse_nopopt), `aw_tunnel_key.go`, `aw_ife.go`, `aw_ct.go`, `aw_gate.go`, `aw_bpf.go`, `fw_bpf.go` and `cbpf.go` (bpf_parse_string, bpf_ops_parse, bpf_do_parse and the mode words, shared by the action and the filter; bytecode-file is read relative to the working directory, as `-batch` FILE is). Six new `actParsers` entries, now built from a kind list, and bpf in `foptParsers`. **Groundwork:** `fops` checks tc's addattr_l and addraw_l bounds as each call is recorded, from the running request length. A call past its bound prints tc's `addattr_l ERROR: message exceeded bound of N` (or addraw_l's), and the attribute is dropped while the request is still sent. A failed addattr_nest leaves a mark (`xtcpnl.AttrBuilder.Mark`), and its addattr_nest_end patches rta_len over whatever was written since. That gives W97, W151, W248, W293's broken gate entries (each entry's nest bound is 1024) and W307 byte for byte, and tcematch ec-137 and ng-095 are now sent instead of refused. `getAddr` is utils.c:738's `Error: address is expected rather than "X".` and exit(1), used by tunnel_key, ct and flow's addend. **Copied as tc does it:** the `Bad pedit construct` word, `(null)` at the end of the line (W218), the silent 128-key limit (W220), invert as 0xff on eth and ip6 (W223), the six-group MAC rule (W232), tunnel_key's base-16 fallback (W257), NO_CSUM always sent (W263), METALST's fixed order (W271), ct's index only inside the loop (W288), the u16 header wrap (W308), and the NULs W232, W265 and W291 leave in a batch line for a later `simple sdata`. **Refused by name** (rc 255, `gotc: not implemented: …`): eBPF modes as `eBPF program via bpf(2)`, where tc first touches bpf(2) (ng-139–ng-144, ng-153, ng-154); W280's 63-byte nat argument (ec-168); W297's inf, nan and out-of-range times (ec-204–ec-206); W294's uninitialised maxoctets (unit test only, as 23C has no row). **Corpus:** `TestGotcCorpus` replays tcact2write (418 rows, 12 of them refused by name). tcactwrite ec-217–ec-222 and tcfwrite ec-117 move from refused to sent. **tdc:** `tdcActionSkips` is empty and `tdcActionWritesSent` goes from 332 to 516. `tdcFilterSkips` is only `kind flower: 2`, and `tdcFilterWritesSent` goes from 276 to 293. Every newly matched row matches, so nothing is added to the known lists. **Unit:** `TestGotcPeditWrite` (61 rows), `TestGotcTunnelKeyWrite` (52) with `TestStrtok` (7), `TestGotcIfeWrite` (38) with `TestGotcIfeUsage` (4), `TestGotcCtWrite` (35) with `TestCtHelpers`, `TestGotcGateWrite` (33) with `TestGateHelpers`, `TestGotcBpfWrite` (44) and `TestCbpfParseOps` (24), plus `TestAttrBuilderMark` (4) in xtcpnl. Rows are positive, negative, boundary and corner, taking tc's bytes from the corpus where a row exists. `TestGotcActParsers` and `TestGotcFilterWrite` expect the six kinds sent. `imports_test.go` lets gotc import `internal/goip/render`, for ct's helper protocol via `ProtoByName` (inet_proto_a2n). **Fuzz** (60 s each, `MemoryMax=6G`): `FuzzCbpfParseOps` (new, 123k execs), `FuzzGotcActionWrite` (128k), `FuzzGotcActionBatch` (136k) and `FuzzGotcFilterWrite` (140k), with seeds for each kind and for the three NUL batches; nothing found. bytecode-file inputs naming `dev/`, `proc/` or `sys/` are skipped, since stdin or a tty never reaches EOF, for tc as for gotc. **Mutants** (10, each under `MemoryMax=6G`), all killed: W218's `(null)`, W220's 128, W223's invert, W232's six groups, W257's base 16, W263's NO_CSUM, W271's order, W288's index, W293's 1024 and W308's wrap. **Coverage:** `internal/gotc` 86.6% (tagged), with the new files at 95.6% per function on average. **Lint:** tiers 0-2 clean after fixes in code: shared word constants (tos, ttl, nofrag, firstfrag, sport, dport, icmp_type, icmp_code, type, with prio and flags moved to the untagged `util.go`), get_time64's and get_size64's suffixes as `time64Scale` and `size64Scale`, shared with gate, and parseBpfFopt split. **Bugs found:** no new lead and no new kernel note. Each kind's port confirmed W216–W320 against its rows, and the corrections 23C made (W220, W267, W288, W295, W303, W307) were seen again. W295 gains one detail: the partial value is kept and the word read again only past 32 bits (`5G`). K77 (pedit's offload warning on every legacy add) is what the replay carries. The gotc column of the upstream summary is filled in for every lead. | | 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-action-write.md b/docs/netlink/upstream/iproute2-tc-action-write.md index 7a53c72b8..5c58bc1b3 100644 --- a/docs/netlink/upstream/iproute2-tc-action-write.md +++ b/docs/netlink/upstream/iproute2-tc-action-write.md @@ -434,115 +434,119 @@ These are for the user's review. [bug-classes.md](bug-classes.md) is unchanged. no two batches could agree. 23W pins gotc's refusal by name with a unit test. - **Determinism:** a fresh `ife decode` with no meta module loaded is EINVAL (K79), so the first trial's outcome depended on whether an encode row had loaded act_meta_* first. The rows now load the three meta modules up front. -- **gotc:** 23W ports these parsers; the gotc column below is filled in then. +- **gotc (23W):** every parser is ported. The 418 rows replay byte for byte (stdout, stderr, rc and every request, + seq aside) in TestGotcCorpus, apart from 12 rows gotc refuses by name: the eight eBPF rows (ng-139–ng-144, ng-153, + ng-154), W280's 63-byte nat range (ec-168) and W297's inf, nan and 1e30 times (ec-204–ec-206). W294 is refused by + name in a unit test. tcactwrite ec-217–ec-222 and tcfwrite ec-117 are sent byte for byte, and of the tdc writes + only flower's two filter rows stay refused. gotc found no lead beyond W216–W320 and no kernel note beyond K89. | lead | where (v7.2.0) | what | pinned by | status | gotc | |---|---|---|---|---|---| -| W216 | m_pedit.c:489-511 | the man page's `at A offmask M shift S` is refused: the parser is positional (`at A M S`), so `offmask` fails get_u32 and the error names the offset, `Bad pedit construct (12)` | ec-089, ng-002 | confirmed | 23W | -| W217 | m_pedit.c:500 | offmask is get_u32 base 16 with no `0x` (`10` is 0x10); at and shift are base 0 | ec-090 | confirmed (request bytes in 23W) | 23W | -| W218 | m_pedit.c:430-436,513-517,664 | the word in `Bad pedit construct (X)` is wherever parse_munge left argv: the offset for a parse failure, the next word after a pack failure, `(null)` at the end of the line, the kind for a layered failure | ng-003, ng-004 | confirmed | 23W | -| W219 | m_pedit.c:547 | every layered failure first prints `bad pedit parsing` | ng-005 | confirmed | 23W | -| W220 | m_pedit.c:122-123 | key 129 fails in pack_key with no message of its own; only the generic `Bad pedit construct (index)` follows (the kernel takes 255). *Corrected:* the sweep said silent | ec-088, ng-006 | confirmed, corrected | 23W | -| W221 | m_pedit.c:173-175,203-205 | `pack_key8 bad value (val 100 mask 0` has no closing parenthesis; pack_key16's message has no values | ng-007, ng-008 | confirmed | 23W | -| W222 | m_pedit.c:394-397 | `retain is not supported for fields longer the 32 bits` (sic), also for `eth dst preserve` and an ip6 retain | ng-009, ng-010 | confirmed | 23W | -| W223 | m_pedit.c:351-352,400-406 | `invert` on eth or ip6 fields sets 0xff… (mask 0) instead of inverting: pack_mac and pack_ipv6 zero the mask | ec-091, ec-092 | confirmed (request bytes in 23W) | 23W | -| W224 | m_pedit.c:376-392 | `preserve` sets retain 0, and a following `retain M` overrides it; `set V retain M` masks V silently | ec-093, ec-094 | confirmed (request bytes in 23W) | 23W | -| W225 | m_pedit.c:386 | `r` after a command is retain: `ip ttl set 5 r` ends in NEXT_ARG, rc 255 | ng-011 | confirmed | 23W | -| W226 | m_pedit.c:636 | a bare `p` after a key is `pedit`, not pass: NEXT_ARG, rc 255 | ng-012 | confirmed | 23W | -| W227 | m_pedit.c:466-489 | `a` is `at`; `u` is u32 and `u1` u16 (matches() against u32 first) | ec-095, ec-096, ec-097 | confirmed | 23W | -| W228 | m_pedit.c:33-41 | the usage contradicts the parser: `munge [ex]` (ex goes before munge), retain listed as a CMD, eth missing, icmp listed | ng-013 | confirmed | 23W | -| W229 | m_pedit.c:141-145,438-440 | `Munge parameters not supported` is dead code; `only 'set' command is supported` also covers decrement, while invert, clear and preserve pass without ex | ng-014, ng-015 | confirmed | 23W | -| W230 | m_pedit.c:59-66,73-114 | an unknown kind prints `Unknown action hence option "bar" is unparsable` (two spaces; it names the next word), then bad pedit parsing and `Bad pedit construct (foo)`; at the end of the line, NEXT_ARG | ng-016, ng-017 | confirmed | 23W | -| W231 | m_pedit.c:535-538 | a kind of 16 or more bytes leaves `k[16]` unterminated and reads past it into the dlopen name; the output is the unknown-kind output, naming the whole word | ng-018 | confirmed (output deterministic) | 23W | -| W232 | ll_addr.c via m_pedit.c:318 | eth MACs: exactly six groups; trailing junk after the sixth is accepted; a dotted quad or a short MAC is refused; the colon NULs persist in a batch line (line 2's simple shows `th\0dst\0set\002\000…`) | ec-098, ec-255, ng-019, ng-020, ng-021, ng-022 | confirmed | 23W | -| W233 | m_pedit.c:298-301 | `ip src` drops a prefix length (`10.0.0.1/8`), takes legacy IPv4 (`010.1` is 8.1.0.0) and any/all/default as 0.0.0.0 | ec-099, ec-100, ec-101 | confirmed (request bytes in 23W) | 23W | -| W234 | m_pedit.c:308-311 | `ip6 src any` sets :: (bytelen 0, val stays zero); `/64` is dropped | ec-102, ec-103 | confirmed (request bytes in 23W) | 23W | -| W235 | m_pedit.c:456 | the offset is get_integer, base 0 and signed: `-4` passes the alignment check and is sent as 0xfffffffc; the kernel accepts it | ec-104 | confirmed | 23W | -| W236 | p_ip.c:139-143 | `icmp_code` edits the type byte: offset 20, the same as icmp_type | ec-105 | confirmed (request bytes in 23W) | 23W | -| W237 | p_ip.c:51,76 | `d` is dsfield and `p` precedence (both offset 1, the tos byte) | ec-106, ec-107 | confirmed | 23W | -| W238 | p_ip6.c:51 | flow_lbl's retain is 0x7ffff (19 bits), so bit 19 of the 20-bit label can't be set | ec-108 | confirmed (request bytes in 23W) | 23W | -| W239 | p_icmp.c:25 | `icmp` always fails (its parser returns -1), though the usage and man page list it | ng-023 | confirmed | 23W | -| W240 | p_ip6/tcp/udp/eth.c:31; p_ip.c:115-119 | without `ex`, ip6, tcp, udp and eth fail with only `bad pedit parsing`; with `ex`, `ip sport`, `ip dport` and icmp_* fail the same way | ng-024, ng-025, ng-026, ng-027, ng-028, ng-029 | confirmed | 23W | -| W241 | m_pedit.c:640-646 | `ok>1` counts `pedit` words too: `pedit pedit ex munge` prints `'ex' must be before first 'munge'` | ng-030 | confirmed | 23W | -| W242 | m_pedit.c:633-681 | `pedit pipe` sends nkeys 0 (with ex, an empty KEYS_EX): the kernel refuses a create (`Pedit requires keys to be passed`) but binds an existing index (K86) | ec-235, ng-031, ng-032 | confirmed | 23W | -| W243 | m_pedit.c:681-693 | index after control: `… set 1 index 5 pipe` leaves `pipe` for m_action.c, which adds a second (gact) action | ec-109 | confirmed (request bytes in 23W) | 23W | -| W244 | m_pedit.c:681 | `goto chain x` is reported twice (`Illegal "chain index"`), then gact's usage | ng-033 | confirmed | 23W | -| W245 | m_pedit.c:670-672 | an unknown word after a key becomes the next action kind: `Bad action type foo` and gact's usage | ng-034 | confirmed | 23W | -| W246 | m_pedit.c:52,653; NEXT_ARG sites | `help` and every NEXT_ARG site exit(-1); a bare `ip src` returns -1 (argc < 2) | ng-035, ng-036 | confirmed | 23W | -| W247 | m_pedit.c:686 | index is base 10: `index 0x5` prints `Pedit: Illegal "index"` | ng-037 | confirmed | 23W | -| W248 | m_pedit.c:697-705 | addattr results are ignored: three 128-key ex actions pass 16384, `addattr_l ERROR` is printed and the rest is sent; the kernel refuses with `Not enough extended keys to parse` | ec-238, ng-157 | confirmed | 23W | -| W249 | m_pedit.c:153-165 | an ex `add` on ip6 or eth sends independent 32- and 16-bit ADD keys, with no carry between them | ec-110, ec-111 | confirmed (request bytes in 23W) | 23W | -| W250 | m_tunnel_key.c:45,357-370; utils.c:738 | `src_ip bogus` is get_addr's `Error: any valid address is expected rather than "bogus".` and exit(1), which also ends a `-force` batch; `Illegal "src_ip"` can't be reached | ng-045, ng-159 | confirmed | 23W | -| W251 | m_tunnel_key.c:49-50; utils.c:578 | `src_ip any` (or default) is AF_UNSPEC with bytelen 0: a 0-byte IPV6_SRC, ERANGE with `Failed to parse nested tunnel key attributes` (K81) | ng-046 | confirmed | 23W | -| W252 | m_tunnel_key.c:49 | a v4 src with a v6 dst is sent; the kernel refuses `Missing either ipv4 or ipv6 src and dst` | ng-047 | confirmed | 23W | -| W253 | m_tunnel_key.c:321,459-466 | no set or unset word sends t_action 0: `Unknown tunnel key action` | ng-048 | confirmed | 23W | -| W254 | m_tunnel_key.c:327-332 | `tunnel_key` alone ends in NEXT_ARG | ng-049 | confirmed | 23W | -| W255 | m_tunnel_key.c:335-431 | prefixes: `s` is set, `d` dst_ip, `i` id, `t` tos, `n` nocsum (matches() order); `nofrag` is a strcmp | ec-126 | confirmed | 23W | -| W256 | m_tunnel_key.c:61,73,450 | id, dst_port and index are base 10; the port's message is `Illegal "dst port"` (with a space) | ng-050, ng-051, ng-052 | confirmed | 23W | -| W257 | m_tunnel_key.c:303-305 | tos and ttl are tried in base 10, then base 16: `tos 1a` is 26, but `ttl 010` is 10 | ec-127 | confirmed (request bytes in 23W) | 23W | -| W258 | m_tunnel_key.c:150-190 | geneve's strtok_r merges empty fields, so `0102::01020304` shifts DATA into TYPE and fails; a missing DATA is refused by the kernel (`Missing tunnel key geneve option class, type or data`) | ng-053, ng-054 | confirmed | 23W | -| W259 | m_tunnel_key.c:170-180; utils.c:1216 | geneve DATA is len/2 bytes: an odd last nibble is dropped unchecked and 1 char gives 0 bytes; the kernel refuses under 4 bytes (`less than 4 bytes long`, ERANGE) for both | ec-128, ng-055, ng-056 | confirmed | 23W | -| W260 | m_tunnel_key.c:204-213 | `geneve_opts ''` sends an empty ENC_OPTS: `Empty list of tunnel options` | ng-058 | confirmed | 23W | -| W261 | m_tunnel_key.c:252-289 | erspan's fields shift the same way: `2::1:16` is ver 2, index 1, dir 16, no hwid: `Missing tunnel key erspan option dir or hwid` | ng-057 | confirmed | 23W | -| W262 | m_tunnel_key.c:391-405 | two option kinds send two ENC_OPTS nests; the kernel accepts it and keeps the last | ec-129 | confirmed | 23W | -| W263 | m_tunnel_key.c:439 | NO_CSUM is always sent, even for unset; unset also sends the addresses, which the kernel accepts | ec-130 | confirmed | 23W | -| W264 | m_tunnel_key.c:444-457 | index then control: `unset index 5 pipe` adds a second (gact) action | ec-131 | confirmed (request bytes in 23W) | 23W | -| W265 | m_tunnel_key.c:150-288 | strtok_r writes NULs into argv, which persist in a batch line: line 2's simple shows `e_opts\0` `0102\080\000880022\00103\0` | ec-256 | confirmed | 23W | -| W266 | m_tunnel_key.c:18-31,321-339 | the usage omits tos, ttl, index and CONTROL; a second set/unset prints `unexpected "set" - action already specified` | ng-059 | confirmed | 23W | -| W267 | m_ife.c:150-163 | `ife index 5` counts as ok and sends flags 0 (decode) with no METALST; accepted while a meta module is loaded, EINVAL with no extack otherwise (K79). *Corrected:* the sweep predicted EINVAL | ec-138 | confirmed, corrected | 23W | -| W268 | m_ife.c:163-166 | `ife pipe` prints `IFE requires decode/encode specified`, the usage, exit(-1), which ends a `-force` batch; every invarg exits too | ng-066, ng-158 | confirmed | 23W | -| W269 | m_ife.c:73-75 | the kind-word loop eats `ife` and `i`; at the end of the line, NEXT_ARG | ec-139, ng-067 | confirmed | 23W | -| W270 | m_ife.c:76-80,119,129 | `d` is decode (so dst needs `ds`), `e` encode, `a` allow, `t` type; the last of decode/encode wins | ec-140, ec-141 | confirmed | 23W | -| W271 | m_ife.c:184-202 | `use mark 0` sends nothing for mark; use overrides allow; METALST is always mark, prio, tcindex in that order | ec-142, ec-143, ec-144 | confirmed (request bytes in 23W) | 23W | -| W272 | m_ife.c:97-153 | mark, prio, tcindex, type and index are base 0 (`use mark 010` is 8; `index 0x5` is 5) | ec-145 | confirmed | 23W | -| W273 | m_ife.c:171-172 | decode silently drops dst, src, type and allow/use (but still prints `dst MAC address <…>` and `IFE type`) | ec-146 | confirmed | 23W | -| W274 | m_ife.c:168,177 | the nest opens after parsing; TYPE is a host-order u16 (0xED3E is sent 3e ed); encode always sends METALST | ec-132 | confirmed (request bytes in 23W) | 23W | -| W275 | m_ife.c:53 | tc_ife's 2 bytes of tail padding are zeroed by `= { 0 }`; gotc pins zeros | ec-133 | confirmed (request bytes in 23W) | 23W | -| W276 | m_ct.c:274 | `ct commit nat src addr 1.1.1.1` as the last words ends in NEXT_ARG: something must follow the range | ng-077 | confirmed | 23W | -| W277 | m_ct.c:255 | `ct nat` as the last word ends in NEXT_ARG, though the usage shows `[nat]` | ng-078 | confirmed | 23W | -| W278 | m_ct.c:263-265 | `nat src foo` prints the usage and exits | ng-079 | confirmed | 23W | -| W279 | m_ct.c:50,58 | a bad nat address is get_addr's message and exit(1); the second address takes the first's family (`inet address is expected rather than "2001:db8::1"`); `Illegal nat address range` can't be reached | ng-080, ng-081 | confirmed | 23W | -| W280 | m_ct.c:37-76 | SPRINT_BUF(64) with strncpy 63: a 63-byte range is left unterminated and parsed past buffer[63]. On the workbench the next stack byte was NUL in every run, so the full range was sent; gotc refuses it by name | ec-167, ec-168 | confirmed (stack byte NUL in 3 runs) | 23W | -| W281 | m_ct.c:53-64 | `addr any` sends a 0-byte IPV6_MIN/MAX: ERANGE `binary attribute size out of range` (K82); with no second address, MAX repeats MIN | ec-169, ng-082 | confirmed | 23W | -| W282 | m_ct.c:85-95 | ports are base 10; `80-` prints `ct: Illegal nat port range`; min ≤ max is unchecked (2000-1000 is accepted) | ec-170, ng-083, ng-084 | confirmed | 23W | -| W283 | m_ct.c:167-183 | helper `%[^-]` keeps 3 fields: `ipv4-udp-netbios-ns` sends `netbios`, which the kernel can't find (`act_ct: Failed to add helper`); a 22-byte name passes tc's 32 and fails the kernel's 16 (ERANGE, K83) | ng-085, ng-086 | confirmed | 23W | -| W284 | m_ct.c:177; inet_proto.c:42 | proto is base 10, then getprotobyname: `6` works, `0x6` is `ct: Illegal "helper"` | ec-171, ng-087 | confirmed | 23W | -| W285 | m_ct.c:201-212 | the too-long message names the label even when the mask is too long (`argument "01" is wrong: 2 Max allowed size 32`) | ec-166, ng-088, ng-089 | confirmed | 23W | -| W286 | m_ct.c:211-217 | the hex invarg messages embed `\n`, so they end with a blank line | ng-090 | confirmed | 23W | -| W287 | m_ct.c:211-222 | odd lengths aren't refused: `00g` sends 1 byte, `0` sends 0 bytes, and the default mask is 16 bytes of 0xff | ec-172, ec-173 | confirmed (request bytes in 23W) | 23W | -| W288 | m_ct.c:290-295,353 | index is parsed only inside the loop: in `ct commit pipe index 5` the word `index` becomes a second action kind, sent, and refused `Failed to load TC action module` (ENOENT). *Corrected:* the sweep said tc refuses it | ng-091 | confirmed, corrected | 23W | -| W289 | m_ct.c:328-332 | `ct clear zone 5 mark 1` is sent and accepted (clear returns early); `force` without commit passes | ec-174, ec-175 | confirmed | 23W | -| W290 | m_ct.c:107-111 | zone's slash split is dead (mask_type UNSPEC): `zone 5/1` is `ct: Illegal "zone"`; zone and mark are base 0 | ec-176, ng-092 | confirmed | 23W | -| W291 | m_ct.c:138,196 | the NULs written at `/` for mark and label persist in a batch line: line 2's simple shows `x1\00xff\0label\001\0ff` | ec-257 | confirmed | 23W | -| W292 | m_ct.c:240-321 | prefixes: `c` is clear, `co` commit, `z` zone, `m` mark, `h`/`hel` help (exits) | ec-177, ec-178, ng-093 | confirmed | 23W | -| W293 | m_gate.c:110 | each entry nest is bounded by 1024 against the whole message: the 31st open entry gets `addattr_l ERROR: … bound of 1024`, its header is dropped and addattr_nest_end rewrites the first child's length to cover the entry; the kernel warns `Attribute isn't type 'entry'`, skips it and returns 0 with a shorter schedule (K80) | ec-196, ec-197, ec-198, ec-199 | confirmed | 23W | -| W294 | m_gate.c:280-290; utils_math.c:145-160 | a numeric ipv followed by a word that isn't a size reads get_size's uninitialised sz64 into maxoctets_uint. The value is a stack fragment that changes per run: three runs of `sched-entry open 1ms 1 index 1` sent maxoctets 0x33874a91, 0x4c352a91 and 0x7fec5a91 (low byte fixed, as of an address), and `… 1 sched-entry close 1ms` was twice refused as `"maxoctets" is too large`, once sent as 0x365b8a7b. It sends an ASLR-derived value to the kernel, readable back with `tc actions ls`. No corpus row (not reproducible); gotc refuses it by name | (none, see the entry) | confirmed (trial batches; not in the corpus) | 23W | -| W295 | m_gate.c:280-290 | a fractional or suffixed maxoctets goes through get_size: `1.5` is 1 and `0kb` leaves -1. *Corrected:* the sweep said `1.5` is passed on as a kind; it is consumed | ec-200, ec-201, ng-103 | confirmed, corrected | 23W | -| W296 | m_gate.c:169-280 | bases: interval and the times try base 0/10 then strtod (`0x10` is 16 ns via strtod's hex); priority, flags, ipv and maxoctets are base 0; index is base 10 (`argument "0x1" is wrong: index`) | ec-202, ec-203, ng-104 | confirmed | 23W | -| W297 | utils.c:1695-1730 | strtod times: inf, nan and 1e30 reach `*time = nsec`, a UB cast, and are sent (x86 gives 2^63) and accepted; fractions truncate (`1.9ns` is 1); interval 0.5 is 0, refused `Invalid interval for schedule entry`. gotc refuses the UB casts by name | ec-204, ec-205, ec-206, ec-207, ng-105 | confirmed | 23W | -| W298 | m_gate.c:181-197 | `base-time -1` is get_s64 and sent as u64 max; `-1ms` fails get_time64 (negative) and invarg exits | ec-208, ng-106 | confirmed | 23W | -| W299 | m_gate.c:327-347 | 0 means unset: priority -1 and zero flags, base-time and cycle-time aren't sent, so a replace can't reset them | ec-209 | confirmed (request bytes in 23W) | 23W | -| W300 | m_gate.c:41-57,161,230-255 | a bad state, a missing interval or a bad interval prints the entry usage and `"sched-entry" is incomplete`; `pas` typo in the usage; `index` missing from the usage | ng-107, ng-108, ng-109, ng-110 | confirmed | 23W | -| W301 | m_gate.c:51,365 | invarg and `help` exit(-1); sched-entry errors return -1 | ng-111, ng-112 | confirmed | 23W | -| W302 | m_gate.c:167-212 | `c` is cycle-time, `p` priority, `h` help (exits) | ec-210, ng-113 | confirmed | 23W | -| W303 | m_gate.c:308-317 | a control word ends the options: in `… pipe index 5` the word `index` becomes a second action kind, refused `Failed to load TC action module`; a bad `goto chain` is reported twice. *Corrected:* the sweep said tc refuses it | ng-114, ng-115 | confirmed, corrected | 23W | -| W304 | m_gate.c:272,292 | a closed entry's ipv and maxoctets are forced to -1 silently | ec-211 | confirmed (request bytes in 23W) | 23W | -| W305 | m_gate.c:319,349 | `gate index 5` sends an empty ENTRY_LIST: `The entry list is empty` on create, accepted on bind | ec-236, ng-116 | confirmed | 23W | -| W306 | m_gate.c loop | no check of the entry count, cycle-time against the intervals, or repeats: `cycle-time 1000` with two 1 ms entries is accepted | ec-212 | confirmed | 23W | -| W307 | m_bpf.c:56; f_bpf.c:58 | the 16384 bound: 2038 instructions fit; from 2039 PARMS no longer fits and from 2042 OPS no longer fits, each with `addattr_l ERROR` and EINVAL with no extack (K84); past 4096 is refused with no message. *Corrected:* the sweep put the edge at 2040/2041 | ec-222, ng-120, ng-121, ng-122, ng-123 | confirmed, corrected | 23W | -| W308 | bpf_legacy.c:284-310 | the header is `%hu%c`: `65537,` wraps to 1; `4 ,` and `0,` fail with no message of their own | ec-223, ng-124, ng-125 | confirmed | 23W | -| W309 | bpf_legacy.c:320-322 | instruction fields are scanf'd: `0xffff` reads k 0 (text after k is ignored), code 65542 wraps to 6 and jt 256 to 0; a hex code is `Error at instruction 0!` | ec-224, ec-225, ng-126 | confirmed | 23W | -| W310 | bpf_legacy.c:313-335 | a trailing `, ` is `Real program length exceeds encoded length parameter!`; too few instructions is `Parsed program length is less than encoded length parameter!`; a trailing `,` alone is accepted | ng-127, ng-128 | confirmed | 23W | -| W311 | bpf_legacy.c:229-278 | bytecode-file: newlines become `,`, runs of blanks one blank; a leading blank line, CRLF or a directory fail with no message; a missing file is `Cannot fopen: No such file or directory`; `-` is a file name, not stdin | ec-221, ng-129, ng-130, ng-131, ng-132 | confirmed | 23W | -| W312 | m_bpf.c:93-140 | `index` ends the loop: `bpf index 5` sends PARMS only (EINVAL with no extack on create, a bind works); a second program word is the next kind (`Bad action type bytecode`); `bpf drop` is `What mode is "drop"?` | ec-237, ng-133, ng-134, ng-135 | confirmed | 23W | -| W313 | m_bpf.c:89,113-135 | bare `bpf` ends in NEXT_ARG; `help` prints the usage and returns -1 (bad action parsing); a bad index is `bpf: Illegal "index"` | ng-136, ng-137, ng-138 | confirmed | 23W | -| W314 | bpf_legacy.c:838-858 | mode prefixes: `b` is bytecode; `o` object-file (an ELF load: `Error opening object nosuch.o`), `p` pinned and `f` fd (both bpf(2): `Couldn't retrieve pinned program`) | ec-226, ng-139, ng-140, ng-141 | confirmed | 23W | -| W315 | f_bpf.c:81,172 | options with no program word leave cfg.mode 0 (CBPF_BYTECODE), so OPS_LEN 0 and an empty OPS are sent: EINVAL with no extack | ng-145 | confirmed | 23W | -| W316 | f_bpf.c:94-95 | `… bpf` with no words sends no OPTIONS: EINVAL with no extack | ng-146 | confirmed | 23W | -| W317 | f_bpf.c:132-180 | CLASSID, ACT and POLICE go out in command order, then OPS_LEN, OPS, FLAGS_GEN, FLAGS; a repeated classid is sent twice and the kernel keeps the last | ec-253 | confirmed (request bytes in 23W) | 23W | -| W318 | f_bpf.c:101-158 | `s` is skip_hw, `f` flowid (not fd as in the action's mode words) | ec-254 | confirmed | 23W | -| W319 | f_bpf.c:112-164 | `What is "bogus"?` and the usage, rc 1; flowid's error says `Illegal "classid"`; a parse failure adds `Unable to parse bpf command line` | ng-147, ng-148, ng-149 | confirmed | 23W | -| W320 | f_bpf.c:136-140 | `skip_hw skip_sw` is EINVAL with no extack; skip_sw on a dummy is EOPNOTSUPP with no extack (K85) | ng-150, ng-151 | confirmed | 23W | +| W216 | m_pedit.c:489-511 | the man page's `at A offmask M shift S` is refused: the parser is positional (`at A M S`), so `offmask` fails get_u32 and the error names the offset, `Bad pedit construct (12)` | ec-089, ng-002 | confirmed | copies (23W) | +| W217 | m_pedit.c:500 | offmask is get_u32 base 16 with no `0x` (`10` is 0x10); at and shift are base 0 | ec-090 | confirmed (request bytes held by the 23W replay) | copies (23W) | +| W218 | m_pedit.c:430-436,513-517,664 | the word in `Bad pedit construct (X)` is wherever parse_munge left argv: the offset for a parse failure, the next word after a pack failure, `(null)` at the end of the line, the kind for a layered failure | ng-003, ng-004 | confirmed | copies (23W) | +| W219 | m_pedit.c:547 | every layered failure first prints `bad pedit parsing` | ng-005 | confirmed | copies (23W) | +| W220 | m_pedit.c:122-123 | key 129 fails in pack_key with no message of its own; only the generic `Bad pedit construct (index)` follows (the kernel takes 255). *Corrected:* the sweep said silent | ec-088, ng-006 | confirmed, corrected | copies (23W) | +| W221 | m_pedit.c:173-175,203-205 | `pack_key8 bad value (val 100 mask 0` has no closing parenthesis; pack_key16's message has no values | ng-007, ng-008 | confirmed | copies (23W) | +| W222 | m_pedit.c:394-397 | `retain is not supported for fields longer the 32 bits` (sic), also for `eth dst preserve` and an ip6 retain | ng-009, ng-010 | confirmed | copies (23W) | +| W223 | m_pedit.c:351-352,400-406 | `invert` on eth or ip6 fields sets 0xff… (mask 0) instead of inverting: pack_mac and pack_ipv6 zero the mask | ec-091, ec-092 | confirmed (request bytes held by the 23W replay) | copies (23W) | +| W224 | m_pedit.c:376-392 | `preserve` sets retain 0, and a following `retain M` overrides it; `set V retain M` masks V silently | ec-093, ec-094 | confirmed (request bytes held by the 23W replay) | copies (23W) | +| W225 | m_pedit.c:386 | `r` after a command is retain: `ip ttl set 5 r` ends in NEXT_ARG, rc 255 | ng-011 | confirmed | copies (23W) | +| W226 | m_pedit.c:636 | a bare `p` after a key is `pedit`, not pass: NEXT_ARG, rc 255 | ng-012 | confirmed | copies (23W) | +| W227 | m_pedit.c:466-489 | `a` is `at`; `u` is u32 and `u1` u16 (matches() against u32 first) | ec-095, ec-096, ec-097 | confirmed | copies (23W) | +| W228 | m_pedit.c:33-41 | the usage contradicts the parser: `munge [ex]` (ex goes before munge), retain listed as a CMD, eth missing, icmp listed | ng-013 | confirmed | copies (23W) | +| W229 | m_pedit.c:141-145,438-440 | `Munge parameters not supported` is dead code; `only 'set' command is supported` also covers decrement, while invert, clear and preserve pass without ex | ng-014, ng-015 | confirmed | copies (23W) | +| W230 | m_pedit.c:59-66,73-114 | an unknown kind prints `Unknown action hence option "bar" is unparsable` (two spaces; it names the next word), then bad pedit parsing and `Bad pedit construct (foo)`; at the end of the line, NEXT_ARG | ng-016, ng-017 | confirmed | copies (23W) | +| W231 | m_pedit.c:535-538 | a kind of 16 or more bytes leaves `k[16]` unterminated and reads past it into the dlopen name; the output is the unknown-kind output, naming the whole word | ng-018 | confirmed (output deterministic) | copies (23W): no kind of 16 bytes or more exists, so gotc gives the unknown-kind output tc gives | +| W232 | ll_addr.c via m_pedit.c:318 | eth MACs: exactly six groups; trailing junk after the sixth is accepted; a dotted quad or a short MAC is refused; the colon NULs persist in a batch line (line 2's simple shows `th\0dst\0set\002\000…`) | ec-098, ec-255, ng-019, ng-020, ng-021, ng-022 | confirmed | copies (23W) | +| W233 | m_pedit.c:298-301 | `ip src` drops a prefix length (`10.0.0.1/8`), takes legacy IPv4 (`010.1` is 8.1.0.0) and any/all/default as 0.0.0.0 | ec-099, ec-100, ec-101 | confirmed (request bytes held by the 23W replay) | copies (23W) | +| W234 | m_pedit.c:308-311 | `ip6 src any` sets :: (bytelen 0, val stays zero); `/64` is dropped | ec-102, ec-103 | confirmed (request bytes held by the 23W replay) | copies (23W) | +| W235 | m_pedit.c:456 | the offset is get_integer, base 0 and signed: `-4` passes the alignment check and is sent as 0xfffffffc; the kernel accepts it | ec-104 | confirmed | copies (23W) | +| W236 | p_ip.c:139-143 | `icmp_code` edits the type byte: offset 20, the same as icmp_type | ec-105 | confirmed (request bytes held by the 23W replay) | copies (23W) | +| W237 | p_ip.c:51,76 | `d` is dsfield and `p` precedence (both offset 1, the tos byte) | ec-106, ec-107 | confirmed | copies (23W) | +| W238 | p_ip6.c:51 | flow_lbl's retain is 0x7ffff (19 bits), so bit 19 of the 20-bit label can't be set | ec-108 | confirmed (request bytes held by the 23W replay) | copies (23W) | +| W239 | p_icmp.c:25 | `icmp` always fails (its parser returns -1), though the usage and man page list it | ng-023 | confirmed | copies (23W) | +| W240 | p_ip6/tcp/udp/eth.c:31; p_ip.c:115-119 | without `ex`, ip6, tcp, udp and eth fail with only `bad pedit parsing`; with `ex`, `ip sport`, `ip dport` and icmp_* fail the same way | ng-024, ng-025, ng-026, ng-027, ng-028, ng-029 | confirmed | copies (23W) | +| W241 | m_pedit.c:640-646 | `ok>1` counts `pedit` words too: `pedit pedit ex munge` prints `'ex' must be before first 'munge'` | ng-030 | confirmed | copies (23W) | +| W242 | m_pedit.c:633-681 | `pedit pipe` sends nkeys 0 (with ex, an empty KEYS_EX): the kernel refuses a create (`Pedit requires keys to be passed`) but binds an existing index (K86) | ec-235, ng-031, ng-032 | confirmed | copies (23W) | +| W243 | m_pedit.c:681-693 | index after control: `… set 1 index 5 pipe` leaves `pipe` for m_action.c, which adds a second (gact) action | ec-109 | confirmed (request bytes held by the 23W replay) | copies (23W) | +| W244 | m_pedit.c:681 | `goto chain x` is reported twice (`Illegal "chain index"`), then gact's usage | ng-033 | confirmed | copies (23W) | +| W245 | m_pedit.c:670-672 | an unknown word after a key becomes the next action kind: `Bad action type foo` and gact's usage | ng-034 | confirmed | copies (23W) | +| W246 | m_pedit.c:52,653; NEXT_ARG sites | `help` and every NEXT_ARG site exit(-1); a bare `ip src` returns -1 (argc < 2) | ng-035, ng-036 | confirmed | copies (23W) | +| W247 | m_pedit.c:686 | index is base 10: `index 0x5` prints `Pedit: Illegal "index"` | ng-037 | confirmed | copies (23W) | +| W248 | m_pedit.c:697-705 | addattr results are ignored: three 128-key ex actions pass 16384, `addattr_l ERROR` is printed and the rest is sent; the kernel refuses with `Not enough extended keys to parse` | ec-238, ng-157 | confirmed | copies (23W) | +| W249 | m_pedit.c:153-165 | an ex `add` on ip6 or eth sends independent 32- and 16-bit ADD keys, with no carry between them | ec-110, ec-111 | confirmed (request bytes held by the 23W replay) | copies (23W) | +| W250 | m_tunnel_key.c:45,357-370; utils.c:738 | `src_ip bogus` is get_addr's `Error: any valid address is expected rather than "bogus".` and exit(1), which also ends a `-force` batch; `Illegal "src_ip"` can't be reached | ng-045, ng-159 | confirmed | copies (23W) | +| W251 | m_tunnel_key.c:49-50; utils.c:578 | `src_ip any` (or default) is AF_UNSPEC with bytelen 0: a 0-byte IPV6_SRC, ERANGE with `Failed to parse nested tunnel key attributes` (K81) | ng-046 | confirmed | copies (23W) | +| W252 | m_tunnel_key.c:49 | a v4 src with a v6 dst is sent; the kernel refuses `Missing either ipv4 or ipv6 src and dst` | ng-047 | confirmed | copies (23W) | +| W253 | m_tunnel_key.c:321,459-466 | no set or unset word sends t_action 0: `Unknown tunnel key action` | ng-048 | confirmed | copies (23W) | +| W254 | m_tunnel_key.c:327-332 | `tunnel_key` alone ends in NEXT_ARG | ng-049 | confirmed | copies (23W) | +| W255 | m_tunnel_key.c:335-431 | prefixes: `s` is set, `d` dst_ip, `i` id, `t` tos, `n` nocsum (matches() order); `nofrag` is a strcmp | ec-126 | confirmed | copies (23W) | +| W256 | m_tunnel_key.c:61,73,450 | id, dst_port and index are base 10; the port's message is `Illegal "dst port"` (with a space) | ng-050, ng-051, ng-052 | confirmed | copies (23W) | +| W257 | m_tunnel_key.c:303-305 | tos and ttl are tried in base 10, then base 16: `tos 1a` is 26, but `ttl 010` is 10 | ec-127 | confirmed (request bytes held by the 23W replay) | copies (23W) | +| W258 | m_tunnel_key.c:150-190 | geneve's strtok_r merges empty fields, so `0102::01020304` shifts DATA into TYPE and fails; a missing DATA is refused by the kernel (`Missing tunnel key geneve option class, type or data`) | ng-053, ng-054 | confirmed | copies (23W) | +| W259 | m_tunnel_key.c:170-180; utils.c:1216 | geneve DATA is len/2 bytes: an odd last nibble is dropped unchecked and 1 char gives 0 bytes; the kernel refuses under 4 bytes (`less than 4 bytes long`, ERANGE) for both | ec-128, ng-055, ng-056 | confirmed | copies (23W) | +| W260 | m_tunnel_key.c:204-213 | `geneve_opts ''` sends an empty ENC_OPTS: `Empty list of tunnel options` | ng-058 | confirmed | copies (23W) | +| W261 | m_tunnel_key.c:252-289 | erspan's fields shift the same way: `2::1:16` is ver 2, index 1, dir 16, no hwid: `Missing tunnel key erspan option dir or hwid` | ng-057 | confirmed | copies (23W) | +| W262 | m_tunnel_key.c:391-405 | two option kinds send two ENC_OPTS nests; the kernel accepts it and keeps the last | ec-129 | confirmed | copies (23W) | +| W263 | m_tunnel_key.c:439 | NO_CSUM is always sent, even for unset; unset also sends the addresses, which the kernel accepts | ec-130 | confirmed | copies (23W) | +| W264 | m_tunnel_key.c:444-457 | index then control: `unset index 5 pipe` adds a second (gact) action | ec-131 | confirmed (request bytes held by the 23W replay) | copies (23W) | +| W265 | m_tunnel_key.c:150-288 | strtok_r writes NULs into argv, which persist in a batch line: line 2's simple shows `e_opts\0` `0102\080\000880022\00103\0` | ec-256 | confirmed | copies (23W) | +| W266 | m_tunnel_key.c:18-31,321-339 | the usage omits tos, ttl, index and CONTROL; a second set/unset prints `unexpected "set" - action already specified` | ng-059 | confirmed | copies (23W) | +| W267 | m_ife.c:150-163 | `ife index 5` counts as ok and sends flags 0 (decode) with no METALST; accepted while a meta module is loaded, EINVAL with no extack otherwise (K79). *Corrected:* the sweep predicted EINVAL | ec-138 | confirmed, corrected | copies (23W) | +| W268 | m_ife.c:163-166 | `ife pipe` prints `IFE requires decode/encode specified`, the usage, exit(-1), which ends a `-force` batch; every invarg exits too | ng-066, ng-158 | confirmed | copies (23W) | +| W269 | m_ife.c:73-75 | the kind-word loop eats `ife` and `i`; at the end of the line, NEXT_ARG | ec-139, ng-067 | confirmed | copies (23W) | +| W270 | m_ife.c:76-80,119,129 | `d` is decode (so dst needs `ds`), `e` encode, `a` allow, `t` type; the last of decode/encode wins | ec-140, ec-141 | confirmed | copies (23W) | +| W271 | m_ife.c:184-202 | `use mark 0` sends nothing for mark; use overrides allow; METALST is always mark, prio, tcindex in that order | ec-142, ec-143, ec-144 | confirmed (request bytes held by the 23W replay) | copies (23W) | +| W272 | m_ife.c:97-153 | mark, prio, tcindex, type and index are base 0 (`use mark 010` is 8; `index 0x5` is 5) | ec-145 | confirmed | copies (23W) | +| W273 | m_ife.c:171-172 | decode silently drops dst, src, type and allow/use (but still prints `dst MAC address <…>` and `IFE type`) | ec-146 | confirmed | copies (23W) | +| W274 | m_ife.c:168,177 | the nest opens after parsing; TYPE is a host-order u16 (0xED3E is sent 3e ed); encode always sends METALST | ec-132 | confirmed (request bytes held by the 23W replay) | copies (23W) | +| W275 | m_ife.c:53 | tc_ife's 2 bytes of tail padding are zeroed by `= { 0 }`; gotc pins zeros | ec-133 | confirmed (request bytes held by the 23W replay) | copies (23W) | +| W276 | m_ct.c:274 | `ct commit nat src addr 1.1.1.1` as the last words ends in NEXT_ARG: something must follow the range | ng-077 | confirmed | copies (23W) | +| W277 | m_ct.c:255 | `ct nat` as the last word ends in NEXT_ARG, though the usage shows `[nat]` | ng-078 | confirmed | copies (23W) | +| W278 | m_ct.c:263-265 | `nat src foo` prints the usage and exits | ng-079 | confirmed | copies (23W) | +| W279 | m_ct.c:50,58 | a bad nat address is get_addr's message and exit(1); the second address takes the first's family (`inet address is expected rather than "2001:db8::1"`); `Illegal nat address range` can't be reached | ng-080, ng-081 | confirmed | copies (23W) | +| W280 | m_ct.c:37-76 | SPRINT_BUF(64) with strncpy 63: a 63-byte range is left unterminated and parsed past buffer[63]. On the workbench the next stack byte was NUL in every run, so the full range was sent; gotc refuses it by name | ec-167, ec-168 | confirmed (stack byte NUL in 3 runs) | refuses by name (23W): `ct nat argument of N bytes: tc reads past its unterminated 63-byte copy (W280)` | +| W281 | m_ct.c:53-64 | `addr any` sends a 0-byte IPV6_MIN/MAX: ERANGE `binary attribute size out of range` (K82); with no second address, MAX repeats MIN | ec-169, ng-082 | confirmed | copies (23W) | +| W282 | m_ct.c:85-95 | ports are base 10; `80-` prints `ct: Illegal nat port range`; min ≤ max is unchecked (2000-1000 is accepted) | ec-170, ng-083, ng-084 | confirmed | copies (23W) | +| W283 | m_ct.c:167-183 | helper `%[^-]` keeps 3 fields: `ipv4-udp-netbios-ns` sends `netbios`, which the kernel can't find (`act_ct: Failed to add helper`); a 22-byte name passes tc's 32 and fails the kernel's 16 (ERANGE, K83) | ng-085, ng-086 | confirmed | copies (23W) | +| W284 | m_ct.c:177; inet_proto.c:42 | proto is base 10, then getprotobyname: `6` works, `0x6` is `ct: Illegal "helper"` | ec-171, ng-087 | confirmed | copies (23W) | +| W285 | m_ct.c:201-212 | the too-long message names the label even when the mask is too long (`argument "01" is wrong: 2 Max allowed size 32`) | ec-166, ng-088, ng-089 | confirmed | copies (23W) | +| W286 | m_ct.c:211-217 | the hex invarg messages embed `\n`, so they end with a blank line | ng-090 | confirmed | copies (23W) | +| W287 | m_ct.c:211-222 | odd lengths aren't refused: `00g` sends 1 byte, `0` sends 0 bytes, and the default mask is 16 bytes of 0xff | ec-172, ec-173 | confirmed (request bytes held by the 23W replay) | copies (23W) | +| W288 | m_ct.c:290-295,353 | index is parsed only inside the loop: in `ct commit pipe index 5` the word `index` becomes a second action kind, sent, and refused `Failed to load TC action module` (ENOENT). *Corrected:* the sweep said tc refuses it | ng-091 | confirmed, corrected | copies (23W) | +| W289 | m_ct.c:328-332 | `ct clear zone 5 mark 1` is sent and accepted (clear returns early); `force` without commit passes | ec-174, ec-175 | confirmed | copies (23W) | +| W290 | m_ct.c:107-111 | zone's slash split is dead (mask_type UNSPEC): `zone 5/1` is `ct: Illegal "zone"`; zone and mark are base 0 | ec-176, ng-092 | confirmed | copies (23W) | +| W291 | m_ct.c:138,196 | the NULs written at `/` for mark and label persist in a batch line: line 2's simple shows `x1\00xff\0label\001\0ff` | ec-257 | confirmed | copies (23W) | +| W292 | m_ct.c:240-321 | prefixes: `c` is clear, `co` commit, `z` zone, `m` mark, `h`/`hel` help (exits) | ec-177, ec-178, ng-093 | confirmed | copies (23W) | +| W293 | m_gate.c:110 | each entry nest is bounded by 1024 against the whole message: the 31st open entry gets `addattr_l ERROR: … bound of 1024`, its header is dropped and addattr_nest_end rewrites the first child's length to cover the entry; the kernel warns `Attribute isn't type 'entry'`, skips it and returns 0 with a shorter schedule (K80) | ec-196, ec-197, ec-198, ec-199 | confirmed | copies (23W) | +| W294 | m_gate.c:280-290; utils_math.c:145-160 | a numeric ipv followed by a word that isn't a size reads get_size's uninitialised sz64 into maxoctets_uint. The value is a stack fragment that changes per run: three runs of `sched-entry open 1ms 1 index 1` sent maxoctets 0x33874a91, 0x4c352a91 and 0x7fec5a91 (low byte fixed, as of an address), and `… 1 sched-entry close 1ms` was twice refused as `"maxoctets" is too large`, once sent as 0x365b8a7b. It sends an ASLR-derived value to the kernel, readable back with `tc actions ls`. No corpus row (not reproducible); gotc refuses it by name | (none, see the entry) | confirmed (trial batches; not in the corpus) | refuses by name (23W, unit test): `gate maxoctets "X": get_size stores an uninitialised value (W294)` | +| W295 | m_gate.c:280-290 | a fractional or suffixed maxoctets goes through get_size: `1.5` is 1 and `0kb` leaves -1. *Corrected:* the sweep said `1.5` is passed on as a kind; it is consumed, because get_size stored 1 and floor(1.5) is 1. The partial value is kept and the word read again only past 32 bits: `5G` stores the low 32 bits of 5 GiB (1 GiB) and then `Bad action type 5G` (23W unit test, TestGotcGateWrite) | ec-200, ec-201, ng-103 | confirmed, corrected | copies (23W) | +| W296 | m_gate.c:169-280 | bases: interval and the times try base 0/10 then strtod (`0x10` is 16 ns via strtod's hex); priority, flags, ipv and maxoctets are base 0; index is base 10 (`argument "0x1" is wrong: index`) | ec-202, ec-203, ng-104 | confirmed | copies (23W) | +| W297 | utils.c:1695-1730 | strtod times: inf, nan and 1e30 reach `*time = nsec`, a UB cast, and are sent (x86 gives 2^63) and accepted; fractions truncate (`1.9ns` is 1); interval 0.5 is 0, refused `Invalid interval for schedule entry`. gotc refuses the UB casts by name | ec-204, ec-205, ec-206, ec-207, ng-105 | confirmed | refuses by name (23W): `gate time "X": tc casts V to __s64, undefined behavior (W297)` | +| W298 | m_gate.c:181-197 | `base-time -1` is get_s64 and sent as u64 max; `-1ms` fails get_time64 (negative) and invarg exits | ec-208, ng-106 | confirmed | copies (23W) | +| W299 | m_gate.c:327-347 | 0 means unset: priority -1 and zero flags, base-time and cycle-time aren't sent, so a replace can't reset them | ec-209 | confirmed (request bytes held by the 23W replay) | copies (23W) | +| W300 | m_gate.c:41-57,161,230-255 | a bad state, a missing interval or a bad interval prints the entry usage and `"sched-entry" is incomplete`; `pas` typo in the usage; `index` missing from the usage | ng-107, ng-108, ng-109, ng-110 | confirmed | copies (23W) | +| W301 | m_gate.c:51,365 | invarg and `help` exit(-1); sched-entry errors return -1 | ng-111, ng-112 | confirmed | copies (23W) | +| W302 | m_gate.c:167-212 | `c` is cycle-time, `p` priority, `h` help (exits) | ec-210, ng-113 | confirmed | copies (23W) | +| W303 | m_gate.c:308-317 | a control word ends the options: in `… pipe index 5` the word `index` becomes a second action kind, refused `Failed to load TC action module`; a bad `goto chain` is reported twice. *Corrected:* the sweep said tc refuses it | ng-114, ng-115 | confirmed, corrected | copies (23W) | +| W304 | m_gate.c:272,292 | a closed entry's ipv and maxoctets are forced to -1 silently | ec-211 | confirmed (request bytes held by the 23W replay) | copies (23W) | +| W305 | m_gate.c:319,349 | `gate index 5` sends an empty ENTRY_LIST: `The entry list is empty` on create, accepted on bind | ec-236, ng-116 | confirmed | copies (23W) | +| W306 | m_gate.c loop | no check of the entry count, cycle-time against the intervals, or repeats: `cycle-time 1000` with two 1 ms entries is accepted | ec-212 | confirmed | copies (23W) | +| W307 | m_bpf.c:56; f_bpf.c:58 | the 16384 bound: 2038 instructions fit; from 2039 PARMS no longer fits and from 2042 OPS no longer fits, each with `addattr_l ERROR` and EINVAL with no extack (K84); past 4096 is refused with no message. *Corrected:* the sweep put the edge at 2040/2041 | ec-222, ng-120, ng-121, ng-122, ng-123 | confirmed, corrected | copies (23W) | +| W308 | bpf_legacy.c:284-310 | the header is `%hu%c`: `65537,` wraps to 1; `4 ,` and `0,` fail with no message of their own | ec-223, ng-124, ng-125 | confirmed | copies (23W) | +| W309 | bpf_legacy.c:320-322 | instruction fields are scanf'd: `0xffff` reads k 0 (text after k is ignored), code 65542 wraps to 6 and jt 256 to 0; a hex code is `Error at instruction 0!` | ec-224, ec-225, ng-126 | confirmed | copies (23W) | +| W310 | bpf_legacy.c:313-335 | a trailing `, ` is `Real program length exceeds encoded length parameter!`; too few instructions is `Parsed program length is less than encoded length parameter!`; a trailing `,` alone is accepted | ng-127, ng-128 | confirmed | copies (23W) | +| W311 | bpf_legacy.c:229-278 | bytecode-file: newlines become `,`, runs of blanks one blank; a leading blank line, CRLF or a directory fail with no message; a missing file is `Cannot fopen: No such file or directory`; `-` is a file name, not stdin | ec-221, ng-129, ng-130, ng-131, ng-132 | confirmed | copies (23W) | +| W312 | m_bpf.c:93-140 | `index` ends the loop: `bpf index 5` sends PARMS only (EINVAL with no extack on create, a bind works); a second program word is the next kind (`Bad action type bytecode`); `bpf drop` is `What mode is "drop"?` | ec-237, ng-133, ng-134, ng-135 | confirmed | copies (23W) | +| W313 | m_bpf.c:89,113-135 | bare `bpf` ends in NEXT_ARG; `help` prints the usage and returns -1 (bad action parsing); a bad index is `bpf: Illegal "index"` | ng-136, ng-137, ng-138 | confirmed | copies (23W) | +| W314 | bpf_legacy.c:838-858 | mode prefixes: `b` is bytecode; `o` object-file (an ELF load: `Error opening object nosuch.o`), `p` pinned and `f` fd (both bpf(2): `Couldn't retrieve pinned program`) | ec-226, ng-139, ng-140, ng-141 | confirmed | copies (23W); the eBPF modes are refused by name, `eBPF program via bpf(2)` | +| W315 | f_bpf.c:81,172 | options with no program word leave cfg.mode 0 (CBPF_BYTECODE), so OPS_LEN 0 and an empty OPS are sent: EINVAL with no extack | ng-145 | confirmed | copies (23W) | +| W316 | f_bpf.c:94-95 | `… bpf` with no words sends no OPTIONS: EINVAL with no extack | ng-146 | confirmed | copies (23W) | +| W317 | f_bpf.c:132-180 | CLASSID, ACT and POLICE go out in command order, then OPS_LEN, OPS, FLAGS_GEN, FLAGS; a repeated classid is sent twice and the kernel keeps the last | ec-253 | confirmed (request bytes held by the 23W replay) | copies (23W) | +| W318 | f_bpf.c:101-158 | `s` is skip_hw, `f` flowid (not fd as in the action's mode words) | ec-254 | confirmed | copies (23W) | +| W319 | f_bpf.c:112-164 | `What is "bogus"?` and the usage, rc 1; flowid's error says `Illegal "classid"`; a parse failure adds `Unable to parse bpf command line` | ng-147, ng-148, ng-149 | confirmed | copies (23W) | +| W320 | f_bpf.c:136-140 | `skip_hw skip_sw` is EINVAL with no extack; skip_sw on a dummy is EOPNOTSUPP with no extack (K85) | ng-150, ng-151 | confirmed | copies (23W) | ### K77–K89. Kernel notes diff --git a/internal/gotc/aw_bpf_test.go b/internal/gotc/aw_bpf_test.go index 5441f7f69..9d00ea3d6 100644 --- a/internal/gotc/aw_bpf_test.go +++ b/internal/gotc/aw_bpf_test.go @@ -43,7 +43,8 @@ type bwCase struct { // runBwCases runs a table. func runBwCases(t *testing.T, cases []bwCase) { t.Helper() - for _, tc := range cases { + for i := range cases { + tc := &cases[i] t.Run(tc.description, func(t *testing.T) { var got result var reqs [][]byte From 9fe691756b631418754f2ddc492969d09051b3d6 Mon Sep 17 00:00:00 2001 From: randomizedcoder Date: Mon, 30 Nov 2026 23:47:54 -0800 Subject: [PATCH 11/13] gotc 23B: the increment 23 write-up, HEAD check and extensions (DOC016) iproute2-tc-action-write.md's "Increment 23" part gains a full entry per lead W216-W320 (where, trigger and outcome from its tcact2write rows, gotc, status) and the HEAD check: at 3f4b36e5b10a, ll_addr's 5faf18f672c1 partly fixes W232, and c4d6334c55aa fixes increment 22's W182, now recorded in its row, entry and HEAD-check block. addattr_l is unchanged, so W248, W293 and W307 stand; the kernel has no commit after v7.4-rc4 in the cited files. Extensions are marked "Extended in increment 23" in their own docs (21 in the increment-22 part, five in the filter write-up, AC38 and AC70). No new lead; not submitted to netdev; bug-classes.md untouched. Co-Authored-By: Claude Opus 5.5 --- docs/netlink/gotc-status.md | 5 + .../upstream/iproute2-tc-action-write.md | 704 +++++++++++++++++- docs/netlink/upstream/iproute2-tc-action.md | 6 +- .../upstream/iproute2-tc-filter-write.md | 9 +- 4 files changed, 716 insertions(+), 8 deletions(-) diff --git a/docs/netlink/gotc-status.md b/docs/netlink/gotc-status.md index 77d11650d..95706775f 100644 --- a/docs/netlink/gotc-status.md +++ b/docs/netlink/gotc-status.md @@ -345,6 +345,10 @@ and the bpf action, standalone and in filters, and the bpf filter's cBPF writes; bpf filter with cBPF. All 418 tcact2write rows replay byte for byte, except 12 refused by name (eBPF, W280, W297). tcactwrite ec-217–ec-222 and tcfwrite ec-117 are now sent, and of the tdc writes only flower's two filter rows stay refused. No new lead (V067). +- **23B (write-up): done.** The "Increment 23" part of + [upstream/iproute2-tc-action-write.md](upstream/iproute2-tc-action-write.md): a full entry for each of W216–W320 + (where, trigger and outcome from its rows, gotc, status), the HEAD check, and the extensions in their own docs. At + HEAD, ll_addr's rewrite partly fixes W232 and c4d6334c55aa fixes increment 22's W182 (DOC016). ## Ledger @@ -428,6 +432,7 @@ and the bpf action, standalone and in filters, and the bpf filter's cBPF writes; | V065 | 23C | **Captures**: `tools/nlcapgen/matrix_tcact2write.go` (`tcact2write`, 418 rows: 258 writes and 160 refusals, on 20C's fixture: d0 with clsact, d1 with an htb root, two classes and ingress block 10), registered in `main.go`'s `families`; rows `nix/microvms/workbench/tcact2write.rows.jsonl`; corpus `pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/`. Modules: increment 22's, cls_bpf, and act_meta_mark, act_meta_skbprio and act_meta_skbtcindex, which `tdcGuestModules` now lists (the guest has them in net/sched). **Rows:** each kind's add, change, replace (existing and new index), delete and flush with a `tc actions ls action K` readback, and each inside matchall. pedit's raw u8/u16/u32 offsets with `at`, every command (set, add, decrement, invert, clear, preserve, retain), every layered field of ip (17), ip6 (8), tcp, udp and eth, ex and legacy; tunnel_key v4 and v6 with id, dst_port, tos, ttl, csum/nocsum, nofrag, geneve with three options, vxlan and erspan v1/v2, and unset; ife encode and decode with allow and use for each meta kind, dst, src and type; ct commit, force, clear, zone, masked mark and label, nat src/dst with v4/v6 ranges and ports, helpers ipv4/ipv6-tcp-ftp; gate's every scalar, six clockid spellings, ipv and maxoctets with a size suffix; bpf's bytecode, bc, run, bytecode-file and bcf. The bpf filter: add with classid, da, skip_hw, an action, police, run, flowid first and two actions; change, replace (existing and new) and delete; a bytecode-file filter; one on d1's htb. eBPF (object-file, object-pinned, pinned, fd, obj, and the `o`/`p`/`f` prefixes) only as refusal rows recording tc's answer. A row for every lead W216–W320 except W294. Boundaries: 128 and 129 pedit keys, 30/31/40 open and 36 closed gate entries, 2038/2039/2041/2042/4097 bpf instructions, 62- and 63-byte nat ranges, the u32 interval edge, tos 255/256. Batches: W232's MAC colons, W265's strtok NULs and W291's slashes, each carried into a later `simple sdata x` (line 2's DEF_DATA shows them: `th\0dst\0set\002…`, `e_opts\00102\080\0…`, `x1\00xff\0label\001\0ff`); bytecode-file in a batch; three `-force` batches (ife's usage exit and get_addr's exit(1) end tc; ct's -1 carries on). **Trial batches** (scratch, same boot): the first matched 400 of 420; the second 419. Corrected in the generator: a fresh `ife decode` with no meta module loaded is EINVAL with no extack (K79), which made the first ife rows depend on row order, so the meta modules now load up front; ct's and gate's `… drop index 1` sends `index` as a second action kind (W288, W303); the index-only binds of pedit, gate and bpf became matchall binds; geneve's 0- and 3-byte DATA and erspan's shifted fields are kernel refusals; bpf's edge is 2039, not 2040; `src_ip any` and ct's `addr any` are ERANGE; netbios is EINVAL and a 22-byte helper ERANGE; skip_sw is ENOTSUP; W280's 63-byte range and W297's inf, nan and 1e30 are sent and accepted, so they are positive rows that gotc will refuse by name; `bytecode-file -` reads a file named `-`. **W294 removed from the corpus:** `gate sched-entry open 1ms 1 index 1` sent maxoctets 0x33874a91, 0x4c352a91 and 0x7fec5a91 in three runs (get_size stores an uninitialised sz64), and `… 1 sched-entry close 1ms` was refused twice as `"maxoctets" is too large` and sent once; no two batches could agree, so 23W pins gotc's refusal with a unit test and the write-up records the values. **Final:** two batches on one boot, 418/418 OK each, agree on every row's rc, stdout, stderr and readback, and on all 336 requests byte for byte (seq and pid zeroed). `TestWsCorpusRows` passes on all 418. Two `cmd.json` files (ec-132, ec-133) had only `axes` and `desc` rewritten from the regenerated rows, when their fix became w274 and w275; tc never reads them. **Write-up** (the new "Increment 23" part of `docs/netlink/upstream/iproute2-tc-action-write.md`, not submitted to netdev): a summary row for each of W216–W320 with its pinning rows and status, K77–K89 and five bug-class candidates. **Corrected from the sweep:** W220 (key 129 is followed by `Bad pedit construct (index)`), W267 (accepted while a meta module is loaded), W288 and W303 (tc sends the stray `index` kind; the kernel refuses it, ENOENT), W295 (`1.5` is consumed as 1), W307 (2039 and 2042). **Kernel notes K77–K89:** the legacy pedit offload warning on every add, ct's helper offload warning, ife's use_all_metadata EINVAL, gate's skipped non-entry with rc 0, tunnel_key's overwritten ERANGE message, ct's EXACT_LEN NAT addresses, ct's helper name limit, act_bpf's missing program, cls_bpf's flags, pedit's keys check after the idr, gate's empty list and zero interval, tunnel_key's option rules, and gate's u64 times. No new lead outside W216–W320. **Unit:** `TestTcAct2WriteSpace` (107 sub-tests). Positive: the verb grid and matchall for each kind, every keyword, the bpf filter's verbs. Lead: each W216–W320 has a row, and W294 has none. Negative: eBPF only as refusals, no `actions ls` or `get`, no host device, no `dev lo` or `-netns`. Boundary: the key, entry, instruction, nat and interval edges. Corner: the seven batches' lines and `-force`, determinism. **VM:** pre-checked (`free -g`: 38G available; port 12061 free; no workbench process), booted from off with `up`; baseline 86 modules, no namespace, no core file. The batches left no namespace and no core file. The run left 129 modules; this run's 40 (act_*, cls_*, sch_htb, sch_ingress, act_meta_*, nf_conntrack_ftp, nf_nat, nf_flow_table, ife, psample, mpls_gso, dummy, nlmon) were removed with `modprobe -r`, leaving 89: the baseline's 86 (nf_conntrack among them, held by the guest firewall's xt_conntrack) and bridge/stp/llc, which no row of this run uses, left alone as in 22C. The VM was powered off with `down` (it was off before): port 12061 free, no workbench process. **Bench pin:** ng-157 (W248's 16 KiB pedit echo, with the extack `act_pedit: Not enough extended keys to parse`) is now the corpus's largest NLMSG_ERROR. It replaces tcematch's W151 refusal, so `TestParseBenchAllocs` pins ParseNlMsgErr's largest pick at 1 allocation (the message copy), not 0. | | V066 | 23P | **Encoders** (untagged, `pkg/xtcpnl/xtcpnl_tc_actencode.go`): `Append` for `TcPeditKey` (tc_pedit.h:52), `TcPeditSel` (new: tc_gen, nkeys, flags, two zero bytes aligning keys[] as m_pedit.c:626's `= {}` leaves them, then the keys; `Nkeys` is its own field, as on the read side), `TcTunnelKey` (new: tc_gen and t_action, tc_tunnel_key.h:15), `TcIfe` (new: tc_gen, flags and two zero bytes of tail padding, tc_ife.h:13, m_ife.c:53, W275) and `TcBpfInsn` (sock_filter, filter.h:24, host order), each cited at v7.4-rc4. ct, gate and the bpf action's parms are tc_gen, so `TcGen.Append` covers them as is. The builders need no change. **Unit** (`xtcpnl_tc_act2encode_test.go`): `TestAppendTcAct2Structs` (37 sub-tests). 21 are captured rows, each payload decoded by the read side and laid out again equal to tc's bytes: pedit PARMS with one and two raw keys, PARMS_EX for ip src and ip6 src (four keys), W216's at/offmask/shift, 128 keys ec-088 (3096 bytes) and eth dst invert ec-091 (W223); tunnel_key set v4, unset, tos/ttl 255 and ng-048's t_action 0 (W253); ife encode with type, dst, src and use, decode, ec-133's padding (W275) and index alone (W267); the bpf action's four-instruction program, 2038 instructions ec-222 (W307), the 65537 header ec-223 (W308) and wrapped fields ec-225 (W309); the bpf filter's OPS from bytecode ec-239 and from bytecode-file ec-247. 14 are round trips, including every field at its extreme, 128 keys and each zero struct as all-zero bytes. `TestAppendTcAct2StructsEdges` (5 rows): a full destination grows and keeps its bytes, pedit's padding after nkeys and flags, `TcIfe{Flags: 1}`'s zero tail, `Nkeys` sent as given, and sock_filter's host byte order. The capture helpers take a corpus directory (`tcActCapturedReqIn`, `tcActCapturedOptionsIn`). **Audits:** netlink-audit and kernel-citation-audit pass. **Bugs found:** none; every struct's layout and padding agree with the kernel headers. | | V067 | 23W | **gotc writes** (tagged `gotc_write`): `aw_pedit.go` and `aw_pedit_hdr.go` (parse_pedit, parse_munge, parse_offset, parse_cmd, parse_val, the pack_key family, and p_ip, p_ip6, p_icmp, p_tcp, p_udp and p_eth as one table; any other kind is pedit_parse_nopopt), `aw_tunnel_key.go`, `aw_ife.go`, `aw_ct.go`, `aw_gate.go`, `aw_bpf.go`, `fw_bpf.go` and `cbpf.go` (bpf_parse_string, bpf_ops_parse, bpf_do_parse and the mode words, shared by the action and the filter; bytecode-file is read relative to the working directory, as `-batch` FILE is). Six new `actParsers` entries, now built from a kind list, and bpf in `foptParsers`. **Groundwork:** `fops` checks tc's addattr_l and addraw_l bounds as each call is recorded, from the running request length. A call past its bound prints tc's `addattr_l ERROR: message exceeded bound of N` (or addraw_l's), and the attribute is dropped while the request is still sent. A failed addattr_nest leaves a mark (`xtcpnl.AttrBuilder.Mark`), and its addattr_nest_end patches rta_len over whatever was written since. That gives W97, W151, W248, W293's broken gate entries (each entry's nest bound is 1024) and W307 byte for byte, and tcematch ec-137 and ng-095 are now sent instead of refused. `getAddr` is utils.c:738's `Error: address is expected rather than "X".` and exit(1), used by tunnel_key, ct and flow's addend. **Copied as tc does it:** the `Bad pedit construct` word, `(null)` at the end of the line (W218), the silent 128-key limit (W220), invert as 0xff on eth and ip6 (W223), the six-group MAC rule (W232), tunnel_key's base-16 fallback (W257), NO_CSUM always sent (W263), METALST's fixed order (W271), ct's index only inside the loop (W288), the u16 header wrap (W308), and the NULs W232, W265 and W291 leave in a batch line for a later `simple sdata`. **Refused by name** (rc 255, `gotc: not implemented: …`): eBPF modes as `eBPF program via bpf(2)`, where tc first touches bpf(2) (ng-139–ng-144, ng-153, ng-154); W280's 63-byte nat argument (ec-168); W297's inf, nan and out-of-range times (ec-204–ec-206); W294's uninitialised maxoctets (unit test only, as 23C has no row). **Corpus:** `TestGotcCorpus` replays tcact2write (418 rows, 12 of them refused by name). tcactwrite ec-217–ec-222 and tcfwrite ec-117 move from refused to sent. **tdc:** `tdcActionSkips` is empty and `tdcActionWritesSent` goes from 332 to 516. `tdcFilterSkips` is only `kind flower: 2`, and `tdcFilterWritesSent` goes from 276 to 293. Every newly matched row matches, so nothing is added to the known lists. **Unit:** `TestGotcPeditWrite` (61 rows), `TestGotcTunnelKeyWrite` (52) with `TestStrtok` (7), `TestGotcIfeWrite` (38) with `TestGotcIfeUsage` (4), `TestGotcCtWrite` (35) with `TestCtHelpers`, `TestGotcGateWrite` (33) with `TestGateHelpers`, `TestGotcBpfWrite` (44) and `TestCbpfParseOps` (24), plus `TestAttrBuilderMark` (4) in xtcpnl. Rows are positive, negative, boundary and corner, taking tc's bytes from the corpus where a row exists. `TestGotcActParsers` and `TestGotcFilterWrite` expect the six kinds sent. `imports_test.go` lets gotc import `internal/goip/render`, for ct's helper protocol via `ProtoByName` (inet_proto_a2n). **Fuzz** (60 s each, `MemoryMax=6G`): `FuzzCbpfParseOps` (new, 123k execs), `FuzzGotcActionWrite` (128k), `FuzzGotcActionBatch` (136k) and `FuzzGotcFilterWrite` (140k), with seeds for each kind and for the three NUL batches; nothing found. bytecode-file inputs naming `dev/`, `proc/` or `sys/` are skipped, since stdin or a tty never reaches EOF, for tc as for gotc. **Mutants** (10, each under `MemoryMax=6G`), all killed: W218's `(null)`, W220's 128, W223's invert, W232's six groups, W257's base 16, W263's NO_CSUM, W271's order, W288's index, W293's 1024 and W308's wrap. **Coverage:** `internal/gotc` 86.6% (tagged), with the new files at 95.6% per function on average. **Lint:** tiers 0-2 clean after fixes in code: shared word constants (tos, ttl, nofrag, firstfrag, sport, dport, icmp_type, icmp_code, type, with prio and flags moved to the untagged `util.go`), get_time64's and get_size64's suffixes as `time64Scale` and `size64Scale`, shared with gate, and parseBpfFopt split. **Bugs found:** no new lead and no new kernel note. Each kind's port confirmed W216–W320 against its rows, and the corrections 23C made (W220, W267, W288, W295, W303, W307) were seen again. W295 gains one detail: the partial value is kept and the word read again only past 32 bits (`5G`). K77 (pedit's offload warning on every legacy add) is what the replay carries. The gotc column of the upstream summary is filled in for every lead. | +| DOC016 | 23B | **Write-up:** the "Increment 23" part of `docs/netlink/upstream/iproute2-tc-action-write.md` (not submitted to netdev), finished. Its status block gains the 23W outcome and the HEAD check. The summary has 105 rows (W216–W320), each with its gotc cell. A new "Lead entries (23B)" section has one entry per lead, grouped by kind: where, what, **trigger and outcome** (each pinning row's exact command, batch lines included, with tc's rc, the first lines of its stderr and whether the request was sent, generated from the tcact2write rows so nothing is retyped), gotc and status. W294 has no row, so its entry gives 23C's trial values and the unit test. K77–K89 and the five bug-class candidates are unchanged (bug-classes.md is untouched). **At HEAD** (GitHub mirror `3f4b36e5b10a`, 2026-11-30, `gh api …/compare/v7.2.0...main`: 92 commits, v7.3.0 among them, over every cited file): no commit touches m_pedit.c, m_pedit.h, the p_*.c, m_tunnel_key.c, m_ife.c, m_ct.c, m_gate.c, m_bpf.c, f_bpf.c, lib/bpf_legacy.c or utils_math.c. lib/ll_addr.c's `5faf18f672c1` (in v7.3.0) partly fixes W232: trailing junk (ec-098) and seven groups (ng-021) are refused with a message naming the whole argument, and the colons are no longer written (ec-255's NULs), while a short MAC and a dotted quad still fail silently in pedit. lib/libnetlink.c changed its receive path and opening seq but not addattr_l, addraw_l or addattr_nest, so W248, W293 and W307 stand. lib/utils.c's changes don't reach get_addr or the number parsers. **Found by the check:** tc/m_action.c's `c4d6334c55aa` (2026-11-30, after v7.3.0, "tc: actions: fail list and flush of an unknown action kind") fixes increment 22's W182. Its summary row and entry, and increment 22's HEAD-check block (which had said m_action.c had no commit), now record it. **Kernel at HEAD:** torvalds/linux `19cc08c1a6a6` (2026-11-30) has no commit after v7.4-rc4 in act_pedit.c, act_tunnel_key.c, act_ife.c, net/ife/ife.c, act_ct.c, act_gate.c, act_bpf.c, cls_bpf.c, act_api.c, act_meta_mark.c or tc_pedit.h. **Extensions,** each marked "Extended in increment 23" in its own doc, with row IDs written as `tcact2write …`. In `iproute2-tc-action-write.md`'s increment-22 part: W161, W166, W170, W171, W172, W175, W183, W185 (the batches section), W189, W191, W194, W195, W196, W199, W200, W201, W204, W208, W210, W214 and W215. In `iproute2-tc-filter-write.md`: W70, W95, W97, W114 and W117. In `iproute2-tc-action.md`: AC38 and AC70. Each doc's status line says so. **Checklist** (scripted over the part): every W216–W320 has a summary row and an entry; every row ID a summary row names exists in the corpus; K77–K89 has no gap; and all 28 extension lines are present. **New leads:** none. | | 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-action-write.md b/docs/netlink/upstream/iproute2-tc-action-write.md index 5c58bc1b3..d06bef5f3 100644 --- a/docs/netlink/upstream/iproute2-tc-action-write.md +++ b/docs/netlink/upstream/iproute2-tc-action-write.md @@ -21,8 +21,11 @@ - **HEAD check (22B, 2026-11-30):** iproute2's GitHub mirror at 7f88aa3c8bab (2026-11-30), with `gh api "repos/iproute2/iproute2/commits?path=&since=2026-08-18"`. Every commit found was checked with `gh api …/compare/v7.2.0...` (all are ahead of v7.2.0). - - **No commit after v7.2.0:** m_action.c, the twelve m_*.c, tc_util.c, tc_core.c, tc.c, q_tbf.c and - utils_math.c. Every lead in those files is open at HEAD. + - **No commit after v7.2.0:** the twelve m_*.c, tc_util.c, tc_core.c, tc.c, q_tbf.c and utils_math.c. Every + lead in those files is open at HEAD. + - **tc/m_action.c, c4d6334c55aa (2026-11-30, after v7.3.0) "tc: actions: fail list and flush of an unknown action + kind":** found by 23B's re-check at 3f4b36e5b10a. It sets ret to -1 on tc_act_list_or_flush's two `bad action` + paths, which fixes W182: at HEAD, `flush action nosuch` exits non-zero. No other lead in m_action.c changes. - **lib/ll_addr.c, 5faf18f672c1 (2026-08-23) "lib: fix warning from ll_addr_a2n":** this fixes part of W172. At HEAD, eight groups and trailing garbage (`00:11:zz`, `00:11:`) are refused, and the error names the whole argument because arg is no longer cut. A short MAC (`aa`) is still zero-filled, and a dotted quad still taken as @@ -62,7 +65,7 @@ gotc copies the cast (`cDoubleToU64`), as it already did for the qdisc rates. - For W189's bytes past argv or the line buffer (the environment, or the heap after a continued line), gotc sends zeros, and the replay masks those bytes. - - It refuses increment 23's six kinds by name. + - It refuses increment 23's six kinds by name (until 23W, which ports them: see the Increment 23 part). - The tdc oracle: 332 `tc actions` writes match tc and 184 are refused by kind, with no mismatch. The tdc filter writes that match rose from 245 to 276. @@ -116,7 +119,7 @@ stderr and rc as tc. Every lead is open at iproute2 HEAD apart from W172's parti | W179 | m_action.c:629-682 | a delete has no 32-action bound: 33 deletes are sent, the kernel deletes 32 and silently keeps the 33rd (K8), rc 0 | ec-231 | confirmed (readback: index 33 is left); request bytes (22W) | copies it | | W180 | m_action.c:805-830 | `flush … since N` sends TIME_DELTA, rc 0 | ec-237 | request bytes (22W) | copies it | | W181 | m_action.c:901-913 | `actions flush foo gact` flushes gact: the word after flush is skipped unread | ec-238 | confirmed | copies it | -| W182 | m_action.c:792-798,855-857 | `flush action nosuch` prints `bad action nosuch`, rc 0 | ec-239 | confirmed | copies it | +| W182 | m_action.c:792-798,855-857 | `flush action nosuch` prints `bad action nosuch`, rc 0 | ec-239 | confirmed; fixed at HEAD (c4d6334c55aa) | copies it | | W183 | m_action.c:321-337 | `skip_sw skip_hw` are both sent: EINVAL, no extack (K69) | ng-077 | confirmed | copies it | | W184 | m_police.c:85-110; tc_util.c:264-275 | `burst 10x` prints `argument "10x" is wrong: buffer`; `burst 10k/x` prints `"10k"` | ng-009, ng-010 | confirmed | copies it | | W185 | m_police.c and four other invarg/duparg paths | exit(-1) ends a `-force` batch: line 2 never runs, rc 255 | ng-092 (ng-094 is the -1 return that carries on, rc 1) | confirmed | copies it | @@ -178,7 +181,10 @@ stderr and rc as tc. Every lead is open at iproute2 HEAD apart from W172's parti - **W181:** tc_act_list_or_flush is called with argv advanced by two (m_action.c:911-912), so `flush foo gact` flushes gact. - **W182:** `flush action nosuch` prints `bad action nosuch` and returns 0, so the rc is 0. + - **At HEAD** (c4d6334c55aa, 2026-11-30, after v7.3.0): both `bad action` paths set ret to -1, so `ls` and `flush` + of an unknown kind now fail. gotc copies v7.2.0, the version the corpus was captured with. - **W183:** `skip_sw skip_hw` are both sent; act_api.c:171-176's validity check fails with EINVAL and no extack (K69). + - **Extended in increment 23:** cls_bpf: `skip_hw skip_sw` is EINVAL with no extack, and skip_sw on dummy is EOPNOTSUPP (W320, tcact2write ng-150, ng-151). See [increment 23](#increment-23-pedit-tunnel_key-ife-ct-gate-bpf-and-the-bpf-filter-w216w320-k77k89). - **W186:** `tc actions` with no verb runs no loop iteration: nothing is printed, rc 0. `actions add help` prints only `Illegal "action"` (ng-089). - **W187** (new) @@ -215,6 +221,7 @@ stderr and rc as tc. Every lead is open at iproute2 HEAD apart from W172's parti rate is 0 while the burst computed from the 64-bit rate reads back as 590295810358b. - gotc copies the x86 cast: NaN is 2^63, and 2^64 or more is 0 (ec-109). The plan said to refuse these, but the result is fixed on x86, so there was no reason to. + - **Extended in increment 23:** W297: gate's times go through the same strtod-to-__s64 cast: inf, nan and 1e30 are sent as 0x8000000000000000 and accepted (tcact2write ec-204–ec-206). gotc refuses them by name, as it does here. See [increment 23](#increment-23-pedit-tunnel_key-ife-ct-gate-bpf-and-the-bpf-filter-w216w320-k77k89). - **W167:** `ppsburst64 = tc_calc_xmittime(pps64, ppsburst64)` (m_police.c:251). tc_calc_xmittime returns an unsigned tick count, so 1000 packets at 1 pps overflows it, and the kernel reads back `pkts_burst 274`. - **W169:** goto in the slash form is goto chain 0. @@ -223,6 +230,7 @@ stderr and rc as tc. Every lead is open at iproute2 HEAD apart from W172's parti - **Exceed side:** `pass/goto` sends RESULT GOTO_CHAIN: `goto chain not allowed on fallback` (act_police.c:136-141). - **Other forms:** `foo/pass` returns -1 with no message of its own. `jump 1/pass` is `Invalid "jump count" (1/pass)`. - **W170:** `p 2mbit` is peakrate, and `o` is `ok` (readback `action pass`). + - **Extended in increment 23:** the six increment-23 kinds collide the same way: pedit's `r` is retain, a bare `p` is pedit, `a` is at and `u` u32 (W225–W227, W237); tunnel_key's `s`, `d`, `t`, `c`, `n` and `e` (W255); ife's `d`, `e`, `t`, `s`, `a` and `u` (W270); ct's `c`, `co`, `h` and `helpe` (W292); gate's `c`, `p` and `h` (W302); bpf's mode words and the bpf filter's `s` and `f` (W314, W318). See [increment 23](#increment-23-pedit-tunnel_key-ife-ct-gate-bpf-and-the-bpf-filter-w216w320-k77k89). - **W184:** get_size_and_cell writes a NUL over the `/` before invarg prints, so `burst 10k/x` names `"10k"`. - The slash is put back only once CELL parses as an integer. A CELL that isn't a power of 2 (`10k/3`), or a SIZE past u32, prints the whole word. @@ -249,6 +257,7 @@ stderr and rc as tc. Every lead is open at iproute2 HEAD apart from W172's parti - **W160:** the missing newline in `invalid block ID` runs it into `bad action parsing`. - **W161:** once `dev` is seen, mirred stops reading, so `blockid 5` is the next action's kind. tc prints `Bad action type blockid` and gact's full usage, rc 255. + - **Extended in increment 23:** W288 is the reverse case: ct reads `index` only inside its loop, so `ct commit pipe index 5` sends `index` as the next kind, which the kernel refuses (tcact2write ng-091). See [increment 23](#increment-23-pedit-tunnel_key-ife-ct-gate-bpf-and-the-bpf-filter-w216w320-k77k89). - **W162:** ll_name_to_index falls back to `if%u` parsing, so `if3junk` is ifindex 3, which here is d0 (readback `Redirect to device d0`). A missing device prints `Cannot find device "nosuch"`, `bad action parsing`, `parse_action: bad value (7:mirred)!` and `Illegal "action"`. @@ -256,6 +265,7 @@ stderr and rc as tc. Every lead is open at iproute2 HEAD apart from W172's parti ## skbedit, vlan, csum: W171–W175 - **W171:** `id 010` is 8 (readback `push id 8`). `id 4095` reaches the kernel: ERANGE with no extack (K68). + - **Extended in increment 23:** pedit's offmask is base 16 with no `0x` and at and shift base 0 (W217); its offset is signed base 0 (W235); gate's interval, priority, flags, ipv and maxoctets are base 0 (W296). See [increment 23](#increment-23-pedit-tunnel_key-ife-ct-gate-bpf-and-the-bpf-filter-w216w320-k77k89). - **W172:** ll_addr_a2n zero-fills a short MAC, takes a dotted quad as bytes, and stops at six groups. `zz:00:…` prints `"zz" is invalid lladdr.` then `argument "zz" is wrong: dst_mac is invalid`: both are cut at the first `:`. @@ -264,6 +274,7 @@ stderr and rc as tc. Every lead is open at iproute2 HEAD apart from W172's parti zero-filled and a dotted quad still taken as bytes, so ec-147 and ec-148 would still pass at HEAD, and ng-038's stderr would change. - **gotc:** `llAddrA2N` copies v7.2.0, the version the corpus was captured with. + - **Extended in increment 23:** pedit's `eth src/dst` goes through ll_addr_a2n too, but pedit wants exactly six groups, so a short MAC and a dotted quad fail with no message (W232, tcact2write ng-019, ng-020). At HEAD (5faf18f672c1) trailing junk and seven groups are refused with a message and the colons are no longer written. See [increment 23](#increment-23-pedit-tunnel_key-ife-ct-gate-bpf-and-the-bpf-filter-w216w320-k77k89). - **W173:** with `index` first, csum's loop never sees an UPDATE word. The kernel stores flags 0, and tc prints them as `csum (?empty)`. - **W174:** @@ -272,6 +283,7 @@ stderr and rc as tc. Every lead is open at iproute2 HEAD apart from W172's parti - `mark 010` is base 0, so 8. - **W175:** each kind reads its control before `index`. A control after `index` is the next action, a gact. tc's request holds two actions, and gotc's matches it (ec-121, ec-137, ec-150, ec-163). + - **Extended in increment 23:** pedit (W243), tunnel_key (W264), ct (W288, reversed), gate (W303) and bpf (W312, where `index` ends the loop) have the same order problem. See [increment 23](#increment-23-pedit-tunnel_key-ife-ct-gate-bpf-and-the-bpf-filter-w216w320-k77k89). ## nat and simple: W189–W195, W213 @@ -306,30 +318,38 @@ stderr and rc as tc. Every lead is open at iproute2 HEAD apart from W172's parti - **tdc:** the tdc simple rows send the tdc runner's environment. Their replay masks it, as for the corpus. - **gotc:** sends what tc reads from argv or the line buffer (TestArgMem), zeros past them, and the replay masks those bytes. + - **Extended in increment 23:** the same persistence for argv NULs: pedit's MAC colons (W232), tunnel_key's strtok_r (W265) and ct's `/` for mark and label (W291) each show up in a later line's `simple sdata` (tcact2write ec-255, ec-256, ec-257). See [increment 23](#increment-23-pedit-tunnel_key-ife-ct-gate-bpf-and-the-bpf-filter-w216w320-k77k89). - **W190:** simple reads `index` and then stops; `drop` after it is a gact action. - **W191:** a bare kind word hits NEXT_ARG first, so the user sees `Command line is not complete. Try option "help"` rather than the kind's explain text. + - **Extended in increment 23:** tunnel_key (W254), ife (W269), ct's `nat` (W277), gate's sched-entry (W300) and bpf (W313) print `Command line is not complete` for a bare word too. See [increment 23](#increment-23-pedit-tunnel_key-ife-ct-gate-bpf-and-the-bpf-filter-w216w320-k77k89). - **W192:** `nat ingress 10.0.0.0/33 1.1.1.1` prints `Illegal nat construct (ingress)` then nat's usage. - **W193:** parse_nat_args ORs the egress flag into sel.flags and overwrites the addresses, so the second `nat`'s addresses are kept under the first's direction: readback `egress 11.0.0.0/8 3.0.0.0`. - **W194:** NEW is read with get_addr, which drops `/16` silently. + - **Extended in increment 23:** pedit's `ip src` drops the prefix length the same way (W233); `ip6 src` drops `/64` (W234). See [increment 23](#increment-23-pedit-tunnel_key-ife-ct-gate-bpf-and-the-bpf-filter-w216w320-k77k89). - **W195:** get_addr_ipv4's inet_aton accepts `010` (octal) and `10.1`. get_prefix accepts `/0x10` and a dotted netmask. + - **Extended in increment 23:** pedit's `ip src` takes legacy IPv4 and any/all/default as 0.0.0.0 (W233). See [increment 23](#increment-23-pedit-tunnel_key-ife-ct-gate-bpf-and-the-bpf-filter-w216w320-k77k89). - **W213:** with no sdata no DEF_DATA is sent, and act_simple.c:127-133 refuses with EINVAL, no extack. ## connmark, ctinfo, sample: W208–W212, W214, W215 - **W208:** the statemask's get_u32 fails, so the word is left for parse_action, which reads it as a kind. + - **Extended in increment 23:** pedit: an unknown word after a key is the next action kind (W245, tcact2write ng-034). See [increment 23](#increment-23-pedit-tunnel_key-ife-ct-gate-bpf-and-the-bpf-filter-w216w320-k77k89). - **W209:** cpmark 0 is "unset", so no CPMARK is sent. The kernel accepts a ctinfo with no mode at all (K76). - **W210:** the loop that skips the kind word matches any word, so a stray word after the kind is eaten. + - **Extended in increment 23:** ife's kind-word loop eats `i` and `if` the same way (W269). See [increment 23](#increment-23-pedit-tunnel_key-ife-ct-gate-bpf-and-the-bpf-filter-w216w320-k77k89). - **W211 and W212** - **W211:** the missing-count message is the first check. - **W212:** `index` short-circuits the checks, and the kernel refuses with extack `sample rate and group are required` (act_sample.c:83-87). - **Related:** `rate 0` is `invalid sample rate` (act_sample.c:94-97, ng-060). - **W214:** tc's TcConnmark has its 2 bytes of tail padding zeroed, and gotc's encoder zeroes them too (ec-180–ec-183). + - **Extended in increment 23:** tc_ife's two bytes of tail padding are zeroed by `= { 0 }` (W275); every ife row's bytes pin them. See [increment 23](#increment-23-pedit-tunnel_key-ife-ct-gate-bpf-and-the-bpf-filter-w216w320-k77k89). - **W215:** parse_action_control reports the bad chain index, then connmark's own fallback reports it again. gact's usage follows, rc 255. + - **Extended in increment 23:** pedit's (W244) and gate's (W303) `goto chain x` are reported twice the same way (tcact2write ng-033, ng-114). See [increment 23](#increment-23-pedit-tunnel_key-ife-ct-gate-bpf-and-the-bpf-filter-w216w320-k77k89). ## skbmod and mpls: W196–W207 @@ -339,6 +359,7 @@ stderr and rc as tc. Every lead is open at iproute2 HEAD apart from W172's parti `Invalid dst mac address`, rc 255, and vlan's `dst_mac 0x:…` (ll_addr_a2n's `%x`) with `"0x" is invalid lladdr.` `00x:` is 0, the second 0 being a digit. Checked against glibc 2.44 and host tc 7.2.0. gotc had read `0x` as 0 and sent the request; it now refuses as tc does (TestScanfMac, TestLlAddrA2N). + - **Extended in increment 23:** ife's dst and src MACs use the same `%hhx` parse, so trailing junk is accepted (tcact2write ec-147, ec-148); bpf's instruction fields wrap through `%hu %hhu %hhu %u` (W309). See [increment 23](#increment-23-pedit-tunnel_key-ife-ct-gate-bpf-and-the-bpf-filter-w216w320-k77k89). - **W197:** - act_skbmod.c:152-155 replaces the whole flag set with SWAPMAC, so the dmac in `set dmac X swap mac` is dropped (readback `swap mac`). @@ -346,11 +367,15 @@ stderr and rc as tc. Every lead is open at iproute2 HEAD apart from W172's parti - **W198 and W199** - **W198:** etype 0 sends the flag with no ETYPE attribute; the kernel refuses with EINVAL, no extack. - **W199:** the debug lines are printed on success too. + - **Extended in increment 23:** ife writes the same kind of stderr chatter (`IFE type 0x%04X` and the allow and + use lines), in decode too, where the values are dropped (W273, tcact2write ec-146). See [increment 23](#increment-23-pedit-tunnel_key-ife-ct-gate-bpf-and-the-bpf-filter-w216w320-k77k89). - **W200:** skbmod reads its index with `get_u32(&p.index, *argv, 0)` (m_skbmod.c:127), base 0, where the other eleven kinds pass base 10: `skbmod swap mac index 010` creates index 8 (ec-206). gotc copies it, and a mutant that reads it in base 10 is killed by that row. + - **Extended in increment 23:** pedit's index (W247), tunnel_key's id, dst_port and index (W256) and gate's index are base 10; ife's mark, prio, tcindex, type and index are base 0 (W272). See [increment 23](#increment-23-pedit-tunnel_key-ife-ct-gate-bpf-and-the-bpf-filter-w216w320-k77k89). - **W201:** mpls's missarg is exit(-1), so the rest of a `-force` batch never runs (ng-093). Compare nat's -1 return in ng-094, which carries on, rc 1. + - **Extended in increment 23:** ife's mode check and usage (W268) exit(-1) and end a `-force` batch (tcact2write ng-158); pedit's help and NEXT_ARG sites do too (W246). See [increment 23](#increment-23-pedit-tunnel_key-ife-ct-gate-bpf-and-the-bpf-filter-w216w320-k77k89). - **W202:** `mpls help` (ng-076, rc 255) prints usage() from m_mpls.c:26-37. It lists pop, push, mac_push and modify, but not dec_ttl, which the parser takes (m_mpls.c:114), nor `index`. It shows push's label in brackets, though push without a label is a missarg exit (m_mpls.c:179; W201, ng-093). This is from reading the text against the @@ -359,6 +384,7 @@ stderr and rc as tc. Every lead is open at iproute2 HEAD apart from W172's parti - **W204:** - `pop protocol 0` is tc's own refusal. - `push label 5 protocol 0` sends no PROTO, and the kernel defaults to mpls_uc. + - **Extended in increment 23:** ife's `use mark 0` sends nothing (W271); gate's priority -1 and zero flags or times are not sent, so replace can't reset them (W299). See [increment 23](#increment-23-pedit-tunnel_key-ife-ct-gate-bpf-and-the-bpf-filter-w216w320-k77k89). - **W205 and W206:** `ind` is compared with strcmp, so it isn't `index`, and the action word is never found. `t` is matches()' prefix of `tc`. @@ -367,6 +393,10 @@ stderr and rc as tc. Every lead is open at iproute2 HEAD apart from W172's parti - **The rows:** ng-092 (police's invarg), ng-093 (mpls's missarg) and ng-094 (nat's -1 return), each under `-force`. - **Outcome:** the first two end tc on line 1 (rc 255, line 2 never runs). The third prints `Command failed b.txt:1` and runs line 2 (rc 1). +- **Extended in increment 23:** pedit's NEXT_ARG and help sites (W246), ife's usage (W268, tcact2write ng-158), ct's + `nat src foo` usage (W278), gate's invarg and help (W301) and get_addr's exit(1) (W250, tcact2write ng-159) end + a `-force` batch the same way; ct's -1 return carries on. See + [increment 23](#increment-23-pedit-tunnel_key-ife-ct-gate-bpf-and-the-bpf-filter-w216w320-k77k89). ## K63–K76. Kernel notes @@ -408,7 +438,7 @@ These are for the user's review. [bug-classes.md](bug-classes.md) is unchanged. ## Increment 23: pedit, tunnel_key, ife, ct, gate, bpf and the bpf filter (W216–W320, K77–K89) -**Status (2026-11-30, increment 23, task 23C):** +**Status (2026-11-30, increment 23: 23C captures, 23W gotc, 23B write-up):** - **Not submitted to netdev.** Drafts for the user's review, recorded only here, like the rest of this directory. - **Scope:** the parse side of `tc/m_pedit.c` with `p_ip.c`, `p_ip6.c`, `p_icmp.c`, `p_tcp.c`, `p_udp.c` and @@ -434,6 +464,23 @@ These are for the user's review. [bug-classes.md](bug-classes.md) is unchanged. no two batches could agree. 23W pins gotc's refusal by name with a unit test. - **Determinism:** a fresh `ife decode` with no meta module loaded is EINVAL (K79), so the first trial's outcome depended on whether an encode row had loaded act_meta_* first. The rows now load the three meta modules up front. +- **HEAD check (23B, 2026-11-30):** iproute2's GitHub mirror at 3f4b36e5b10a (2026-11-30), with + `gh api …/compare/v7.2.0...main` (92 commits, v7.3.0 among them) over every file this part cites. + - **No commit after v7.2.0:** m_pedit.c, m_pedit.h, the six p_*.c, m_tunnel_key.c, m_ife.c, m_ct.c, m_gate.c, + m_bpf.c, f_bpf.c, lib/bpf_legacy.c and utils_math.c. Every lead in those files is open at HEAD. + - **lib/ll_addr.c, 5faf18f672c1 (2026-08-23, in v7.3.0):** ll_addr_a2n now parses with strtoul and leaves arg + alone, which changes W232 at HEAD. Trailing junk after the sixth group (ec-098) and seven groups (ng-021) are + refused with `"…" is invalid lladdr.` naming the whole argument (ng-022's message is no longer cut at the `:`), + and no colon is written, so ec-255's second line would carry no NULs. A short MAC (`aa`, ng-019) and a dotted + quad (ng-020) still return 1 and 4, and pedit still fails them with no message. W172 is the same change. + - **lib/libnetlink.c:** the receive path (sender checks, `NLMSG_OK` walking, the remnant check) and the opening + seq changed; addattr_l, addraw_l and addattr_nest did not, so W248, W293 and W307 stand at HEAD. + - **lib/utils.c:** getcmdline's error paths and resolve_address's cache (see increment 22's check); get_addr, + get_integer, get_u32 and get_size are unchanged, so W250, W279 and W295 stand. + - **tc/m_action.c:** c4d6334c55aa fixes increment 22's W182 (see its entry); no increment-23 lead changes. + - **Kernel:** torvalds/linux at 19cc08c1a6a6 (2026-11-30) has no commit after v7.4-rc4 (2026-11-22) in + act_pedit.c, act_tunnel_key.c, act_ife.c, net/ife/ife.c, act_ct.c, act_gate.c, act_bpf.c, cls_bpf.c, act_api.c, + act_meta_mark.c or tc_pedit.h, so K77–K89 stand at HEAD. - **gotc (23W):** every parser is ported. The 418 rows replay byte for byte (stdout, stderr, rc and every request, seq aside) in TestGotcCorpus, apart from 12 rows gotc refuses by name: the eight eBPF rows (ng-139–ng-144, ng-153, ng-154), W280's 63-byte nat range (ec-168) and W297's inf, nan and 1e30 times (ec-204–ec-206). W294 is refused by @@ -458,7 +505,7 @@ These are for the user's review. [bug-classes.md](bug-classes.md) is unchanged. | W229 | m_pedit.c:141-145,438-440 | `Munge parameters not supported` is dead code; `only 'set' command is supported` also covers decrement, while invert, clear and preserve pass without ex | ng-014, ng-015 | confirmed | copies (23W) | | W230 | m_pedit.c:59-66,73-114 | an unknown kind prints `Unknown action hence option "bar" is unparsable` (two spaces; it names the next word), then bad pedit parsing and `Bad pedit construct (foo)`; at the end of the line, NEXT_ARG | ng-016, ng-017 | confirmed | copies (23W) | | W231 | m_pedit.c:535-538 | a kind of 16 or more bytes leaves `k[16]` unterminated and reads past it into the dlopen name; the output is the unknown-kind output, naming the whole word | ng-018 | confirmed (output deterministic) | copies (23W): no kind of 16 bytes or more exists, so gotc gives the unknown-kind output tc gives | -| W232 | ll_addr.c via m_pedit.c:318 | eth MACs: exactly six groups; trailing junk after the sixth is accepted; a dotted quad or a short MAC is refused; the colon NULs persist in a batch line (line 2's simple shows `th\0dst\0set\002\000…`) | ec-098, ec-255, ng-019, ng-020, ng-021, ng-022 | confirmed | copies (23W) | +| W232 | ll_addr.c via m_pedit.c:318 | eth MACs: exactly six groups; trailing junk after the sixth is accepted; a dotted quad or a short MAC is refused; the colon NULs persist in a batch line (line 2's simple shows `th\0dst\0set\002\000…`) | ec-098, ec-255, ng-019, ng-020, ng-021, ng-022 | confirmed; partly fixed at HEAD (5faf18f672c1) | copies (23W) | | W233 | m_pedit.c:298-301 | `ip src` drops a prefix length (`10.0.0.1/8`), takes legacy IPv4 (`010.1` is 8.1.0.0) and any/all/default as 0.0.0.0 | ec-099, ec-100, ec-101 | confirmed (request bytes held by the 23W replay) | copies (23W) | | W234 | m_pedit.c:308-311 | `ip6 src any` sets :: (bytelen 0, val stays zero); `/64` is dropped | ec-102, ec-103 | confirmed (request bytes held by the 23W replay) | copies (23W) | | W235 | m_pedit.c:456 | the offset is get_integer, base 0 and signed: `-4` passes the alignment check and is sent as 0xfffffffc; the kernel accepts it | ec-104 | confirmed | copies (23W) | @@ -548,6 +595,651 @@ These are for the user's review. [bug-classes.md](bug-classes.md) is unchanged. | W319 | f_bpf.c:112-164 | `What is "bogus"?` and the usage, rc 1; flowid's error says `Illegal "classid"`; a parse failure adds `Unable to parse bpf command line` | ng-147, ng-148, ng-149 | confirmed | copies (23W) | | W320 | f_bpf.c:136-140 | `skip_hw skip_sw` is EINVAL with no extack; skip_sw on a dummy is EOPNOTSUPP with no extack (K85) | ng-150, ng-151 | confirmed | copies (23W) | +### Lead entries (23B) + +One entry per lead, generated from the summary table and the tcact2write rows it names: **Trigger and outcome** is each +pinning row's exact command (a batch's lines after `with b.txt:`), tc's rc, the first lines of its stderr, and +whether the request was sent (from the row's classification). Where and what are as in the summary; the status +includes 23W's replay and 23B's HEAD check. + +#### pedit: W216–W249 + +- **W216** (m_pedit.c:489-511): the man page's `at A offmask M shift S` is refused: the parser is positional (`at A M S`), so `offmask` fails get_u32 and the error names the offset, `Bad pedit construct (12)` + - **Trigger and outcome:** + - ec-089: `tc actions add action pedit munge offset 12 u32 at 4 0xff 24 set 1 index 1` → rc 0; stderr `Warning: act_pedit: Unsupported pedit command offload.` (sent and accepted) + - ng-002: `tc actions add action pedit munge offset 12 u32 at 0 offmask f shift 0 set 1 index 1` → rc 255; stderr `Bad pedit construct (12)`; `Usage: ... pedit munge [ex] [CONTROL]`; `Where: MUNGE := |` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W217** (m_pedit.c:500): offmask is get_u32 base 16 with no `0x` (`10` is 0x10); at and shift are base 0 + - **Trigger and outcome:** + - ec-090: `tc actions add action pedit munge offset 12 u32 at 0x4 10 2 set 1 index 1` → rc 0; stderr `Warning: act_pedit: Unsupported pedit command offload.` (sent and accepted) + - **gotc:** copies (23W). + - **Status:** confirmed (request bytes held by the 23W replay). +- **W218** (m_pedit.c:430-436,513-517,664): the word in `Bad pedit construct (X)` is wherever parse_munge left argv: the offset for a parse failure, the next word after a pack failure, `(null)` at the end of the line, the kind for a layered failure + - **Trigger and outcome:** + - ng-003: `tc actions add action pedit munge offset 2 u32 set 1` → rc 255; stderr `pack_key32: 32 bit offsets must begin in 32bit boundaries`; `Bad pedit construct ((null))`; `Usage: ... pedit munge [ex] [CONTROL]` (tc fails it; no kernel refusal) + - ng-004: `tc actions add action pedit munge offset 2 u32 set 1 index 1` → rc 255; stderr `pack_key32: 32 bit offsets must begin in 32bit boundaries`; `Bad pedit construct (index)`; `Usage: ... pedit munge [ex] [CONTROL]` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W219** (m_pedit.c:547): every layered failure first prints `bad pedit parsing` + - **Trigger and outcome:** + - ng-005: `tc actions add action pedit munge ip foo set 1 index 1` → rc 255; stderr `bad pedit parsing`; `Bad pedit construct (ip)`; `Usage: ... pedit munge [ex] [CONTROL]` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W220** (m_pedit.c:122-123): key 129 fails in pack_key with no message of its own; only the generic `Bad pedit construct (index)` follows (the kernel takes 255). *Corrected:* the sweep said silent + - **Trigger and outcome:** + - ec-088: `tc actions add action pedit munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset … (3235 bytes)` → rc 0; stderr `Warning: act_pedit: Unsupported pedit command offload.` (sent and accepted) + - ng-006: `tc actions add action pedit munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset … (3260 bytes)` → rc 255; stderr `Bad pedit construct (index)`; `Usage: ... pedit munge [ex] [CONTROL]`; `Where: MUNGE := |` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed, corrected. +- **W221** (m_pedit.c:173-175,203-205): `pack_key8 bad value (val 100 mask 0` has no closing parenthesis; pack_key16's message has no values + - **Trigger and outcome:** + - ng-007: `tc actions add action pedit munge ip ttl set 256 index 1` → rc 255; stderr `pack_key8 bad value (val 100 mask 0`; `bad pedit parsing`; `Bad pedit construct (ip)` (tc fails it; no kernel refusal) + - ng-008: `tc actions add action pedit munge ip dport set 65536 index 1` → rc 255; stderr `pack_key16 bad value`; `bad pedit parsing`; `Bad pedit construct (ip)` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W222** (m_pedit.c:394-397): `retain is not supported for fields longer the 32 bits` (sic), also for `eth dst preserve` and an ip6 retain + - **Trigger and outcome:** + - ng-009: `tc actions add action pedit ex munge eth dst preserve index 1` → rc 255; stderr `retain is not supported for fields longer the 32 bits`; `bad pedit parsing`; `Bad pedit construct (eth)` (tc fails it; no kernel refusal) + - ng-010: `tc actions add action pedit ex munge ip6 src set ::1 retain 0xff index 1` → rc 255; stderr `retain is not supported for fields longer the 32 bits`; `bad pedit parsing`; `Bad pedit construct (ip6)` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W223** (m_pedit.c:351-352,400-406): `invert` on eth or ip6 fields sets 0xff… (mask 0) instead of inverting: pack_mac and pack_ipv6 zero the mask + - **Trigger and outcome:** + - ec-091: `tc actions add action pedit ex munge eth dst invert index 1` → rc 0; stderr empty (sent and accepted) + - ec-092: `tc actions add action pedit ex munge ip6 dst invert index 1` → rc 0; stderr empty (sent and accepted) + - **gotc:** copies (23W). + - **Status:** confirmed (request bytes held by the 23W replay). +- **W224** (m_pedit.c:376-392): `preserve` sets retain 0, and a following `retain M` overrides it; `set V retain M` masks V silently + - **Trigger and outcome:** + - ec-093: `tc actions add action pedit munge offset 12 u32 preserve retain 0xff index 1` → rc 0; stderr `Warning: act_pedit: Unsupported pedit command offload.` (sent and accepted) + - ec-094: `tc actions add action pedit munge offset 12 u32 set 0x1234 retain 0xff index 1` → rc 0; stderr `Warning: act_pedit: Unsupported pedit command offload.` (sent and accepted) + - **gotc:** copies (23W). + - **Status:** confirmed (request bytes held by the 23W replay). +- **W225** (m_pedit.c:386): `r` after a command is retain: `ip ttl set 5 r` ends in NEXT_ARG, rc 255 + - **Trigger and outcome:** + - ng-011: `tc actions add action pedit munge ip ttl set 5 r` → rc 255; stderr `Command line is not complete. Try option "help"` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W226** (m_pedit.c:636): a bare `p` after a key is `pedit`, not pass: NEXT_ARG, rc 255 + - **Trigger and outcome:** + - ng-012: `tc actions add action pedit munge ip ttl set 5 p` → rc 255; stderr `Command line is not complete. Try option "help"` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W227** (m_pedit.c:466-489): `a` is `at`; `u` is u32 and `u1` u16 (matches() against u32 first) + - **Trigger and outcome:** + - ec-095: `tc actions add action pedit munge offset 12 u32 a 0 f 0 set 1 index 1` → rc 0; stderr `Warning: act_pedit: Unsupported pedit command offload.` (sent and accepted) + - ec-096: `tc actions add action pedit munge offset 12 u set 1 index 1` → rc 0; stderr `Warning: act_pedit: Unsupported pedit command offload.` (sent and accepted) + - ec-097: `tc actions add action pedit munge offset 12 u1 set 1 index 1` → rc 0; stderr `Warning: act_pedit: Unsupported pedit command offload.` (sent and accepted) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W228** (m_pedit.c:33-41): the usage contradicts the parser: `munge [ex]` (ex goes before munge), retain listed as a CMD, eth missing, icmp listed + - **Trigger and outcome:** + - ng-013: `tc actions add action pedit help` → rc 255; stderr `Usage: ... pedit munge [ex] [CONTROL]`; `Where: MUNGE := |`; `\t:= [ATC]` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W229** (m_pedit.c:141-145,438-440): `Munge parameters not supported` is dead code; `only 'set' command is supported` also covers decrement, while invert, clear and preserve pass without ex + - **Trigger and outcome:** + - ng-014: `tc actions add action pedit munge ip ttl add 1 index 1` → rc 255; stderr `Non extended mode. only 'set' command is supported`; `bad pedit parsing`; `Bad pedit construct (ip)` (tc fails it; no kernel refusal) + - ng-015: `tc actions add action pedit munge ip ttl decrement index 1` → rc 255; stderr `Non extended mode. only 'set' command is supported`; `bad pedit parsing`; `Bad pedit construct (ip)` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W230** (m_pedit.c:59-66,73-114): an unknown kind prints `Unknown action hence option "bar" is unparsable` (two spaces; it names the next word), then bad pedit parsing and `Bad pedit construct (foo)`; at the end of the line, NEXT_ARG + - **Trigger and outcome:** + - ng-016: `tc actions add action pedit munge foo bar index 1` → rc 255; stderr `Unknown action hence option "bar" is unparsable`; `bad pedit parsing`; `Bad pedit construct (foo)` (tc fails it; no kernel refusal) + - ng-017: `tc actions add action pedit munge foo` → rc 255; stderr `Command line is not complete. Try option "help"` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W231** (m_pedit.c:535-538): a kind of 16 or more bytes leaves `k[16]` unterminated and reads past it into the dlopen name; the output is the unknown-kind output, naming the whole word + - **Trigger and outcome:** + - ng-018: `tc actions add action pedit munge abcdefghijklmnopq bar index 1` → rc 255; stderr `Unknown action hence option "bar" is unparsable`; `bad pedit parsing`; `Bad pedit construct (abcdefghijklmnopq)` (tc fails it; no kernel refusal) + - **gotc:** copies (23W): no kind of 16 bytes or more exists, so gotc gives the unknown-kind output tc gives. + - **Status:** confirmed (output deterministic). +- **W232** (ll_addr.c via m_pedit.c:318): eth MACs: exactly six groups; trailing junk after the sixth is accepted; a dotted quad or a short MAC is refused; the colon NULs persist in a batch line (line 2's simple shows `th\0dst\0set\002\000…`) + - **Trigger and outcome:** + - ec-098: `tc actions add action pedit ex munge eth dst set 02:00:00:00:00:01junk index 1` → rc 0; stderr empty (sent and accepted) + - ec-255: `tc -batch b.txt with b.txt: actions add action pedit ex munge eth dst set 02:00:00:00:00:01 index 1 / actions add action simple sdata x` → rc 0; stderr empty (sent and accepted) + - ng-019: `tc actions add action pedit ex munge eth dst set aa index 1` → rc 255; stderr `bad pedit parsing`; `Bad pedit construct (eth)`; `Usage: ... pedit munge [ex] [CONTROL]` (tc fails it; no kernel refusal) + - ng-020: `tc actions add action pedit ex munge eth dst set 1.2.3.4 index 1` → rc 255; stderr `bad pedit parsing`; `Bad pedit construct (eth)`; `Usage: ... pedit munge [ex] [CONTROL]` (tc fails it; no kernel refusal) + - also ng-021, ng-022 + - **gotc:** copies (23W). + - **Status:** confirmed; partly fixed at HEAD (5faf18f672c1). +- **W233** (m_pedit.c:298-301): `ip src` drops a prefix length (`10.0.0.1/8`), takes legacy IPv4 (`010.1` is 8.1.0.0) and any/all/default as 0.0.0.0 + - **Trigger and outcome:** + - ec-099: `tc actions add action pedit munge ip src set 10.0.0.1/8 index 1` → rc 0; stderr `Warning: act_pedit: Unsupported pedit command offload.` (sent and accepted) + - ec-100: `tc actions add action pedit munge ip src set 010.1 index 1` → rc 0; stderr `Warning: act_pedit: Unsupported pedit command offload.` (sent and accepted) + - ec-101: `tc actions add action pedit munge ip dst set any index 1` → rc 0; stderr `Warning: act_pedit: Unsupported pedit command offload.` (sent and accepted) + - **gotc:** copies (23W). + - **Status:** confirmed (request bytes held by the 23W replay). +- **W234** (m_pedit.c:308-311): `ip6 src any` sets :: (bytelen 0, val stays zero); `/64` is dropped + - **Trigger and outcome:** + - ec-102: `tc actions add action pedit ex munge ip6 src set any index 1` → rc 0; stderr empty (sent and accepted) + - ec-103: `tc actions add action pedit ex munge ip6 src set 2001:db8::1/64 index 1` → rc 0; stderr empty (sent and accepted) + - **gotc:** copies (23W). + - **Status:** confirmed (request bytes held by the 23W replay). +- **W235** (m_pedit.c:456): the offset is get_integer, base 0 and signed: `-4` passes the alignment check and is sent as 0xfffffffc; the kernel accepts it + - **Trigger and outcome:** + - ec-104: `tc actions add action pedit munge offset -4 u32 set 1 index 1` → rc 0; stderr `Warning: act_pedit: Unsupported pedit command offload.` (sent and accepted) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W236** (p_ip.c:139-143): `icmp_code` edits the type byte: offset 20, the same as icmp_type + - **Trigger and outcome:** + - ec-105: `tc actions add action pedit munge ip icmp_code set 3 index 1` → rc 0; stderr `Warning: act_pedit: Unsupported pedit command offload.` (sent and accepted) + - **gotc:** copies (23W). + - **Status:** confirmed (request bytes held by the 23W replay). +- **W237** (p_ip.c:51,76): `d` is dsfield and `p` precedence (both offset 1, the tos byte) + - **Trigger and outcome:** + - ec-106: `tc actions add action pedit munge ip d set 1 index 1` → rc 0; stderr `Warning: act_pedit: Unsupported pedit command offload.` (sent and accepted) + - ec-107: `tc actions add action pedit munge ip p set 1 index 1` → rc 0; stderr `Warning: act_pedit: Unsupported pedit command offload.` (sent and accepted) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W238** (p_ip6.c:51): flow_lbl's retain is 0x7ffff (19 bits), so bit 19 of the 20-bit label can't be set + - **Trigger and outcome:** + - ec-108: `tc actions add action pedit ex munge ip6 flow_lbl set 0xfffff index 1` → rc 0; stderr empty (sent and accepted) + - **gotc:** copies (23W). + - **Status:** confirmed (request bytes held by the 23W replay). +- **W239** (p_icmp.c:25): `icmp` always fails (its parser returns -1), though the usage and man page list it + - **Trigger and outcome:** + - ng-023: `tc actions add action pedit munge icmp type set 1 index 1` → rc 255; stderr `bad pedit parsing`; `Bad pedit construct (icmp)`; `Usage: ... pedit munge [ex] [CONTROL]` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W240** (p_ip6/tcp/udp/eth.c:31; p_ip.c:115-119): without `ex`, ip6, tcp, udp and eth fail with only `bad pedit parsing`; with `ex`, `ip sport`, `ip dport` and icmp_* fail the same way + - **Trigger and outcome:** + - ng-024: `tc actions add action pedit munge ip6 src set ::1 index 1` → rc 255; stderr `bad pedit parsing`; `Bad pedit construct (ip6)`; `Usage: ... pedit munge [ex] [CONTROL]` (tc fails it; no kernel refusal) + - ng-025: `tc actions add action pedit munge tcp dport set 80 index 1` → rc 255; stderr `bad pedit parsing`; `Bad pedit construct (tcp)`; `Usage: ... pedit munge [ex] [CONTROL]` (tc fails it; no kernel refusal) + - ng-026: `tc actions add action pedit munge udp sport set 53 index 1` → rc 255; stderr `bad pedit parsing`; `Bad pedit construct (udp)`; `Usage: ... pedit munge [ex] [CONTROL]` (tc fails it; no kernel refusal) + - ng-027: `tc actions add action pedit munge eth type set 0x800 index 1` → rc 255; stderr `bad pedit parsing`; `Bad pedit construct (eth)`; `Usage: ... pedit munge [ex] [CONTROL]` (tc fails it; no kernel refusal) + - also ng-028, ng-029 + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W241** (m_pedit.c:640-646): `ok>1` counts `pedit` words too: `pedit pedit ex munge` prints `'ex' must be before first 'munge'` + - **Trigger and outcome:** + - ng-030: `tc actions add action pedit pedit ex munge ip ttl set 1 index 1` → rc 255; stderr `'ex' must be before first 'munge'`; `Usage: ... pedit munge [ex] [CONTROL]`; `Where: MUNGE := |` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W242** (m_pedit.c:633-681): `pedit pipe` sends nkeys 0 (with ex, an empty KEYS_EX): the kernel refuses a create (`Pedit requires keys to be passed`) but binds an existing index (K86) + - **Trigger and outcome:** + - ec-235: `tc filter add dev d0 egress pref 1 protocol all handle 1 matchall action pedit index 1` → rc 0; stderr empty (sent and accepted) + - ng-031: `tc actions add action pedit pipe index 1` → rc 255; stderr `Error: act_pedit: Pedit requires keys to be passed.`; `We have an error talking to the kernel` (sent; the kernel refuses) + - ng-032: `tc actions add action pedit ex pipe index 1` → rc 255; stderr `Error: act_pedit: Pedit requires keys to be passed.`; `We have an error talking to the kernel` (sent; the kernel refuses) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W243** (m_pedit.c:681-693): index after control: `… set 1 index 5 pipe` leaves `pipe` for m_action.c, which adds a second (gact) action + - **Trigger and outcome:** + - ec-109: `tc actions add action pedit munge ip ttl set 1 index 5 pipe` → rc 0; stderr `Warning: act_pedit: Unsupported pedit command offload.` (sent and accepted) + - **gotc:** copies (23W). + - **Status:** confirmed (request bytes held by the 23W replay). +- **W244** (m_pedit.c:681): `goto chain x` is reported twice (`Illegal "chain index"`), then gact's usage + - **Trigger and outcome:** + - ng-033: `tc actions add action pedit munge ip ttl set 1 goto chain x index 1` → rc 255; stderr `Illegal "chain index"`; `Illegal "chain index"`; `Usage: ... gact [RAND] [INDEX]` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W245** (m_pedit.c:670-672): an unknown word after a key becomes the next action kind: `Bad action type foo` and gact's usage + - **Trigger and outcome:** + - ng-034: `tc actions add action pedit munge ip ttl set 1 foo index 1` → rc 255; stderr `Bad action type foo`; `Usage: ... gact [RAND] [INDEX]`; `Where: \tACTION := reclassify | drop | continue | pass | pipe |` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W246** (m_pedit.c:52,653; NEXT_ARG sites): `help` and every NEXT_ARG site exit(-1); a bare `ip src` returns -1 (argc < 2) + - **Trigger and outcome:** + - ng-035: `tc actions add action pedit munge ip src` → rc 255; stderr `bad pedit parsing`; `Bad pedit construct (ip)`; `Usage: ... pedit munge [ex] [CONTROL]` (tc fails it; no kernel refusal) + - ng-036: `tc actions add action pedit munge ip src set` → rc 255; stderr `Command line is not complete. Try option "help"` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W247** (m_pedit.c:686): index is base 10: `index 0x5` prints `Pedit: Illegal "index"` + - **Trigger and outcome:** + - ng-037: `tc actions add action pedit munge ip ttl set 1 index 0x5` → rc 255; stderr `Pedit: Illegal "index"`; `bad action parsing`; `parse_action: bad value (8:pedit)!` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W248** (m_pedit.c:697-705): addattr results are ignored: three 128-key ex actions pass 16384, `addattr_l ERROR` is printed and the rest is sent; the kernel refuses with `Not enough extended keys to parse` + - **Trigger and outcome:** + - ec-238: `tc filter add dev d0 egress pref 1 protocol all handle 1 matchall action pedit ex munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge of … (6497 bytes)` → rc 0; stderr empty (sent and accepted) + - ng-157: `tc actions add action pedit ex munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge offset 0 u32 set 1 munge off … (9686 bytes)` → rc 255; stderr `addattr_l ERROR: message exceeded bound of 16384`; `Error: act_pedit: Not enough extended keys to parse.`; `We have an error talking to the kernel` (sent; the kernel refuses) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W249** (m_pedit.c:153-165): an ex `add` on ip6 or eth sends independent 32- and 16-bit ADD keys, with no carry between them + - **Trigger and outcome:** + - ec-110: `tc actions add action pedit ex munge ip6 src add ::1 index 1` → rc 0; stderr empty (sent and accepted) + - ec-111: `tc actions add action pedit ex munge eth dst add 00:00:00:00:00:01 index 1` → rc 0; stderr empty (sent and accepted) + - **gotc:** copies (23W). + - **Status:** confirmed (request bytes held by the 23W replay). + +#### tunnel_key: W250–W266 + +- **W250** (m_tunnel_key.c:45,357-370; utils.c:738): `src_ip bogus` is get_addr's `Error: any valid address is expected rather than "bogus".` and exit(1), which also ends a `-force` batch; `Illegal "src_ip"` can't be reached + - **Trigger and outcome:** + - ng-045: `tc actions add action tunnel_key set src_ip bogus dst_ip 10.0.0.2 id 1 index 1` → rc 1; stderr `Error: any valid address is expected rather than "bogus".` (tc fails it; no kernel refusal) + - ng-159: `tc -force -batch b.txt with b.txt: actions add action tunnel_key set src_ip bogus dst_ip 10.0.0.2 id 1 index 1 / actions add action gact pass index 2` → rc 1; stderr `Error: any valid address is expected rather than "bogus".` (ack-then-fail) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W251** (m_tunnel_key.c:49-50; utils.c:578): `src_ip any` (or default) is AF_UNSPEC with bytelen 0: a 0-byte IPV6_SRC, ERANGE with `Failed to parse nested tunnel key attributes` (K81) + - **Trigger and outcome:** + - ng-046: `tc actions add action tunnel_key set src_ip any dst_ip 10.0.0.2 id 1 index 1` → rc 255; stderr `Error: Failed to parse nested tunnel key attributes.`; `We have an error talking to the kernel` (sent; the kernel refuses) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W252** (m_tunnel_key.c:49): a v4 src with a v6 dst is sent; the kernel refuses `Missing either ipv4 or ipv6 src and dst` + - **Trigger and outcome:** + - ng-047: `tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 2001:db8::2 id 1 index 1` → rc 255; stderr `Error: Missing either ipv4 or ipv6 src and dst.`; `We have an error talking to the kernel` (sent; the kernel refuses) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W253** (m_tunnel_key.c:321,459-466): no set or unset word sends t_action 0: `Unknown tunnel key action` + - **Trigger and outcome:** + - ng-048: `tc actions add action tunnel_key src_ip 10.0.0.1 dst_ip 10.0.0.2 id 1 index 1` → rc 255; stderr `Error: Unknown tunnel key action.`; `We have an error talking to the kernel` (sent; the kernel refuses) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W254** (m_tunnel_key.c:327-332): `tunnel_key` alone ends in NEXT_ARG + - **Trigger and outcome:** + - ng-049: `tc actions add action tunnel_key` → rc 255; stderr `Command line is not complete. Try option "help"` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W255** (m_tunnel_key.c:335-431): prefixes: `s` is set, `d` dst_ip, `i` id, `t` tos, `n` nocsum (matches() order); `nofrag` is a strcmp + - **Trigger and outcome:** + - ec-126: `tc actions add action tunnel_key s src_ip 10.0.0.1 d 10.0.0.2 i 7 t 1 n index 1` → rc 0; stderr empty (sent and accepted) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W256** (m_tunnel_key.c:61,73,450): id, dst_port and index are base 10; the port's message is `Illegal "dst port"` (with a space) + - **Trigger and outcome:** + - ng-050: `tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 0x7 index 1` → rc 255; stderr `Illegal "id"`; `bad action parsing`; `parse_action: bad value (10:tunnel_key)!` (tc fails it; no kernel refusal) + - ng-051: `tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 dst_port 0x12b5 index 1` → rc 255; stderr `Illegal "dst port"`; `bad action parsing`; `parse_action: bad value (12:tunnel_key)!` (tc fails it; no kernel refusal) + - ng-052: `tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 index 0x1` → rc 255; stderr `tunnel_key: Illegal "index"`; `bad action parsing`; `parse_action: bad value (10:tunnel_key)!` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W257** (m_tunnel_key.c:303-305): tos and ttl are tried in base 10, then base 16: `tos 1a` is 26, but `ttl 010` is 10 + - **Trigger and outcome:** + - ec-127: `tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 tos 1a ttl 010 index 1` → rc 0; stderr empty (sent and accepted) + - **gotc:** copies (23W). + - **Status:** confirmed (request bytes held by the 23W replay). +- **W258** (m_tunnel_key.c:150-190): geneve's strtok_r merges empty fields, so `0102::01020304` shifts DATA into TYPE and fails; a missing DATA is refused by the kernel (`Missing tunnel key geneve option class, type or data`) + - **Trigger and outcome:** + - ng-053: `tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 geneve_opts 0102::01020304 index 1` → rc 255; stderr `Illegal "geneve_opts"`; `bad action parsing`; `parse_action: bad value (12:tunnel_key)!` (tc fails it; no kernel refusal) + - ng-054: `tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 geneve_opts 0102:80 index 1` → rc 255; stderr `Error: Missing tunnel key geneve option class, type or data.`; `We have an error talking to the kernel` (sent; the kernel refuses) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W259** (m_tunnel_key.c:170-180; utils.c:1216): geneve DATA is len/2 bytes: an odd last nibble is dropped unchecked and 1 char gives 0 bytes; the kernel refuses under 4 bytes (`less than 4 bytes long`, ERANGE) for both + - **Trigger and outcome:** + - ec-128: `tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 geneve_opts 0102:80:00112233 index 1` → rc 0; stderr empty (sent and accepted) + - ng-055: `tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 geneve_opts 0102:80:0 index 1` → rc 255; stderr `Error: Tunnel key geneve option data is less than 4 bytes long.`; `We have an error talking to the kernel` (sent; the kernel refuses) + - ng-056: `tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 geneve_opts 0102:80:0011223 index 1` → rc 255; stderr `Error: Tunnel key geneve option data is less than 4 bytes long.`; `We have an error talking to the kernel` (sent; the kernel refuses) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W260** (m_tunnel_key.c:204-213): `geneve_opts ''` sends an empty ENC_OPTS: `Empty list of tunnel options` + - **Trigger and outcome:** + - ng-058: `tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 geneve_opts '' index 1` → rc 255; stderr `Error: Empty list of tunnel options.`; `We have an error talking to the kernel` (sent; the kernel refuses) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W261** (m_tunnel_key.c:252-289): erspan's fields shift the same way: `2::1:16` is ver 2, index 1, dir 16, no hwid: `Missing tunnel key erspan option dir or hwid` + - **Trigger and outcome:** + - ng-057: `tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 erspan_opts 2::1:16 index 1` → rc 255; stderr `Error: Missing tunnel key erspan option dir or hwid.`; `We have an error talking to the kernel` (sent; the kernel refuses) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W262** (m_tunnel_key.c:391-405): two option kinds send two ENC_OPTS nests; the kernel accepts it and keeps the last + - **Trigger and outcome:** + - ec-129: `tc actions add action tunnel_key set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 7 geneve_opts 0102:80:00880022 vxlan_opts 4660 index 1` → rc 0; stderr empty (sent and accepted) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W263** (m_tunnel_key.c:439): NO_CSUM is always sent, even for unset; unset also sends the addresses, which the kernel accepts + - **Trigger and outcome:** + - ec-130: `tc actions add action tunnel_key unset src_ip 10.0.0.1 dst_ip 10.0.0.2 nocsum index 1` → rc 0; stderr empty (sent and accepted) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W264** (m_tunnel_key.c:444-457): index then control: `unset index 5 pipe` adds a second (gact) action + - **Trigger and outcome:** + - ec-131: `tc actions add action tunnel_key unset index 5 pipe` → rc 0; stderr empty (sent and accepted) + - **gotc:** copies (23W). + - **Status:** confirmed (request bytes held by the 23W replay). +- **W265** (m_tunnel_key.c:150-288): strtok_r writes NULs into argv, which persist in a batch line: line 2's simple shows `e_opts\0` `0102\080\000880022\00103\0` + - **Trigger and outcome:** + - ec-256: `tc -batch b.txt with b.txt: actions add action tunnel_key geneve_opts 0102:80:00880022,0103:81:00a000b0 set src_ip 10.0.0.1 dst_ip 10.0.0.2 id 1 index 1 / actions add action simple sdata x` → rc 0; stderr empty (sent and accepted) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W266** (m_tunnel_key.c:18-31,321-339): the usage omits tos, ttl, index and CONTROL; a second set/unset prints `unexpected "set" - action already specified` + - **Trigger and outcome:** + - ng-059: `tc actions add action tunnel_key set set src_ip 10.0.0.1 dst_ip 10.0.0.2 index 1` → rc 255; stderr `unexpected "set" - action already specified`; `Usage: tunnel_key unset`; ` tunnel_key set ` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. + +#### ife: W267–W275 + +- **W267** (m_ife.c:150-163): `ife index 5` counts as ok and sends flags 0 (decode) with no METALST; accepted while a meta module is loaded, EINVAL with no extack otherwise (K79). *Corrected:* the sweep predicted EINVAL + - **Trigger and outcome:** + - ec-138: `tc actions add action ife index 5` → rc 0; stderr empty (sent and accepted) + - **gotc:** copies (23W). + - **Status:** confirmed, corrected. +- **W268** (m_ife.c:163-166): `ife pipe` prints `IFE requires decode/encode specified`, the usage, exit(-1), which ends a `-force` batch; every invarg exits too + - **Trigger and outcome:** + - ng-066: `tc actions add action ife pipe` → rc 255; stderr `IFE requires decode/encode specified`; `Usage:... ife {decode|encode} [{ALLOW|USE} ATTR] [dst DMAC] [src SMAC] [type TYPE] [CONTROL] [index INDEX]`; `\tALLOW := Encode direction. Allows encoding specified metadata` (tc fails it; no kernel refusal) + - ng-158: `tc -force -batch b.txt with b.txt: actions add action ife pipe / actions add action gact pass index 2` → rc 255; stderr `IFE requires decode/encode specified`; `Usage:... ife {decode|encode} [{ALLOW|USE} ATTR] [dst DMAC] [src SMAC] [type TYPE] [CONTROL] [index INDEX]`; `\tALLOW := Encode direction. Allows encoding specified metadata` (ack-then-fail) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W269** (m_ife.c:73-75): the kind-word loop eats `ife` and `i`; at the end of the line, NEXT_ARG + - **Trigger and outcome:** + - ec-139: `tc actions add action ife ife i decode index 1` → rc 0; stderr empty (sent and accepted) + - ng-067: `tc actions add action ife decode ife` → rc 255; stderr `Command line is not complete. Try option "help"` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W270** (m_ife.c:76-80,119,129): `d` is decode (so dst needs `ds`), `e` encode, `a` allow, `t` type; the last of decode/encode wins + - **Trigger and outcome:** + - ec-140: `tc actions add action ife e a mark ds 02:00:00:00:00:01 t 0x1234 index 1` → rc 0; stderr `dst MAC address <02:00:00:00:00:01>`; `IFE type 0x1234` (sent and accepted) + - ec-141: `tc actions add action ife encode decode index 1` → rc 0; stderr empty (sent and accepted) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W271** (m_ife.c:184-202): `use mark 0` sends nothing for mark; use overrides allow; METALST is always mark, prio, tcindex in that order + - **Trigger and outcome:** + - ec-142: `tc actions add action ife encode use mark 0 index 1` → rc 0; stderr `IFE type 0xED3E` (sent and accepted) + - ec-143: `tc actions add action ife encode use tcindex 1 use mark 2 allow prio index 1` → rc 0; stderr `IFE type 0xED3E` (sent and accepted) + - ec-144: `tc actions add action ife encode allow mark use mark 9 index 1` → rc 0; stderr `IFE type 0xED3E` (sent and accepted) + - **gotc:** copies (23W). + - **Status:** confirmed (request bytes held by the 23W replay). +- **W272** (m_ife.c:97-153): mark, prio, tcindex, type and index are base 0 (`use mark 010` is 8; `index 0x5` is 5) + - **Trigger and outcome:** + - ec-145: `tc actions add action ife encode use mark 010 index 0x5` → rc 0; stderr `IFE type 0xED3E` (sent and accepted) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W273** (m_ife.c:171-172): decode silently drops dst, src, type and allow/use (but still prints `dst MAC address <…>` and `IFE type`) + - **Trigger and outcome:** + - ec-146: `tc actions add action ife decode dst 02:00:00:00:00:01 type 0x1234 allow mark index 1` → rc 0; stderr `dst MAC address <02:00:00:00:00:01>`; `IFE type 0x1234` (sent and accepted) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W274** (m_ife.c:168,177): the nest opens after parsing; TYPE is a host-order u16 (0xED3E is sent 3e ed); encode always sends METALST + - **Trigger and outcome:** + - ec-132: `tc actions add action ife encode type 0xED3E dst 02:00:00:00:00:01 src 02:00:00:00:00:02 use mark 7 index 1` → rc 0; stderr `IFE type 0xED3E`; `dst MAC address <02:00:00:00:00:01>`; `src MAC address <02:00:00:00:00:02>` (sent and accepted) + - **gotc:** copies (23W). + - **Status:** confirmed (request bytes held by the 23W replay). +- **W275** (m_ife.c:53): tc_ife's 2 bytes of tail padding are zeroed by `= { 0 }`; gotc pins zeros + - **Trigger and outcome:** + - ec-133: `tc actions add action ife encode allow mark allow prio allow tcindex index 1` → rc 0; stderr `IFE type 0xED3E` (sent and accepted) + - **gotc:** copies (23W). + - **Status:** confirmed (request bytes held by the 23W replay). + +#### ct: W276–W292 + +- **W276** (m_ct.c:274): `ct commit nat src addr 1.1.1.1` as the last words ends in NEXT_ARG: something must follow the range + - **Trigger and outcome:** + - ng-077: `tc actions add action ct commit nat src addr 1.1.1.1` → rc 255; stderr `Command line is not complete. Try option "help"` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W277** (m_ct.c:255): `ct nat` as the last word ends in NEXT_ARG, though the usage shows `[nat]` + - **Trigger and outcome:** + - ng-078: `tc actions add action ct nat` → rc 255; stderr `Command line is not complete. Try option "help"` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W278** (m_ct.c:263-265): `nat src foo` prints the usage and exits + - **Trigger and outcome:** + - ng-079: `tc actions add action ct commit nat src foo index 1` → rc 255; stderr `Usage: ct clear`; `\tct commit [force] [zone ZONE] [mark MASKED_MARK] [label MASKED_LABEL] [nat NAT_SPEC] [helper HELPER]`; `\tct [nat] [zone ZONE]` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W279** (m_ct.c:50,58): a bad nat address is get_addr's message and exit(1); the second address takes the first's family (`inet address is expected rather than "2001:db8::1"`); `Illegal nat address range` can't be reached + - **Trigger and outcome:** + - ng-080: `tc actions add action ct commit nat src addr bogus index 1` → rc 1; stderr `Error: any valid address is expected rather than "bogus".` (tc fails it; no kernel refusal) + - ng-081: `tc actions add action ct commit nat src addr 10.0.0.1-2001:db8::1 index 1` → rc 1; stderr `Error: inet address is expected rather than "2001:db8::1".` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W280** (m_ct.c:37-76): SPRINT_BUF(64) with strncpy 63: a 63-byte range is left unterminated and parsed past buffer[63]. On the workbench the next stack byte was NUL in every run, so the full range was sent; gotc refuses it by name + - **Trigger and outcome:** + - ec-167: `tc actions add action ct commit nat src addr 2001:0db8:0000:0000:0000:0000:0000:0001-2001:0db8:0000:0000::9 index 1` → rc 0; stderr empty (sent and accepted) + - ec-168: `tc actions add action ct commit nat src addr 2001:0db8:0000:0000:0000:0000:0000:0001-2001:0db8:0000:0000::09 index 1` → rc 0; stderr empty (sent and accepted) + - **gotc:** refuses by name (23W): `ct nat argument of N bytes: tc reads past its unterminated 63-byte copy (W280)`. + - **Status:** confirmed (stack byte NUL in 3 runs). +- **W281** (m_ct.c:53-64): `addr any` sends a 0-byte IPV6_MIN/MAX: ERANGE `binary attribute size out of range` (K82); with no second address, MAX repeats MIN + - **Trigger and outcome:** + - ec-169: `tc actions add action ct commit nat src addr 10.0.0.1 index 1` → rc 0; stderr empty (sent and accepted) + - ng-082: `tc actions add action ct commit nat src addr any index 1` → rc 255; stderr `Error: binary attribute size out of range.`; `We have an error talking to the kernel` (sent; the kernel refuses) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W282** (m_ct.c:85-95): ports are base 10; `80-` prints `ct: Illegal nat port range`; min ≤ max is unchecked (2000-1000 is accepted) + - **Trigger and outcome:** + - ec-170: `tc actions add action ct commit nat src addr 10.0.0.1 port 2000-1000 index 1` → rc 0; stderr empty (sent and accepted) + - ng-083: `tc actions add action ct commit nat src addr 10.0.0.1 port 80- index 1` → rc 255; stderr `ct: Illegal nat port range`; `bad action parsing`; `parse_action: bad value (10:ct)!` (tc fails it; no kernel refusal) + - ng-084: `tc actions add action ct commit nat src addr 10.0.0.1 port 0x50 index 1` → rc 255; stderr `ct: Illegal nat port range`; `bad action parsing`; `parse_action: bad value (10:ct)!` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W283** (m_ct.c:167-183): helper `%[^-]` keeps 3 fields: `ipv4-udp-netbios-ns` sends `netbios`, which the kernel can't find (`act_ct: Failed to add helper`); a 22-byte name passes tc's 32 and fails the kernel's 16 (ERANGE, K83) + - **Trigger and outcome:** + - ng-085: `tc actions add action ct commit helper ipv4-udp-netbios-ns index 1` → rc 255; stderr `Error: act_ct: Failed to add helper.`; `We have an error talking to the kernel` (sent; the kernel refuses) + - ng-086: `tc actions add action ct commit helper ipv4-tcp-abcdefghijklmnopqrstuv index 1` → rc 255; stderr `Error: Attribute failed policy validation.`; `We have an error talking to the kernel` (sent; the kernel refuses) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W284** (m_ct.c:177; inet_proto.c:42): proto is base 10, then getprotobyname: `6` works, `0x6` is `ct: Illegal "helper"` + - **Trigger and outcome:** + - ec-171: `tc actions add action ct commit helper ipv4-6-ftp index 1` → rc 0; stderr `Warning: act_api: Failed to setup tc actions for offload.` (sent and accepted) + - ng-087: `tc actions add action ct commit helper ipv4-0x6-ftp index 1` → rc 255; stderr `ct: Illegal "helper"`; `bad action parsing`; `parse_action: bad value (6:ct)!` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W285** (m_ct.c:201-212): the too-long message names the label even when the mask is too long (`argument "01" is wrong: 2 Max allowed size 32`) + - **Trigger and outcome:** + - ec-166: `tc actions add action ct commit label 0123456789abcdef0123456789abcdef index 1` → rc 0; stderr empty (sent and accepted) + - ng-088: `tc actions add action ct commit label 0123456789abcdef0123456789abcdef01 index 1` → rc 255; stderr `Error: argument "0123456789abcdef0123456789abcdef01" is wrong: 34 Max allowed size 32` (tc fails it; no kernel refusal) + - ng-089: `tc actions add action ct commit label 01/0123456789abcdef0123456789abcdef01 index 1` → rc 255; stderr `Error: argument "01" is wrong: 2 Max allowed size 32` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W286** (m_ct.c:211-217): the hex invarg messages embed `\n`, so they end with a blank line + - **Trigger and outcome:** + - ng-090: `tc actions add action ct commit label zz index 1` → rc 255; stderr `Error: argument "zz" is wrong: ct: labels must be a hex string` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W287** (m_ct.c:211-222): odd lengths aren't refused: `00g` sends 1 byte, `0` sends 0 bytes, and the default mask is 16 bytes of 0xff + - **Trigger and outcome:** + - ec-172: `tc actions add action ct commit label 00g index 1` → rc 0; stderr empty (sent and accepted) + - ec-173: `tc actions add action ct commit label 0 index 1` → rc 0; stderr empty (sent and accepted) + - **gotc:** copies (23W). + - **Status:** confirmed (request bytes held by the 23W replay). +- **W288** (m_ct.c:290-295,353): index is parsed only inside the loop: in `ct commit pipe index 5` the word `index` becomes a second action kind, sent, and refused `Failed to load TC action module` (ENOENT). *Corrected:* the sweep said tc refuses it + - **Trigger and outcome:** + - ng-091: `tc actions add action ct commit pipe index 5` → rc 255; stderr `Error: Failed to load TC action module.`; `We have an error talking to the kernel` (sent; the kernel refuses) + - **gotc:** copies (23W). + - **Status:** confirmed, corrected. +- **W289** (m_ct.c:328-332): `ct clear zone 5 mark 1` is sent and accepted (clear returns early); `force` without commit passes + - **Trigger and outcome:** + - ec-174: `tc actions add action ct clear zone 5 mark 1 index 1` → rc 0; stderr empty (sent and accepted) + - ec-175: `tc actions add action ct force index 1` → rc 0; stderr empty (sent and accepted) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W290** (m_ct.c:107-111): zone's slash split is dead (mask_type UNSPEC): `zone 5/1` is `ct: Illegal "zone"`; zone and mark are base 0 + - **Trigger and outcome:** + - ec-176: `tc actions add action ct zone 010 index 1` → rc 0; stderr empty (sent and accepted) + - ng-092: `tc actions add action ct zone 5/1 index 1` → rc 255; stderr `ct: Illegal "zone"`; `bad action parsing`; `parse_action: bad value (5:ct)!` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W291** (m_ct.c:138,196): the NULs written at `/` for mark and label persist in a batch line: line 2's simple shows `x1\00xff\0label\001\0ff` + - **Trigger and outcome:** + - ec-257: `tc -batch b.txt with b.txt: actions add action ct commit mark 0x1/0xff label 01/ff index 1 / actions add action simple sdata x` → rc 0; stderr empty (sent and accepted) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W292** (m_ct.c:240-321): prefixes: `c` is clear, `co` commit, `z` zone, `m` mark, `h`/`hel` help (exits) + - **Trigger and outcome:** + - ec-177: `tc actions add action ct co z 5 m 1 index 1` → rc 0; stderr empty (sent and accepted) + - ec-178: `tc actions add action ct c index 1` → rc 0; stderr empty (sent and accepted) + - ng-093: `tc actions add action ct h` → rc 255; stderr `Usage: ct clear`; `\tct commit [force] [zone ZONE] [mark MASKED_MARK] [label MASKED_LABEL] [nat NAT_SPEC] [helper HELPER]`; `\tct [nat] [zone ZONE]` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. + +#### gate: W293–W306 + +- **W293** (m_gate.c:110): each entry nest is bounded by 1024 against the whole message: the 31st open entry gets `addattr_l ERROR: … bound of 1024`, its header is dropped and addattr_nest_end rewrites the first child's length to cover the entry; the kernel warns `Attribute isn't type 'entry'`, skips it and returns 0 with a shorter schedule (K80) + - **Trigger and outcome:** + - ec-196: `tc actions add action gate sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open … (874 bytes)` → rc 0; stderr empty (sent and accepted) + - ec-197: `tc actions add action gate sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open … (902 bytes)` → rc 0; stderr `addattr_l ERROR: message exceeded bound of 1024`; `Warning: Attribute isn't type 'entry'.` (sent and accepted) + - ec-198: `tc actions add action gate sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open 1000 -1 -1 sched-entry open … (1154 bytes)` → rc 0; stderr `addattr_l ERROR: message exceeded bound of 1024`; `addattr_l ERROR: message exceeded bound of 1024`; `addattr_l ERROR: message exceeded bound of 1024` (sent and accepted) + - ec-199: `tc actions add action gate sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched-entry close 1000 sched- … (862 bytes)` → rc 0; stderr `addattr_l ERROR: message exceeded bound of 1024`; `addattr_l ERROR: message exceeded bound of 1024`; `Warning: Attribute isn't type 'entry'.` (sent and accepted) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W294** (m_gate.c:280-290; utils_math.c:145-160): a numeric ipv followed by a word that isn't a size reads get_size's uninitialised sz64 into maxoctets_uint. The value is a stack fragment that changes per run: three runs of `sched-entry open 1ms 1 index 1` sent maxoctets 0x33874a91, 0x4c352a91 and 0x7fec5a91 (low byte fixed, as of an address), and `… 1 sched-entry close 1ms` was twice refused as `"maxoctets" is too large`, once sent as 0x365b8a7b. It sends an ASLR-derived value to the kernel, readable back with `tc actions ls`. No corpus row (not reproducible); gotc refuses it by name + - **Trigger and outcome:** no corpus row. In 23C's trial runs `tc actions add action gate sched-entry open 1ms 1 index 1` sent the maxoctets values above with rc 0, and `… 1 sched-entry close 1ms` was refused twice and sent once; gotc's refusal is pinned by TestGotcGateWrite. + - **gotc:** refuses by name (23W, unit test): `gate maxoctets "X": get_size stores an uninitialised value (W294)`. + - **Status:** confirmed (trial batches; not in the corpus). +- **W295** (m_gate.c:280-290): a fractional or suffixed maxoctets goes through get_size: `1.5` is 1 and `0kb` leaves -1. *Corrected:* the sweep said `1.5` is passed on as a kind; it is consumed, because get_size stored 1 and floor(1.5) is 1. The partial value is kept and the word read again only past 32 bits: `5G` stores the low 32 bits of 5 GiB (1 GiB) and then `Bad action type 5G` (23W unit test, TestGotcGateWrite) + - **Trigger and outcome:** + - ec-200: `tc actions add action gate sched-entry open 1ms 1 1.5 index 1` → rc 0; stderr empty (sent and accepted) + - ec-201: `tc actions add action gate sched-entry open 1ms 1 0kb index 1` → rc 0; stderr empty (sent and accepted) + - ng-103: `tc actions add action gate sched-entry open 1ms 1 2147483648 index 1` → rc 255; stderr `"maxoctets" is too large`; `bad action parsing`; `parse_action: bad value (8:gate)!` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed, corrected. +- **W296** (m_gate.c:169-280): bases: interval and the times try base 0/10 then strtod (`0x10` is 16 ns via strtod's hex); priority, flags, ipv and maxoctets are base 0; index is base 10 (`argument "0x1" is wrong: index`) + - **Trigger and outcome:** + - ec-202: `tc actions add action gate priority 0x2 sched-entry open 0x10 0x3 0x10 index 1` → rc 0; stderr empty (sent and accepted) + - ec-203: `tc actions add action gate base-time 0x10 cycle-time 1.5 sched-entry open 1000000 -1 -1 index 1` → rc 0; stderr empty (sent and accepted) + - ng-104: `tc actions add action gate sched-entry open 1000000 -1 -1 index 0x1` → rc 255; stderr `Error: argument "0x1" is wrong: index` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W297** (utils.c:1695-1730): strtod times: inf, nan and 1e30 reach `*time = nsec`, a UB cast, and are sent (x86 gives 2^63) and accepted; fractions truncate (`1.9ns` is 1); interval 0.5 is 0, refused `Invalid interval for schedule entry`. gotc refuses the UB casts by name + - **Trigger and outcome:** + - ec-204: `tc actions add action gate base-time inf sched-entry open 1000000 -1 -1 index 1` → rc 0; stderr empty (sent and accepted) + - ec-205: `tc actions add action gate base-time nan sched-entry open 1000000 -1 -1 index 1` → rc 0; stderr empty (sent and accepted) + - ec-206: `tc actions add action gate cycle-time 1e30 sched-entry open 1000000 -1 -1 index 1` → rc 0; stderr empty (sent and accepted) + - ec-207: `tc actions add action gate base-time 1.9ns sched-entry open 1000000 -1 -1 index 1` → rc 0; stderr empty (sent and accepted) + - also ng-105 + - **gotc:** refuses by name (23W): `gate time "X": tc casts V to __s64, undefined behavior (W297)`. + - **Status:** confirmed. +- **W298** (m_gate.c:181-197): `base-time -1` is get_s64 and sent as u64 max; `-1ms` fails get_time64 (negative) and invarg exits + - **Trigger and outcome:** + - ec-208: `tc actions add action gate base-time -1 sched-entry open 1000000 -1 -1 index 1` → rc 0; stderr empty (sent and accepted) + - ng-106: `tc actions add action gate base-time -1ms sched-entry open 1000000 -1 -1 index 1` → rc 255; stderr `Error: argument "-1ms" is wrong: base-time` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W299** (m_gate.c:327-347): 0 means unset: priority -1 and zero flags, base-time and cycle-time aren't sent, so a replace can't reset them + - **Trigger and outcome:** + - ec-209: `tc actions add action gate priority -1 flags 0 base-time 0 cycle-time 0 sched-entry open 1000000 -1 -1 index 1` → rc 0; stderr empty (sent and accepted) + - **gotc:** copies (23W). + - **Status:** confirmed (request bytes held by the 23W replay). +- **W300** (m_gate.c:41-57,161,230-255): a bad state, a missing interval or a bad interval prints the entry usage and `"sched-entry" is incomplete`; `pas` typo in the usage; `index` missing from the usage + - **Trigger and outcome:** + - ng-107: `tc actions add action gate sched-entry opn 1ms index 1` → rc 255; stderr `Usage: sched-entry [ ]`; `"sched-entry" is incomplete`; `bad action parsing` (tc fails it; no kernel refusal) + - ng-108: `tc actions add action gate sched-entry` → rc 255; stderr `Usage: sched-entry [ ]`; `"sched-entry" is incomplete`; `bad action parsing` (tc fails it; no kernel refusal) + - ng-109: `tc actions add action gate sched-entry open` → rc 255; stderr `Usage: sched-entry [ ]`; `"sched-entry" is incomplete`; `bad action parsing` (tc fails it; no kernel refusal) + - ng-110: `tc actions add action gate sched-entry open zz index 1` → rc 255; stderr `Usage: sched-entry [ ]`; `"sched-entry" is incomplete`; `bad action parsing` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W301** (m_gate.c:51,365): invarg and `help` exit(-1); sched-entry errors return -1 + - **Trigger and outcome:** + - ng-111: `tc actions add action gate help` → rc 255; stderr `Usage: gate [ priority PRIO-SPEC ] [ base-time BASE-TIME ]`; ` [ cycle-time CYCLE-TIME ]`; ` [ cycle-time-ext CYCLE-TIME-EXT ]` (tc fails it; no kernel refusal) + - ng-112: `tc actions add action gate priority zz sched-entry open 1ms index 1` → rc 255; stderr `Error: argument "zz" is wrong: priority` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W302** (m_gate.c:167-212): `c` is cycle-time, `p` priority, `h` help (exits) + - **Trigger and outcome:** + - ec-210: `tc actions add action gate p 2 c 2000000 sched-entry open 1000000 -1 -1 index 1` → rc 0; stderr empty (sent and accepted) + - ng-113: `tc actions add action gate h` → rc 255; stderr `Usage: gate [ priority PRIO-SPEC ] [ base-time BASE-TIME ]`; ` [ cycle-time CYCLE-TIME ]`; ` [ cycle-time-ext CYCLE-TIME-EXT ]` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W303** (m_gate.c:308-317): a control word ends the options: in `… pipe index 5` the word `index` becomes a second action kind, refused `Failed to load TC action module`; a bad `goto chain` is reported twice. *Corrected:* the sweep said tc refuses it + - **Trigger and outcome:** + - ng-114: `tc actions add action gate sched-entry open 1000000 -1 -1 pipe index 5` → rc 255; stderr `Error: Failed to load TC action module.`; `We have an error talking to the kernel` (sent; the kernel refuses) + - ng-115: `tc actions add action gate sched-entry open 1000000 -1 -1 goto chain x` → rc 255; stderr `Illegal "chain index"`; `Illegal "chain index"`; `Usage: ... gact [RAND] [INDEX]` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed, corrected. +- **W304** (m_gate.c:272,292): a closed entry's ipv and maxoctets are forced to -1 silently + - **Trigger and outcome:** + - ec-211: `tc actions add action gate sched-entry close 1000000 3 8000 index 1` → rc 0; stderr empty (sent and accepted) + - **gotc:** copies (23W). + - **Status:** confirmed (request bytes held by the 23W replay). +- **W305** (m_gate.c:319,349): `gate index 5` sends an empty ENTRY_LIST: `The entry list is empty` on create, accepted on bind + - **Trigger and outcome:** + - ec-236: `tc filter add dev d0 egress pref 1 protocol all handle 1 matchall action gate index 1` → rc 0; stderr empty (sent and accepted) + - ng-116: `tc actions add action gate index 5` → rc 255; stderr `Error: The entry list is empty.`; `We have an error talking to the kernel` (sent; the kernel refuses) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W306** (m_gate.c loop): no check of the entry count, cycle-time against the intervals, or repeats: `cycle-time 1000` with two 1 ms entries is accepted + - **Trigger and outcome:** + - ec-212: `tc actions add action gate cycle-time 1000 sched-entry open 1000000 -1 -1 sched-entry open 1000000 -1 -1 index 1` → rc 0; stderr empty (sent and accepted) + - **gotc:** copies (23W). + - **Status:** confirmed. + +#### bpf action and filter: W307–W320 + +- **W307** (m_bpf.c:56; f_bpf.c:58): the 16384 bound: 2038 instructions fit; from 2039 PARMS no longer fits and from 2042 OPS no longer fits, each with `addattr_l ERROR` and EINVAL with no extack (K84); past 4096 is refused with no message. *Corrected:* the sweep put the edge at 2040/2041 + - **Trigger and outcome:** + - ec-222: `tc actions add action bpf bytecode-file bpf.txt index 1` → rc 0; stderr empty (sent and accepted) + - ng-120: `tc actions add action bpf bytecode-file bpf.txt index 1` → rc 255; stderr `addattr_l ERROR: message exceeded bound of 16384`; `RTNETLINK answers: Invalid argument`; `We have an error talking to the kernel` (sent; the kernel refuses) + - ng-121: `tc actions add action bpf bytecode-file bpf.txt index 1` → rc 255; stderr `addattr_l ERROR: message exceeded bound of 16384`; `RTNETLINK answers: Invalid argument`; `We have an error talking to the kernel` (sent; the kernel refuses) + - ng-122: `tc actions add action bpf bytecode-file bpf.txt index 1` → rc 255; stderr `addattr_l ERROR: message exceeded bound of 16384`; `RTNETLINK answers: Invalid argument`; `We have an error talking to the kernel` (sent; the kernel refuses) + - also ng-123 + - **gotc:** copies (23W). + - **Status:** confirmed, corrected. +- **W308** (bpf_legacy.c:284-310): the header is `%hu%c`: `65537,` wraps to 1; `4 ,` and `0,` fail with no message of their own + - **Trigger and outcome:** + - ec-223: `tc actions add action bpf bytecode '65537,6 0 0 0' index 1` → rc 0; stderr empty (sent and accepted) + - ng-124: `tc actions add action bpf bytecode '4 ,6 0 0 0' index 1` → rc 255; stderr `bad action parsing`; `parse_action: bad value (5:bpf)!`; `Illegal "action"` (tc fails it; no kernel refusal) + - ng-125: `tc actions add action bpf bytecode '0,6 0 0 0' index 1` → rc 255; stderr `bad action parsing`; `parse_action: bad value (5:bpf)!`; `Illegal "action"` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W309** (bpf_legacy.c:320-322): instruction fields are scanf'd: `0xffff` reads k 0 (text after k is ignored), code 65542 wraps to 6 and jt 256 to 0; a hex code is `Error at instruction 0!` + - **Trigger and outcome:** + - ec-224: `tc actions add action bpf bytecode '1,6 0 0 0xffff' index 1` → rc 0; stderr empty (sent and accepted) + - ec-225: `tc actions add action bpf bytecode '1,65542 256 0 4294967296' index 1` → rc 0; stderr empty (sent and accepted) + - ng-126: `tc actions add action bpf bytecode '1,0x6 0 0 0' index 1` → rc 255; stderr `Error at instruction 0!`; `bad action parsing`; `parse_action: bad value (5:bpf)!` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W310** (bpf_legacy.c:313-335): a trailing `, ` is `Real program length exceeds encoded length parameter!`; too few instructions is `Parsed program length is less than encoded length parameter!`; a trailing `,` alone is accepted + - **Trigger and outcome:** + - ng-127: `tc actions add action bpf bytecode '1,6 0 0 0, ' index 1` → rc 255; stderr `Real program length exceeds encoded length parameter!`; `bad action parsing`; `parse_action: bad value (5:bpf)!` (tc fails it; no kernel refusal) + - ng-128: `tc actions add action bpf bytecode '2,6 0 0 0' index 1` → rc 255; stderr `Parsed program length is less than encoded length parameter!`; `bad action parsing`; `parse_action: bad value (5:bpf)!` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W311** (bpf_legacy.c:229-278): bytecode-file: newlines become `,`, runs of blanks one blank; a leading blank line, CRLF or a directory fail with no message; a missing file is `Cannot fopen: No such file or directory`; `-` is a file name, not stdin + - **Trigger and outcome:** + - ec-221: `tc actions add action bpf bytecode-file - index 1` → rc 0; stderr empty (sent and accepted) + - ng-129: `tc actions add action bpf bytecode-file bpf.txt index 1` → rc 255; stderr `bad action parsing`; `parse_action: bad value (5:bpf)!`; `Illegal "action"` (tc fails it; no kernel refusal) + - ng-130: `tc actions add action bpf bytecode-file bpf.txt index 1` → rc 255; stderr `bad action parsing`; `parse_action: bad value (5:bpf)!`; `Illegal "action"` (tc fails it; no kernel refusal) + - ng-131: `tc actions add action bpf bytecode-file . index 1` → rc 255; stderr `bad action parsing`; `parse_action: bad value (5:bpf)!`; `Illegal "action"` (tc fails it; no kernel refusal) + - also ng-132 + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W312** (m_bpf.c:93-140): `index` ends the loop: `bpf index 5` sends PARMS only (EINVAL with no extack on create, a bind works); a second program word is the next kind (`Bad action type bytecode`); `bpf drop` is `What mode is "drop"?` + - **Trigger and outcome:** + - ec-237: `tc filter add dev d0 egress pref 1 protocol all handle 1 matchall action bpf index 1` → rc 0; stderr empty (sent and accepted) + - ng-133: `tc actions add action bpf bytecode '1,6 0 0 0' bytecode '1,6 0 0 1' index 1` → rc 255; stderr `Bad action type bytecode`; `Usage: ... gact [RAND] [INDEX]`; `Where: \tACTION := reclassify | drop | continue | pass | pipe |` (tc fails it; no kernel refusal) + - ng-134: `tc actions add action bpf drop` → rc 255; stderr `What mode is "drop"?`; `bad action parsing`; `parse_action: bad value (2:bpf)!` (tc fails it; no kernel refusal) + - ng-135: `tc actions add action bpf index 5` → rc 255; stderr `RTNETLINK answers: Invalid argument`; `We have an error talking to the kernel` (sent; the kernel refuses) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W313** (m_bpf.c:89,113-135): bare `bpf` ends in NEXT_ARG; `help` prints the usage and returns -1 (bad action parsing); a bad index is `bpf: Illegal "index"` + - **Trigger and outcome:** + - ng-136: `tc actions add action bpf` → rc 255; stderr `Command line is not complete. Try option "help"` (tc fails it; no kernel refusal) + - ng-137: `tc actions add action bpf help` → rc 255; stderr `Usage: ... bpf ... [ index INDEX ]`; `BPF use case:`; ` bytecode BPF_BYTECODE` (tc fails it; no kernel refusal) + - ng-138: `tc actions add action bpf bytecode '1,6 0 0 0' index zz` → rc 255; stderr `bpf: Illegal "index"`; `bad action parsing`; `parse_action: bad value (5:bpf)!` (tc fails it; no kernel refusal) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W314** (bpf_legacy.c:838-858): mode prefixes: `b` is bytecode; `o` object-file (an ELF load: `Error opening object nosuch.o`), `p` pinned and `f` fd (both bpf(2): `Couldn't retrieve pinned program`) + - **Trigger and outcome:** + - ec-226: `tc actions add action bpf b '1,6 0 0 0' index 1` → rc 0; stderr empty (sent and accepted) + - ng-139: `tc actions add action bpf o nosuch.o index 1` → rc 255; stderr `Error opening object nosuch.o: No such file or directory`; `Cannot initialize ELF context!`; `bad action parsing` (tc fails it; no kernel refusal) + - ng-140: `tc actions add action bpf p /sys/fs/bpf/nosuch index 1` → rc 255; stderr `Couldn't retrieve pinned program '/sys/fs/bpf/nosuch': No such file or directory`; `bad action parsing`; `parse_action: bad value (5:bpf)!` (tc fails it; no kernel refusal) + - ng-141: `tc actions add action bpf f 3 index 1` → rc 255; stderr `Couldn't retrieve pinned program '3': No such file or directory`; `bad action parsing`; `parse_action: bad value (5:bpf)!` (tc fails it; no kernel refusal) + - **gotc:** copies (23W); the eBPF modes are refused by name, `eBPF program via bpf(2)`. + - **Status:** confirmed. +- **W315** (f_bpf.c:81,172): options with no program word leave cfg.mode 0 (CBPF_BYTECODE), so OPS_LEN 0 and an empty OPS are sent: EINVAL with no extack + - **Trigger and outcome:** + - ng-145: `tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf classid 1:1` → rc 2; stderr `RTNETLINK answers: Invalid argument`; `We have an error talking to the kernel` (sent; the kernel refuses) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W316** (f_bpf.c:94-95): `… bpf` with no words sends no OPTIONS: EINVAL with no extack + - **Trigger and outcome:** + - ng-146: `tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf` → rc 2; stderr `RTNETLINK answers: Invalid argument`; `We have an error talking to the kernel` (sent; the kernel refuses) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W317** (f_bpf.c:132-180): CLASSID, ACT and POLICE go out in command order, then OPS_LEN, OPS, FLAGS_GEN, FLAGS; a repeated classid is sent twice and the kernel keeps the last + - **Trigger and outcome:** + - ec-253: `tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf classid 1:1 bytecode '1,6 0 0 0' classid 1:2 da action gact pass` → rc 0; stderr empty (sent and accepted) + - **gotc:** copies (23W). + - **Status:** confirmed (request bytes held by the 23W replay). +- **W318** (f_bpf.c:101-158): `s` is skip_hw, `f` flowid (not fd as in the action's mode words) + - **Trigger and outcome:** + - ec-254: `tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 0' s f 1:1` → rc 0; stderr empty (sent and accepted) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W319** (f_bpf.c:112-164): `What is "bogus"?` and the usage, rc 1; flowid's error says `Illegal "classid"`; a parse failure adds `Unable to parse bpf command line` + - **Trigger and outcome:** + - ng-147: `tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 0' bogus` → rc 1; stderr `What is "bogus"?`; `Usage: ... bpf ...`; `BPF use case:` (ack-then-fail) + - ng-148: `tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 0' flowid zz` → rc 1; stderr `Illegal "classid"` (ack-then-fail) + - ng-149: `tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0'` → rc 1; stderr `Error at instruction 0!`; `Unable to parse bpf command line` (ack-then-fail) + - **gotc:** copies (23W). + - **Status:** confirmed. +- **W320** (f_bpf.c:136-140): `skip_hw skip_sw` is EINVAL with no extack; skip_sw on a dummy is EOPNOTSUPP with no extack (K85) + - **Trigger and outcome:** + - ng-150: `tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 0' skip_hw skip_sw` → rc 2; stderr `RTNETLINK answers: Invalid argument`; `We have an error talking to the kernel` (sent; the kernel refuses) + - ng-151: `tc filter add dev d0 ingress pref 1 protocol ip handle 1 bpf bytecode '1,6 0 0 0' skip_sw` → rc 2; stderr `RTNETLINK answers: Operation not supported`; `We have an error talking to the kernel` (sent; the kernel refuses) + - **gotc:** copies (23W). + - **Status:** confirmed. + ### K77–K89. Kernel notes Each note is cited to linux v7.4-rc4 and observed on 7.3.1. diff --git a/docs/netlink/upstream/iproute2-tc-action.md b/docs/netlink/upstream/iproute2-tc-action.md index df7954b52..ba23229de 100644 --- a/docs/netlink/upstream/iproute2-tc-action.md +++ b/docs/netlink/upstream/iproute2-tc-action.md @@ -1,10 +1,12 @@ # iproute2 `tc actions` and action printers: totals that aren't totals, JSON that drops or doubles keys, spacing by kind, and reads tc never checked -**Status (2026-11-24, increment 12; extended 2026-11-25, increment 13; extended 2026-11-30, increment 22):** +**Status (2026-11-24, increment 12; extended 2026-11-25, increment 13; extended 2026-11-30, increments 22 and 23):** - **The write side** of these twelve kinds and m_action.c is [iproute2-tc-action-write.md](iproute2-tc-action-write.md) (W156–W215, K63–K76). Increment 22 extends AC6, AC7, AC33, AC34 (a correction) and AC70 and K8 below, each marked "Extended in increment 22". + Increment 23 (W216–W320, the same file's "Increment 23" part) extends AC38 and AC70, each marked "Extended in + increment 23". - **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. - **Source:** @@ -212,6 +214,7 @@ actions (K8) and exits 0. - **gotc:** it refuses a get whose request would pass `MAX_MSG`, naming its length, rather than send a truncated request. + - **Extended in increment 23:** the write side ignores addattr's result the same way: pedit's 16 KiB echo (W248, tcact2write ng-157), gate's 1024 entry nest (W293) and bpf past 16384 (W307). See [increment 23](iproute2-tc-action-write.md#increment-23-pedit-tunnel_key-ife-ct-gate-bpf-and-the-bpf-filter-w216w320-k77k89). ## AC4, AC5, AC11. The writes' messages @@ -353,6 +356,7 @@ no NUL, a skbmod MAC of length 0 or over 21, and a tab of more than 1024 orders. [iproute2-tc-action-write.md](iproute2-tc-action-write.md)): every `set` writes `dst MAC address <…>`, `src MAC address <…>` or `skbmod etype 0x…` to stderr (tcactwrite/ec-202–ec-204, ng-062). gotc copies skbmod's lines (22W); ife stays refused until increment 23. + - **Extended in increment 23:** ife's decode prints the same stderr lines for dst, type and allow, though it drops them (W273, tcact2write ec-146). See [increment 23](iproute2-tc-action-write.md#increment-23-pedit-tunnel_key-ife-ct-gate-bpf-and-the-bpf-filter-w216w320-k77k89). ## AC54–AC58. ct diff --git a/docs/netlink/upstream/iproute2-tc-filter-write.md b/docs/netlink/upstream/iproute2-tc-filter-write.md index 4559c5c1a..54cbb5a98 100644 --- a/docs/netlink/upstream/iproute2-tc-filter-write.md +++ b/docs/netlink/upstream/iproute2-tc-filter-write.md @@ -1,9 +1,11 @@ # iproute2 tc filter writes: narrowed selectors, a renamed check, sticky cookies and a realm cache that answers with the wrong number -**Status (2026-11-29, increment 20; extended 2026-11-30, increment 22):** +**Status (2026-11-29, increment 20; extended 2026-11-30, increments 22 and 23):** - **Increment 22** extends W65, W68, W74, W75, W85, W113, W114, W117 and W121 below, each marked "Extended in increment 22", from the action write-up [iproute2-tc-action-write.md](iproute2-tc-action-write.md). +- **Increment 23** extends W70, W95, W97, W114 and W117, each marked "Extended in increment 23", from the same file's + "Increment 23" part (W216–W320). - **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:** the write path of `tc filter` and `tc chain` (`tc/tc_filter.c` tc_filter_modify, which `chain add` and @@ -140,6 +142,7 @@ reports only `Cannot find device "nosuch"`, rc 1 (ng-005), and the parser's error is never seen. Exit codes by path: a missing device and every parse_fopt failure (its `help` too) 1; modify's own checks, invarg, duparg and NEXT_ARG 255; a kernel error 2; top-level `help` 0. + - **Extended in increment 23:** the bpf filter's parse failures (`What is "X"?`, `Illegal "classid"`, `Unable to parse bpf command line`) take rc 1 by the same path (W319; tcact2write ng-147–ng-149, ng-152). See [increment 23](iproute2-tc-action-write.md#increment-23-pedit-tunnel_key-ife-ct-gate-bpf-and-the-bpf-filter-w216w320-k77k89). - **W72.** m_estimator.c calls `invarg("invalid estimator interval", *argv)` with the arguments in the wrong order for `invarg(msg, arg)`, so `estimator zz 1s` prints `Error: argument "invalid estimator interval" is wrong: estimator`, rc 255 (ng-007). The same line serves qdisc and class writes; W7 looked only at the argv step. @@ -209,6 +212,7 @@ 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)). + - **Extended in increment 23:** cls_bpf has no repeat check either: a second classid is sent as a second TCA_BPF_CLASSID (W317, tcact2write ec-245). See [increment 23](iproute2-tc-action-write.md#increment-23-pedit-tunnel_key-ife-ct-gate-bpf-and-the-bpf-filter-w216w320-k77k89). ## W96–W109. fw, route, matchall and flow @@ -220,6 +224,7 @@ 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)). + - **Extended in increment 23:** increment 23 meets the same ignored bound in actions: gate's per-entry nest is held to 1024 of the whole message (W293, tcact2write ec-196–ec-199), and a bpf program past 16384 drops PARMS or OPS (W307, tcact2write ng-120–ng-122). Since 23W gotc copies each addattr_l error and drop and sends what fits, here too. See [increment 23](iproute2-tc-action-write.md#increment-23-pedit-tunnel_key-ife-ct-gate-bpf-and-the-bpf-filter-w216w320-k77k89). - **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). @@ -269,6 +274,7 @@ - **Extended in increment 22:** the kinds' own parsers hand words on as kinds too: mirred's `dev d1 blockid 5` reads blockid as a kind (W161, ng-028), and ctinfo's unconsumed statemask `0x1junk` is `Bad action type 0x1junk` (W208, ng-056), both in [iproute2-tc-action-write.md](iproute2-tc-action-write.md). + - **Extended in increment 23:** bpf takes `drop` as a mode word, not a gact control (W312, tcact2write ng-134). See [increment 23](iproute2-tc-action-write.md#increment-23-pedit-tunnel_key-ife-ct-gate-bpf-and-the-bpf-filter-w216w320-k77k89). - **W115.** parse_action_control checks a jump count only against TC_ACT_EXT_VAL_MASK: `jump 0` and `jump 512` are sent (ec-104, ec-105) and fail only at run time. A gact `random … goto chain 5` is built and sent; the workbench kernel has no CONFIG_GACT_PROB (ng-038, EOPNOTSUPP). @@ -283,6 +289,7 @@ order is another action: mirred redirect takes no control (W158), `skbedit mark 1 index 5 pipe` is skbedit then a gact pipe (W175), and `simple sdata x index 5 drop` is two actions (W190), all in [iproute2-tc-action-write.md](iproute2-tc-action-write.md). + - **Extended in increment 23:** gate's maxoctets keeps get_size's partial value past 32 bits and leaves the word, which starts the next action: `5G` becomes `Bad action type 5G` (W295). See [increment 23](iproute2-tc-action-write.md#increment-23-pedit-tunnel_key-ife-ct-gate-bpf-and-the-bpf-filter-w216w320-k77k89). - **W118.** gact takes control, then random, then index: `action drop index 5 random determ pass 10` makes `random` a new action (ng-041). After the control word, `h` is gact's help, rc 255 (ng-042), where parse_action would read `h` as `hw_stats`. From 9972a4ed4886a5514923d28ba5a5d057b61805b4 Mon Sep 17 00:00:00 2001 From: randomizedcoder Date: Tue, 1 Dec 2026 00:14:06 -0800 Subject: [PATCH 12/13] gotc 23L: live diff of tcact2write on the workbench (V068) tc 7.2.0 and the gotc_write build ran all 418 tcact2write rows, tcactwrite ec-217..ec-222 and tcfwrite ec-117 on the workbench (kernel 7.3.1). 413/425 identical, 78 of them rows where only tc hears the kernel (K77, K78, the kernel refusals, and gate's "Attribute isn't type 'entry'" after W293's broken entries); the other 12 are gotc's refusals by name (eBPF, W280, W297). tc matched the corpus on all 425, so K77-K89 recurred. No lead added or changed. The VM was left as found: 40 modules removed with modprobe -r, no namespace, no core file, powered off. Co-Authored-By: Claude Opus 5.5 --- docs/netlink/gotc-status.md | 4 ++++ docs/netlink/upstream/iproute2-tc-action-write.md | 8 +++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/netlink/gotc-status.md b/docs/netlink/gotc-status.md index 95706775f..afee4ba18 100644 --- a/docs/netlink/gotc-status.md +++ b/docs/netlink/gotc-status.md @@ -349,6 +349,9 @@ and the bpf action, standalone and in filters, and the bpf filter's cBPF writes; [upstream/iproute2-tc-action-write.md](upstream/iproute2-tc-action-write.md): a full entry for each of W216–W320 (where, trigger and outcome from its rows, gotc, status), the HEAD check, and the extensions in their own docs. At HEAD, ll_addr's rewrite partly fixes W232 and c4d6334c55aa fixes increment 22's W182 (DOC016). +- **23L (live diff): done.** On the workbench, tc 7.2.0 and the gotc_write build ran all 418 tcact2write rows, + tcactwrite ec-217–ec-222 and tcfwrite ec-117. 413 of 425 are identical, 78 of them rows where only tc hears the + kernel; the other 12 are the refusals by name. tc matched the corpus on every row, so K77–K89 recurred (V068). ## Ledger @@ -433,6 +436,7 @@ and the bpf action, standalone and in filters, and the bpf filter's cBPF writes; | V066 | 23P | **Encoders** (untagged, `pkg/xtcpnl/xtcpnl_tc_actencode.go`): `Append` for `TcPeditKey` (tc_pedit.h:52), `TcPeditSel` (new: tc_gen, nkeys, flags, two zero bytes aligning keys[] as m_pedit.c:626's `= {}` leaves them, then the keys; `Nkeys` is its own field, as on the read side), `TcTunnelKey` (new: tc_gen and t_action, tc_tunnel_key.h:15), `TcIfe` (new: tc_gen, flags and two zero bytes of tail padding, tc_ife.h:13, m_ife.c:53, W275) and `TcBpfInsn` (sock_filter, filter.h:24, host order), each cited at v7.4-rc4. ct, gate and the bpf action's parms are tc_gen, so `TcGen.Append` covers them as is. The builders need no change. **Unit** (`xtcpnl_tc_act2encode_test.go`): `TestAppendTcAct2Structs` (37 sub-tests). 21 are captured rows, each payload decoded by the read side and laid out again equal to tc's bytes: pedit PARMS with one and two raw keys, PARMS_EX for ip src and ip6 src (four keys), W216's at/offmask/shift, 128 keys ec-088 (3096 bytes) and eth dst invert ec-091 (W223); tunnel_key set v4, unset, tos/ttl 255 and ng-048's t_action 0 (W253); ife encode with type, dst, src and use, decode, ec-133's padding (W275) and index alone (W267); the bpf action's four-instruction program, 2038 instructions ec-222 (W307), the 65537 header ec-223 (W308) and wrapped fields ec-225 (W309); the bpf filter's OPS from bytecode ec-239 and from bytecode-file ec-247. 14 are round trips, including every field at its extreme, 128 keys and each zero struct as all-zero bytes. `TestAppendTcAct2StructsEdges` (5 rows): a full destination grows and keeps its bytes, pedit's padding after nkeys and flags, `TcIfe{Flags: 1}`'s zero tail, `Nkeys` sent as given, and sock_filter's host byte order. The capture helpers take a corpus directory (`tcActCapturedReqIn`, `tcActCapturedOptionsIn`). **Audits:** netlink-audit and kernel-citation-audit pass. **Bugs found:** none; every struct's layout and padding agree with the kernel headers. | | V067 | 23W | **gotc writes** (tagged `gotc_write`): `aw_pedit.go` and `aw_pedit_hdr.go` (parse_pedit, parse_munge, parse_offset, parse_cmd, parse_val, the pack_key family, and p_ip, p_ip6, p_icmp, p_tcp, p_udp and p_eth as one table; any other kind is pedit_parse_nopopt), `aw_tunnel_key.go`, `aw_ife.go`, `aw_ct.go`, `aw_gate.go`, `aw_bpf.go`, `fw_bpf.go` and `cbpf.go` (bpf_parse_string, bpf_ops_parse, bpf_do_parse and the mode words, shared by the action and the filter; bytecode-file is read relative to the working directory, as `-batch` FILE is). Six new `actParsers` entries, now built from a kind list, and bpf in `foptParsers`. **Groundwork:** `fops` checks tc's addattr_l and addraw_l bounds as each call is recorded, from the running request length. A call past its bound prints tc's `addattr_l ERROR: message exceeded bound of N` (or addraw_l's), and the attribute is dropped while the request is still sent. A failed addattr_nest leaves a mark (`xtcpnl.AttrBuilder.Mark`), and its addattr_nest_end patches rta_len over whatever was written since. That gives W97, W151, W248, W293's broken gate entries (each entry's nest bound is 1024) and W307 byte for byte, and tcematch ec-137 and ng-095 are now sent instead of refused. `getAddr` is utils.c:738's `Error: address is expected rather than "X".` and exit(1), used by tunnel_key, ct and flow's addend. **Copied as tc does it:** the `Bad pedit construct` word, `(null)` at the end of the line (W218), the silent 128-key limit (W220), invert as 0xff on eth and ip6 (W223), the six-group MAC rule (W232), tunnel_key's base-16 fallback (W257), NO_CSUM always sent (W263), METALST's fixed order (W271), ct's index only inside the loop (W288), the u16 header wrap (W308), and the NULs W232, W265 and W291 leave in a batch line for a later `simple sdata`. **Refused by name** (rc 255, `gotc: not implemented: …`): eBPF modes as `eBPF program via bpf(2)`, where tc first touches bpf(2) (ng-139–ng-144, ng-153, ng-154); W280's 63-byte nat argument (ec-168); W297's inf, nan and out-of-range times (ec-204–ec-206); W294's uninitialised maxoctets (unit test only, as 23C has no row). **Corpus:** `TestGotcCorpus` replays tcact2write (418 rows, 12 of them refused by name). tcactwrite ec-217–ec-222 and tcfwrite ec-117 move from refused to sent. **tdc:** `tdcActionSkips` is empty and `tdcActionWritesSent` goes from 332 to 516. `tdcFilterSkips` is only `kind flower: 2`, and `tdcFilterWritesSent` goes from 276 to 293. Every newly matched row matches, so nothing is added to the known lists. **Unit:** `TestGotcPeditWrite` (61 rows), `TestGotcTunnelKeyWrite` (52) with `TestStrtok` (7), `TestGotcIfeWrite` (38) with `TestGotcIfeUsage` (4), `TestGotcCtWrite` (35) with `TestCtHelpers`, `TestGotcGateWrite` (33) with `TestGateHelpers`, `TestGotcBpfWrite` (44) and `TestCbpfParseOps` (24), plus `TestAttrBuilderMark` (4) in xtcpnl. Rows are positive, negative, boundary and corner, taking tc's bytes from the corpus where a row exists. `TestGotcActParsers` and `TestGotcFilterWrite` expect the six kinds sent. `imports_test.go` lets gotc import `internal/goip/render`, for ct's helper protocol via `ProtoByName` (inet_proto_a2n). **Fuzz** (60 s each, `MemoryMax=6G`): `FuzzCbpfParseOps` (new, 123k execs), `FuzzGotcActionWrite` (128k), `FuzzGotcActionBatch` (136k) and `FuzzGotcFilterWrite` (140k), with seeds for each kind and for the three NUL batches; nothing found. bytecode-file inputs naming `dev/`, `proc/` or `sys/` are skipped, since stdin or a tty never reaches EOF, for tc as for gotc. **Mutants** (10, each under `MemoryMax=6G`), all killed: W218's `(null)`, W220's 128, W223's invert, W232's six groups, W257's base 16, W263's NO_CSUM, W271's order, W288's index, W293's 1024 and W308's wrap. **Coverage:** `internal/gotc` 86.6% (tagged), with the new files at 95.6% per function on average. **Lint:** tiers 0-2 clean after fixes in code: shared word constants (tos, ttl, nofrag, firstfrag, sport, dport, icmp_type, icmp_code, type, with prio and flags moved to the untagged `util.go`), get_time64's and get_size64's suffixes as `time64Scale` and `size64Scale`, shared with gate, and parseBpfFopt split. **Bugs found:** no new lead and no new kernel note. Each kind's port confirmed W216–W320 against its rows, and the corrections 23C made (W220, W267, W288, W295, W303, W307) were seen again. W295 gains one detail: the partial value is kept and the word read again only past 32 bits (`5G`). K77 (pedit's offload warning on every legacy add) is what the replay carries. The gotc column of the upstream summary is filled in for every lead. | | DOC016 | 23B | **Write-up:** the "Increment 23" part of `docs/netlink/upstream/iproute2-tc-action-write.md` (not submitted to netdev), finished. Its status block gains the 23W outcome and the HEAD check. The summary has 105 rows (W216–W320), each with its gotc cell. A new "Lead entries (23B)" section has one entry per lead, grouped by kind: where, what, **trigger and outcome** (each pinning row's exact command, batch lines included, with tc's rc, the first lines of its stderr and whether the request was sent, generated from the tcact2write rows so nothing is retyped), gotc and status. W294 has no row, so its entry gives 23C's trial values and the unit test. K77–K89 and the five bug-class candidates are unchanged (bug-classes.md is untouched). **At HEAD** (GitHub mirror `3f4b36e5b10a`, 2026-11-30, `gh api …/compare/v7.2.0...main`: 92 commits, v7.3.0 among them, over every cited file): no commit touches m_pedit.c, m_pedit.h, the p_*.c, m_tunnel_key.c, m_ife.c, m_ct.c, m_gate.c, m_bpf.c, f_bpf.c, lib/bpf_legacy.c or utils_math.c. lib/ll_addr.c's `5faf18f672c1` (in v7.3.0) partly fixes W232: trailing junk (ec-098) and seven groups (ng-021) are refused with a message naming the whole argument, and the colons are no longer written (ec-255's NULs), while a short MAC and a dotted quad still fail silently in pedit. lib/libnetlink.c changed its receive path and opening seq but not addattr_l, addraw_l or addattr_nest, so W248, W293 and W307 stand. lib/utils.c's changes don't reach get_addr or the number parsers. **Found by the check:** tc/m_action.c's `c4d6334c55aa` (2026-11-30, after v7.3.0, "tc: actions: fail list and flush of an unknown action kind") fixes increment 22's W182. Its summary row and entry, and increment 22's HEAD-check block (which had said m_action.c had no commit), now record it. **Kernel at HEAD:** torvalds/linux `19cc08c1a6a6` (2026-11-30) has no commit after v7.4-rc4 in act_pedit.c, act_tunnel_key.c, act_ife.c, net/ife/ife.c, act_ct.c, act_gate.c, act_bpf.c, cls_bpf.c, act_api.c, act_meta_mark.c or tc_pedit.h. **Extensions,** each marked "Extended in increment 23" in its own doc, with row IDs written as `tcact2write …`. In `iproute2-tc-action-write.md`'s increment-22 part: W161, W166, W170, W171, W172, W175, W183, W185 (the batches section), W189, W191, W194, W195, W196, W199, W200, W201, W204, W208, W210, W214 and W215. In `iproute2-tc-filter-write.md`: W70, W95, W97, W114 and W117. In `iproute2-tc-action.md`: AC38 and AC70. Each doc's status line says so. **Checklist** (scripted over the part): every W216–W320 has a summary row and an entry; every row ID a summary row names exists in the corpus; K77–K89 has no gap; and all 28 extension lines are present. **New leads:** none. | +| V068 | 23L | **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 9fe691756 (`/nix/store/nc3agv0a8qldww5lly55hl1bfsaf6lhx-gotc-write-23l`), with `GOTC_CONF_USR_DIR` and `TC_LIB_DIR` set to tc's. V063's method: each of the 418 `tcact2write.rows.jsonl` rows, tcactwrite's ec-217–ec-222 and tcfwrite's ec-117 runs its pre steps in a fresh named namespace from its own directory (the batch rows write `b.txt` there, and the bytecode-file rows `bpf.txt`), then gotc with `GOTC_WRITE_OUT`, then tc, each under a 60 s timeout. Requests (RTM_NEW/DELACTION, RTM_NEW/DELTFILTER, RTM_NEW/DELCHAIN) are compared with tc's from the corpus pcaps, seq and pid zeroed, a tcmsg's ifindex zeroed (gotc saw 2 and 3, the corpus 3 and 4: 22L's nlmon0 shift), and W189's past-argv bytes masked (no row needed it). The comparer was first checked with the corpus on both sides (425/425). **Result: 413/425 identical.** 78 of them are rows where the request is identical and only tc hears the kernel: K77's pedit offload warning on 46 legacy adds, K78's offload warning on the three ct helper adds (ec-162, ec-163, ec-171), the kernel refusals and extacks behind W242, W251–W253, W258–W261, W281, W283, W288, W297's 0.5, W303, W305, W307, W312, W315, W316, W320 and W248's 16 KiB echo (ng-157). Gate's ec-197–ec-199 are among the 78: there the request and gotc's `addattr_l ERROR` lines are identical, and tc alone prints the kernel's `Warning: Attribute isn't type 'entry'.` after them, for the broken entries W293 sends. 22L's comparer only recognised a kernel answer at the start of stderr, so these three were checked by hand. tcactwrite ec-217–ec-222 and tcfwrite ec-117, refused in 22L, are identical. **Named exceptions** (12, gotc's refusals by name, as in TestGotcCorpus): the eight eBPF rows ng-139–ng-144, ng-153 and ng-154 (`eBPF program via bpf(2)`; tc's answers are libbpf's `Error opening object nosuch.o` and `Couldn't retrieve pinned program`), W280's ec-168 (tc sent ::1–::9 again, rc 0) and W297's ec-204–ec-206 (tc sent INT64_MIN again, rc 0). **tc against the corpus:** stdout, stderr and rc match `ws/tcact2write`, `ws/tcactwrite` and `ws/tcfwrite` on all 425 rows. So every kernel answer K77–K89 cite recurred on a second boot, and W280's 63-byte read and W297's casts gave the same bytes again. **Leads:** none new, none changed; the write-up's status block records 23L. Neither tool made a core file. **VM:** pre-checked (`free -g`: 10G available, against the workbench's 2304 MiB; port 12061 free; no workbench process, the other qemu processes being unrelated libvirt guests and another session's xtcp2-vm), booted from off with `up`. The baseline was 86 modules, no namespace and no core file. The run took 1151 s. It loaded 40 modules (the act_*, cls_* and sch_* modules, act_meta_*, em_cmp, and the dependencies ife, mpls_gso, nf_conntrack_ftp, nf_flow_table, nf_nat and psample) and removed them all with `modprobe -r`. It made no core file, left no namespace and removed `/tmp/t23l`. The VM was back at 86 modules, no namespace and no core file, and was 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-action-write.md b/docs/netlink/upstream/iproute2-tc-action-write.md index d06bef5f3..64a7951d9 100644 --- a/docs/netlink/upstream/iproute2-tc-action-write.md +++ b/docs/netlink/upstream/iproute2-tc-action-write.md @@ -438,7 +438,7 @@ These are for the user's review. [bug-classes.md](bug-classes.md) is unchanged. ## Increment 23: pedit, tunnel_key, ife, ct, gate, bpf and the bpf filter (W216–W320, K77–K89) -**Status (2026-11-30, increment 23: 23C captures, 23W gotc, 23B write-up):** +**Status (2026-12-01, increment 23: 23C captures, 23W gotc, 23B write-up, 23L live diff):** - **Not submitted to netdev.** Drafts for the user's review, recorded only here, like the rest of this directory. - **Scope:** the parse side of `tc/m_pedit.c` with `p_ip.c`, `p_ip6.c`, `p_icmp.c`, `p_tcp.c`, `p_udp.c` and @@ -486,6 +486,12 @@ These are for the user's review. [bug-classes.md](bug-classes.md) is unchanged. ng-154), W280's 63-byte nat range (ec-168) and W297's inf, nan and 1e30 times (ec-204–ec-206). W294 is refused by name in a unit test. tcactwrite ec-217–ec-222 and tcfwrite ec-117 are sent byte for byte, and of the tdc writes only flower's two filter rows stay refused. gotc found no lead beyond W216–W320 and no kernel note beyond K89. +- **Live diff (23L):** tc 7.2.0 and the gotc_write build ran side by side on the workbench (kernel 7.3.1) for all 418 + rows, tcactwrite ec-217–ec-222 and tcfwrite ec-117. tc's stdout, stderr and rc equal the corpus on every row, so + each kernel answer behind K77–K89 recurred on a second boot, and W280's and W297's sends gave the same bytes again. + gotc's requests equal tc's on every row but the 12 it refuses by name (eBPF, W280, W297). Where they differ in + stderr, it is only the kernel's reply, which a dry run never hears: for example gate's `Warning: Attribute isn't + type 'entry'.` after W293's broken entries. No lead was added or changed. | lead | where (v7.2.0) | what | pinned by | status | gotc | |---|---|---|---|---|---| From dd082f36a54ed75d0e05c3226f10203ea0f15f10 Mon Sep 17 00:00:00 2001 From: randomizedcoder Date: Tue, 1 Dec 2026 00:42:04 -0800 Subject: [PATCH 13/13] gotc 23W: no-write-encoders covers aw_pedit_hdr, aw_tunnel_key and cbpf gotcWriteFiles matched aw_[a-z0-9]+ only, so the check's exactness control failed on the three new gotc_write files with an underscore in the name or no prefix. Allow underscores after qw_, fw_ and aw_ and name cbpf; no untagged file matches. Recorded in V067. Co-Authored-By: Claude Opus 5.5 --- docs/netlink/gotc-status.md | 2 +- nix/checks/no-write-encoders.nix | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/netlink/gotc-status.md b/docs/netlink/gotc-status.md index afee4ba18..167add1db 100644 --- a/docs/netlink/gotc-status.md +++ b/docs/netlink/gotc-status.md @@ -434,7 +434,7 @@ and the bpf action, standalone and in filters, and the bpf filter's cBPF writes; | V064 | 22R | **PR #375 review fixes**, both reproduced against host tc 7.2.0 by the reviewer and again here. (1) **A bare `0x` MAC group:** glibc 2.44's `%x` takes `0x` as a prefix and cannot give the `x` back, so `0x` with no hex digit after it is no conversion (`sscanf("0x:2", "%x")` is 0; `00x:` is 0, its second 0 a digit). `scanfHex` (aw_skbmod.go) had read it as 0, so `skbmod set dmac 0x:2:3:4:5:6` sent a request where tc prints `Invalid dst mac address`, rc 255. vlan's `llAddrA2N` used the strtoul model (`strtoul16`), so `dst_mac 0x:…` was accepted too; it now uses `scanfHex`. Host tc and gotc agree on five probes (bare `0x` first and last, skbmod and vlan). `TestScanfMac` gains 5 rows (its old row "0x with no digit is 0" was the error), `TestLlAddrA2N` gains 4 and checks the colons cut. (2) **Parsers' NULs in the batch buffer (W189):** `argMem.nul` and `nulEach` write a parser's NUL into argv's memory, which in a batch is getline's buffer: ll_addr_a2n's colons (ll_addr.c:65), skbedit's mark slash (m_skbedit.c:86), get_size64_and_cell's slash on a failure (tc_util.c:265; police, tbf, htb, through `sizeCellCut`), flow_parse_keys' commas (f_flow.c:70) and fw's handle slash (f_fw.c:43, through `filterArgs.handleAt`). A sweep of tc/*.c and lib/ at v7.2.0 for in-place NULs found no other ported site: get_prefix_1 and the control word's `/` put the byte back; flower, ct and gate are not ported. `TestGotcBatchArgvNuls` (10 rows: vlan, skbedit, flow, fw; tbf's size and cell failures, htb, flow's unknown key; eight MAC groups; a size and cell that parse) is each case's DEF_DATA, checked against host tc 7.2.0 under `unshare -rn strace -e write=all`: every byte gotc knows matches, and the rest is tc's heap, which gotc sends as zeros and the replay masks. A mutant with `nul` disabled fails 9 of the 10 (the restored slash passes, as it should). `TestArgMemNul` (8 rows) is the helper. **Leads:** W196 and W189 extended in [upstream/iproute2-tc-action-write.md](upstream/iproute2-tc-action-write.md); no new lead. **Gates:** `go test ./internal/gotc/ ./pkg/xtcpnl/ ./internal/wsreplay/ ./tools/nlcapgen/`, with and without `-tags gotc_write`; `CGO_ENABLED=0 go build ./...` in both builds; `gofmt -s` clean. | | V065 | 23C | **Captures**: `tools/nlcapgen/matrix_tcact2write.go` (`tcact2write`, 418 rows: 258 writes and 160 refusals, on 20C's fixture: d0 with clsact, d1 with an htb root, two classes and ingress block 10), registered in `main.go`'s `families`; rows `nix/microvms/workbench/tcact2write.rows.jsonl`; corpus `pkg/xtcpnl/testdata/7_3_1/ws/tcact2write/`. Modules: increment 22's, cls_bpf, and act_meta_mark, act_meta_skbprio and act_meta_skbtcindex, which `tdcGuestModules` now lists (the guest has them in net/sched). **Rows:** each kind's add, change, replace (existing and new index), delete and flush with a `tc actions ls action K` readback, and each inside matchall. pedit's raw u8/u16/u32 offsets with `at`, every command (set, add, decrement, invert, clear, preserve, retain), every layered field of ip (17), ip6 (8), tcp, udp and eth, ex and legacy; tunnel_key v4 and v6 with id, dst_port, tos, ttl, csum/nocsum, nofrag, geneve with three options, vxlan and erspan v1/v2, and unset; ife encode and decode with allow and use for each meta kind, dst, src and type; ct commit, force, clear, zone, masked mark and label, nat src/dst with v4/v6 ranges and ports, helpers ipv4/ipv6-tcp-ftp; gate's every scalar, six clockid spellings, ipv and maxoctets with a size suffix; bpf's bytecode, bc, run, bytecode-file and bcf. The bpf filter: add with classid, da, skip_hw, an action, police, run, flowid first and two actions; change, replace (existing and new) and delete; a bytecode-file filter; one on d1's htb. eBPF (object-file, object-pinned, pinned, fd, obj, and the `o`/`p`/`f` prefixes) only as refusal rows recording tc's answer. A row for every lead W216–W320 except W294. Boundaries: 128 and 129 pedit keys, 30/31/40 open and 36 closed gate entries, 2038/2039/2041/2042/4097 bpf instructions, 62- and 63-byte nat ranges, the u32 interval edge, tos 255/256. Batches: W232's MAC colons, W265's strtok NULs and W291's slashes, each carried into a later `simple sdata x` (line 2's DEF_DATA shows them: `th\0dst\0set\002…`, `e_opts\00102\080\0…`, `x1\00xff\0label\001\0ff`); bytecode-file in a batch; three `-force` batches (ife's usage exit and get_addr's exit(1) end tc; ct's -1 carries on). **Trial batches** (scratch, same boot): the first matched 400 of 420; the second 419. Corrected in the generator: a fresh `ife decode` with no meta module loaded is EINVAL with no extack (K79), which made the first ife rows depend on row order, so the meta modules now load up front; ct's and gate's `… drop index 1` sends `index` as a second action kind (W288, W303); the index-only binds of pedit, gate and bpf became matchall binds; geneve's 0- and 3-byte DATA and erspan's shifted fields are kernel refusals; bpf's edge is 2039, not 2040; `src_ip any` and ct's `addr any` are ERANGE; netbios is EINVAL and a 22-byte helper ERANGE; skip_sw is ENOTSUP; W280's 63-byte range and W297's inf, nan and 1e30 are sent and accepted, so they are positive rows that gotc will refuse by name; `bytecode-file -` reads a file named `-`. **W294 removed from the corpus:** `gate sched-entry open 1ms 1 index 1` sent maxoctets 0x33874a91, 0x4c352a91 and 0x7fec5a91 in three runs (get_size stores an uninitialised sz64), and `… 1 sched-entry close 1ms` was refused twice as `"maxoctets" is too large` and sent once; no two batches could agree, so 23W pins gotc's refusal with a unit test and the write-up records the values. **Final:** two batches on one boot, 418/418 OK each, agree on every row's rc, stdout, stderr and readback, and on all 336 requests byte for byte (seq and pid zeroed). `TestWsCorpusRows` passes on all 418. Two `cmd.json` files (ec-132, ec-133) had only `axes` and `desc` rewritten from the regenerated rows, when their fix became w274 and w275; tc never reads them. **Write-up** (the new "Increment 23" part of `docs/netlink/upstream/iproute2-tc-action-write.md`, not submitted to netdev): a summary row for each of W216–W320 with its pinning rows and status, K77–K89 and five bug-class candidates. **Corrected from the sweep:** W220 (key 129 is followed by `Bad pedit construct (index)`), W267 (accepted while a meta module is loaded), W288 and W303 (tc sends the stray `index` kind; the kernel refuses it, ENOENT), W295 (`1.5` is consumed as 1), W307 (2039 and 2042). **Kernel notes K77–K89:** the legacy pedit offload warning on every add, ct's helper offload warning, ife's use_all_metadata EINVAL, gate's skipped non-entry with rc 0, tunnel_key's overwritten ERANGE message, ct's EXACT_LEN NAT addresses, ct's helper name limit, act_bpf's missing program, cls_bpf's flags, pedit's keys check after the idr, gate's empty list and zero interval, tunnel_key's option rules, and gate's u64 times. No new lead outside W216–W320. **Unit:** `TestTcAct2WriteSpace` (107 sub-tests). Positive: the verb grid and matchall for each kind, every keyword, the bpf filter's verbs. Lead: each W216–W320 has a row, and W294 has none. Negative: eBPF only as refusals, no `actions ls` or `get`, no host device, no `dev lo` or `-netns`. Boundary: the key, entry, instruction, nat and interval edges. Corner: the seven batches' lines and `-force`, determinism. **VM:** pre-checked (`free -g`: 38G available; port 12061 free; no workbench process), booted from off with `up`; baseline 86 modules, no namespace, no core file. The batches left no namespace and no core file. The run left 129 modules; this run's 40 (act_*, cls_*, sch_htb, sch_ingress, act_meta_*, nf_conntrack_ftp, nf_nat, nf_flow_table, ife, psample, mpls_gso, dummy, nlmon) were removed with `modprobe -r`, leaving 89: the baseline's 86 (nf_conntrack among them, held by the guest firewall's xt_conntrack) and bridge/stp/llc, which no row of this run uses, left alone as in 22C. The VM was powered off with `down` (it was off before): port 12061 free, no workbench process. **Bench pin:** ng-157 (W248's 16 KiB pedit echo, with the extack `act_pedit: Not enough extended keys to parse`) is now the corpus's largest NLMSG_ERROR. It replaces tcematch's W151 refusal, so `TestParseBenchAllocs` pins ParseNlMsgErr's largest pick at 1 allocation (the message copy), not 0. | | V066 | 23P | **Encoders** (untagged, `pkg/xtcpnl/xtcpnl_tc_actencode.go`): `Append` for `TcPeditKey` (tc_pedit.h:52), `TcPeditSel` (new: tc_gen, nkeys, flags, two zero bytes aligning keys[] as m_pedit.c:626's `= {}` leaves them, then the keys; `Nkeys` is its own field, as on the read side), `TcTunnelKey` (new: tc_gen and t_action, tc_tunnel_key.h:15), `TcIfe` (new: tc_gen, flags and two zero bytes of tail padding, tc_ife.h:13, m_ife.c:53, W275) and `TcBpfInsn` (sock_filter, filter.h:24, host order), each cited at v7.4-rc4. ct, gate and the bpf action's parms are tc_gen, so `TcGen.Append` covers them as is. The builders need no change. **Unit** (`xtcpnl_tc_act2encode_test.go`): `TestAppendTcAct2Structs` (37 sub-tests). 21 are captured rows, each payload decoded by the read side and laid out again equal to tc's bytes: pedit PARMS with one and two raw keys, PARMS_EX for ip src and ip6 src (four keys), W216's at/offmask/shift, 128 keys ec-088 (3096 bytes) and eth dst invert ec-091 (W223); tunnel_key set v4, unset, tos/ttl 255 and ng-048's t_action 0 (W253); ife encode with type, dst, src and use, decode, ec-133's padding (W275) and index alone (W267); the bpf action's four-instruction program, 2038 instructions ec-222 (W307), the 65537 header ec-223 (W308) and wrapped fields ec-225 (W309); the bpf filter's OPS from bytecode ec-239 and from bytecode-file ec-247. 14 are round trips, including every field at its extreme, 128 keys and each zero struct as all-zero bytes. `TestAppendTcAct2StructsEdges` (5 rows): a full destination grows and keeps its bytes, pedit's padding after nkeys and flags, `TcIfe{Flags: 1}`'s zero tail, `Nkeys` sent as given, and sock_filter's host byte order. The capture helpers take a corpus directory (`tcActCapturedReqIn`, `tcActCapturedOptionsIn`). **Audits:** netlink-audit and kernel-citation-audit pass. **Bugs found:** none; every struct's layout and padding agree with the kernel headers. | -| V067 | 23W | **gotc writes** (tagged `gotc_write`): `aw_pedit.go` and `aw_pedit_hdr.go` (parse_pedit, parse_munge, parse_offset, parse_cmd, parse_val, the pack_key family, and p_ip, p_ip6, p_icmp, p_tcp, p_udp and p_eth as one table; any other kind is pedit_parse_nopopt), `aw_tunnel_key.go`, `aw_ife.go`, `aw_ct.go`, `aw_gate.go`, `aw_bpf.go`, `fw_bpf.go` and `cbpf.go` (bpf_parse_string, bpf_ops_parse, bpf_do_parse and the mode words, shared by the action and the filter; bytecode-file is read relative to the working directory, as `-batch` FILE is). Six new `actParsers` entries, now built from a kind list, and bpf in `foptParsers`. **Groundwork:** `fops` checks tc's addattr_l and addraw_l bounds as each call is recorded, from the running request length. A call past its bound prints tc's `addattr_l ERROR: message exceeded bound of N` (or addraw_l's), and the attribute is dropped while the request is still sent. A failed addattr_nest leaves a mark (`xtcpnl.AttrBuilder.Mark`), and its addattr_nest_end patches rta_len over whatever was written since. That gives W97, W151, W248, W293's broken gate entries (each entry's nest bound is 1024) and W307 byte for byte, and tcematch ec-137 and ng-095 are now sent instead of refused. `getAddr` is utils.c:738's `Error: address is expected rather than "X".` and exit(1), used by tunnel_key, ct and flow's addend. **Copied as tc does it:** the `Bad pedit construct` word, `(null)` at the end of the line (W218), the silent 128-key limit (W220), invert as 0xff on eth and ip6 (W223), the six-group MAC rule (W232), tunnel_key's base-16 fallback (W257), NO_CSUM always sent (W263), METALST's fixed order (W271), ct's index only inside the loop (W288), the u16 header wrap (W308), and the NULs W232, W265 and W291 leave in a batch line for a later `simple sdata`. **Refused by name** (rc 255, `gotc: not implemented: …`): eBPF modes as `eBPF program via bpf(2)`, where tc first touches bpf(2) (ng-139–ng-144, ng-153, ng-154); W280's 63-byte nat argument (ec-168); W297's inf, nan and out-of-range times (ec-204–ec-206); W294's uninitialised maxoctets (unit test only, as 23C has no row). **Corpus:** `TestGotcCorpus` replays tcact2write (418 rows, 12 of them refused by name). tcactwrite ec-217–ec-222 and tcfwrite ec-117 move from refused to sent. **tdc:** `tdcActionSkips` is empty and `tdcActionWritesSent` goes from 332 to 516. `tdcFilterSkips` is only `kind flower: 2`, and `tdcFilterWritesSent` goes from 276 to 293. Every newly matched row matches, so nothing is added to the known lists. **Unit:** `TestGotcPeditWrite` (61 rows), `TestGotcTunnelKeyWrite` (52) with `TestStrtok` (7), `TestGotcIfeWrite` (38) with `TestGotcIfeUsage` (4), `TestGotcCtWrite` (35) with `TestCtHelpers`, `TestGotcGateWrite` (33) with `TestGateHelpers`, `TestGotcBpfWrite` (44) and `TestCbpfParseOps` (24), plus `TestAttrBuilderMark` (4) in xtcpnl. Rows are positive, negative, boundary and corner, taking tc's bytes from the corpus where a row exists. `TestGotcActParsers` and `TestGotcFilterWrite` expect the six kinds sent. `imports_test.go` lets gotc import `internal/goip/render`, for ct's helper protocol via `ProtoByName` (inet_proto_a2n). **Fuzz** (60 s each, `MemoryMax=6G`): `FuzzCbpfParseOps` (new, 123k execs), `FuzzGotcActionWrite` (128k), `FuzzGotcActionBatch` (136k) and `FuzzGotcFilterWrite` (140k), with seeds for each kind and for the three NUL batches; nothing found. bytecode-file inputs naming `dev/`, `proc/` or `sys/` are skipped, since stdin or a tty never reaches EOF, for tc as for gotc. **Mutants** (10, each under `MemoryMax=6G`), all killed: W218's `(null)`, W220's 128, W223's invert, W232's six groups, W257's base 16, W263's NO_CSUM, W271's order, W288's index, W293's 1024 and W308's wrap. **Coverage:** `internal/gotc` 86.6% (tagged), with the new files at 95.6% per function on average. **Lint:** tiers 0-2 clean after fixes in code: shared word constants (tos, ttl, nofrag, firstfrag, sport, dport, icmp_type, icmp_code, type, with prio and flags moved to the untagged `util.go`), get_time64's and get_size64's suffixes as `time64Scale` and `size64Scale`, shared with gate, and parseBpfFopt split. **Bugs found:** no new lead and no new kernel note. Each kind's port confirmed W216–W320 against its rows, and the corrections 23C made (W220, W267, W288, W295, W303, W307) were seen again. W295 gains one detail: the partial value is kept and the word read again only past 32 bits (`5G`). K77 (pedit's offload warning on every legacy add) is what the replay carries. The gotc column of the upstream summary is filled in for every lead. | +| V067 | 23W | **gotc writes** (tagged `gotc_write`): `aw_pedit.go` and `aw_pedit_hdr.go` (parse_pedit, parse_munge, parse_offset, parse_cmd, parse_val, the pack_key family, and p_ip, p_ip6, p_icmp, p_tcp, p_udp and p_eth as one table; any other kind is pedit_parse_nopopt), `aw_tunnel_key.go`, `aw_ife.go`, `aw_ct.go`, `aw_gate.go`, `aw_bpf.go`, `fw_bpf.go` and `cbpf.go` (bpf_parse_string, bpf_ops_parse, bpf_do_parse and the mode words, shared by the action and the filter; bytecode-file is read relative to the working directory, as `-batch` FILE is). Six new `actParsers` entries, now built from a kind list, and bpf in `foptParsers`. **Groundwork:** `fops` checks tc's addattr_l and addraw_l bounds as each call is recorded, from the running request length. A call past its bound prints tc's `addattr_l ERROR: message exceeded bound of N` (or addraw_l's), and the attribute is dropped while the request is still sent. A failed addattr_nest leaves a mark (`xtcpnl.AttrBuilder.Mark`), and its addattr_nest_end patches rta_len over whatever was written since. That gives W97, W151, W248, W293's broken gate entries (each entry's nest bound is 1024) and W307 byte for byte, and tcematch ec-137 and ng-095 are now sent instead of refused. `getAddr` is utils.c:738's `Error: address is expected rather than "X".` and exit(1), used by tunnel_key, ct and flow's addend. **Copied as tc does it:** the `Bad pedit construct` word, `(null)` at the end of the line (W218), the silent 128-key limit (W220), invert as 0xff on eth and ip6 (W223), the six-group MAC rule (W232), tunnel_key's base-16 fallback (W257), NO_CSUM always sent (W263), METALST's fixed order (W271), ct's index only inside the loop (W288), the u16 header wrap (W308), and the NULs W232, W265 and W291 leave in a batch line for a later `simple sdata`. **Refused by name** (rc 255, `gotc: not implemented: …`): eBPF modes as `eBPF program via bpf(2)`, where tc first touches bpf(2) (ng-139–ng-144, ng-153, ng-154); W280's 63-byte nat argument (ec-168); W297's inf, nan and out-of-range times (ec-204–ec-206); W294's uninitialised maxoctets (unit test only, as 23C has no row). **Corpus:** `TestGotcCorpus` replays tcact2write (418 rows, 12 of them refused by name). tcactwrite ec-217–ec-222 and tcfwrite ec-117 move from refused to sent. **tdc:** `tdcActionSkips` is empty and `tdcActionWritesSent` goes from 332 to 516. `tdcFilterSkips` is only `kind flower: 2`, and `tdcFilterWritesSent` goes from 276 to 293. Every newly matched row matches, so nothing is added to the known lists. **Unit:** `TestGotcPeditWrite` (61 rows), `TestGotcTunnelKeyWrite` (52) with `TestStrtok` (7), `TestGotcIfeWrite` (38) with `TestGotcIfeUsage` (4), `TestGotcCtWrite` (35) with `TestCtHelpers`, `TestGotcGateWrite` (33) with `TestGateHelpers`, `TestGotcBpfWrite` (44) and `TestCbpfParseOps` (24), plus `TestAttrBuilderMark` (4) in xtcpnl. Rows are positive, negative, boundary and corner, taking tc's bytes from the corpus where a row exists. `TestGotcActParsers` and `TestGotcFilterWrite` expect the six kinds sent. `imports_test.go` lets gotc import `internal/goip/render`, for ct's helper protocol via `ProtoByName` (inet_proto_a2n). **Fuzz** (60 s each, `MemoryMax=6G`): `FuzzCbpfParseOps` (new, 123k execs), `FuzzGotcActionWrite` (128k), `FuzzGotcActionBatch` (136k) and `FuzzGotcFilterWrite` (140k), with seeds for each kind and for the three NUL batches; nothing found. bytecode-file inputs naming `dev/`, `proc/` or `sys/` are skipped, since stdin or a tty never reaches EOF, for tc as for gotc. **Mutants** (10, each under `MemoryMax=6G`), all killed: W218's `(null)`, W220's 128, W223's invert, W232's six groups, W257's base 16, W263's NO_CSUM, W271's order, W288's index, W293's 1024 and W308's wrap. **Coverage:** `internal/gotc` 86.6% (tagged), with the new files at 95.6% per function on average. **no-write-encoders:** `gotcWriteFiles` (nix/checks/no-write-encoders.nix) did not match `aw_pedit_hdr.go`, `aw_tunnel_key.go` or `cbpf.go`. The plan had assumed `aw_[a-z0-9]+` covered the new files, but the check's exactness control failed on all three before push. The rule now allows underscores after `qw_`, `fw_` and `aw_` and names `cbpf`; no untagged file matches it. **Lint:** tiers 0-2 clean after fixes in code: shared word constants (tos, ttl, nofrag, firstfrag, sport, dport, icmp_type, icmp_code, type, with prio and flags moved to the untagged `util.go`), get_time64's and get_size64's suffixes as `time64Scale` and `size64Scale`, shared with gate, and parseBpfFopt split. **Bugs found:** no new lead and no new kernel note. Each kind's port confirmed W216–W320 against its rows, and the corrections 23C made (W220, W267, W288, W295, W303, W307) were seen again. W295 gains one detail: the partial value is kept and the word read again only past 32 bits (`5G`). K77 (pedit's offload warning on every legacy add) is what the replay carries. The gotc column of the upstream summary is filled in for every lead. | | DOC016 | 23B | **Write-up:** the "Increment 23" part of `docs/netlink/upstream/iproute2-tc-action-write.md` (not submitted to netdev), finished. Its status block gains the 23W outcome and the HEAD check. The summary has 105 rows (W216–W320), each with its gotc cell. A new "Lead entries (23B)" section has one entry per lead, grouped by kind: where, what, **trigger and outcome** (each pinning row's exact command, batch lines included, with tc's rc, the first lines of its stderr and whether the request was sent, generated from the tcact2write rows so nothing is retyped), gotc and status. W294 has no row, so its entry gives 23C's trial values and the unit test. K77–K89 and the five bug-class candidates are unchanged (bug-classes.md is untouched). **At HEAD** (GitHub mirror `3f4b36e5b10a`, 2026-11-30, `gh api …/compare/v7.2.0...main`: 92 commits, v7.3.0 among them, over every cited file): no commit touches m_pedit.c, m_pedit.h, the p_*.c, m_tunnel_key.c, m_ife.c, m_ct.c, m_gate.c, m_bpf.c, f_bpf.c, lib/bpf_legacy.c or utils_math.c. lib/ll_addr.c's `5faf18f672c1` (in v7.3.0) partly fixes W232: trailing junk (ec-098) and seven groups (ng-021) are refused with a message naming the whole argument, and the colons are no longer written (ec-255's NULs), while a short MAC and a dotted quad still fail silently in pedit. lib/libnetlink.c changed its receive path and opening seq but not addattr_l, addraw_l or addattr_nest, so W248, W293 and W307 stand. lib/utils.c's changes don't reach get_addr or the number parsers. **Found by the check:** tc/m_action.c's `c4d6334c55aa` (2026-11-30, after v7.3.0, "tc: actions: fail list and flush of an unknown action kind") fixes increment 22's W182. Its summary row and entry, and increment 22's HEAD-check block (which had said m_action.c had no commit), now record it. **Kernel at HEAD:** torvalds/linux `19cc08c1a6a6` (2026-11-30) has no commit after v7.4-rc4 in act_pedit.c, act_tunnel_key.c, act_ife.c, net/ife/ife.c, act_ct.c, act_gate.c, act_bpf.c, cls_bpf.c, act_api.c, act_meta_mark.c or tc_pedit.h. **Extensions,** each marked "Extended in increment 23" in its own doc, with row IDs written as `tcact2write …`. In `iproute2-tc-action-write.md`'s increment-22 part: W161, W166, W170, W171, W172, W175, W183, W185 (the batches section), W189, W191, W194, W195, W196, W199, W200, W201, W204, W208, W210, W214 and W215. In `iproute2-tc-filter-write.md`: W70, W95, W97, W114 and W117. In `iproute2-tc-action.md`: AC38 and AC70. Each doc's status line says so. **Checklist** (scripted over the part): every W216–W320 has a summary row and an entry; every row ID a summary row names exists in the corpus; K77–K89 has no gap; and all 28 extension lines are present. **New leads:** none. | | V068 | 23L | **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 9fe691756 (`/nix/store/nc3agv0a8qldww5lly55hl1bfsaf6lhx-gotc-write-23l`), with `GOTC_CONF_USR_DIR` and `TC_LIB_DIR` set to tc's. V063's method: each of the 418 `tcact2write.rows.jsonl` rows, tcactwrite's ec-217–ec-222 and tcfwrite's ec-117 runs its pre steps in a fresh named namespace from its own directory (the batch rows write `b.txt` there, and the bytecode-file rows `bpf.txt`), then gotc with `GOTC_WRITE_OUT`, then tc, each under a 60 s timeout. Requests (RTM_NEW/DELACTION, RTM_NEW/DELTFILTER, RTM_NEW/DELCHAIN) are compared with tc's from the corpus pcaps, seq and pid zeroed, a tcmsg's ifindex zeroed (gotc saw 2 and 3, the corpus 3 and 4: 22L's nlmon0 shift), and W189's past-argv bytes masked (no row needed it). The comparer was first checked with the corpus on both sides (425/425). **Result: 413/425 identical.** 78 of them are rows where the request is identical and only tc hears the kernel: K77's pedit offload warning on 46 legacy adds, K78's offload warning on the three ct helper adds (ec-162, ec-163, ec-171), the kernel refusals and extacks behind W242, W251–W253, W258–W261, W281, W283, W288, W297's 0.5, W303, W305, W307, W312, W315, W316, W320 and W248's 16 KiB echo (ng-157). Gate's ec-197–ec-199 are among the 78: there the request and gotc's `addattr_l ERROR` lines are identical, and tc alone prints the kernel's `Warning: Attribute isn't type 'entry'.` after them, for the broken entries W293 sends. 22L's comparer only recognised a kernel answer at the start of stderr, so these three were checked by hand. tcactwrite ec-217–ec-222 and tcfwrite ec-117, refused in 22L, are identical. **Named exceptions** (12, gotc's refusals by name, as in TestGotcCorpus): the eight eBPF rows ng-139–ng-144, ng-153 and ng-154 (`eBPF program via bpf(2)`; tc's answers are libbpf's `Error opening object nosuch.o` and `Couldn't retrieve pinned program`), W280's ec-168 (tc sent ::1–::9 again, rc 0) and W297's ec-204–ec-206 (tc sent INT64_MIN again, rc 0). **tc against the corpus:** stdout, stderr and rc match `ws/tcact2write`, `ws/tcactwrite` and `ws/tcfwrite` on all 425 rows. So every kernel answer K77–K89 cite recurred on a second boot, and W280's 63-byte read and W297's casts gave the same bytes again. **Leads:** none new, none changed; the write-up's status block records 23L. Neither tool made a core file. **VM:** pre-checked (`free -g`: 10G available, against the workbench's 2304 MiB; port 12061 free; no workbench process, the other qemu processes being unrelated libvirt guests and another session's xtcp2-vm), booted from off with `up`. The baseline was 86 modules, no namespace and no core file. The run took 1151 s. It loaded 40 modules (the act_*, cls_* and sch_* modules, act_meta_*, em_cmp, and the dependencies ife, mpls_gso, nf_conntrack_ftp, nf_flow_table, nf_nat and psample) and removed them all with `modprobe -r`. It made no core file, left no namespace and removed `/tmp/t23l`. The VM was back at 86 modules, no namespace and no core file, and was 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. | diff --git a/nix/checks/no-write-encoders.nix b/nix/checks/no-write-encoders.nix index ef23e49d6..cc2b07465 100644 --- a/nix/checks/no-write-encoders.nix +++ b/nix/checks/no-write-encoders.nix @@ -73,11 +73,11 @@ let # The files goip_write and gotc_write gate, in the packages that hold them. writePkgs = "^github.com/randomizedcoder/xtcp2/(internal/goip|internal/gotc|pkg/xtcpnl|pkg/nlparity)$"; # gotc's write files are not named *_write (qwrite.go, qw_htb.go, fwrite.go, - # fw_u32.go, awrite.go, aw_police.go, act_parse.go, inet.go, units.go), so - # they are matched by name; + # fw_u32.go, awrite.go, aw_police.go, aw_tunnel_key.go, act_parse.go, + # cbpf.go, inet.go, units.go), so they are matched by name; # the gotc control in the script fails when a gotc_write file in # internal/gotc falls outside gotcWriteFiles, or any other file inside it. - gotcWriteFiles = "^(qwrite|fwrite|awrite|qw_[a-z0-9]+|fw_[a-z0-9]+|aw_[a-z0-9]+|act_parse|inet|units)[.]go$"; + gotcWriteFiles = "^(qwrite|fwrite|awrite|qw_[a-z0-9_]+|fw_[a-z0-9_]+|aw_[a-z0-9_]+|act_parse|cbpf|inet|units)[.]go$"; writeFiles = "${gotcWriteFiles}|(_write[a-z0-9_]*|_flush|_restore|link_property|stats_set)[.]go$"; # minio-go's process credential provider (the s3parquet destination) runs