aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorJamal Hadi Salim <[email protected]>2016-07-02 06:43:15 -0400
committerDavid S. Miller <[email protected]>2016-07-04 15:11:14 -0700
commitff202ee1ed8f032f05b80b541664cf02e75d7080 (patch)
treea315c80d55d558549429ec8c297b9e21816083e4 /tools/perf/scripts/python/syscall-counts.py
parent8b10cab64c134ffbffac96edd1899d303d3afcac (diff)
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 <[email protected]> Acked-by: Daniel Borkmann <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions