Re: [PATCH iproute2/net-next 3/3] tc: flower: support matching on ICMP type and code

2016-12-06 Thread Simon Horman
On Fri, Dec 02, 2016 at 07:24:39PM +0100, Simon Horman wrote: > Support matching on ICMP type and code. > > Example usage: > > tc qdisc add dev eth0 ingress > > tc filter add dev eth0 protocol ip parent : flower \ > indev eth0 ip_proto icmp type 8 code 0 action drop > > tc filter add

[PATCH iproute2/net-next 3/3] tc: flower: support matching on ICMP type and code

2016-12-02 Thread Simon Horman
Support matching on ICMP type and code. Example usage: tc qdisc add dev eth0 ingress tc filter add dev eth0 protocol ip parent : flower \ indev eth0 ip_proto icmp type 8 code 0 action drop tc filter add dev eth0 protocol ipv6 parent : flower \ indev eth0 ip_proto icmpv6