History

net/sched: cls_flower: Add support to handle first frag as match field

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

Pieter Jansen van Vuuren committed 8 years ago

Commit 459d1531 parent 08a24232 files · +7 −0Browse files

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

Unified · Split

include/uapi/linux/pkt_cls.h+1−0
@@ -475,6 +475,7 @@ enum { · 474 unmodified lines
475 475
476enum {476enum {
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 */

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