Home
last modified time | relevance | path

Searched refs:parse_rate (Results 1 – 3 of 3) sorted by relevance

/external/iptables/extensions/
Dlibebt_limit.c50 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()
Dlibxt_limit.c44 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()
Dlibxt_hashlimit.c306 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()