Creating Packet Filters |
Combining All the Filters. Together, the four packet filters work to perform the solution to the problem: filtering the broadcast packets from the market data servers. These steps show how to create this filter:
1Name the filter:
“Discard XNS & IP pkts w/in socket range”
2Perform steps 2 through 4 as described in “Packet Filter One” on page
3Perform steps 2 through 8 as described in “Packet Filter Two” on page
4Add an and statement to compare the results of step 2 and the results of step 3:
and # compare if XNS & in range
5Perform steps 2 through 4 as described in “Combining a Subset of the Filters” on page
6Add an or statement:
or # determine if the type field is either XNS or IP
7Add a not statement to discard any matching packets:
not # discard if (IP & in range) & (XNS & in range)
The complete packet filter that discards IP and XNS packets that are within the specified range is shown on page
Tools for Writing You can create a new packet filter using either an
Console. Using an
Using the
The