aboutsummaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2023-01-15 22:35:44 +0000
committerMichael Brown <mcb30@ipxe.org>2023-01-15 22:35:44 +0000
commitf07630c74f3d67906baf820f080b5d0e5ad49ca4 (patch)
tree8258e2c1ddd8c916ef9fd2a5e3778bfb1dd7439c /src/include
parent5a2fa6040e17562ce742df09aa20b8774b3879c5 (diff)
downloadipxe-f07630c74f3d67906baf820f080b5d0e5ad49ca4.tar.gz
[vlan] Support automatic VLAN device creation
Add the ability to automatically create a VLAN device for a specified trunk device link-layer address and VLAN tag. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
-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 8bf79234b..20bbc891d 100644
--- a/src/include/ipxe/vlan.h
+++ b/src/include/ipxe/vlan.h
@@ -80,6 +80,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 );
+extern void vlan_auto ( const void *ll_addr, unsigned int tag );
extern void vlan_netdev_rx ( struct net_device *netdev, unsigned int tag,
struct io_buffer *iobuf );
extern void vlan_netdev_rx_err ( struct net_device *netdev, unsigned int tag,