Home
last modified time | relevance | path

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

/f-stack/lib/
H A Dff_glue.c523 ppsratecheck(struct timeval *lasttime, int *curpps, int maxpps) in ppsratecheck() argument
535 *curpps = 1; in ppsratecheck()
538 (*curpps)++; /* NB: ignore potential overflow */ in ppsratecheck()
539 return (maxpps < 0 || *curpps < maxpps); in ppsratecheck()
/f-stack/freebsd/kern/
H A Dkern_time.c1063 ppsratecheck(struct timeval *lasttime, int *curpps, int maxpps) in ppsratecheck() argument
1075 *curpps = 1; in ppsratecheck()
1078 (*curpps)++; /* NB: ignore potential overflow */ in ppsratecheck()
1079 return (maxpps < 0 || *curpps <= maxpps); in ppsratecheck()
/f-stack/freebsd/contrib/ipfilter/netinet/
H A Dfil.c5487 ppsratecheck(lasttime, curpps, maxpps) in ppsratecheck() argument
5489 int *curpps;
5515 *curpps = 0;
5519 else if (*curpps < maxpps)
5523 *curpps = *curpps + 1;