commit | 71e415e44c1f9b7a4f05dac4f8038575dbef0c6f | [log] [tgz] |
---|---|---|
author | dingtianhong <dingtianhong@huawei.com> | Tue Mar 25 17:44:42 2014 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Mar 26 16:41:28 2014 -0400 |
tree | a6ee4a671c70992ed02c1183fec49997ca65c99f | |
parent | 5a6b99170c7042702112c64bec46bcca9fbcc6d7 [diff] |
vlan: make a new function vlan_dev_vlan_proto() and export The vlan support 2 proto: 802.1q and 802.1ad, so make a new function called vlan_dev_vlan_proto() which could return the vlan proto for input dev. Signed-off-by: Ding Tianhong <dingtianhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>