ADDRESSPAIR
The ADDRESSPAIR structure constructs a capture filter.
typedef struct _ADDRESSPAIR {
WORD AddressFlags;
WORD NalReserved;
ADDRESS DstAddress;
ADDRESS SrcAddress;
} ADDRESSPAIR,
*LPADDRESSPAIR;
Members
AddressFlags
Flags that describe the addresses used by a capture filter. See Remarks for more information.Value Meaning ADDRESS_FLAGS_MATCH_DST Matches the destination address. ADDRESS_FLAGS_MATCH_SRC Matches the source address. ADDRESS_FLAGS_EXCLUDED Excludes the frame if this address is found. ADDRESS_FLAGS_DST_GROUP_ADDR Matches group bit only. Use this for broadcast-type messages. ADDRESS_FLAGS_MATCH_BOTH Matches destination and source addresses. NalReserved
This is reserved.DstAddress
Destination address of the address pair element.SrcAddress
Source address of the address pair element.
Remarks
The flags of the AddressFlags member can be combined. For example the following setting excludes the frame if the specified source address is detected.
ADDRESS_FLAGS_MATCH_SOURCE|ADDRESS_FLAGS_EXCLUDED
For more information about implementing this structure, see Capture Filters.
Requirements
Client | Requires Windows XP, Windows 2000 Professional, or Windows NT Workstation 4.0. |
Server | Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0. |
Header | Declared in Netmon.h. |