From 5ee414a764c742c06882bee8f8612b72a41563d6 Mon Sep 17 00:00:00 2001 From: Chris Leech Date: Wed, 17 Jun 2015 15:07:53 -0700 Subject: iscsistart: support booting over a VLAN Adds code to check for VLAN devices if the boot configuration specifies a VLAN ID. Does not create VLANs, they need to already be in place. --- include/iscsi_net_util.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/iscsi_net_util.h b/include/iscsi_net_util.h index 31b80ad..cbf3637 100644 --- a/include/iscsi_net_util.h +++ b/include/iscsi_net_util.h @@ -6,7 +6,8 @@ extern int net_get_transport_name_from_netdev(char *netdev, char *transport); extern int net_get_netdev_from_hwaddress(char *hwaddress, char *netdev); extern int net_setup_netdev(char *netdev, char *local_ip, char *mask, - char *gateway, char *remote_ip, int needs_bringup); + char *gateway, char *vlan, char *remote_ip, + int needs_bringup); extern int net_ifup_netdev(char *netdev); #endif -- cgit v1.2.1