projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
filter: introduce SKF_AD_VLAN_TPID BPF extension
[firefly-linux-kernel-4.4.55.git]
/
tools
/
net
/
bpf_exp.l
diff --git
a/tools/net/bpf_exp.l
b/tools/net/bpf_exp.l
index 833a96611da6d042e089294990801817d0f1ade9..c83af3fb77de99e77c3119e051092e707768e93f 100644
(file)
--- a/
tools/net/bpf_exp.l
+++ b/
tools/net/bpf_exp.l
@@
-92,6
+92,8
@@
extern void yyerror(const char *str);
"#"?("cpu") { return K_CPU; }
"#"?("vlan_tci") { return K_VLANT; }
"#"?("vlan_pr") { return K_VLANP; }
+"#"?("vlan_avail") { return K_VLANP; }
+"#"?("vlan_tpid") { return K_VLANTPID; }
"#"?("rand") { return K_RAND; }
":" { return ':'; }