Re: [PATCH/RFC iproute2/net-next 1/3] tc: flower: update headers for TCA_FLOWER_KEY_ICMP*

Stephen Hemminger
2016-12-02T23:07:02Z

On Fri, 2 Dec 2016 10:59:43 +0100
Simon Horman <simon.horman@netronome.com> wrote:

> These are proposed changes for net-next.
>
> Signed-off-by: Simon Horman <simon.horman@netronome.com>
> ---
> include/linux/pkt_cls.h | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/include/linux/pkt_cls.h b/include/linux/pkt_cls.h
> index a3d8a4f17d8e..fa435ea8ad21 100644
> --- a/include/linux/pkt_cls.h
> +++ b/include/linux/pkt_cls.h
> @@ -403,6 +403,16 @@ enum {
> TCA_FLOWER_KEY_ENC_UDP_SRC_PORT_MASK, /* be16 */
> TCA_FLOWER_KEY_ENC_UDP_DST_PORT, /* be16 */
> TCA_FLOWER_KEY_ENC_UDP_DST_PORT_MASK, /* be16 */
> +
> + TCA_FLOWER_KEY_ICMPV4_CODE, /* u8 */
> + TCA_FLOWER_KEY_ICMPV4_CODE_MASK,/* u8 */
> + TCA_FLOWER_KEY_ICMPV4_TYPE, /* u8 */
> + TCA_FLOWER_KEY_ICMPV4_TYPE_MASK,/* u8 */
> + TCA_FLOWER_KEY_ICMPV6_CODE, /* u8 */
> + TCA_FLOWER_KEY_ICMPV6_CODE_MASK,/* u8 */
> + TCA_FLOWER_KEY_ICMPV6_TYPE, /* u8 */
> + TCA_FLOWER_KEY_ICMPV6_TYPE_MASK,/* u8 */
> +
> __TCA_FLOWER_MAX,
> };
>

I picked this up by updating from kernel headers.