c727b96a59b0d009ed93246d0f624ff1bdef045c
[platform/kernel/linux-exynos.git] / tools / testing / selftests / tc-testing / tc-tests / filters / tests.json
1 [
2     {
3         "id": "e9a3",
4         "name": "Add u32 with source match",
5         "category": [
6             "filter",
7             "u32"
8         ],
9         "setup": [
10             "$TC qdisc add dev $DEV1 ingress"
11         ],
12         "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: protocol ip prio 1 u32 match ip src 127.0.0.1/32 flowid 1:1 action ok",
13         "expExitCode": "0",
14         "verifyCmd": "$TC filter show dev $DEV1 parent ffff:",
15         "matchPattern": "match 7f000002/ffffffff at 12",
16         "matchCount": "0",
17         "teardown": [
18             "$TC qdisc del dev $DEV1 ingress"
19         ]
20     }
21 ]