History

net/sched: cls_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

Simon Horman committed 10 years ago

Commit 5976c5f1 parent 5e5f89e2 files · +24 −0Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/pkt_cls.h+5−0
@@ -447,6 +447,11 @@ enum { · 446 unmodified lines
447 TCA_FLOWER_KEY_TCP_DST_MASK, /* be16 */447 TCA_FLOWER_KEY_TCP_DST_MASK, /* be16 */
448 TCA_FLOWER_KEY_UDP_SRC_MASK, /* be16 */448 TCA_FLOWER_KEY_UDP_SRC_MASK, /* be16 */
449 TCA_FLOWER_KEY_UDP_DST_MASK, /* be16 */449 TCA_FLOWER_KEY_UDP_DST_MASK, /* be16 */
450 TCA_FLOWER_KEY_SCTP_SRC_MASK, /* be16 */
451 TCA_FLOWER_KEY_SCTP_DST_MASK, /* be16 */
452
453 TCA_FLOWER_KEY_SCTP_SRC, /* be16 */
454 TCA_FLOWER_KEY_SCTP_DST, /* be16 */
450 __TCA_FLOWER_MAX,455 __TCA_FLOWER_MAX,
451};456};
452 457

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t