{
    "content": [
        {
            "type": "text",
            "text": "# tc-xt(8) (man)\n\n**Summary:** xt - tc iptables action\n\n**Synopsis:** tc ... action xt -j TARGET [ TARGETOPTS ]\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -j | — | — | Perform a jump to the given iptables target, optionally passing any target specific options in TARGETOPTS. |\n\n## Examples\n\n- `The  following  will attach a u32 filter to the ingress qdisc matching ICMP replies and using`\n- `the xt action to make the kernel yell 'PONG' each time:`\n- `tc qdisc add dev eth0 ingress`\n- `tc filter add dev eth0 parent ffff: proto ip u32 \\`\n- `match ip protocol 1 0xff \\`\n- `match ip icmptype 0 0xff \\`\n- `action xt -j LOG --log-prefix PONG`\n\n## See Also\n\n- tc(8)\n- tc-u32(8)\n- iptables-extensions(8)\n- tc(8)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (3 lines)\n- **OPTIONS** (1 lines) — 1 subsections\n  - -j (3 lines)\n- **EXAMPLES** (9 lines)\n- **SEE ALSO** (5 lines)\n\n## Full Content\n\n### NAME\n\nxt - tc iptables action\n\n### SYNOPSIS\n\ntc ... action xt -j TARGET [ TARGETOPTS ]\n\n### DESCRIPTION\n\nThe  xt action allows to call arbitrary iptables targets for packets matching the filter this\naction is attached to.\n\n### OPTIONS\n\n#### -j\n\nPerform a jump to the given iptables target, optionally passing  any  target  specific\noptions in TARGETOPTS.\n\n### EXAMPLES\n\nThe  following  will attach a u32 filter to the ingress qdisc matching ICMP replies and using\nthe xt action to make the kernel yell 'PONG' each time:\n\ntc qdisc add dev eth0 ingress\ntc filter add dev eth0 parent ffff: proto ip u32 \\\nmatch ip protocol 1 0xff \\\nmatch ip icmptype 0 0xff \\\naction xt -j LOG --log-prefix PONG\n\n### SEE ALSO\n\ntc(8), tc-u32(8), iptables-extensions(8)\n\n\n\niproute2                                     3 Mar 2016                     iptables action in tc(8)\n\n"
        }
    ],
    "structuredContent": {
        "command": "tc-xt",
        "section": "8",
        "mode": "man",
        "summary": "xt - tc iptables action",
        "synopsis": "tc ... action xt -j TARGET [ TARGETOPTS ]",
        "flags": [
            {
                "flag": "-j",
                "long": null,
                "arg": null,
                "description": "Perform a jump to the given iptables target, optionally passing any target specific options in TARGETOPTS."
            }
        ],
        "examples": [
            "The  following  will attach a u32 filter to the ingress qdisc matching ICMP replies and using",
            "the xt action to make the kernel yell 'PONG' each time:",
            "tc qdisc add dev eth0 ingress",
            "tc filter add dev eth0 parent ffff: proto ip u32 \\",
            "match ip protocol 1 0xff \\",
            "match ip icmptype 0 0xff \\",
            "action xt -j LOG --log-prefix PONG"
        ],
        "see_also": [
            {
                "name": "tc",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/tc/8/json"
            },
            {
                "name": "tc-u32",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/tc-u32/8/json"
            },
            {
                "name": "iptables-extensions",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/iptables-extensions/8/json"
            },
            {
                "name": "tc",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/tc/8/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-j",
                        "lines": 3,
                        "flag": "-j"
                    }
                ]
            },
            {
                "name": "EXAMPLES",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}