Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
ADDRESSPAIR
-
2006年12月05日
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
Declared in Netmon.h.