mirror of
https://github.com/ipxe/ipxe
synced 2025-12-16 17:41:18 +03:00
[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>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user