Searched refs:parse_rate (Results 1 – 3 of 3) sorted by relevance
/external/iptables/extensions/ |
D | libebt_limit.c | 50 static int parse_rate(const char *rate, uint32_t *val) in parse_rate() function 89 parse_rate(EBT_LIMIT_AVG, &r->avg); in brlimit_init() 105 if (!parse_rate(optarg, &r->avg)) in brlimit_parse()
|
D | libxt_limit.c | 44 int parse_rate(const char *rate, uint32_t *val) in parse_rate() function 84 parse_rate(XT_LIMIT_AVG, &r->avg); in limit_init() 102 if (!parse_rate(cb->arg, &r->avg)) in limit_parse()
|
D | libxt_hashlimit.c | 306 int parse_rate(const char *rate, void *val, struct hashlimit_mt_udata *ud, int revision) in parse_rate() function 438 if (!parse_rate(cb->arg, &info->cfg.avg, cb->udata, 1)) in hashlimit_parse() 464 else if (!parse_rate(cb->arg, &info->cfg.avg, cb->udata, 1)) in hashlimit_mt_parse_v1() 473 else if (!parse_rate(cb->arg, &info->cfg.avg, cb->udata, 1)) in hashlimit_mt_parse_v1() 505 else if (!parse_rate(cb->arg, &info->cfg.avg, cb->udata, 2)) in hashlimit_mt_parse() 514 else if (!parse_rate(cb->arg, &info->cfg.avg, cb->udata, 2)) in hashlimit_mt_parse()
|