From 3cd5149ecd78b88852fb3d120527b26e70b471cd Mon Sep 17 00:00:00 2001 From: Amir Vadai Date: Sun, 23 Apr 2017 15:53:54 +0300 Subject: tc/pedit: p_eth: ETH header editor For example, forward tcp traffic to veth0 and set destination mac address to 11:22:33:44:55:66 : $ tc filter add dev enp0s9 protocol ip parent ffff: \ flower \ ip_proto tcp \ action pedit ex munge \ eth dst set 11:22:33:44:55:66 \ action mirred egress \ redirect dev veth0 Signed-off-by: Amir Vadai --- tc/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'tc/Makefile') diff --git a/tc/Makefile b/tc/Makefile index 3f7fc939..446a1139 100644 --- a/tc/Makefile +++ b/tc/Makefile @@ -54,6 +54,7 @@ TCMODULES += m_tunnel_key.o TCMODULES += m_sample.o TCMODULES += p_ip.o TCMODULES += p_icmp.o +TCMODULES += p_eth.o TCMODULES += p_tcp.o TCMODULES += p_udp.o TCMODULES += em_nbyte.o -- cgit v1.2.3