diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2015-03-24 23:19:24 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-24 21:21:41 -0400 |
commit | 835c3d9b7a28f5ecfc2dea2300946e27811f16a5 (patch) | |
tree | c145404b376dec9a53bfecbc8507e00f7f22ec49 /tools/net/bpf_exp.l | |
parent | b1275eb32e1c543f0664ebbb9d9ec3baa9bbfcba (diff) | |
download | linux-835c3d9b7a28f5ecfc2dea2300946e27811f16a5.tar.bz2 |
tools: bpf_asm: cleanup vlan extension related token
We now have K_VLANT, K_VLANP and K_VLANTPID. Clean them up into more
descriptive token, namely K_VLAN_TCI, K_VLAN_AVAIL and K_VLAN_TPID.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/net/bpf_exp.l')
-rw-r--r-- | tools/net/bpf_exp.l | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/net/bpf_exp.l b/tools/net/bpf_exp.l index c83af3fb77de..7cc72a336645 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 ':'; } |