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: added BPF random opcode
[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 bf7be77ddd621238aa2a26ca2103b309bdcd089f..833a96611da6d042e089294990801817d0f1ade9 100644
(file)
--- a/
tools/net/bpf_exp.l
+++ b/
tools/net/bpf_exp.l
@@
-92,6
+92,7
@@
extern void yyerror(const char *str);
"#"?("cpu") { return K_CPU; }
"#"?("vlan_tci") { return K_VLANT; }
"#"?("vlan_pr") { return K_VLANP; }
+"#"?("rand") { return K_RAND; }
":" { return ':'; }
"," { return ','; }