• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/src/router/iptables-1.x/extensions/

Lines Matching refs:hashlimit

34 "hashlimit v%s options:\n"
35 "--hashlimit <avg> max average match rate\n"
38 "--hashlimit-mode <mode> mode is a comma-separated list of\n"
40 "--hashlimit-name <name> name for /proc/net/ipt_hashlimit/\n"
41 "[--hashlimit-burst <num>] number to match in a burst, default %u\n"
42 "[--hashlimit-htable-size <num>] number of hashtable buckets\n"
43 "[--hashlimit-htable-max <num>] number of hashtable entries\n"
44 "[--hashlimit-htable-gcinterval] interval between garbage collection runs\n"
45 "[--hashlimit-htable-expire] after which time are idle entries expired?\n"
50 { "hashlimit", 1, 0, '%' },
51 { "hashlimit-burst", 1, 0, '$' },
52 { "hashlimit-htable-size", 1, 0, '&' },
53 { "hashlimit-htable-max", 1, 0, '*' },
54 { "hashlimit-htable-gcinterval", 1, 0, '(' },
55 { "hashlimit-htable-expire", 1, 0, ')' },
56 { "hashlimit-mode", 1, 0, '_' },
57 { "hashlimit-name", 1, 0, '"' },
175 "bad --hashlimit-burst `%s'", optarg);
183 "bad --hashlimit-htable-size: `%s'", optarg);
191 "bad --hashlimit-htable-max: `%s'", optarg);
199 "bad --hashlimit-htable-gcinterval: `%s'",
208 "bad --hashlimit-htable-expire: `%s'", optarg);
216 "bad --hashlimit-mode: `%s'\n", optarg);
232 "hashlimit does not support invert");
242 "You have to specify --hashlimit");
245 "You have to specify --hashlimit-mode");
248 "You have to specify --hashlimit-name");
330 fputs("--hashlimit ", stdout); print_rate(r->cfg.avg);
332 printf("--hashlimit-burst %u ", r->cfg.burst);
334 fputs("--hashlimit-mode ", stdout);
337 printf("--hashlimit-name %s ", r->name);
340 printf("--hashlimit-htable-size %u ", r->cfg.size);
342 printf("--hashlimit-htable-max %u ", r->cfg.max);
344 printf("--hashlimit-htable-gcinterval %u", r->cfg.gc_interval);
346 printf("--hashlimit-htable-expire %u ", r->cfg.expire);
349 static struct ip6tables_match hashlimit = { NULL,
350 .name = "hashlimit",
365 register_match6(&hashlimit);