diff options
| author | Michael Brown | 2010-11-26 01:58:36 +0100 |
|---|---|---|
| committer | Michael Brown | 2010-11-26 02:09:40 +0100 |
| commit | b4706c88c9008f9cd258819c9c826466056a59ca (patch) | |
| tree | 747cf8adb64fac1b308ca02c8708f5ad3da93222 /src/include/ipxe | |
| parent | [vlan] Add non-error debug messages (diff) | |
| download | ipxe-b4706c88c9008f9cd258819c9c826466056a59ca.tar.gz ipxe-b4706c88c9008f9cd258819c9c826466056a59ca.tar.xz ipxe-b4706c88c9008f9cd258819c9c826466056a59ca.zip | |
[vlan] Provide vlan_can_be_trunk()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe')
| -rw-r--r-- | src/include/ipxe/vlan.h | 1 |
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 ); |
