aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/vlan.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2010-11-26 00:58:36 +0000
committerMichael Brown <mcb30@ipxe.org>2010-11-26 01:09:40 +0000
commitb4706c88c9008f9cd258819c9c826466056a59ca (patch)
tree747cf8adb64fac1b308ca02c8708f5ad3da93222 /src/include/ipxe/vlan.h
parentf1e1545372eb93e3c8d1e97e7a21e00b87d71c02 (diff)
downloadipxe-b4706c88c9008f9cd258819c9c826466056a59ca.tar.gz
[vlan] Provide vlan_can_be_trunk()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/vlan.h')
-rw-r--r--src/include/ipxe/vlan.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/ipxe/vlan.h b/src/include/ipxe/vlan.h
index 86d78bed0..b4d06b87c 100644
--- a/src/include/ipxe/vlan.h
+++ b/src/include/ipxe/vlan.h
@@ -59,6 +59,7 @@ struct vlan_header {
*/
#define VLAN_PRIORITY_IS_VALID( priority ) ( (priority) <= 7 )
+extern int vlan_can_be_trunk ( struct net_device *trunk );
extern int vlan_create ( struct net_device *trunk, unsigned int tag,
unsigned int priority );
extern int vlan_destroy ( struct net_device *netdev );