Flex Data filter definition.
typedef struct { BYTE sequence[128]; BYTE mask[16]; BYTE length; BYTE priority; } HPE_FLEX_FILTER;
sequence
mask
length
priority
Sequence is an array of values that is compared to the incoming packet. Setting a bit in mask selects a byte for comparison. Priority resolves multiple filters that have duplicate matches.
Abbreviated bit to byte mapping sequence:
mask[0]:0 | sequence[0] | mask[1]:0 | sequence[8] | |
mask[0]:1 | sequence[1] | mask[1]:1 | sequence[9] | |
mask[0]:2 | sequence[2] | mask[1]:2 | sequence[10] | |
mask[0]:3 | sequence[3] | mask[1]:3 | sequence[11] | |
mask[0]:4 | sequence[4] | mask[1]:4 | sequence[12] | |
mask[0]:5 | sequence[5] | mask[1]:5 | sequence[13] | |
mask[0]:6 | sequence[6] | mask[1]:6 | sequence[14] | |
mask[0]:7 | sequence[7] | mask[1]:7 | sequence[15] |
Priority resolves multiple filters that with duplicate matches.
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 6.0 (HPE3) | intime/rt/include/hpeif2.h | hpeif2.h | hpeif2.lib |