]> git.proxmox.com Git - mirror_iproute2.git/commit - tc/f_flower.c
tc: flower: Support matching on SCTP ports
authorSimon Horman <simon.horman@netronome.com>
Thu, 3 Nov 2016 12:26:41 +0000 (13:26 +0100)
committerStephen Hemminger <sthemmin@microsoft.com>
Tue, 29 Nov 2016 19:44:46 +0000 (11:44 -0800)
commita1fb0d484237b41f92ee17634880be80a0dcf51a
treeb70f2256de2859793d1637345ccfb06de3ef298d
parent1a97748be4a5e91913977cc6d0ac4a2286594708
tc: flower: Support matching on SCTP ports

Support matching on SCTP ports in the same way that matching
on TCP and UDP ports is already supported.

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

Signed-off-by: Simon Horman <simon.horman@netronome.com>
tc/f_flower.c