Partager via


2.2.1.2.7 FILTER_DESCRIPTOR_V6

The FILTER_DESCRIPTOR_V6 structure MUST be used while specifying IPv6 filters.

This structure is used in the following methods:


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

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 is defined in FILTER_INFO_V6 (section 2.2.1.2.8).

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 be 0xFFFF0011, 0xFFFF0012, or 0xFFFF0013 to specify an IPv6 in filter, an IPv6 out filter, or an IPv6 demand-dial filter respectively.<23>