~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/tools/testing/selftests/tc-testing/tc-tests/actions/skbedit.json

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /tools/testing/selftests/tc-testing/tc-tests/actions/skbedit.json (Architecture i386) and /tools/testing/selftests/tc-testing/tc-tests/actions/skbedit.json (Architecture alpha)


  1 [                                                   1 [
  2     {                                               2     {
  3         "id": "6236",                               3         "id": "6236",
  4         "name": "Add skbedit action with valid      4         "name": "Add skbedit action with valid mark",
  5         "category": [                               5         "category": [
  6             "actions",                              6             "actions",
  7             "skbedit"                               7             "skbedit"
  8         ],                                          8         ],
  9         "plugins": {                                9         "plugins": {
 10            "requires": "nsPlugin"                  10            "requires": "nsPlugin"
 11         },                                         11         },
 12         "setup": [                                 12         "setup": [
 13             [                                      13             [
 14                 "$TC actions flush action skbe     14                 "$TC actions flush action skbedit",
 15                 0,                                 15                 0,
 16                 1,                                 16                 1,
 17                 255                                17                 255
 18             ]                                      18             ]
 19         ],                                         19         ],
 20         "cmdUnderTest": "$TC actions add actio     20         "cmdUnderTest": "$TC actions add action skbedit mark 1",
 21         "expExitCode": "0",                        21         "expExitCode": "0",
 22         "verifyCmd": "$TC actions list action      22         "verifyCmd": "$TC actions list action skbedit",
 23         "matchPattern": "action order [0-9]*:      23         "matchPattern": "action order [0-9]*: skbedit  mark 1",
 24         "matchCount": "1",                         24         "matchCount": "1",
 25         "teardown": [                              25         "teardown": [
 26             "$TC actions flush action skbedit"     26             "$TC actions flush action skbedit"
 27         ]                                          27         ]
 28     },                                             28     },
 29     {                                              29     {
 30         "id": "c8cf",                              30         "id": "c8cf",
 31         "name": "Add skbedit action with 32-bi     31         "name": "Add skbedit action with 32-bit maximum mark",
 32         "category": [                              32         "category": [
 33             "actions",                             33             "actions",
 34             "skbedit"                              34             "skbedit"
 35         ],                                         35         ],
 36         "plugins": {                               36         "plugins": {
 37            "requires": "nsPlugin"                  37            "requires": "nsPlugin"
 38         },                                         38         },
 39         "setup": [                                 39         "setup": [
 40             [                                      40             [
 41                 "$TC actions flush action skbe     41                 "$TC actions flush action skbedit",
 42                 0,                                 42                 0,
 43                 1,                                 43                 1,
 44                 255                                44                 255
 45             ]                                      45             ]
 46         ],                                         46         ],
 47         "cmdUnderTest": "$TC actions add actio     47         "cmdUnderTest": "$TC actions add action skbedit mark 4294967295 pipe index 1",
 48         "expExitCode": "0",                        48         "expExitCode": "0",
 49         "verifyCmd": "$TC actions get action s     49         "verifyCmd": "$TC actions get action skbedit index 1",
 50         "matchPattern": "action order [0-9]*:      50         "matchPattern": "action order [0-9]*: skbedit  mark 4294967295.*pipe.*index 1",
 51         "matchCount": "1",                         51         "matchCount": "1",
 52         "teardown": [                              52         "teardown": [
 53             "$TC actions flush action skbedit"     53             "$TC actions flush action skbedit"
 54         ]                                          54         ]
 55     },                                             55     },
 56     {                                              56     {
 57         "id": "407b",                              57         "id": "407b",
 58         "name": "Add skbedit action with mark      58         "name": "Add skbedit action with mark exceeding 32-bit maximum",
 59         "category": [                              59         "category": [
 60             "actions",                             60             "actions",
 61             "skbedit"                              61             "skbedit"
 62         ],                                         62         ],
 63         "plugins": {                               63         "plugins": {
 64            "requires": "nsPlugin"                  64            "requires": "nsPlugin"
 65         },                                         65         },
 66         "setup": [                                 66         "setup": [
 67             [                                      67             [
 68                 "$TC actions flush action skbe     68                 "$TC actions flush action skbedit",
 69                 0,                                 69                 0,
 70                 1,                                 70                 1,
 71                 255                                71                 255
 72             ]                                      72             ]
 73         ],                                         73         ],
 74         "cmdUnderTest": "$TC actions add actio     74         "cmdUnderTest": "$TC actions add action skbedit mark 666777888999",
 75         "expExitCode": "255",                      75         "expExitCode": "255",
 76         "verifyCmd": "$TC actions list action      76         "verifyCmd": "$TC actions list action skbedit",
 77         "matchPattern": "action order [0-9]*:      77         "matchPattern": "action order [0-9]*:  skbedit mark",
 78         "matchCount": "0",                         78         "matchCount": "0",
 79         "teardown": []                             79         "teardown": []
 80     },                                             80     },
 81     {                                              81     {
 82         "id": "d4cd",                              82         "id": "d4cd",
 83         "name": "Add skbedit action with valid     83         "name": "Add skbedit action with valid mark and mask",
 84         "category": [                              84         "category": [
 85             "actions",                             85             "actions",
 86             "skbedit"                              86             "skbedit"
 87         ],                                         87         ],
 88         "plugins": {                               88         "plugins": {
 89            "requires": "nsPlugin"                  89            "requires": "nsPlugin"
 90         },                                         90         },
 91         "setup": [                                 91         "setup": [
 92             [                                      92             [
 93                 "$TC actions flush action skbe     93                 "$TC actions flush action skbedit",
 94                 0,                                 94                 0,
 95                 1,                                 95                 1,
 96                 255                                96                 255
 97             ]                                      97             ]
 98         ],                                         98         ],
 99         "cmdUnderTest": "$TC actions add actio     99         "cmdUnderTest": "$TC actions add action skbedit mark 1/0xaabb",
100         "expExitCode": "0",                       100         "expExitCode": "0",
101         "verifyCmd": "$TC actions list action     101         "verifyCmd": "$TC actions list action skbedit",
102         "matchPattern": "action order [0-9]*:     102         "matchPattern": "action order [0-9]*: skbedit  mark 1/0xaabb",
103         "matchCount": "1",                        103         "matchCount": "1",
104         "teardown": [                             104         "teardown": [
105             "$TC actions flush action skbedit"    105             "$TC actions flush action skbedit"
106         ]                                         106         ]
107     },                                            107     },
108     {                                             108     {
109         "id": "baa7",                             109         "id": "baa7",
110         "name": "Add skbedit action with valid    110         "name": "Add skbedit action with valid mark and 32-bit maximum mask",
111         "category": [                             111         "category": [
112             "actions",                            112             "actions",
113             "skbedit"                             113             "skbedit"
114         ],                                        114         ],
115         "plugins": {                              115         "plugins": {
116            "requires": "nsPlugin"                 116            "requires": "nsPlugin"
117         },                                        117         },
118         "setup": [                                118         "setup": [
119             [                                     119             [
120                 "$TC actions flush action skbe    120                 "$TC actions flush action skbedit",
121                 0,                                121                 0,
122                 1,                                122                 1,
123                 255                               123                 255
124             ]                                     124             ]
125         ],                                        125         ],
126         "cmdUnderTest": "$TC actions add actio    126         "cmdUnderTest": "$TC actions add action skbedit mark 1/0xffffffff",
127         "expExitCode": "0",                       127         "expExitCode": "0",
128         "verifyCmd": "$TC actions list action     128         "verifyCmd": "$TC actions list action skbedit",
129         "matchPattern": "action order [0-9]*:     129         "matchPattern": "action order [0-9]*: skbedit  mark 1/0xffffffff",
130         "matchCount": "1",                        130         "matchCount": "1",
131         "teardown": [                             131         "teardown": [
132             "$TC actions flush action skbedit"    132             "$TC actions flush action skbedit"
133         ]                                         133         ]
134     },                                            134     },
135     {                                             135     {
136         "id": "62a5",                             136         "id": "62a5",
137         "name": "Add skbedit action with valid    137         "name": "Add skbedit action with valid mark and mask exceeding 32-bit maximum",
138         "category": [                             138         "category": [
139             "actions",                            139             "actions",
140             "skbedit"                             140             "skbedit"
141         ],                                        141         ],
142         "plugins": {                              142         "plugins": {
143            "requires": "nsPlugin"                 143            "requires": "nsPlugin"
144         },                                        144         },
145         "setup": [                                145         "setup": [
146             [                                     146             [
147                 "$TC actions flush action skbe    147                 "$TC actions flush action skbedit",
148                 0,                                148                 0,
149                 1,                                149                 1,
150                 255                               150                 255
151             ]                                     151             ]
152         ],                                        152         ],
153         "cmdUnderTest": "$TC actions add actio    153         "cmdUnderTest": "$TC actions add action skbedit mark 1/0xaabbccddeeff112233",
154         "expExitCode": "255",                     154         "expExitCode": "255",
155         "verifyCmd": "$TC actions list action     155         "verifyCmd": "$TC actions list action skbedit",
156         "matchPattern": "action order [0-9]*:     156         "matchPattern": "action order [0-9]*: skbedit  mark 1/0xaabbccddeeff112233",
157         "matchCount": "0",                        157         "matchCount": "0",
158         "teardown": []                            158         "teardown": []
159     },                                            159     },
160     {                                             160     {
161         "id": "bc15",                             161         "id": "bc15",
162         "name": "Add skbedit action with valid    162         "name": "Add skbedit action with valid mark and mask with invalid format",
163         "category": [                             163         "category": [
164             "actions",                            164             "actions",
165             "skbedit"                             165             "skbedit"
166         ],                                        166         ],
167         "plugins": {                              167         "plugins": {
168            "requires": "nsPlugin"                 168            "requires": "nsPlugin"
169         },                                        169         },
170         "setup": [                                170         "setup": [
171             [                                     171             [
172                 "$TC actions flush action skbe    172                 "$TC actions flush action skbedit",
173                 0,                                173                 0,
174                 1,                                174                 1,
175                 255                               175                 255
176             ]                                     176             ]
177         ],                                        177         ],
178         "cmdUnderTest": "$TC actions add actio    178         "cmdUnderTest": "$TC actions add action skbedit mark 1/-1234",
179         "expExitCode": "255",                     179         "expExitCode": "255",
180         "verifyCmd": "$TC actions list action     180         "verifyCmd": "$TC actions list action skbedit",
181         "matchPattern": "action order [0-9]*:     181         "matchPattern": "action order [0-9]*: skbedit  mark 1/-1234",
182         "matchCount": "0",                        182         "matchCount": "0",
183         "teardown": []                            183         "teardown": []
184     },                                            184     },
185     {                                             185     {
186         "id": "57c2",                             186         "id": "57c2",
187         "name": "Replace skbedit action with n    187         "name": "Replace skbedit action with new mask",
188         "category": [                             188         "category": [
189             "actions",                            189             "actions",
190             "skbedit"                             190             "skbedit"
191         ],                                        191         ],
192         "plugins": {                              192         "plugins": {
193            "requires": "nsPlugin"                 193            "requires": "nsPlugin"
194         },                                        194         },
195         "setup": [                                195         "setup": [
196             [                                     196             [
197                 "$TC actions flush action skbe    197                 "$TC actions flush action skbedit",
198                 0,                                198                 0,
199                 1,                                199                 1,
200                 255                               200                 255
201             ],                                    201             ],
202             "$TC actions add action skbedit ma    202             "$TC actions add action skbedit mark 1/0x11223344 index 1"
203         ],                                        203         ],
204         "cmdUnderTest": "$TC actions replace a    204         "cmdUnderTest": "$TC actions replace action skbedit mark 1/0xaabb index 1",
205         "expExitCode": "0",                       205         "expExitCode": "0",
206         "verifyCmd": "$TC actions list action     206         "verifyCmd": "$TC actions list action skbedit",
207         "matchPattern": "action order [0-9]*:     207         "matchPattern": "action order [0-9]*: skbedit  mark 1/0xaabb",
208         "matchCount": "1",                        208         "matchCount": "1",
209         "teardown": [                             209         "teardown": [
210             "$TC actions flush action skbedit"    210             "$TC actions flush action skbedit"
211         ]                                         211         ]
212     },                                            212     },
213     {                                             213     {
214         "id": "081d",                             214         "id": "081d",
215         "name": "Add skbedit action with prior    215         "name": "Add skbedit action with priority",
216         "category": [                             216         "category": [
217             "actions",                            217             "actions",
218             "skbedit"                             218             "skbedit"
219         ],                                        219         ],
220         "plugins": {                              220         "plugins": {
221            "requires": "nsPlugin"                 221            "requires": "nsPlugin"
222         },                                        222         },
223         "setup": [                                223         "setup": [
224             [                                     224             [
225                 "$TC actions flush action skbe    225                 "$TC actions flush action skbedit",
226                 0,                                226                 0,
227                 1,                                227                 1,
228                 255                               228                 255
229             ]                                     229             ]
230         ],                                        230         ],
231         "cmdUnderTest": "$TC actions add actio    231         "cmdUnderTest": "$TC actions add action skbedit prio 99",
232         "expExitCode": "0",                       232         "expExitCode": "0",
233         "verifyCmd": "$TC actions list action     233         "verifyCmd": "$TC actions list action skbedit",
234         "matchPattern": "action order [0-9]*:     234         "matchPattern": "action order [0-9]*: skbedit  priority :99",
235         "matchCount": "1",                        235         "matchCount": "1",
236         "teardown": [                             236         "teardown": [
237             "$TC actions flush action skbedit"    237             "$TC actions flush action skbedit"
238         ]                                         238         ]
239     },                                            239     },
240     {                                             240     {
241         "id": "cc37",                             241         "id": "cc37",
242         "name": "Add skbedit action with inval    242         "name": "Add skbedit action with invalid priority",
243         "category": [                             243         "category": [
244             "actions",                            244             "actions",
245             "skbedit"                             245             "skbedit"
246         ],                                        246         ],
247         "plugins": {                              247         "plugins": {
248            "requires": "nsPlugin"                 248            "requires": "nsPlugin"
249         },                                        249         },
250         "setup": [                                250         "setup": [
251             [                                     251             [
252                 "$TC actions flush action skbe    252                 "$TC actions flush action skbedit",
253                 0,                                253                 0,
254                 1,                                254                 1,
255                 255                               255                 255
256             ]                                     256             ]
257         ],                                        257         ],
258         "cmdUnderTest": "$TC actions add actio    258         "cmdUnderTest": "$TC actions add action skbedit prio foo",
259         "expExitCode": "255",                     259         "expExitCode": "255",
260         "verifyCmd": "$TC actions list action     260         "verifyCmd": "$TC actions list action skbedit",
261         "matchPattern": "action order [0-9]*:     261         "matchPattern": "action order [0-9]*:  skbedit priority",
262         "matchCount": "0",                        262         "matchCount": "0",
263         "teardown": [                             263         "teardown": [
264             "$TC actions flush action skbedit"    264             "$TC actions flush action skbedit"
265         ]                                         265         ]
266     },                                            266     },
267     {                                             267     {
268         "id": "3c95",                             268         "id": "3c95",
269         "name": "Add skbedit action with queue    269         "name": "Add skbedit action with queue_mapping",
270         "category": [                             270         "category": [
271             "actions",                            271             "actions",
272             "skbedit"                             272             "skbedit"
273         ],                                        273         ],
274         "plugins": {                              274         "plugins": {
275            "requires": "nsPlugin"                 275            "requires": "nsPlugin"
276         },                                        276         },
277         "setup": [                                277         "setup": [
278             [                                     278             [
279                 "$TC actions flush action skbe    279                 "$TC actions flush action skbedit",
280                 0,                                280                 0,
281                 1,                                281                 1,
282                 255                               282                 255
283             ]                                     283             ]
284         ],                                        284         ],
285         "cmdUnderTest": "$TC actions add actio    285         "cmdUnderTest": "$TC actions add action skbedit queue_mapping 909",
286         "expExitCode": "0",                       286         "expExitCode": "0",
287         "verifyCmd": "$TC actions list action     287         "verifyCmd": "$TC actions list action skbedit",
288         "matchPattern": "action order [0-9]*:     288         "matchPattern": "action order [0-9]*: skbedit queue_mapping 909",
289         "matchCount": "1",                        289         "matchCount": "1",
290         "teardown": [                             290         "teardown": [
291             "$TC actions flush action skbedit"    291             "$TC actions flush action skbedit"
292         ]                                         292         ]
293     },                                            293     },
294     {                                             294     {
295         "id": "985c",                             295         "id": "985c",
296         "name": "Add skbedit action with queue    296         "name": "Add skbedit action with queue_mapping exceeding 16-bit maximum",
297         "category": [                             297         "category": [
298             "actions",                            298             "actions",
299             "skbedit"                             299             "skbedit"
300         ],                                        300         ],
301         "plugins": {                              301         "plugins": {
302            "requires": "nsPlugin"                 302            "requires": "nsPlugin"
303         },                                        303         },
304         "setup": [                                304         "setup": [
305             [                                     305             [
306                 "$TC actions flush action skbe    306                 "$TC actions flush action skbedit",
307                 0,                                307                 0,
308                 1,                                308                 1,
309                 255                               309                 255
310             ]                                     310             ]
311         ],                                        311         ],
312         "cmdUnderTest": "$TC actions add actio    312         "cmdUnderTest": "$TC actions add action skbedit queue_mapping 67000",
313         "expExitCode": "255",                     313         "expExitCode": "255",
314         "verifyCmd": "$TC actions list action     314         "verifyCmd": "$TC actions list action skbedit",
315         "matchPattern": "action order [0-9]*:     315         "matchPattern": "action order [0-9]*:  skbedit queue_mapping",
316         "matchCount": "0",                        316         "matchCount": "0",
317         "teardown": [                             317         "teardown": [
318             "$TC actions flush action skbedit"    318             "$TC actions flush action skbedit"
319         ]                                         319         ]
320     },                                            320     },
321     {                                             321     {
322         "id": "224f",                             322         "id": "224f",
323         "name": "Add skbedit action with ptype    323         "name": "Add skbedit action with ptype host",
324         "category": [                             324         "category": [
325             "actions",                            325             "actions",
326             "skbedit"                             326             "skbedit"
327         ],                                        327         ],
328         "plugins": {                              328         "plugins": {
329            "requires": "nsPlugin"                 329            "requires": "nsPlugin"
330         },                                        330         },
331         "setup": [                                331         "setup": [
332             [                                     332             [
333                 "$TC actions flush action skbe    333                 "$TC actions flush action skbedit",
334                 0,                                334                 0,
335                 1,                                335                 1,
336                 255                               336                 255
337             ]                                     337             ]
338         ],                                        338         ],
339         "cmdUnderTest": "$TC actions add actio    339         "cmdUnderTest": "$TC actions add action skbedit ptype host",
340         "expExitCode": "0",                       340         "expExitCode": "0",
341         "verifyCmd": "$TC actions list action     341         "verifyCmd": "$TC actions list action skbedit",
342         "matchPattern": "action order [0-9]*:     342         "matchPattern": "action order [0-9]*: skbedit  ptype host",
343         "matchCount": "1",                        343         "matchCount": "1",
344         "teardown": [                             344         "teardown": [
345             "$TC actions flush action skbedit"    345             "$TC actions flush action skbedit"
346         ]                                         346         ]
347     },                                            347     },
348     {                                             348     {
349         "id": "d1a3",                             349         "id": "d1a3",
350         "name": "Add skbedit action with ptype    350         "name": "Add skbedit action with ptype otherhost",
351         "category": [                             351         "category": [
352             "actions",                            352             "actions",
353             "skbedit"                             353             "skbedit"
354         ],                                        354         ],
355         "plugins": {                              355         "plugins": {
356            "requires": "nsPlugin"                 356            "requires": "nsPlugin"
357         },                                        357         },
358         "setup": [                                358         "setup": [
359             [                                     359             [
360                 "$TC actions flush action skbe    360                 "$TC actions flush action skbedit",
361                 0,                                361                 0,
362                 1,                                362                 1,
363                 255                               363                 255
364             ]                                     364             ]
365         ],                                        365         ],
366         "cmdUnderTest": "$TC actions add actio    366         "cmdUnderTest": "$TC actions add action skbedit ptype otherhost",
367         "expExitCode": "0",                       367         "expExitCode": "0",
368         "verifyCmd": "$TC actions list action     368         "verifyCmd": "$TC actions list action skbedit",
369         "matchPattern": "action order [0-9]*:     369         "matchPattern": "action order [0-9]*: skbedit  ptype otherhost",
370         "matchCount": "1",                        370         "matchCount": "1",
371         "teardown": [                             371         "teardown": [
372             "$TC actions flush action skbedit"    372             "$TC actions flush action skbedit"
373         ]                                         373         ]
374     },                                            374     },
375     {                                             375     {
376         "id": "b9c6",                             376         "id": "b9c6",
377         "name": "Add skbedit action with inval    377         "name": "Add skbedit action with invalid ptype",
378         "category": [                             378         "category": [
379             "actions",                            379             "actions",
380             "skbedit"                             380             "skbedit"
381         ],                                        381         ],
382         "plugins": {                              382         "plugins": {
383            "requires": "nsPlugin"                 383            "requires": "nsPlugin"
384         },                                        384         },
385         "setup": [                                385         "setup": [
386             [                                     386             [
387                 "$TC actions flush action skbe    387                 "$TC actions flush action skbedit",
388                 0,                                388                 0,
389                 1,                                389                 1,
390                 255                               390                 255
391             ]                                     391             ]
392         ],                                        392         ],
393         "cmdUnderTest": "$TC actions add actio    393         "cmdUnderTest": "$TC actions add action skbedit ptype openair",
394         "expExitCode": "255",                     394         "expExitCode": "255",
395         "verifyCmd": "$TC actions list action     395         "verifyCmd": "$TC actions list action skbedit",
396         "matchPattern": "action order [0-9]*:     396         "matchPattern": "action order [0-9]*:  skbedit ptype openair",
397         "matchCount": "0",                        397         "matchCount": "0",
398         "teardown": [                             398         "teardown": [
399             "$TC actions flush action skbedit"    399             "$TC actions flush action skbedit"
400         ]                                         400         ]
401     },                                            401     },
402     {                                             402     {
403         "id": "464a",                             403         "id": "464a",
404         "name": "Add skbedit action with contr    404         "name": "Add skbedit action with control pipe",
405         "category": [                             405         "category": [
406             "actions",                            406             "actions",
407             "skbedit"                             407             "skbedit"
408         ],                                        408         ],
409         "plugins": {                              409         "plugins": {
410            "requires": "nsPlugin"                 410            "requires": "nsPlugin"
411         },                                        411         },
412         "setup": [                                412         "setup": [
413             [                                     413             [
414                 "$TC actions flush action skbe    414                 "$TC actions flush action skbedit",
415                 0,                                415                 0,
416                 1,                                416                 1,
417                 255                               417                 255
418             ]                                     418             ]
419         ],                                        419         ],
420         "cmdUnderTest": "$TC actions add actio    420         "cmdUnderTest": "$TC actions add action skbedit ptype host pipe index 11",
421         "expExitCode": "0",                       421         "expExitCode": "0",
422         "verifyCmd": "$TC actions get action s    422         "verifyCmd": "$TC actions get action skbedit index 11",
423         "matchPattern": "action order [0-9]*:     423         "matchPattern": "action order [0-9]*: skbedit  ptype host pipe.*index 11 ref",
424         "matchCount": "1",                        424         "matchCount": "1",
425         "teardown": [                             425         "teardown": [
426             "$TC actions flush action skbedit"    426             "$TC actions flush action skbedit"
427         ]                                         427         ]
428     },                                            428     },
429     {                                             429     {
430         "id": "212f",                             430         "id": "212f",
431         "name": "Add skbedit action with contr    431         "name": "Add skbedit action with control reclassify",
432         "category": [                             432         "category": [
433             "actions",                            433             "actions",
434             "skbedit"                             434             "skbedit"
435         ],                                        435         ],
436         "plugins": {                              436         "plugins": {
437            "requires": "nsPlugin"                 437            "requires": "nsPlugin"
438         },                                        438         },
439         "setup": [                                439         "setup": [
440             [                                     440             [
441                 "$TC actions flush action skbe    441                 "$TC actions flush action skbedit",
442                 0,                                442                 0,
443                 1,                                443                 1,
444                 255                               444                 255
445             ]                                     445             ]
446         ],                                        446         ],
447         "cmdUnderTest": "$TC actions add actio    447         "cmdUnderTest": "$TC actions add action skbedit mark 56789 reclassify index 90",
448         "expExitCode": "0",                       448         "expExitCode": "0",
449         "verifyCmd": "$TC actions get action s    449         "verifyCmd": "$TC actions get action skbedit index 90",
450         "matchPattern": "action order [0-9]*:     450         "matchPattern": "action order [0-9]*: skbedit  mark 56789 reclassify.*index 90 ref",
451         "matchCount": "1",                        451         "matchCount": "1",
452         "teardown": [                             452         "teardown": [
453             "$TC actions flush action skbedit"    453             "$TC actions flush action skbedit"
454         ]                                         454         ]
455     },                                            455     },
456     {                                             456     {
457         "id": "0651",                             457         "id": "0651",
458         "name": "Add skbedit action with contr    458         "name": "Add skbedit action with control pass",
459         "category": [                             459         "category": [
460             "actions",                            460             "actions",
461             "skbedit"                             461             "skbedit"
462         ],                                        462         ],
463         "plugins": {                              463         "plugins": {
464            "requires": "nsPlugin"                 464            "requires": "nsPlugin"
465         },                                        465         },
466         "setup": [                                466         "setup": [
467             [                                     467             [
468                 "$TC actions flush action skbe    468                 "$TC actions flush action skbedit",
469                 0,                                469                 0,
470                 1,                                470                 1,
471                 255                               471                 255
472             ]                                     472             ]
473         ],                                        473         ],
474         "cmdUnderTest": "$TC actions add actio    474         "cmdUnderTest": "$TC actions add action skbedit queue_mapping 3 pass index 271",
475         "expExitCode": "0",                       475         "expExitCode": "0",
476         "verifyCmd": "$TC actions get action s    476         "verifyCmd": "$TC actions get action skbedit index 271",
477         "matchPattern": "action order [0-9]*:     477         "matchPattern": "action order [0-9]*: skbedit queue_mapping 3 pass.*index 271 ref",
478         "matchCount": "1",                        478         "matchCount": "1",
479         "teardown": [                             479         "teardown": [
480             "$TC actions flush action skbedit"    480             "$TC actions flush action skbedit"
481         ]                                         481         ]
482     },                                            482     },
483     {                                             483     {
484         "id": "cc53",                             484         "id": "cc53",
485         "name": "Add skbedit action with contr    485         "name": "Add skbedit action with control drop",
486         "category": [                             486         "category": [
487             "actions",                            487             "actions",
488             "skbedit"                             488             "skbedit"
489         ],                                        489         ],
490         "plugins": {                              490         "plugins": {
491            "requires": "nsPlugin"                 491            "requires": "nsPlugin"
492         },                                        492         },
493         "setup": [                                493         "setup": [
494             [                                     494             [
495                 "$TC actions flush action skbe    495                 "$TC actions flush action skbedit",
496                 0,                                496                 0,
497                 1,                                497                 1,
498                 255                               498                 255
499             ]                                     499             ]
500         ],                                        500         ],
501         "cmdUnderTest": "$TC actions add actio    501         "cmdUnderTest": "$TC actions add action skbedit queue_mapping 3 drop index 271",
502         "expExitCode": "0",                       502         "expExitCode": "0",
503         "verifyCmd": "$TC actions get action s    503         "verifyCmd": "$TC actions get action skbedit index 271",
504         "matchPattern": "action order [0-9]*:     504         "matchPattern": "action order [0-9]*: skbedit queue_mapping 3 drop.*index 271 ref",
505         "matchCount": "1",                        505         "matchCount": "1",
506         "teardown": [                             506         "teardown": [
507             "$TC actions flush action skbedit"    507             "$TC actions flush action skbedit"
508         ]                                         508         ]
509     },                                            509     },
510     {                                             510     {
511         "id": "ec16",                             511         "id": "ec16",
512         "name": "Add skbedit action with contr    512         "name": "Add skbedit action with control jump",
513         "category": [                             513         "category": [
514             "actions",                            514             "actions",
515             "skbedit"                             515             "skbedit"
516         ],                                        516         ],
517         "plugins": {                              517         "plugins": {
518            "requires": "nsPlugin"                 518            "requires": "nsPlugin"
519         },                                        519         },
520         "setup": [                                520         "setup": [
521             [                                     521             [
522                 "$TC actions flush action skbe    522                 "$TC actions flush action skbedit",
523                 0,                                523                 0,
524                 1,                                524                 1,
525                 255                               525                 255
526             ]                                     526             ]
527         ],                                        527         ],
528         "cmdUnderTest": "$TC actions add actio    528         "cmdUnderTest": "$TC actions add action skbedit priority 8 jump 9 index 2",
529         "expExitCode": "0",                       529         "expExitCode": "0",
530         "verifyCmd": "$TC actions get action s    530         "verifyCmd": "$TC actions get action skbedit index 2",
531         "matchPattern": "action order [0-9]*:     531         "matchPattern": "action order [0-9]*: skbedit  priority :8 jump 9.*index 2 ref",
532         "matchCount": "1",                        532         "matchCount": "1",
533         "teardown": [                             533         "teardown": [
534             "$TC actions flush action skbedit"    534             "$TC actions flush action skbedit"
535         ]                                         535         ]
536     },                                            536     },
537     {                                             537     {
538         "id": "db54",                             538         "id": "db54",
539         "name": "Add skbedit action with contr    539         "name": "Add skbedit action with control continue",
540         "category": [                             540         "category": [
541             "actions",                            541             "actions",
542             "skbedit"                             542             "skbedit"
543         ],                                        543         ],
544         "plugins": {                              544         "plugins": {
545            "requires": "nsPlugin"                 545            "requires": "nsPlugin"
546         },                                        546         },
547         "setup": [                                547         "setup": [
548             [                                     548             [
549                 "$TC actions flush action skbe    549                 "$TC actions flush action skbedit",
550                 0,                                550                 0,
551                 1,                                551                 1,
552                 255                               552                 255
553             ]                                     553             ]
554         ],                                        554         ],
555         "cmdUnderTest": "$TC actions add actio    555         "cmdUnderTest": "$TC actions add action skbedit priority 16 continue index 32",
556         "expExitCode": "0",                       556         "expExitCode": "0",
557         "verifyCmd": "$TC actions get action s    557         "verifyCmd": "$TC actions get action skbedit index 32",
558         "matchPattern": "action order [0-9]*:     558         "matchPattern": "action order [0-9]*: skbedit  priority :16 continue.*index 32 ref",
559         "matchCount": "1",                        559         "matchCount": "1",
560         "teardown": [                             560         "teardown": [
561             "$TC actions flush action skbedit"    561             "$TC actions flush action skbedit"
562         ]                                         562         ]
563     },                                            563     },
564     {                                             564     {
565         "id": "1055",                             565         "id": "1055",
566         "name": "Add skbedit action with cooki    566         "name": "Add skbedit action with cookie",
567         "category": [                             567         "category": [
568             "actions",                            568             "actions",
569             "skbedit"                             569             "skbedit"
570         ],                                        570         ],
571         "plugins": {                              571         "plugins": {
572            "requires": "nsPlugin"                 572            "requires": "nsPlugin"
573         },                                        573         },
574         "setup": [                                574         "setup": [
575             [                                     575             [
576                 "$TC actions flush action skbe    576                 "$TC actions flush action skbedit",
577                 0,                                577                 0,
578                 1,                                578                 1,
579                 255                               579                 255
580             ]                                     580             ]
581         ],                                        581         ],
582         "cmdUnderTest": "$TC actions add actio    582         "cmdUnderTest": "$TC actions add action skbedit priority 16 continue index 32 cookie deadbeef",
583         "expExitCode": "0",                       583         "expExitCode": "0",
584         "verifyCmd": "$TC actions get action s    584         "verifyCmd": "$TC actions get action skbedit index 32",
585         "matchPattern": "action order [0-9]*:     585         "matchPattern": "action order [0-9]*: skbedit  priority :16 continue.*index 32 ref.*cookie deadbeef",
586         "matchCount": "1",                        586         "matchCount": "1",
587         "teardown": [                             587         "teardown": [
588             "$TC actions flush action skbedit"    588             "$TC actions flush action skbedit"
589         ]                                         589         ]
590     },                                            590     },
591     {                                             591     {
592         "id": "5172",                             592         "id": "5172",
593         "name": "List skbedit actions",           593         "name": "List skbedit actions",
594         "category": [                             594         "category": [
595             "actions",                            595             "actions",
596             "skbedit"                             596             "skbedit"
597         ],                                        597         ],
598         "plugins": {                              598         "plugins": {
599            "requires": "nsPlugin"                 599            "requires": "nsPlugin"
600         },                                        600         },
601         "setup": [                                601         "setup": [
602             [                                     602             [
603                 "$TC actions flush action skbe    603                 "$TC actions flush action skbedit",
604                 0,                                604                 0,
605                 1,                                605                 1,
606                 255                               606                 255
607             ],                                    607             ],
608             "$TC actions add action skbedit pt    608             "$TC actions add action skbedit ptype otherhost",
609             "$TC actions add action skbedit pt    609             "$TC actions add action skbedit ptype broadcast",
610             "$TC actions add action skbedit ma    610             "$TC actions add action skbedit mark 59",
611             "$TC actions add action skbedit ma    611             "$TC actions add action skbedit mark 409"
612         ],                                        612         ],
613         "cmdUnderTest": "$TC actions list acti    613         "cmdUnderTest": "$TC actions list action skbedit",
614         "expExitCode": "0",                       614         "expExitCode": "0",
615         "verifyCmd": "$TC actions list action     615         "verifyCmd": "$TC actions list action skbedit",
616         "matchPattern": "action order [0-9]*:     616         "matchPattern": "action order [0-9]*: skbedit",
617         "matchCount": "4",                        617         "matchCount": "4",
618         "teardown": [                             618         "teardown": [
619             "$TC actions flush action skbedit"    619             "$TC actions flush action skbedit"
620         ]                                         620         ]
621     },                                            621     },
622     {                                             622     {
623         "id": "a6d6",                             623         "id": "a6d6",
624         "name": "Add skbedit action with index    624         "name": "Add skbedit action with index at 32-bit maximum",
625         "category": [                             625         "category": [
626             "actions",                            626             "actions",
627             "skbedit"                             627             "skbedit"
628         ],                                        628         ],
629         "plugins": {                              629         "plugins": {
630            "requires": "nsPlugin"                 630            "requires": "nsPlugin"
631         },                                        631         },
632         "setup": [                                632         "setup": [
633             [                                     633             [
634                 "$TC actions flush action skbe    634                 "$TC actions flush action skbedit",
635                 0,                                635                 0,
636                 1,                                636                 1,
637                 255                               637                 255
638             ]                                     638             ]
639         ],                                        639         ],
640         "cmdUnderTest": "$TC actions add actio    640         "cmdUnderTest": "$TC actions add action skbedit mark 808 index 4294967295",
641         "expExitCode": "0",                       641         "expExitCode": "0",
642         "verifyCmd": "$TC actions get action s    642         "verifyCmd": "$TC actions get action skbedit index 4294967295",
643         "matchPattern": "action order [0-9]*:     643         "matchPattern": "action order [0-9]*: skbedit  mark 808.*index 4294967295",
644         "matchCount": "1",                        644         "matchCount": "1",
645         "teardown": [                             645         "teardown": [
646             "$TC actions flush action skbedit"    646             "$TC actions flush action skbedit"
647         ]                                         647         ]
648     },                                            648     },
649     {                                             649     {
650         "id": "f0f4",                             650         "id": "f0f4",
651         "name": "Add skbedit action with index    651         "name": "Add skbedit action with index exceeding 32-bit maximum",
652         "category": [                             652         "category": [
653             "actions",                            653             "actions",
654             "skbedit"                             654             "skbedit"
655         ],                                        655         ],
656         "plugins": {                              656         "plugins": {
657            "requires": "nsPlugin"                 657            "requires": "nsPlugin"
658         },                                        658         },
659         "setup": [                                659         "setup": [
660             [                                     660             [
661                 "$TC actions flush action skbe    661                 "$TC actions flush action skbedit",
662                 0,                                662                 0,
663                 1,                                663                 1,
664                 255                               664                 255
665             ]                                     665             ]
666         ],                                        666         ],
667         "cmdUnderTest": "$TC actions add actio    667         "cmdUnderTest": "$TC actions add action skbedit mark 808 pass index 4294967297",
668         "expExitCode": "255",                     668         "expExitCode": "255",
669         "verifyCmd": "$TC actions get action s    669         "verifyCmd": "$TC actions get action skbedit index 4294967297",
670         "matchPattern": "action order [0-9]*:.    670         "matchPattern": "action order [0-9]*:.*skbedit.*mark 808.*pass.*index 4294967297",
671         "matchCount": "0",                        671         "matchCount": "0",
672         "teardown": []                            672         "teardown": []
673     },                                            673     },
674     {                                             674     {
675         "id": "38f3",                             675         "id": "38f3",
676         "name": "Delete skbedit action",          676         "name": "Delete skbedit action",
677         "category": [                             677         "category": [
678             "actions",                            678             "actions",
679             "skbedit"                             679             "skbedit"
680         ],                                        680         ],
681         "plugins": {                              681         "plugins": {
682            "requires": "nsPlugin"                 682            "requires": "nsPlugin"
683         },                                        683         },
684         "setup": [                                684         "setup": [
685             [                                     685             [
686                 "$TC actions flush action skbe    686                 "$TC actions flush action skbedit",
687                 0,                                687                 0,
688                 1,                                688                 1,
689                 255                               689                 255
690             ],                                    690             ],
691             "$TC actions add action skbedit ma    691             "$TC actions add action skbedit mark 42 index 9009"
692         ],                                        692         ],
693         "cmdUnderTest": "$TC actions del actio    693         "cmdUnderTest": "$TC actions del action skbedit index 9009",
694         "expExitCode": "0",                       694         "expExitCode": "0",
695         "verifyCmd": "$TC actions list action     695         "verifyCmd": "$TC actions list action skbedit",
696         "matchPattern": "action order [0-9]*:     696         "matchPattern": "action order [0-9]*:  skbedit mark 42",
697         "matchCount": "0",                        697         "matchCount": "0",
698         "teardown": [                             698         "teardown": [
699             "$TC actions flush action skbedit"    699             "$TC actions flush action skbedit"
700         ]                                         700         ]
701     },                                            701     },
702     {                                             702     {
703         "id": "ce97",                             703         "id": "ce97",
704         "name": "Flush skbedit actions",          704         "name": "Flush skbedit actions",
705         "category": [                             705         "category": [
706             "actions",                            706             "actions",
707             "skbedit"                             707             "skbedit"
708         ],                                        708         ],
709         "plugins": {                              709         "plugins": {
710            "requires": "nsPlugin"                 710            "requires": "nsPlugin"
711         },                                        711         },
712         "setup": [                                712         "setup": [
713             "$TC actions add action skbedit ma    713             "$TC actions add action skbedit mark 500",
714             "$TC actions add action skbedit ma    714             "$TC actions add action skbedit mark 501",
715             "$TC actions add action skbedit ma    715             "$TC actions add action skbedit mark 502",
716             "$TC actions add action skbedit ma    716             "$TC actions add action skbedit mark 503",
717             "$TC actions add action skbedit ma    717             "$TC actions add action skbedit mark 504",
718             "$TC actions add action skbedit ma    718             "$TC actions add action skbedit mark 505",
719             "$TC actions add action skbedit ma    719             "$TC actions add action skbedit mark 506"
720         ],                                        720         ],
721         "cmdUnderTest": "$TC actions flush act    721         "cmdUnderTest": "$TC actions flush action skbedit",
722         "expExitCode": "0",                       722         "expExitCode": "0",
723         "verifyCmd": "$TC actions list action     723         "verifyCmd": "$TC actions list action skbedit",
724         "matchPattern": "action order [0-9]*:     724         "matchPattern": "action order [0-9]*:  skbedit",
725         "matchCount": "0",                        725         "matchCount": "0",
726         "teardown": [                             726         "teardown": [
727             "$TC actions flush action skbedit"    727             "$TC actions flush action skbedit"
728         ]                                         728         ]
729     },                                            729     },
730     {                                             730     {
731         "id": "1b2b",                             731         "id": "1b2b",
732         "name": "Replace skbedit action with i    732         "name": "Replace skbedit action with invalid goto_chain control",
733         "category": [                             733         "category": [
734             "actions",                            734             "actions",
735             "skbedit"                             735             "skbedit"
736         ],                                        736         ],
737         "plugins": {                              737         "plugins": {
738            "requires": "nsPlugin"                 738            "requires": "nsPlugin"
739         },                                        739         },
740         "setup": [                                740         "setup": [
741             [                                     741             [
742                 "$TC actions flush action skbe    742                 "$TC actions flush action skbedit",
743                 0,                                743                 0,
744                 1,                                744                 1,
745                 255                               745                 255
746             ],                                    746             ],
747             "$TC actions add action skbedit pt    747             "$TC actions add action skbedit ptype host pass index 90"
748         ],                                        748         ],
749         "cmdUnderTest": "$TC actions replace a    749         "cmdUnderTest": "$TC actions replace action skbedit ptype host goto chain 42 index 90 cookie c1a0c1a0",
750         "expExitCode": "255",                     750         "expExitCode": "255",
751         "verifyCmd": "$TC actions list action     751         "verifyCmd": "$TC actions list action skbedit",
752         "matchPattern": "action order [0-9]*:     752         "matchPattern": "action order [0-9]*: skbedit  ptype host pass.*index 90 ref",
753         "matchCount": "1",                        753         "matchCount": "1",
754         "teardown": [                             754         "teardown": [
755             "$TC actions flush action skbedit"    755             "$TC actions flush action skbedit"
756         ]                                         756         ]
757     },                                            757     },
758     {                                             758     {
759         "id": "630c",                             759         "id": "630c",
760         "name": "Add batch of 32 skbedit actio    760         "name": "Add batch of 32 skbedit actions with all parameters and cookie",
761         "category": [                             761         "category": [
762             "actions",                            762             "actions",
763             "skbedit"                             763             "skbedit"
764         ],                                        764         ],
765         "plugins": {                              765         "plugins": {
766            "requires": "nsPlugin"                 766            "requires": "nsPlugin"
767         },                                        767         },
768         "setup": [                                768         "setup": [
769             [                                     769             [
770                 "$TC actions flush action skbe    770                 "$TC actions flush action skbedit",
771                 0,                                771                 0,
772                 1,                                772                 1,
773                 255                               773                 255
774             ]                                     774             ]
775         ],                                        775         ],
776         "cmdUnderTest": "bash -c \"for i in \\    776         "cmdUnderTest": "bash -c \"for i in \\`seq 1 32\\`; do cmd=\\\"action skbedit queue_mapping 2 priority 10 mark 7/0xaabbccdd ptype host inheritdsfield index \\$i cookie aabbccddeeff112233445566778800a1 \\\"; args=\"\\$args\\$cmd\"; done && $TC actions add \\$args\"",
777         "expExitCode": "0",                       777         "expExitCode": "0",
778         "verifyCmd": "$TC actions list action     778         "verifyCmd": "$TC actions list action skbedit",
779         "matchPattern": "^[ \t]+index [0-9]+ r    779         "matchPattern": "^[ \t]+index [0-9]+ ref",
780         "matchCount": "32",                       780         "matchCount": "32",
781         "teardown": [                             781         "teardown": [
782             "$TC actions flush action skbedit"    782             "$TC actions flush action skbedit"
783         ]                                         783         ]
784     },                                            784     },
785     {                                             785     {
786         "id": "706d",                             786         "id": "706d",
787         "name": "Delete batch of 32 skbedit ac    787         "name": "Delete batch of 32 skbedit actions with all parameters",
788         "category": [                             788         "category": [
789             "actions",                            789             "actions",
790             "skbedit"                             790             "skbedit"
791         ],                                        791         ],
792         "plugins": {                              792         "plugins": {
793            "requires": "nsPlugin"                 793            "requires": "nsPlugin"
794         },                                        794         },
795         "setup": [                                795         "setup": [
796             [                                     796             [
797                 "$TC actions flush action skbe    797                 "$TC actions flush action skbedit",
798                 0,                                798                 0,
799                 1,                                799                 1,
800                 255                               800                 255
801             ],                                    801             ],
802             "bash -c \"for i in \\`seq 1 32\\`    802             "bash -c \"for i in \\`seq 1 32\\`; do cmd=\\\"action skbedit queue_mapping 2 priority 10 mark 7/0xaabbccdd ptype host inheritdsfield index \\$i \\\"; args=\\\"\\$args\\$cmd\\\"; done && $TC actions add \\$args\""
803         ],                                        803         ],
804         "cmdUnderTest": "bash -c \"for i in \\    804         "cmdUnderTest": "bash -c \"for i in \\`seq 1 32\\`; do cmd=\\\"action skbedit index \\$i \\\"; args=\"\\$args\\$cmd\"; done && $TC actions del \\$args\"",
805         "expExitCode": "0",                       805         "expExitCode": "0",
806         "verifyCmd": "$TC actions list action     806         "verifyCmd": "$TC actions list action skbedit",
807         "matchPattern": "^[ \t]+index [0-9]+ r    807         "matchPattern": "^[ \t]+index [0-9]+ ref",
808         "matchCount": "0",                        808         "matchCount": "0",
809         "teardown": []                            809         "teardown": []
810     }                                             810     }
811 ]                                                 811 ]
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php