Lines Matching refs:flags
112 rateest_parse(int c, char **argv, int invert, unsigned int *flags, in rateest_parse() argument
127 if (*flags & (1 << c)) in rateest_parse()
130 *flags |= 1 << c; in rateest_parse()
141 if (*flags & (1 << c)) in rateest_parse()
144 *flags |= 1 << c; in rateest_parse()
147 info->flags |= XT_RATEEST_MATCH_REL; in rateest_parse()
156 if (*flags & (1 << c)) in rateest_parse()
159 *flags |= 1 << c; in rateest_parse()
161 info->flags |= XT_RATEEST_MATCH_BPS; in rateest_parse()
180 if (*flags & (1 << c)) in rateest_parse()
183 *flags |= 1 << c; in rateest_parse()
185 info->flags |= XT_RATEEST_MATCH_PPS; in rateest_parse()
205 if (*flags & (1 << c)) in rateest_parse()
208 *flags |= 1 << c; in rateest_parse()
210 info->flags |= XT_RATEEST_MATCH_BPS; in rateest_parse()
229 if (*flags & (1 << c)) in rateest_parse()
232 *flags |= 1 << c; in rateest_parse()
234 info->flags |= XT_RATEEST_MATCH_PPS; in rateest_parse()
254 if (*flags & (1 << c)) in rateest_parse()
257 *flags |= 1 << c; in rateest_parse()
259 info->flags |= XT_RATEEST_MATCH_DELTA; in rateest_parse()
265 if (*flags & (1 << c)) in rateest_parse()
268 *flags |= 1 << c; in rateest_parse()
272 info->flags |= XT_RATEEST_MATCH_INVERT; in rateest_parse()
278 if (*flags & (1 << c)) in rateest_parse()
281 *flags |= 1 << c; in rateest_parse()
285 info->flags |= XT_RATEEST_MATCH_INVERT; in rateest_parse()
291 if (*flags & (1 << c)) in rateest_parse()
294 *flags |= 1 << c; in rateest_parse()
298 info->flags |= XT_RATEEST_MATCH_INVERT; in rateest_parse()
306 rateest_final_check(unsigned int flags) in rateest_final_check() argument
313 if (!(info->flags & XT_RATEEST_MATCH_REL)) in rateest_final_check()
314 info->flags |= XT_RATEEST_MATCH_ABS; in rateest_final_check()
336 if (info->flags & XT_RATEEST_MATCH_INVERT) in rateest_print_mode()
362 if (info->flags & XT_RATEEST_MATCH_DELTA) in rateest_print()
365 if (info->flags & XT_RATEEST_MATCH_BPS) { in rateest_print()
367 if (info->flags & XT_RATEEST_MATCH_DELTA) in rateest_print()
369 if (info->flags & XT_RATEEST_MATCH_ABS) { in rateest_print()
374 if (info->flags & XT_RATEEST_MATCH_PPS) { in rateest_print()
376 if (info->flags & XT_RATEEST_MATCH_DELTA) in rateest_print()
378 if (info->flags & XT_RATEEST_MATCH_ABS) { in rateest_print()
384 if (info->flags & XT_RATEEST_MATCH_REL) { in rateest_print()
388 if (info->flags & XT_RATEEST_MATCH_DELTA) in rateest_print()
391 if (info->flags & XT_RATEEST_MATCH_BPS) { in rateest_print()
393 if (info->flags & XT_RATEEST_MATCH_DELTA) in rateest_print()
396 if (info->flags & XT_RATEEST_MATCH_PPS) { in rateest_print()
398 if (info->flags & XT_RATEEST_MATCH_DELTA) in rateest_print()
409 if (info->flags & XT_RATEEST_MATCH_REL) { in rateest_save()
411 if (info->flags & XT_RATEEST_MATCH_BPS) in rateest_save()
413 if (info->flags & XT_RATEEST_MATCH_PPS) in rateest_save()
419 if (info->flags & XT_RATEEST_MATCH_BPS) { in rateest_save()
426 if (info->flags & XT_RATEEST_MATCH_PPS) { in rateest_save()