• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/iptables/extensions/

Lines Matching refs:dstlimit

32 "dstlimit v%s options:\n"
33 "--dstlimit <avg> max average match rate\n"
36 "--dstlimit-mode <mode> mode\n"
41 "--dstlimit-name <name> name for /proc/net/ipt_dstlimit/\n"
42 "[--dstlimit-burst <num>] number to match in a burst, default %u\n"
43 "[--dstlimit-htable-size <num>] number of hashtable buckets\n"
44 "[--dstlimit-htable-max <num>] number of hashtable entries\n"
45 "[--dstlimit-htable-gcinterval] interval between garbage collection runs\n"
46 "[--dstlimit-htable-expire] after which time are idle entries expired?\n"
51 { "dstlimit", 1, 0, '%' },
52 { "dstlimit-burst", 1, 0, '$' },
53 { "dstlimit-htable-size", 1, 0, '&' },
54 { "dstlimit-htable-max", 1, 0, '*' },
55 { "dstlimit-htable-gcinterval", 1, 0, '(' },
56 { "dstlimit-htable-expire", 1, 0, ')' },
57 { "dstlimit-mode", 1, 0, '_' },
58 { "dstlimit-name", 1, 0, '"' },
144 "bad --dstlimit-burst `%s'", optarg);
152 "bad --dstlimit-htable-size: `%s'", optarg);
160 "bad --dstlimit-htable-max: `%s'", optarg);
168 "bad --dstlimit-htable-gcinterval: `%s'",
178 "bad --dstlimit-htable-expire: `%s'", optarg);
197 "bad --dstlimit-mode: `%s'\n", optarg);
213 "dstlimit does not support invert");
223 "You have to specify --dstlimit");
226 "You have to specify --dstlimit-mode");
229 "You have to specify --dstlimit-name");
294 printf("--dstlimit "); print_rate(r->cfg.avg);
296 printf("--dstlimit-burst %u ", r->cfg.burst);
312 printf("--dstlimit-htable-size %u ", r->cfg.size);
314 printf("--dstlimit-htable-max %u ", r->cfg.max);
316 printf("--dstlimit-htable-gcinterval %u", r->cfg.gc_interval);
318 printf("--dstlimit-htable-expire %u ", r->cfg.expire);
321 static struct iptables_match dstlimit = {
323 .name = "dstlimit",
339 register_match(&dstlimit);