Add the definitions for src/dst udp/tcp port masks and use them when setting && dumping the relevant keys.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -442,6 +442,10 @@ enum { · 441 unmodified lines | ||
| 442 | 442 | TCA_FLOWER_KEY_ENC_IPV6_DST, /* struct in6_addr */ |
| 443 | 443 | TCA_FLOWER_KEY_ENC_IPV6_DST_MASK,/* struct in6_addr */ |
| 444 | 444 | |
| 445 | + TCA_FLOWER_KEY_TCP_SRC_MASK, /* be16 */ | |
| 446 | + TCA_FLOWER_KEY_TCP_DST_MASK, /* be16 */ | |
| 447 | + TCA_FLOWER_KEY_UDP_SRC_MASK, /* be16 */ | |
| 448 | + TCA_FLOWER_KEY_UDP_DST_MASK, /* be16 */ | |
| 445 | 449 | __TCA_FLOWER_MAX, |
| 446 | 450 | }; |
| 447 | 451 | |