: iproute action: Introduce simple action
Subsystems (2)
PATCH 1/1 : iproute action: Introduce simple action
I had to explain this to someone after they said it wasnt in iproute2.
Note: For some reason not all kernel headers are copied. You need at least have linux/tc_act/tc_defact.h for this to compile. I could send you a patch - but i think this is something you should do.
cheers,
jamal
commit ce8f6c550ff714203ca565699e9f332a93704e41
Author: Jamal Hadi Salim <[email protected]> Date: Sun Sep 29 07:19:23 2013 -0400
Simple action is already in the kernel for years now as an example. This complements it with user space control.
Signed-off-by Jamal Hadi Salim <[email protected]>
tc/Makefile +1 -0
@@ -38,6 +38,7 @@ TCMODULES += m_nat.o TCMODULES += m_pedit.o TCMODULES += m_skbedit.o TCMODULES += m_csum.o +TCMODULES += m_simple.o TCMODULES += p_ip.o TCMODULES += p_icmp.o TCMODULES += p_tcp.o
tc/m_simple.c new file +202 -0
202 lines not on this page · raw message