NAME | SYNOPSIS | DESCRIPTION | OPTIONS | EXAMPLES | SEE ALSO | COLOPHON
iptables action in tc(8) Linux iptables action in tc(8)
xt - tc iptables action
tc ... action xt -j TARGET [ TARGET_OPTS ]
The xt action allows one to call arbitrary iptables targets for packets matching the filter this action is attached to.
-j TARGET [ TARGET_OPTS ] Perform a jump to the given iptables target, optionally passing any target specific options in TARGET_OPTS.
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
tc(8), tc-u32(8), iptables-extensions(8)
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 email@example.com, firstname.lastname@example.org. This page was obtained from the project's upstream Git repository ⟨https://git.kernel.org/pub/scm/network/iproute2/iproute2.git⟩ on 2022-12-17. (At that time, the date of the most recent commit that was found in the repository was 2022-12-14.) 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 email@example.com iproute2 3 Mar 2016 iptables action in tc(8)
Pages that refer to this page: tc-actions(8)