Home | History | Annotate | Download | only in extensions

Lines Matching full: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'",
209 "bad --hashlimit-htable-expire: `%s'", optarg);
218 "bad --hashlimit-mode: `%s'\n", optarg);
234 "hashlimit does not support invert");
244 "You have to specify --hashlimit");
247 "You have to specify --hashlimit-mode");
250 "You have to specify --hashlimit-name");
333 fputs("--hashlimit ", stdout); print_rate(r->cfg.avg);
335 printf("--hashlimit-burst %u ", r->cfg.burst);
337 fputs("--hashlimit-mode ", stdout);
340 printf("--hashlimit-name %s ", r->name);
343 printf("--hashlimit-htable-size %u ", r->cfg.size);
345 printf("--hashlimit-htable-max %u ", r->cfg.max);
347 printf("--hashlimit-htable-gcinterval %u", r->cfg.gc_interval);
349 printf("--hashlimit-htable-expire %u ", r->cfg.expire);
352 static struct ip6tables_match hashlimit = { NULL,
353 .name = "hashlimit",
368 register_match6(&hashlimit);