linux_dsm_epyc7002/include/net/tc_act
Jamal Hadi Salim ff202ee1ed net sched actions: skbedit add support for mod-ing skb pkt_type
Extremely useful for setting packet type to host so i dont
have to modify the dst mac address using pedit (which requires
that i know the mac address)

Example usage:
tc filter add dev eth0 parent ffff: protocol ip pref 9 u32 \
match ip src 5.5.5.5/32 \
flowid 1:5 action skbedit ptype host

This will tag all packets incoming from 5.5.5.5 with type
PACKET_HOST

Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-07-04 15:11:14 -07:00
..
tc_bpf.h net_sched: act_bpf: remove spinlock in fast path 2015-08-26 11:01:45 -07:00
tc_connmark.h act_connmark: Remember the struct net instead of guessing it. 2015-09-18 21:59:31 +02:00
tc_csum.h net_sched: act: hide struct tcf_common from API 2014-02-12 19:23:32 -05:00
tc_defact.h net sched: indentation and other OCD stylistic fixes 2016-06-07 15:53:54 -07:00
tc_gact.h net/sched: Macro instead of CONFIG_NET_CLS_ACT ifdef 2016-03-10 16:24:02 -05:00
tc_ife.h act_ife: only acquire tcf_lock for existing actions 2016-06-23 12:02:36 -04:00
tc_ipt.h net_sched: act: hide struct tcf_common from API 2014-02-12 19:23:32 -05:00
tc_mirred.h net_sched: act_mirred: add helper inlines to access tcf_mirred info 2016-05-04 00:24:27 -07:00
tc_nat.h net_sched: act: hide struct tcf_common from API 2014-02-12 19:23:32 -05:00
tc_pedit.h net_sched: act: hide struct tcf_common from API 2014-02-12 19:23:32 -05:00
tc_skbedit.h net sched actions: skbedit add support for mod-ing skb pkt_type 2016-07-04 15:11:14 -07:00
tc_vlan.h tc_vlan: fix type of tcfv_push_vid 2014-11-24 16:12:03 -05:00