Skip to content
Snippets Groups Projects
Commit 71e415e4 authored by dingtianhong's avatar dingtianhong Committed by David S. Miller
Browse files

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: default avatarDing Tianhong <dingtianhong@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5a6b9917
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment