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