Home
last modified time | relevance | path

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

/f-stack/freebsd/netgraph/
H A Dng_source.c846 val = htonl(cnt->next_val); in ng_source_mod_counter()
851 cnt->next_val += increment; in ng_source_mod_counter()
853 if (increment > 0 && cnt->next_val > cnt->max_val) { in ng_source_mod_counter()
854 cnt->next_val = cnt->min_val - 1 + in ng_source_mod_counter()
855 (cnt->next_val - cnt->max_val); in ng_source_mod_counter()
856 if (cnt->next_val > cnt->max_val) in ng_source_mod_counter()
857 cnt->next_val = cnt->max_val; in ng_source_mod_counter()
859 cnt->next_val = cnt->max_val + 1 + in ng_source_mod_counter()
860 (cnt->next_val - cnt->min_val); in ng_source_mod_counter()
861 if (cnt->next_val < cnt->min_val) in ng_source_mod_counter()
[all …]
H A Dng_source.h103 uint32_t next_val; member
/f-stack/tools/compat/include/netgraph/
H A Dng_source.h103 uint32_t next_val; member