Share via


NETWORK_ADDRESS (Compact 2013)

3/26/2014

This structure describes the network-layer addresses that help define NETWORK_ADDRESS_LIST. The Address member of NETWORK_ADDRESS_LIST contains an array of network-layer addresses, all of which are of type NETWORK_ADDRESS.

The following syntax defines the NETWORK_ADDRESS structure.

Syntax

typedef struct _NETWORK_ADDRESS {
    USHORT AddressLength; 
  USHORT AddressType; 
    UCHAR Address[1]; // UCHAR Address[AddressLength]
} NETWORK_ADDRESS, *PNETWORK_ADDRESS; 

Members

  • AddressLength
    Size, in bytes, of the Address member.
  • AddressType
    Protocol type that sends this object identifier and this network-layer address.

    This member is only valid if the AddressCount member in the NETWORK_ADDRESS_LIST structure is set to a nonzero value; if it is set to 0 (zero), the AddressType member of the NETWORK_ADDRESS_LIST structure specifies the protocol type that sends this object identifier and network-layer address.

    Protocol types are listed in the NETWORK_ADDRESS_LIST documentation.

  • Address
    Array of bytes that specify this network-layer address. The AddressLength member specifies the number of bytes in this array.

Remarks

A bound instance is the binding between the calling transport and a driver set up by a call to NdisOpenAdapter. Miniport and other layered drivers use compatible NETWORK_ADDRESS_LIST and NETWORK_ADDRESS structures to set the list of network-layer addresses on a bound interface.

Requirements

Header

ndis.h

See Also

Reference

NDIS 5.x Legacy Structures
NETWORK_ADDRESS_LIST
NdisOpenAdapter
NDIS 5.x Legacy Reference