Networking_NetworkInterface Struct

Header: #include <applibs/networking.h>

The properties of a network interface.

Note

This is an alias to a versioned structure. Define NETWORKING_STRUCTS_VERSION to use this alias.

struct Networking_NetworkInterface {
    uint32_t z__magicAndVersion;
    bool isEnabled;
    char interfaceName[IF_NAMESIZE];
    uint32_t reserved;
    Networking_IpType_Type ipConfigurationType;
    Networking_InterfaceMedium_Type interfaceMediumType;
};

Members

uint32_t z__magicAndVersion

A magic number that uniquely identifies the struct version.

bool isEnabled

Indicates whether the network interface is enabled.

char interfaceName[IF_NAMESIZE]

The network interface name.

uint32_t interfaceNameLength

The length of the network interface name.

Networking_IpType_Type ipConfigurationType

The Networking_IpType enum that contains the IP types for the interface.

Networking_InterfaceMedium_Type InterfaceMediumType

The Networking_InterfaceMedium enum that contains the network types for the interface.

Concepts and samples