TCPIP_NETWORK_TYPE Enumeration

C

typedef enum {
TCPIP_NETWORK_TYPE_UNKNOWN,
TCPIP_NETWORK_TYPE_PRIMARY,
TCPIP_NETWORK_TYPE_ALIAS
} TCPIP_NETWORK_TYPE;

Description

Enumeration: TCPIP_NETWORK_TYPE.

Currently the network interfaces can be primary and aliases. A primary interface is a regular network interface that uses its own physical interface, having its own MAC driver.

Members

MembersDescription
TCPIP_NETWORK_TYPE_UNKNOWNUnknown/invalid type.
TCPIP_NETWORK_TYPE_PRIMARYPrimary interface.
TCPIP_NETWORK_TYPE_ALIASAlias interface.

Example

PIC32INT, ENC24J600, MRF24WN, WINC1500, WILC1000, etc.

An alias interface is an interface that shares the same physical network interface with a primary (regular) interface, including the MAC driver. Alias interfaces may have different parameters though, for example different IP addresses.

Support for alias interfaces must be enabled when the stack is built.