From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Horman Subject: [PATCH iproute2/net-next 0/3] tc: flower: Support matching on ICMP Date: Fri, 2 Dec 2016 19:24:36 +0100 Message-ID: <1480703079-25422-1-git-send-email-simon.horman@netronome.com> Cc: Stephen Hemminger , Jamal Hadi Salim , Jiri Pirko , Simon Horman To: netdev@vger.kernel.org Return-path: Received: from mail-wj0-f182.google.com ([209.85.210.182]:35683 "EHLO mail-wj0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750833AbcLBSco (ORCPT ); Fri, 2 Dec 2016 13:32:44 -0500 Received: by mail-wj0-f182.google.com with SMTP id v7so239034277wjy.2 for ; Fri, 02 Dec 2016 10:32:43 -0800 (PST) Sender: netdev-owner@vger.kernel.org List-ID: Add support for matching on ICMP type and code to flower. This is modeled on existing support for matching on L4 ports. The second patch provided a minor cleanup which is in keeping with they style used in the last patch. This is marked as an RFC to match the same designation given to the corresponding kernel patches. Based on iproute2/net-next with the following applied: * [[PATCH iproute2/net-next v2] 0/4] tc: flower: SCTP and other port fixes Changes since RFC: * Update names of enums (Jiri) * Use enums * Drop RFC designation Simon Horman (3): tc: flower: update headers for TCA_FLOWER_KEY_ICMP* tc: flower: introduce enum flower_endpoint tc: flower: support matching on ICMP type and code include/linux/pkt_cls.h | 10 ++++ man/man8/tc-flower.8 | 20 ++++++-- tc/f_flower.c | 125 ++++++++++++++++++++++++++++++++++++++++++------ 3 files changed, 136 insertions(+), 19 deletions(-) -- 2.7.0.rc3.207.g0ac5344