diff options
author | Simon Horman <simon.horman@netronome.com> | 2017-01-11 14:05:43 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-11 11:02:47 -0500 |
commit | 99d31326cbe6951872af5c8a6bc2679388a4d9ef (patch) | |
tree | a1b1e05fb4a57726e344dac3c0e6da9cf68258cc /include/trace | |
parent | 55733350e5e8b70c5e54a30dbf98148c695f21f5 (diff) | |
download | linux-99d31326cbe6951872af5c8a6bc2679388a4d9ef.tar.bz2 |
net/sched: cls_flower: Support matching on ARP
Support matching on ARP operation, and hardware and protocol addresses
for Ethernet hardware and IPv4 protocol addresses.
Example usage:
tc qdisc add dev eth0 ingress
tc filter add dev eth0 protocol arp parent ffff: flower indev eth0 \
arp_op request arp_sip 10.0.0.1 action drop
tc filter add dev eth0 protocol rarp parent ffff: flower indev eth0 \
arp_op reply arp_tha 52:54:3f:00:00:00/24 action drop
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions