NETWORK_ADDRESS (Windows Embedded CE 6.0)

1/6/2010

The NETWORK_ADDRESS structure describes the network-layer addresses that help define NETWORK_ADDRESS_LIST. The AddressCount 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]; 
} NETWORK_ADDRESS, *PNETWORK_ADDRESS; 

Members

  • AddressLength
    Specifies the length, in bytes, of this network-layer address. The Address member contains the array of bytes that specify this address.
  • AddressType
    Specifies the 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. The AddressCount member in NETWORK_ADDRESS_LIST is set to a nonzero value to notify a miniport or other layered driver to change the list of network-layer addresses on a bound interface. Protocol types are defined in the preceding list.
  • 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.

A protocol can set the AddressCount member in NETWORK_ADDRESS_LIST to a nonzero value. This value notifies a miniport driver or other layered driver to change the list of network-layer addresses on a bound interface. In this case, the AddressType member in NETWORK_ADDRESS_LIST is not valid and the AddressType members in NETWORK_ADDRESS structures are valid.

If a protocol sets AddressCount in NETWORK_ADDRESS_LIST to zero, the AddressType member in NETWORK_ADDRESS_LIST is valid and the AddressType members in NETWORK_ADDRESS structures are not valid.

Requirements

Header ndis.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

NDIS Structures
NETWORK_ADDRESS_LIST
NdisOpenAdapter