linux/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
tc_bpf.h
tc_connmark.h
tc_csum.h
tc_defact.h
tc_gact.h
tc_ife.h
tc_ipt.h
tc_mirred.h
tc_nat.h
tc_pedit.h
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