HomeSort by: relevance | last modified time | path
    Searched defs:rndblock (Results 1 - 3 of 3) sorted by relevancy

  /src/sys/net/npf/
npf_ext_rndblock.c 103 npf_ext_rndblock_t *rndblock = meta; local in function:npf_ext_rndblock
119 c = atomic_inc_ulong_nv(&rndblock->counter);
121 if (rndblock->mod) {
122 if ((c % rndblock->mod) == 0) {
127 if (rndblock->percentage) {
129 if (w <= rndblock->percentage) {
149 * Initialize the NPF extension. Register the "rndblock" extension
152 npf_ext_rndblock_id = npf_ext_register(npf, "rndblock",
161 * Remove the rndblock extension. NPF may return an if there
npf_ext_rndblock.c 103 npf_ext_rndblock_t *rndblock = meta; local in function:npf_ext_rndblock
119 c = atomic_inc_ulong_nv(&rndblock->counter);
121 if (rndblock->mod) {
122 if ((c % rndblock->mod) == 0) {
127 if (rndblock->percentage) {
129 if (w <= rndblock->percentage) {
149 * Initialize the NPF extension. Register the "rndblock" extension
152 npf_ext_rndblock_id = npf_ext_register(npf, "rndblock",
161 * Remove the rndblock extension. NPF may return an if there
npf_ext_rndblock.c 103 npf_ext_rndblock_t *rndblock = meta; local in function:npf_ext_rndblock
119 c = atomic_inc_ulong_nv(&rndblock->counter);
121 if (rndblock->mod) {
122 if ((c % rndblock->mod) == 0) {
127 if (rndblock->percentage) {
129 if (w <= rndblock->percentage) {
149 * Initialize the NPF extension. Register the "rndblock" extension
152 npf_ext_rndblock_id = npf_ext_register(npf, "rndblock",
161 * Remove the rndblock extension. NPF may return an if there

Completed in 30 milliseconds