[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[altq 351] Re: struct flow_filter's fields
Cheng Hong wrote:
> Could anyone tell me what is the use/meaning for the
> ff_ruleno ; ff_mask.mask_tos ; and ff_mask.mask_src
> fields in the struct flow_filter
ff_ruleno: explicitly specifies the order of filter matching.
filters are ordered from the highest rule number to the
lowest rule number.
ff_mask.mask_tos: mask bits to apply to the IP TOS field.
when mask_tos is 0xf0, the lower 4 bits are ignored.
ff_mask.mask_src: mask bits to apply to the IP source address field.