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

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

File Facts

System
Linux kernel
Corpus path
tools/testing/selftests/tc-testing/tc-tests/actions/connmark.json
Extension
.json
Size
11954 bytes
Lines
412
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": "2002",
        "name": "Add valid connmark action with defaults",
        "category": [
            "actions",
            "connmark"
        ],
        "plugins": {
           "requires": "nsPlugin"
        },
        "setup": [
            [
                "$TC actions flush action connmark",
                0,
                1,
                255
            ]
        ],
        "cmdUnderTest": "$TC actions add action connmark",
        "expExitCode": "0",
        "verifyCmd": "$TC actions list action connmark",
        "matchPattern": "action order [0-9]+: connmark zone 0 pipe",
        "matchCount": "1",
        "teardown": [
            "$TC actions flush action connmark"
        ]
    },
    {
        "id": "56a5",
        "name": "Add valid connmark action with control pass",
        "category": [
            "actions",
            "connmark"
        ],
        "plugins": {
           "requires": "nsPlugin"
        },
        "setup": [
            [
                "$TC actions flush action connmark",
                0,
                1,
                255
            ]
        ],
        "cmdUnderTest": "$TC actions add action connmark pass index 1",
        "expExitCode": "0",
        "verifyCmd": "$TC actions get action connmark index 1",
        "matchPattern": "action order [0-9]+: connmark zone 0 pass.*index 1 ref",
        "matchCount": "1",
        "teardown": [
            "$TC actions flush action connmark"
        ]
    },
    {
        "id": "7c66",
        "name": "Add valid connmark action with control drop",
        "category": [
            "actions",
            "connmark"
        ],
        "plugins": {
           "requires": "nsPlugin"
        },
        "setup": [
            [
                "$TC actions flush action connmark",
                0,
                1,

Annotation

Implementation Notes