tools/testing/selftests/tc-testing/tc-tests/actions/skbmod.json

Source file repositories/reference/linux-study-clean/tools/testing/selftests/tc-testing/tc-tests/actions/skbmod.json

File Facts

System
Linux kernel
Corpus path
tools/testing/selftests/tc-testing/tc-tests/actions/skbmod.json
Extension
.json
Size
14438 bytes
Lines
500
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

[
    {
        "id": "7d50",
        "name": "Add skbmod action to set destination mac",
        "category": [
            "actions",
            "skbmod"
        ],
        "plugins": {
           "requires": "nsPlugin"
        },
        "setup": [
            [
                "$TC actions flush action skbmod",
                0,
                1,
                255
            ]
        ],
        "cmdUnderTest": "$TC actions add action skbmod set dmac 11:22:33:44:55:66 index 5",
        "expExitCode": "0",
        "verifyCmd": "$TC actions ls action skbmod",
        "matchPattern": "action order [0-9]*: skbmod pipe set dmac 11:22:33:44:55:66\\s+index 5",
        "matchCount": "1",
        "teardown": [
            "$TC actions flush action skbmod"
        ]
    },
    {
        "id": "9b29",
        "name": "Add skbmod action to set source mac",
        "category": [
            "actions",
            "skbmod"
        ],
        "plugins": {
           "requires": "nsPlugin"
        },
        "setup": [
            [
                "$TC actions flush action skbmod",
                0,
                1,
                255
            ]
        ],
        "cmdUnderTest": "$TC actions add action skbmod set smac 77:88:99:AA:BB:CC index 7",
        "expExitCode": "0",
        "verifyCmd": "$TC actions get action skbmod index 7",
        "matchPattern": "action order [0-9]*: skbmod pipe set smac 77:88:99:aa:bb:cc\\s+index 7",
        "matchCount": "1",
        "teardown": [
            "$TC actions flush action skbmod"
        ]
    },
    {
        "id": "1724",
        "name": "Add skbmod action with invalid mac",
        "category": [
            "actions",
            "skbmod"
        ],
        "plugins": {
           "requires": "nsPlugin"
        },
        "setup": [
            [
                "$TC actions flush action skbmod",
                0,
                1,

Annotation

Implementation Notes