qwf_net_EventCode_e

Updated: April 19, 2023

QWF Network Manager service event codes

Synopsis:

#include <qwf/qwf_net.h>
typedef enum {
    NET_EVENT_DEFAULT_IFACE_CHANGED,
    NET_EVENT_IFACE_UPDATED,
    NET_EVENT_IFACE_REMOVED,
    NET_EVENT_INTERFACE_PRIORITY,
    NET_EVENT_NET_SERVICE_INACTIVE,
    NET_EVENT_NET_SERVICE_ACTIVE
} qwf_net_EventCode_e;

Data:

NET_EVENT_DEFAULT_IFACE_CHANGED

The default network interface has changed to a different interface. The event contains the new default interface name.

NET_EVENT_IFACE_UPDATED

The status or data fields have changed for a network interface. The event contains a structure with the new network interface information. At startup, an initial NET_EVENT_IFACE_UPDATED event is sent for each discovered network interface.

NET_EVENT_IFACE_REMOVED

A network interface has been removed. The event contains the name of the removed interface as a string.

NET_EVENT_INTERFACE_PRIORITY

The network interface priority list has changed. The priority list determines which interface is active when more than one are available. The event contains the new priority list as an array of interface names.

NET_EVENT_NET_SERVICE_INACTIVE

The Network Manager service is no longer actively monitoring status changes for network interfaces.

NET_EVENT_NET_SERVICE_ACTIVE

The Network Manager service is actively monitoring status for network interfaces.

Library:

qwf_interface