OpenCloudOS-Kernel/include/uapi/linux/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
..
Kbuild export tc ife uapi header 2016-05-10 01:08:39 -04:00
tc_bpf.h sched: align nlattr properly when needed 2016-04-26 12:00:49 -04:00
tc_connmark.h sched: align nlattr properly when needed 2016-04-26 12:00:49 -04:00
tc_csum.h sched: align nlattr properly when needed 2016-04-26 12:00:49 -04:00
tc_defact.h sched: align nlattr properly when needed 2016-04-26 12:00:49 -04:00
tc_gact.h sched: align nlattr properly when needed 2016-04-26 12:00:49 -04:00
tc_ife.h sched: align nlattr properly when needed 2016-04-26 12:00:49 -04:00
tc_ipt.h sched: align nlattr properly when needed 2016-04-26 12:00:49 -04:00
tc_mirred.h sched: align nlattr properly when needed 2016-04-26 12:00:49 -04:00
tc_nat.h sched: align nlattr properly when needed 2016-04-26 12:00:49 -04:00
tc_pedit.h sched: align nlattr properly when needed 2016-04-26 12:00:49 -04: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 sched: align nlattr properly when needed 2016-04-26 12:00:49 -04:00