tc-xt(8) — Linux manual page


iptables action in tc(8)          Linux         iptables action in tc(8)

NAME         top

       xt - tc iptables action

SYNOPSIS         top

       tc ... action xt -j TARGET [ TARGET_OPTS ]

DESCRIPTION         top

       The xt action allows one to call arbitrary iptables targets for
       packets matching the filter this action is attached to.

OPTIONS         top

       -j TARGET [ TARGET_OPTS ]
              Perform a jump to the given iptables target, optionally
              passing any target specific options in TARGET_OPTS.

EXAMPLES         top

       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 icmp_type 0 0xff \
                   action xt -j LOG --log-prefix PONG

SEE ALSO         top

       tc(8), tc-u32(8), iptables-extensions(8)

COLOPHON         top

       This page is part of the iproute2 (utilities for controlling
       TCP/IP networking and traffic) project.  Information about the
       project can be found at 
       If you have a bug report for this manual page, send it to,  This page was
       obtained from the project's upstream Git repository
       ⟨⟩ on
       2023-12-22.  (At that time, the date of the most recent commit
       that was found in the repository was 2023-12-20.)  If you
       discover any rendering problems in this HTML version of the page,
       or you believe there is a better or more up-to-date source for
       the page, or you have corrections or improvements to the
       information in this COLOPHON (which is not part of the original
       manual page), send a mail to

iproute2                       3 Mar 2016       iptables action in tc(8)

Pages that refer to this page: tc-actions(8)