All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Horman <simon.horman@netronome.com>
To: David Miller <davem@davemloft.net>,
	Stephen Hemminger <stephen@networkplumber.org>
Cc: netdev@vger.kernel.org, Simon Horman <simon.horman@netronome.com>
Subject: [PATCH iproute2 0/2] tc: flower: Support matching on SCTP ports
Date: Thu,  3 Nov 2016 13:26:39 +0100	[thread overview]
Message-ID: <1478176001-29174-1-git-send-email-simon.horman@netronome.com> (raw)

Hi,

this short series adds support for matching on SCTP ports in the same way
that matching on TCP and UDP ports is already supported. It corresponds to
a net-next patch to add the same support to the kernel.

Example usage:

tc qdisc add dev eth0 ingress

tc filter add dev eth0 protocol ip parent ffff: \
    flower indev eth0 ip_proto sctp dst_port 80 \
    action drop


Simon Horman (2):
  tc: update headers for TCA_FLOWER_KEY_SCTP_*
  tc: flower: Support matching on SCTP ports

 include/linux/pkt_cls.h |  5 ++++
 tc/f_flower.c           | 65 +++++++++++++++++++++++--------------------------
 2 files changed, 36 insertions(+), 34 deletions(-)

-- 
2.7.0.rc3.207.g0ac5344

             reply	other threads:[~2016-11-03 12:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-03 12:26 Simon Horman [this message]
2016-11-03 12:26 ` [PATCH iproute2 1/2] tc: update headers for TCA_FLOWER_KEY_SCTP_* Simon Horman
2016-11-03 12:26 ` [PATCH iproute2 2/2] tc: flower: Support matching on SCTP ports Simon Horman
2016-11-12  7:32 ` [PATCH iproute2 0/2] " Stephen Hemminger
2016-11-18 13:27   ` Simon Horman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1478176001-29174-1-git-send-email-simon.horman@netronome.com \
    --to=simon.horman@netronome.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=stephen@networkplumber.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.