tools: bpf_asm: cleanup vlan extension related token
[firefly-linux-kernel-4.4.55.git] / tools / net / bpf_exp.l
index c83af3fb77de99e77c3119e051092e707768e93f..7cc72a336645124c095c9595782198a4006313a7 100644 (file)
@@ -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 ':'; }