vlan: TCI related type and naming cleanups
authorPatrick McHardy <kaber@trash.net>
Tue, 8 Jul 2008 10:24:44 +0000 (03:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jul 2008 10:24:44 +0000 (03:24 -0700)
commit9bb8582efb555521c7eec595ebd34e835ddc34b8
tree8eb6aae062bbd359e820a35d51fb16a32e7b828f
parentdf6b6a0cf62afeacdeb4c1a35b8fba21fda54399
vlan: TCI related type and naming cleanups

The VLAN code contains multiple spots that use tag, id and tci as
identifiers for arguments and variables incorrectly and they actually
contain or are expected to contain something different. Additionally
types are used inconsistently (unsigned short vs u16) and identifiers
are sometimes capitalized.

- consistently use u16 for storing TCI, ID or QoS values
- consistently use vlan_id and vlan_tci for storing the respective values
- remove capitalization
- add kdoc comment to netif_hwaccel_{rx,receive_skb}

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_vlan.h
net/8021q/vlan.c
net/8021q/vlan.h
net/8021q/vlan_core.c
net/8021q/vlan_dev.c
net/8021q/vlan_gvrp.c