qwf_net_Event_t

Updated: April 19, 2023

QWF Network Manager event information delivered by the API to the client callback function

Synopsis:

#include <qwf/qwf_net.h>
typedef struct qwf_net_Event_s {
    qwf_net_EventCode_e eventCode;
    void* pClientCB;
    union {
        qwf_net_IfName_t defaultIface;
        qwf_net_IfaceList_t priorityList;
        qwf_net_InterfaceData_t ifData;
        qwf_net_IfName_t removedIface;
    } netEvent;
} qwf_net_Event_t;

Data:

qwf_net_EventCode_e eventCode

Event type (see qwf_net_EventCode_e)

void* pClientCB

Client callback

qwf_net_IfName_t defaultIface

Name of new default interface, reported for NET_EVENT_DEFAULT_IFACE_CHANGED events

qwf_net_IfaceList_t priorityList

Updated interface priority list, reported for NET_EVENT_INTERFACE_PRIORITY events

qwf_net_InterfaceData_t ifData

Updated network interface information, reported for NET_EVENT_IFACE_UPDATED events

qwf_net_IfName_t removedIface

Name of removed interface, reported for NET_EVENT_IFACE_REMOVED events

Library:

qwf_interface