Allow setting firstfrag as matching option in tc flower classifier. # tc filter add dev eth0 protocol ip parent ffff: \ flower indev eth0 \ ip_flags firstfrag action mirred egress redirect dev eth1
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -475,6 +475,7 @@ enum { · 474 unmodified lines | |||
| 475 | 475 | ||
| 476 | enum { | 476 | enum { |
| 477 | TCA_FLOWER_KEY_FLAGS_IS_FRAGMENT = (1 << 0), | 477 | TCA_FLOWER_KEY_FLAGS_IS_FRAGMENT = (1 << 0), |
| 478 | TCA_FLOWER_KEY_FLAGS_FRAG_IS_FIRST = (1 << 1), | ||
| 478 | }; | 479 | }; |
| 479 | 480 | ||
| 480 | /* Match-all classifier */ | 481 | /* Match-all classifier */ |