qwf_net_GetInterfaceData()

Get the data for the specified network interface

Synopsis:

#include <qwf/qwf_net.h>
qwf_net_Results_e qwf_net_GetInterfaceData(qwf_Context_t *pCtx,
                                         qwf_net_IfName_t *pIface,
                                         qwf_net_InterfaceData_t *pData);

Arguments:

pCtx
A pointer to the QWF service context created by qwf_Init()
pIface
A pointer to a qwf_net_IfName_t object containing the name of the network interface whose data are being retrieved
pData
A pointer to a qwf_net_InterfaceData_t structure for storing the networking parameters of the specified interface

Library:

qwf_interface

Returns:

NET_OK Successful result

NET_ERR_PARAM A pointer argument is NULL or the QWF Network Manager context can't be retrieved

NET_ERR_INT An internal error occurring while retrieving or parsing the interface data