diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/iscsi_net_util.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/iscsi_net_util.h b/include/iscsi_net_util.h index 8d06bd5..222634d 100644 --- a/include/iscsi_net_util.h +++ b/include/iscsi_net_util.h @@ -3,7 +3,9 @@ #define ISCSI_HWADDRESS_BUF_SIZE 18 -extern int net_get_transport_name_from_iface(char *iface, char *transport); -extern int net_get_dev_from_hwaddress(char *hwaddress, char *netdev); +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); #endif |