summaryrefslogtreecommitdiffstats
path: root/tools/net/bpf_exp.l
diff options
context:
space:
mode:
Diffstat (limited to 'tools/net/bpf_exp.l')
-rw-r--r--tools/net/bpf_exp.l8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/net/bpf_exp.l b/tools/net/bpf_exp.l
index c83af3f..7cc72a3 100644
--- a/tools/net/bpf_exp.l
+++ b/tools/net/bpf_exp.l
@@ -90,10 +90,10 @@ extern void yyerror(const char *str);
"#"?("hatype") { return K_HATYPE; }
"#"?("rxhash") { return K_RXHASH; }
"#"?("cpu") { return K_CPU; }
-"#"?("vlan_tci") { return K_VLANT; }
-"#"?("vlan_pr") { return K_VLANP; }
-"#"?("vlan_avail") { return K_VLANP; }
-"#"?("vlan_tpid") { return K_VLANTPID; }
+"#"?("vlan_tci") { return K_VLAN_TCI; }
+"#"?("vlan_pr") { return K_VLAN_AVAIL; }
+"#"?("vlan_avail") { return K_VLAN_AVAIL; }
+"#"?("vlan_tpid") { return K_VLAN_TPID; }
"#"?("rand") { return K_RAND; }
":" { return ':'; }
OpenPOWER on IntegriCloud