[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161207130630.GG1987@nanopsycho>
Date: Wed, 7 Dec 2016 14:06:30 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: Simon Horman <simon.horman@...ronome.com>
Cc: Jiri Pirko <jiri@...lanox.com>, Tom Herbert <tom@...bertland.com>,
David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [PATCH net-next v6 2/2] net/sched: cls_flower: Support matching
on ICMP type and code
Wed, Dec 07, 2016 at 01:48:28PM CET, simon.horman@...ronome.com wrote:
>Support matching on ICMP type and code.
>
>Example usage:
>
>tc qdisc add dev eth0 ingress
>
>tc filter add dev eth0 protocol ip parent ffff: flower \
> indev eth0 ip_proto icmp type 8 code 0 action drop
>
>tc filter add dev eth0 protocol ipv6 parent ffff: flower \
> indev eth0 ip_proto icmpv6 type 128 code 0 action drop
>
>Signed-off-by: Simon Horman <simon.horman@...ronome.com>
Acked-by: Jiri Pirko <jiri@...lanox.com>
Powered by blists - more mailing lists