Lines Matching refs:flags
113 rateest_parse(int c, char **argv, int invert, unsigned int *flags,
125 if (*flags & (1 << c))
128 *flags |= 1 << c;
138 if (*flags & (1 << c))
141 *flags |= 1 << c;
144 info->flags |= XT_RATEEST_MATCH_REL;
152 if (*flags & (1 << c))
155 *flags |= 1 << c;
157 info->flags |= XT_RATEEST_MATCH_BPS;
175 if (*flags & (1 << c))
178 *flags |= 1 << c;
180 info->flags |= XT_RATEEST_MATCH_PPS;
199 if (*flags & (1 << c))
202 *flags |= 1 << c;
204 info->flags |= XT_RATEEST_MATCH_BPS;
222 if (*flags & (1 << c))
225 *flags |= 1 << c;
227 info->flags |= XT_RATEEST_MATCH_PPS;
246 if (*flags & (1 << c))
249 *flags |= 1 << c;
251 info->flags |= XT_RATEEST_MATCH_DELTA;
255 if (*flags & (1 << c))
258 *flags |= 1 << c;
262 info->flags |= XT_RATEEST_MATCH_INVERT;
266 if (*flags & (1 << c))
269 *flags |= 1 << c;
273 info->flags |= XT_RATEEST_MATCH_INVERT;
277 if (*flags & (1 << c))
280 *flags |= 1 << c;
284 info->flags |= XT_RATEEST_MATCH_INVERT;
297 "you need to specify some flags");
298 if (!(info->flags & XT_RATEEST_MATCH_REL))
299 info->flags |= XT_RATEEST_MATCH_ABS;
321 if (info->flags & XT_RATEEST_MATCH_INVERT)
347 if (info->flags & XT_RATEEST_MATCH_DELTA)
350 if (info->flags & XT_RATEEST_MATCH_BPS) {
352 if (info->flags & XT_RATEEST_MATCH_DELTA)
354 if (info->flags & XT_RATEEST_MATCH_ABS) {
359 if (info->flags & XT_RATEEST_MATCH_PPS) {
361 if (info->flags & XT_RATEEST_MATCH_DELTA)
363 if (info->flags & XT_RATEEST_MATCH_ABS) {
369 if (info->flags & XT_RATEEST_MATCH_REL) {
374 if (info->flags & XT_RATEEST_MATCH_BPS) {
376 if (info->flags & XT_RATEEST_MATCH_DELTA)
379 if (info->flags & XT_RATEEST_MATCH_PPS) {
381 if (info->flags & XT_RATEEST_MATCH_DELTA)
391 if (info->flags & XT_RATEEST_MATCH_DELTA) {
401 if (info->flags & (XT_RATEEST_MATCH_ABS|XT_RATEEST_MATCH_DELTA))
407 if (info->flags & XT_RATEEST_MATCH_BPS)
409 if (info->flags & XT_RATEEST_MATCH_PPS)
419 if (info->flags & XT_RATEEST_MATCH_DELTA)
422 if (info->flags & XT_RATEEST_MATCH_REL) {