OpenCloudOS-Kernel/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 net_sched: get rid of struct tcf_common 2016-07-25 21:49:20 -07:00
tc_connmark.h net_sched: get rid of struct tcf_common 2016-07-25 21:49:20 -07:00
tc_csum.h net_sched: get rid of struct tcf_common 2016-07-25 21:49:20 -07:00
tc_defact.h net_sched: get rid of struct tcf_common 2016-07-25 21:49:20 -07:00
tc_gact.h net_sched: get rid of struct tcf_common 2016-07-25 21:49:20 -07:00
tc_ife.h net/sched: act_ife: Change to use ife module 2017-02-03 15:16:46 -05:00
tc_ipt.h net_sched: get rid of struct tcf_common 2016-07-25 21:49:20 -07:00
tc_mirred.h net/sched: tc_mirred: Rename public predicates 'is_tcf_mirred_redirect' and 'is_tcf_mirred_mirror' 2016-10-14 10:23:06 -04:00
tc_nat.h net_sched: get rid of struct tcf_common 2016-07-25 21:49:20 -07:00
tc_pedit.h net/act_pedit: Introduce 'add' operation 2017-02-10 13:18:33 -05:00
tc_sample.h net/sched: Introduce sample tc action 2017-01-24 13:44:28 -05:00
tc_skbedit.h skbedit: allow the user to specify bitmask for mark 2016-10-27 16:07:25 -04:00
tc_skbmod.h net_sched: Introduce skbmod action 2016-09-15 19:33:47 -04:00
tc_tunnel_key.h net/sched: act_tunnel_key: add helper inlines to access tcf_tunnel_key 2016-11-09 13:41:53 -05:00
tc_vlan.h net_sched: act_vlan: add helper inlines to access tcf_vlan info 2016-09-23 07:22:11 -04:00