RTFW_INTERFACE_INFO Structure

RTFW_INTERFACE_INFO contains the name and enabled state of a Network Link Layer (NL2) interface.

Syntax

Copy
typedef struct RTFW_INTERFACE_INFO {
    size_t Size;
    char InterfaceName[RTFW_MAX_INTERFACE_NAME_CHARS];
    bool Enabled;
} RTFW_INTERFACE_INFO, * PRTFW_INTERFACE_INFO;

Members

Size

The size of this structure (in bytes). Client code must set this member to sizeof(RTFW_INTERFACE_INFO) before passing this structure to any function. This is used to identify the version of this structure if it is extended.

InterfaceName

The friendly name of this interface. The maximum length of this string is RTFW_MAX_INTERFACE_NAME_CHARS (64 characters). This member may contain only these characters: 'a' to 'z', 'A' to 'Z', '0' to '9', '_', and '-'.

Enabled

If TRUE, the network interface is enabled. If FALSE, the network interface is not enabled.

Requirements

Minimum supported version Header Library

wRTOS 1.0 SDK

Rtfwnl2Api.h

Rtfwnl2Api.lib

See Also: