Редагувати

Поділитися через


ADDRESS structure

The ADDRESS structure is obsolete and should not be used.

Syntax

typedef struct _ADDRESS {
  DWORD Type;
  union {
    BYTE                  MACAddress[MAC_ADDRESS_SIZE];
    BYTE                  IPAddress[IP_ADDRESS_SIZE];
    BYTE                  IPXRawAddress[IPX_ADDRESS_SIZE];
    IPX_ADDRESS           IPXAddress;
    BYTE                  VinesIPRawAddress[VINES_IP_ADDRESS_SIZE];
    VINES_IP_ADDRESS      VinesIPAddress;
    ETHERNET_SRC_ADDRESS  EthernetSrcAddress;
    ETHERNET_DST_ADDRESS  EthernetDstAddress;
    TOKENRING_SRC_ADDRESS TokenringSrcAddress;
    TOKENRING_DST_ADDRESS TokenringDstAddress;
    FDDI_SRC_ADDRESS      FddiSrcAddress;
    FDDI_DST_ADDRESS      FddiDstAddress;
  };
  WORD  Flags;
} ADDRESS, *LPADDRESS;

Members

Type

Address type. Values can be one of the following:

ADDRESS_TYPE_ETHERNET
ADDRESS_TYPE_IP
ADDRESS_TYPE_IPX
ADDRESS_TYPE_TOKENRING
ADDRESS_TYPE_FDDI
ADDRESS_TYPE_XNS
ADDRESS_TYPE_ANY
ADDRESS_TYPE_ANY_GROUP
ADDRESS_TYPE_FIND_HIGHEST
ADDRESS_TYPE_VINES_IP
ADDRESS_TYPE_LOCAL_ONLY
ADDRESS_TYPE_ATM
ADDRESS_TYPE_1394

MACAddress

View of the data expressed as a raw MAC address.

IPAddress

View of the data expressed as a raw IP address.

IPXRawAddress

View of the data expressed as a raw IPX address.

IPXAddress

View of the data expressed as a decoded IPX address value.

VinesIPRawAddress

View of the data expressed as a raw Vines IP address.

VinesIPAddress

View of the data expressed as a decoded Vines IP address.

EthernetSrcAddress

View of the data expressed as an Ethernet source address.

EthernetDstAddress

View of the data expressed as an Ethernet destination address.

TokenringSrcAddress

A view of the data as a token ring source address.

TokenringDstAddress

A view of the data as a token ring destination address.

FddiSrcAddress

View of the data expressed as an FDDI source address.

FddiDstAddress

View of the data expressed as an FDDI destination address.

Flags

A set of flags that modify the address properties.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Netmon.h