tc-xt(8) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | EXAMPLES | SEE ALSO | COLOPHON

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 
       ⟨http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2⟩.
       If you have a bug report for this manual page, send it to
       netdev@vger.kernel.org, shemminger@osdl.org.  This page was
       obtained from the project's upstream Git repository
       ⟨https://git.kernel.org/pub/scm/network/iproute2/iproute2.git⟩ 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 man-pages@man7.org

iproute2                       3 Mar 2016       iptables action in tc(8)

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