2.2.1.2.98 IPX_TRAFFIC_FILTER_INFO
The IPX_TRAFFIC_FILTER_INFO structure MAY<89> be used to specify the filter data for an IPX interface. When this structure is encapsulated in RTR_TOC_ENTRY (section 2.2.1.2.4), the InfoType value MUST be 0x00000006 or 0x0000000C. If the value of InfoType is 0x00000006, the filter is applied to incoming traffic, if the value of InfoType is 0x0000000C, the filter is applied to outgoing traffic.
-
typedef struct _IPX_TRAFFIC_FILTER_INFO { ULONG FilterDefinition; UCHAR DestinationNetwork[4]; UCHAR DestinationNetworkMask[4]; UCHAR DestinationNode[6]; UCHAR DestinationSocket[2]; UCHAR SourceNetwork[4]; UCHAR SourceNetworkMask[4]; UCHAR SourceNode[6]; UCHAR SourceSocket[2]; UCHAR PacketType; } IPX_TRAFFIC_FILTER_INFO, *PIPX_TRAFFIC_FILTER_INFO;
FilterDefinition: Flags that specify relevant IPX address fields to filter on. The values MUST be one of the following values.
-
Value
Meaning
IPX_TRAFFIC_FILTER_ON_SRCNET
0x00000001
Apply filter on source network.
IPX_TRAFFIC_FILTER_ON_SRCNODE
0x00000002
Apply filter on source node.
IPX_TRAFFIC_FILTER_ON_SRCSOCKET
0x00000004
Apply filter on source socket.
IPX_TRAFFIC_FILTER_ON_DSTNET
0x00000010
Apply filter on destination network.
IPX_TRAFFIC_FILTER_ON_DSTNODE
0x00000020
Apply filter on destination node.
IPX_TRAFFIC_FILTER_ON_DSTSOCKET
0x00000040
Apply filter on destination socket.
IPX_TRAFFIC_FILTER_ON_PKTTYPE
0x00000100
Apply filter based on packet type.
IPX_TRAFFIC_FILTER_LOG_MATCHES
0x80000000
Apply filters based on log matches.
DestinationNetwork: The DestinationNetwork field identifies the network (a segment of the IPX internetwork bounded by the IPX routers) to which an IPX node is connected.
DestinationNetworkMask: The mask that MUST be logically ANDed with DestinationNetwork.
DestinationNode: Identifies a node on an IPX network. The 6-byte fields can be used to store physical addresses, also known as MAC addresses.
DestinationSocket: Identifies the software process addresses of the destination and source applications respectively. With multiple processes communicating between the same two computers, the IPX network and node numbers are the same. The IPX socket number is a software process identifier that is used to forward the IPX payload to the proper process.
SourceNetwork: Identifies the network (a segment of the IPX internetwork bounded by the IPX routers) to which an IPX node is connected.
SourceNetworkMask: The mask that MUST be logically ANDed with SourceNetwork.
SourceNode: Identifies a node on an IPX network. The 6-byte fields can be used to store physical addresses, also known as MAC addresses.
SourceSocket: Identifies the software process addresses of the destination and source applications respectively. With multiple processes communicating between the same two computers, the IPX network and node numbers are the same. The IPX socket number is a software process identifier that is used to forward the IPX payload to the proper process.
PacketType: The PacketType field indicates the contents of the payload portion of the IPX packet. It allows several client protocols to use the IPX and be identified by the IPX router. The following table lists some common defined values of the IPX packet type.
-
Value
Meaning
0x0000
Unspecified
0x0001
RIP
0x0004
SAP/Normal IPX
0x0005
SPX
0x0014
IPX WAN broadcast (used for NetBIOS over IPX broadcasts)