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
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -447,6 +447,11 @@ enum { · 446 unmodified lines | ||
| 447 | 447 | TCA_FLOWER_KEY_TCP_DST_MASK, /* be16 */ |
| 448 | 448 | TCA_FLOWER_KEY_UDP_SRC_MASK, /* be16 */ |
| 449 | 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 | 455 | __TCA_FLOWER_MAX, |
| 451 | 456 | }; |
| 452 | 457 | |