{
    "content": [
        {
            "type": "text",
            "text": "# tc-xt (man)\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 one to call arbitrary iptables targets for packets matching the filter\nthis action is attached to.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (1 subsections)\n- **EXAMPLES**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "tc-xt",
        "section": "",
        "mode": "man",
        "summary": "xt - tc iptables action",
        "synopsis": "tc ... action xt -j TARGET [ TARGETOPTS ]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "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": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "xt - tc iptables action\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "tc ... action xt -j TARGET [ TARGETOPTS ]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "The  xt  action allows one to call arbitrary iptables targets for packets matching the filter\nthis action is attached to.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-j _",
                        "content": "Perform a jump to the given iptables target, optionally passing  any  target  specific\noptions in TARGETOPTS.\n",
                        "flag": "-j"
                    }
                ]
            },
            "EXAMPLES": {
                "content": "The  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",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "tc(8), tc-u32(8), iptables-extensions(8)\n\niproute2                                     3 Mar 2016                     iptables action in tc(8)",
                "subsections": []
            }
        }
    }
}