linux/include/net/tc_act
Amir Vadai 853a14ba46 net/act_pedit: Introduce 'add' operation
This command could be useful to inc/dec fields.

For example, to forward any TCP packet and decrease its TTL:
$ tc filter add dev enp0s9 protocol ip parent ffff: \
    flower ip_proto tcp \
    action pedit munge ip ttl add 0xff pipe \
    action mirred egress redirect dev veth0

In the example above, adding 0xff to this u8 field is actually
decreasing it by one, since the operation is masked.

Signed-off-by: Amir Vadai <amir@vadai.me>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-02-10 13:18:33 -05:00
..
tc_bpf.h
tc_connmark.h
tc_csum.h
tc_defact.h
tc_gact.h
tc_ife.h net/sched: act_ife: Change to use ife module 2017-02-03 15:16:46 -05:00
tc_ipt.h
tc_mirred.h
tc_nat.h
tc_pedit.h net/act_pedit: Introduce 'add' operation 2017-02-10 13:18:33 -05:00
tc_sample.h
tc_skbedit.h
tc_skbmod.h
tc_tunnel_key.h
tc_vlan.h