diff options
author | Amir Vadai <amir@vadai.me> | 2017-04-23 15:53:54 +0300 |
---|---|---|
committer | Stephen Hemminger <stephen@networkplumber.org> | 2017-05-01 09:22:16 -0700 |
commit | 3cd5149ecd78b88852fb3d120527b26e70b471cd (patch) | |
tree | fb879c458f48c2374855d75133aa6bb98e71397a /tc/Makefile | |
parent | fa4652ff3b5d151dd5c9ec2a9faa92983b38603f (diff) |
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 <amir@vadai.me>
Diffstat (limited to 'tc/Makefile')
-rw-r--r-- | tc/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
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 |