diff options
| author | Michael Brown | 2023-01-15 23:35:44 +0100 |
|---|---|---|
| committer | Michael Brown | 2023-01-15 23:35:44 +0100 |
| commit | f07630c74f3d67906baf820f080b5d0e5ad49ca4 (patch) | |
| tree | 8258e2c1ddd8c916ef9fd2a5e3778bfb1dd7439c /src/include | |
| parent | [autoboot] Include VLAN tag in filter for identifying autoboot device (diff) | |
| download | ipxe-f07630c74f3d67906baf820f080b5d0e5ad49ca4.tar.gz ipxe-f07630c74f3d67906baf820f080b5d0e5ad49ca4.tar.xz ipxe-f07630c74f3d67906baf820f080b5d0e5ad49ca4.zip | |
[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.h | 1 |
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, |
