1 [ 1 [ 2 { 2 { 3 "id": "7d50", 3 "id": "7d50", 4 "name": "Add skbmod action to set dest 4 "name": "Add skbmod action to set destination mac", 5 "category": [ 5 "category": [ 6 "actions", 6 "actions", 7 "skbmod" 7 "skbmod" 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 skbm 14 "$TC actions flush action skbmod", 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 skbmod set dmac 11:22:33:44:55:66 index 5", 21 "expExitCode": "0", 21 "expExitCode": "0", 22 "verifyCmd": "$TC actions ls action sk 22 "verifyCmd": "$TC actions ls action skbmod", 23 "matchPattern": "action order [0-9]*: 23 "matchPattern": "action order [0-9]*: skbmod pipe set dmac 11:22:33:44:55:66\\s+index 5", 24 "matchCount": "1", 24 "matchCount": "1", 25 "teardown": [ 25 "teardown": [ 26 "$TC actions flush action skbmod" 26 "$TC actions flush action skbmod" 27 ] 27 ] 28 }, 28 }, 29 { 29 { 30 "id": "9b29", 30 "id": "9b29", 31 "name": "Add skbmod action to set sour 31 "name": "Add skbmod action to set source mac", 32 "category": [ 32 "category": [ 33 "actions", 33 "actions", 34 "skbmod" 34 "skbmod" 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 skbm 41 "$TC actions flush action skbmod", 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 skbmod set smac 77:88:99:AA:BB:CC index 7", 48 "expExitCode": "0", 48 "expExitCode": "0", 49 "verifyCmd": "$TC actions get action s 49 "verifyCmd": "$TC actions get action skbmod index 7", 50 "matchPattern": "action order [0-9]*: 50 "matchPattern": "action order [0-9]*: skbmod pipe set smac 77:88:99:aa:bb:cc\\s+index 7", 51 "matchCount": "1", 51 "matchCount": "1", 52 "teardown": [ 52 "teardown": [ 53 "$TC actions flush action skbmod" 53 "$TC actions flush action skbmod" 54 ] 54 ] 55 }, 55 }, 56 { 56 { 57 "id": "1724", 57 "id": "1724", 58 "name": "Add skbmod action with invali 58 "name": "Add skbmod action with invalid mac", 59 "category": [ 59 "category": [ 60 "actions", 60 "actions", 61 "skbmod" 61 "skbmod" 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 skbm 68 "$TC actions flush action skbmod", 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 skbmod set smac 00:44:55:44:55", 75 "expExitCode": "255", 75 "expExitCode": "255", 76 "verifyCmd": "$TC actions ls action sk 76 "verifyCmd": "$TC actions ls action skbmod", 77 "matchPattern": "action order [0-9]*: 77 "matchPattern": "action order [0-9]*: skbmod pipe set smac 00:44:55:44:55", 78 "matchCount": "0", 78 "matchCount": "0", 79 "teardown": [ 79 "teardown": [ 80 "$TC actions flush action skbmod" 80 "$TC actions flush action skbmod" 81 ] 81 ] 82 }, 82 }, 83 { 83 { 84 "id": "3cf1", 84 "id": "3cf1", 85 "name": "Add skbmod action with valid 85 "name": "Add skbmod action with valid etype", 86 "category": [ 86 "category": [ 87 "actions", 87 "actions", 88 "skbmod" 88 "skbmod" 89 ], 89 ], 90 "plugins": { 90 "plugins": { 91 "requires": "nsPlugin" 91 "requires": "nsPlugin" 92 }, 92 }, 93 "setup": [ 93 "setup": [ 94 [ 94 [ 95 "$TC actions flush action skbm 95 "$TC actions flush action skbmod", 96 0, 96 0, 97 1, 97 1, 98 255 98 255 99 ] 99 ] 100 ], 100 ], 101 "cmdUnderTest": "$TC actions add actio 101 "cmdUnderTest": "$TC actions add action skbmod set etype 0xfefe", 102 "expExitCode": "0", 102 "expExitCode": "0", 103 "verifyCmd": "$TC actions ls action sk 103 "verifyCmd": "$TC actions ls action skbmod", 104 "matchPattern": "action order [0-9]*: 104 "matchPattern": "action order [0-9]*: skbmod pipe set etype 0xFEFE", 105 "matchCount": "1", 105 "matchCount": "1", 106 "teardown": [ 106 "teardown": [ 107 "$TC actions flush action skbmod" 107 "$TC actions flush action skbmod" 108 ] 108 ] 109 }, 109 }, 110 { 110 { 111 "id": "a749", 111 "id": "a749", 112 "name": "Add skbmod action with invali 112 "name": "Add skbmod action with invalid etype", 113 "category": [ 113 "category": [ 114 "actions", 114 "actions", 115 "skbmod" 115 "skbmod" 116 ], 116 ], 117 "plugins": { 117 "plugins": { 118 "requires": "nsPlugin" 118 "requires": "nsPlugin" 119 }, 119 }, 120 "setup": [ 120 "setup": [ 121 [ 121 [ 122 "$TC actions flush action skbm 122 "$TC actions flush action skbmod", 123 0, 123 0, 124 1, 124 1, 125 255 125 255 126 ] 126 ] 127 ], 127 ], 128 "cmdUnderTest": "$TC actions add actio 128 "cmdUnderTest": "$TC actions add action skbmod set etype 0xfefef", 129 "expExitCode": "255", 129 "expExitCode": "255", 130 "verifyCmd": "$TC actions ls action sk 130 "verifyCmd": "$TC actions ls action skbmod", 131 "matchPattern": "action order [0-9]*: 131 "matchPattern": "action order [0-9]*: skbmod pipe set etype 0xFEFEF", 132 "matchCount": "0", 132 "matchCount": "0", 133 "teardown": [ 133 "teardown": [ 134 "$TC actions flush action skbmod" 134 "$TC actions flush action skbmod" 135 ] 135 ] 136 }, 136 }, 137 { 137 { 138 "id": "bfe6", 138 "id": "bfe6", 139 "name": "Add skbmod action to swap mac 139 "name": "Add skbmod action to swap mac", 140 "category": [ 140 "category": [ 141 "actions", 141 "actions", 142 "skbmod" 142 "skbmod" 143 ], 143 ], 144 "plugins": { 144 "plugins": { 145 "requires": "nsPlugin" 145 "requires": "nsPlugin" 146 }, 146 }, 147 "setup": [ 147 "setup": [ 148 [ 148 [ 149 "$TC actions flush action skbm 149 "$TC actions flush action skbmod", 150 0, 150 0, 151 1, 151 1, 152 255 152 255 153 ] 153 ] 154 ], 154 ], 155 "cmdUnderTest": "$TC actions add actio 155 "cmdUnderTest": "$TC actions add action skbmod swap mac", 156 "expExitCode": "0", 156 "expExitCode": "0", 157 "verifyCmd": "$TC actions get action s 157 "verifyCmd": "$TC actions get action skbmod index 1", 158 "matchPattern": "action order [0-9]*: 158 "matchPattern": "action order [0-9]*: skbmod pipe swap mac", 159 "matchCount": "1", 159 "matchCount": "1", 160 "teardown": [ 160 "teardown": [ 161 "$TC actions flush action skbmod" 161 "$TC actions flush action skbmod" 162 ] 162 ] 163 }, 163 }, 164 { 164 { 165 "id": "839b", 165 "id": "839b", 166 "name": "Add skbmod action with contro 166 "name": "Add skbmod action with control pipe", 167 "category": [ 167 "category": [ 168 "actions", 168 "actions", 169 "skbmod" 169 "skbmod" 170 ], 170 ], 171 "plugins": { 171 "plugins": { 172 "requires": "nsPlugin" 172 "requires": "nsPlugin" 173 }, 173 }, 174 "setup": [ 174 "setup": [ 175 [ 175 [ 176 "$TC actions flush action skbm 176 "$TC actions flush action skbmod", 177 0, 177 0, 178 1, 178 1, 179 255 179 255 180 ] 180 ] 181 ], 181 ], 182 "cmdUnderTest": "$TC actions add actio 182 "cmdUnderTest": "$TC actions add action skbmod swap mac pipe", 183 "expExitCode": "0", 183 "expExitCode": "0", 184 "verifyCmd": "$TC actions ls action sk 184 "verifyCmd": "$TC actions ls action skbmod", 185 "matchPattern": "action order [0-9]*: 185 "matchPattern": "action order [0-9]*: skbmod pipe swap mac", 186 "matchCount": "1", 186 "matchCount": "1", 187 "teardown": [ 187 "teardown": [ 188 "$TC actions flush action skbmod" 188 "$TC actions flush action skbmod" 189 ] 189 ] 190 }, 190 }, 191 { 191 { 192 "id": "c167", 192 "id": "c167", 193 "name": "Add skbmod action with contro 193 "name": "Add skbmod action with control reclassify", 194 "category": [ 194 "category": [ 195 "actions", 195 "actions", 196 "skbmod" 196 "skbmod" 197 ], 197 ], 198 "plugins": { 198 "plugins": { 199 "requires": "nsPlugin" 199 "requires": "nsPlugin" 200 }, 200 }, 201 "setup": [ 201 "setup": [ 202 [ 202 [ 203 "$TC actions flush action skbm 203 "$TC actions flush action skbmod", 204 0, 204 0, 205 1, 205 1, 206 255 206 255 207 ] 207 ] 208 ], 208 ], 209 "cmdUnderTest": "$TC actions add actio 209 "cmdUnderTest": "$TC actions add action skbmod set etype 0xbeef reclassify", 210 "expExitCode": "0", 210 "expExitCode": "0", 211 "verifyCmd": "$TC actions ls action sk 211 "verifyCmd": "$TC actions ls action skbmod", 212 "matchPattern": "action order [0-9]*: 212 "matchPattern": "action order [0-9]*: skbmod reclassify set etype 0xBEEF", 213 "matchCount": "1", 213 "matchCount": "1", 214 "teardown": [ 214 "teardown": [ 215 "$TC actions flush action skbmod" 215 "$TC actions flush action skbmod" 216 ] 216 ] 217 }, 217 }, 218 { 218 { 219 "id": "0c2f", 219 "id": "0c2f", 220 "name": "Add skbmod action with contro 220 "name": "Add skbmod action with control drop", 221 "category": [ 221 "category": [ 222 "actions", 222 "actions", 223 "skbmod" 223 "skbmod" 224 ], 224 ], 225 "plugins": { 225 "plugins": { 226 "requires": "nsPlugin" 226 "requires": "nsPlugin" 227 }, 227 }, 228 "setup": [ 228 "setup": [ 229 [ 229 [ 230 "$TC actions flush action skbm 230 "$TC actions flush action skbmod", 231 0, 231 0, 232 1, 232 1, 233 255 233 255 234 ] 234 ] 235 ], 235 ], 236 "cmdUnderTest": "$TC actions add actio 236 "cmdUnderTest": "$TC actions add action skbmod set etype 0x0001 drop", 237 "expExitCode": "0", 237 "expExitCode": "0", 238 "verifyCmd": "$TC actions get action s 238 "verifyCmd": "$TC actions get action skbmod index 1", 239 "matchPattern": "action order [0-9]*: 239 "matchPattern": "action order [0-9]*: skbmod drop set etype 0x1", 240 "matchCount": "1", 240 "matchCount": "1", 241 "teardown": [ 241 "teardown": [ 242 "$TC actions flush action skbmod" 242 "$TC actions flush action skbmod" 243 ] 243 ] 244 }, 244 }, 245 { 245 { 246 "id": "d113", 246 "id": "d113", 247 "name": "Add skbmod action with contro 247 "name": "Add skbmod action with control continue", 248 "category": [ 248 "category": [ 249 "actions", 249 "actions", 250 "skbmod" 250 "skbmod" 251 ], 251 ], 252 "plugins": { 252 "plugins": { 253 "requires": "nsPlugin" 253 "requires": "nsPlugin" 254 }, 254 }, 255 "setup": [ 255 "setup": [ 256 [ 256 [ 257 "$TC actions flush action skbm 257 "$TC actions flush action skbmod", 258 0, 258 0, 259 1, 259 1, 260 255 260 255 261 ] 261 ] 262 ], 262 ], 263 "cmdUnderTest": "$TC actions add actio 263 "cmdUnderTest": "$TC actions add action skbmod set etype 0x1 continue", 264 "expExitCode": "0", 264 "expExitCode": "0", 265 "verifyCmd": "$TC actions ls action sk 265 "verifyCmd": "$TC actions ls action skbmod", 266 "matchPattern": "action order [0-9]*: 266 "matchPattern": "action order [0-9]*: skbmod continue set etype 0x1", 267 "matchCount": "1", 267 "matchCount": "1", 268 "teardown": [ 268 "teardown": [ 269 "$TC actions flush action skbmod" 269 "$TC actions flush action skbmod" 270 ] 270 ] 271 }, 271 }, 272 { 272 { 273 "id": "7242", 273 "id": "7242", 274 "name": "Add skbmod action with contro 274 "name": "Add skbmod action with control pass", 275 "category": [ 275 "category": [ 276 "actions", 276 "actions", 277 "skbmod" 277 "skbmod" 278 ], 278 ], 279 "plugins": { 279 "plugins": { 280 "requires": "nsPlugin" 280 "requires": "nsPlugin" 281 }, 281 }, 282 "setup": [ 282 "setup": [ 283 [ 283 [ 284 "$TC actions flush action skbm 284 "$TC actions flush action skbmod", 285 0, 285 0, 286 1, 286 1, 287 255 287 255 288 ] 288 ] 289 ], 289 ], 290 "cmdUnderTest": "$TC actions add actio 290 "cmdUnderTest": "$TC actions add action skbmod set smac 00:00:00:00:00:01 pass", 291 "expExitCode": "0", 291 "expExitCode": "0", 292 "verifyCmd": "$TC actions ls action sk 292 "verifyCmd": "$TC actions ls action skbmod", 293 "matchPattern": "action order [0-9]*: 293 "matchPattern": "action order [0-9]*: skbmod pass set smac 00:00:00:00:00:01", 294 "matchCount": "1", 294 "matchCount": "1", 295 "teardown": [ 295 "teardown": [ 296 "$TC actions flush action skbmod" 296 "$TC actions flush action skbmod" 297 ] 297 ] 298 }, 298 }, 299 { 299 { 300 "id": "6046", 300 "id": "6046", 301 "name": "Add skbmod action with contro 301 "name": "Add skbmod action with control reclassify and cookie", 302 "category": [ 302 "category": [ 303 "actions", 303 "actions", 304 "skbmod" 304 "skbmod" 305 ], 305 ], 306 "plugins": { 306 "plugins": { 307 "requires": "nsPlugin" 307 "requires": "nsPlugin" 308 }, 308 }, 309 "setup": [ 309 "setup": [ 310 [ 310 [ 311 "$TC actions flush action skbm 311 "$TC actions flush action skbmod", 312 0, 312 0, 313 1, 313 1, 314 255 314 255 315 ] 315 ] 316 ], 316 ], 317 "cmdUnderTest": "$TC actions add actio 317 "cmdUnderTest": "$TC actions add action skbmod set smac 00:01:02:03:04:01 reclassify index 1 cookie ddeeffaabb11cc22", 318 "expExitCode": "0", 318 "expExitCode": "0", 319 "verifyCmd": "$TC actions get action s 319 "verifyCmd": "$TC actions get action skbmod index 1", 320 "matchPattern": "action order [0-9]*: 320 "matchPattern": "action order [0-9]*: skbmod reclassify set smac 00:01:02:03:04:01.*index 1 ref.*cookie ddeeffaabb11cc22", 321 "matchCount": "1", 321 "matchCount": "1", 322 "teardown": [ 322 "teardown": [ 323 "$TC actions flush action skbmod" 323 "$TC actions flush action skbmod" 324 ] 324 ] 325 }, 325 }, 326 { 326 { 327 "id": "58cb", 327 "id": "58cb", 328 "name": "List skbmod actions", 328 "name": "List skbmod actions", 329 "category": [ 329 "category": [ 330 "actions", 330 "actions", 331 "skbmod" 331 "skbmod" 332 ], 332 ], 333 "plugins": { 333 "plugins": { 334 "requires": "nsPlugin" 334 "requires": "nsPlugin" 335 }, 335 }, 336 "setup": [ 336 "setup": [ 337 [ 337 [ 338 "$TC actions flush action skbm 338 "$TC actions flush action skbmod", 339 0, 339 0, 340 1, 340 1, 341 255 341 255 342 ], 342 ], 343 "$TC actions add action skbmod set 343 "$TC actions add action skbmod set etype 0x0001", 344 "$TC actions add action skbmod set 344 "$TC actions add action skbmod set etype 0x0011", 345 "$TC actions add action skbmod set 345 "$TC actions add action skbmod set etype 0x0021", 346 "$TC actions add action skbmod set 346 "$TC actions add action skbmod set etype 0x0031", 347 "$TC actions add action skbmod set 347 "$TC actions add action skbmod set etype 0x0041" 348 ], 348 ], 349 "cmdUnderTest": "$TC actions ls action 349 "cmdUnderTest": "$TC actions ls action skbmod", 350 "expExitCode": "0", 350 "expExitCode": "0", 351 "verifyCmd": "$TC actions ls action sk 351 "verifyCmd": "$TC actions ls action skbmod", 352 "matchPattern": "action order [0-9]*: 352 "matchPattern": "action order [0-9]*: skbmod", 353 "matchCount": "5", 353 "matchCount": "5", 354 "teardown": [ 354 "teardown": [ 355 "$TC actions flush action skbmod" 355 "$TC actions flush action skbmod" 356 ] 356 ] 357 }, 357 }, 358 { 358 { 359 "id": "9aa8", 359 "id": "9aa8", 360 "name": "Get a single skbmod action fr 360 "name": "Get a single skbmod action from a list", 361 "category": [ 361 "category": [ 362 "actions", 362 "actions", 363 "skbmod" 363 "skbmod" 364 ], 364 ], 365 "plugins": { 365 "plugins": { 366 "requires": "nsPlugin" 366 "requires": "nsPlugin" 367 }, 367 }, 368 "setup": [ 368 "setup": [ 369 [ 369 [ 370 "$TC actions flush action skbm 370 "$TC actions flush action skbmod", 371 0, 371 0, 372 1, 372 1, 373 255 373 255 374 ], 374 ], 375 "$TC actions add action skbmod set 375 "$TC actions add action skbmod set etype 0x0001", 376 "$TC actions add action skbmod set 376 "$TC actions add action skbmod set etype 0x0011", 377 "$TC actions add action skbmod set 377 "$TC actions add action skbmod set etype 0x0021", 378 "$TC actions add action skbmod set 378 "$TC actions add action skbmod set etype 0x0031", 379 "$TC actions add action skbmod set 379 "$TC actions add action skbmod set etype 0x0041" 380 ], 380 ], 381 "cmdUnderTest": "$TC actions ls action 381 "cmdUnderTest": "$TC actions ls action skbmod", 382 "expExitCode": "0", 382 "expExitCode": "0", 383 "verifyCmd": "$TC actions get action s 383 "verifyCmd": "$TC actions get action skbmod index 4", 384 "matchPattern": "action order [0-9]*: 384 "matchPattern": "action order [0-9]*: skbmod pipe set etype 0x31", 385 "matchCount": "1", 385 "matchCount": "1", 386 "teardown": [ 386 "teardown": [ 387 "$TC actions flush action skbmod" 387 "$TC actions flush action skbmod" 388 ] 388 ] 389 }, 389 }, 390 { 390 { 391 "id": "e93a", 391 "id": "e93a", 392 "name": "Delete an skbmod action", 392 "name": "Delete an skbmod action", 393 "category": [ 393 "category": [ 394 "actions", 394 "actions", 395 "skbmod" 395 "skbmod" 396 ], 396 ], 397 "plugins": { 397 "plugins": { 398 "requires": "nsPlugin" 398 "requires": "nsPlugin" 399 }, 399 }, 400 "setup": [ 400 "setup": [ 401 [ 401 [ 402 "$TC actions flush action skbm 402 "$TC actions flush action skbmod", 403 0, 403 0, 404 1, 404 1, 405 255 405 255 406 ], 406 ], 407 "$TC actions add action skbmod set 407 "$TC actions add action skbmod set etype 0x1111 index 909" 408 ], 408 ], 409 "cmdUnderTest": "$TC actions del actio 409 "cmdUnderTest": "$TC actions del action skbmod index 909", 410 "expExitCode": "0", 410 "expExitCode": "0", 411 "verifyCmd": "$TC actions ls action sk 411 "verifyCmd": "$TC actions ls action skbmod", 412 "matchPattern": "action order [0-9]*: 412 "matchPattern": "action order [0-9]*: skbmod pipe set etype 0x1111\\s+index 909", 413 "matchCount": "0", 413 "matchCount": "0", 414 "teardown": [ 414 "teardown": [ 415 "$TC actions flush action skbmod" 415 "$TC actions flush action skbmod" 416 ] 416 ] 417 }, 417 }, 418 { 418 { 419 "id": "40c2", 419 "id": "40c2", 420 "name": "Flush skbmod actions", 420 "name": "Flush skbmod actions", 421 "category": [ 421 "category": [ 422 "actions", 422 "actions", 423 "skbmod" 423 "skbmod" 424 ], 424 ], 425 "plugins": { 425 "plugins": { 426 "requires": "nsPlugin" 426 "requires": "nsPlugin" 427 }, 427 }, 428 "setup": [ 428 "setup": [ 429 "$TC actions add action skbmod set 429 "$TC actions add action skbmod set etype 0x0001", 430 "$TC actions add action skbmod set 430 "$TC actions add action skbmod set etype 0x0011", 431 "$TC actions add action skbmod set 431 "$TC actions add action skbmod set etype 0x0021", 432 "$TC actions add action skbmod set 432 "$TC actions add action skbmod set etype 0x0031", 433 "$TC actions add action skbmod set 433 "$TC actions add action skbmod set etype 0x0041" 434 ], 434 ], 435 "cmdUnderTest": "$TC actions flush act 435 "cmdUnderTest": "$TC actions flush action skbmod", 436 "expExitCode": "0", 436 "expExitCode": "0", 437 "verifyCmd": "$TC actions ls action sk 437 "verifyCmd": "$TC actions ls action skbmod", 438 "matchPattern": "action order [0-9]*: 438 "matchPattern": "action order [0-9]*: skbmod", 439 "matchCount": "0", 439 "matchCount": "0", 440 "teardown": [ 440 "teardown": [ 441 "$TC actions flush action skbmod" 441 "$TC actions flush action skbmod" 442 ] 442 ] 443 }, 443 }, 444 { 444 { 445 "id": "b651", 445 "id": "b651", 446 "name": "Replace skbmod action with in 446 "name": "Replace skbmod action with invalid goto_chain control", 447 "category": [ 447 "category": [ 448 "actions", 448 "actions", 449 "skbmod" 449 "skbmod" 450 ], 450 ], 451 "plugins": { 451 "plugins": { 452 "requires": "nsPlugin" 452 "requires": "nsPlugin" 453 }, 453 }, 454 "setup": [ 454 "setup": [ 455 [ 455 [ 456 "$TC actions flush action skbm 456 "$TC actions flush action skbmod", 457 0, 457 0, 458 1, 458 1, 459 255 459 255 460 ], 460 ], 461 "$TC actions add action skbmod set 461 "$TC actions add action skbmod set etype 0x1111 pass index 90" 462 ], 462 ], 463 "cmdUnderTest": "$TC actions replace a 463 "cmdUnderTest": "$TC actions replace action skbmod set etype 0x1111 goto chain 42 index 90 cookie c1a0c1a0", 464 "expExitCode": "255", 464 "expExitCode": "255", 465 "verifyCmd": "$TC actions ls action sk 465 "verifyCmd": "$TC actions ls action skbmod", 466 "matchPattern": "action order [0-9]*: 466 "matchPattern": "action order [0-9]*: skbmod pass set etype 0x1111\\s+index 90 ref", 467 "matchCount": "1", 467 "matchCount": "1", 468 "teardown": [ 468 "teardown": [ 469 "$TC actions flush action skbmod" 469 "$TC actions flush action skbmod" 470 ] 470 ] 471 }, 471 }, 472 { 472 { 473 "id": "fe09", 473 "id": "fe09", 474 "name": "Add skbmod action to mark ECN 474 "name": "Add skbmod action to mark ECN bits", 475 "category": [ 475 "category": [ 476 "actions", 476 "actions", 477 "skbmod" 477 "skbmod" 478 ], 478 ], 479 "plugins": { 479 "plugins": { 480 "requires": "nsPlugin" 480 "requires": "nsPlugin" 481 }, 481 }, 482 "setup": [ 482 "setup": [ 483 [ 483 [ 484 "$TC actions flush action skbm 484 "$TC actions flush action skbmod", 485 0, 485 0, 486 1, 486 1, 487 255 487 255 488 ] 488 ] 489 ], 489 ], 490 "cmdUnderTest": "$TC actions add actio 490 "cmdUnderTest": "$TC actions add action skbmod ecn", 491 "expExitCode": "0", 491 "expExitCode": "0", 492 "verifyCmd": "$TC actions get action s 492 "verifyCmd": "$TC actions get action skbmod index 1", 493 "matchPattern": "action order [0-9]*: 493 "matchPattern": "action order [0-9]*: skbmod pipe ecn", 494 "matchCount": "1", 494 "matchCount": "1", 495 "teardown": [ 495 "teardown": [ 496 "$TC actions flush action skbmod" 496 "$TC actions flush action skbmod" 497 ] 497 ] 498 } 498 } 499 ] 499 ]
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.