DOKK / manpages / debian 11 / libopeniscsiusr-dev / iscsi_iface_hwaddress_get.3.en
iscsi_iface_hwaddress_get(3) iSCSI Userspace API - libopeniscsiusr Manual iscsi_iface_hwaddress_get(3)

iscsi_iface_hwaddress_get - Retrieve hardware address of specified iSCSI interface

const char * iscsi_iface_hwaddress_get (struct iscsi_iface *iface);

Pointer of 'struct iscsi_iface'. If this pointer is NULL, your program will be terminated by assert.

Retrieve the hardware address of specified iSCSI interface.

const char *. No need to free this memory, the resources will get freed by iscsi_session_free or iscsi_sessions_free.

iscsi_iface_hwaddress_get May 2021