HomeSort by: relevance | last modified time | path
    Searched refs:curpps (Results 1 - 4 of 4) sorted by relevancy

  /src/sys/kern/
kern_rate.c 68 ppsratecheck(struct timeval *lasttime, int *curpps, int maxpps)
81 * we do increment *curpps even in *curpps < maxpps case, as some may
82 * try to use *curpps for stat purposes as well.
87 *curpps = 0;
91 else if (*curpps < maxpps)
98 if (__predict_true(*curpps != INT_MAX))
99 *curpps = *curpps + 1;
108 *curpps = *curpps + 1
    [all...]
  /src/sys/netipsec/
ipsec_input.c 303 static int curpps = 0; local in function:ipsec_common_input
305 if (!ipsec_debug && ppsratecheck(&lasttime, &curpps, 1)) {
  /src/sys/net/
if_pppoe.c 1182 static int curpps = 0; local in function:pppoe_data_input
1189 ppsratecheck(&lasttime, &curpps,
  /src/sys/external/bsd/ipf/netinet/
fil.c 5367 ppsratecheck(lasttime, curpps, maxpps)
5369 int *curpps;
5389 * we do increment *curpps even in *curpps < maxpps case, as some may
5390 * try to use *curpps for stat purposes as well.
5395 *curpps = 0;
5399 else if (*curpps < maxpps)
5403 *curpps = *curpps + 1;

Completed in 21 milliseconds