2.2.1.2.5 FILTER_DESCRIPTOR
The FILTER_DESCRIPTOR structure MUST be used while specifying IPv4 filters.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dwVersion |
|||||||||||||||||||||||||||||||
dwNumFilters |
|||||||||||||||||||||||||||||||
faDefaultAction |
|||||||||||||||||||||||||||||||
fiFilter (variable) |
|||||||||||||||||||||||||||||||
... |
dwVersion (4 bytes): A 32-bit integer in network byte order used to specify the version. It MUST be 0x00000001. No other versions are defined.
dwNumFilters (4 bytes): A 32-bit integer in network byte order used to specify the number of filters. It MUST be greater than 0.
faDefaultAction (4 bytes): A 32-bit integer in network byte order used to specify the action for the filter. It MUST be FORWARD_ACTION (section 2.2.1.1.7).
fiFilter (variable): This MUST contain the actual five-tuple filters as specified in section 2.2.1.2.6.
When this structure is used as an embedded structure in RTR_TOC_ENTRY (section 2.2.1.2.4), the infoType of RTR_TOC_ENTRY MUST have the value 0xFFFF0001, 0xFFFF0002, or 0xFFFF0009 to specify an IPv4 in filter, an IPv4 out filter, or an IPv4 demand-dial filter respectively.
This structure is used in the following methods: