Lines Matching defs:counter
240 uint16_t counter;
380 * hash node that stores the counter for the flow
392 /* Create a new hash node to store the flow's counter. */
398 hash_node->counter = 0;
412 * Taking the remainder of the counter divided
414 * and storing that in counter provides a neat
418 hash_node->counter = (hash_node->counter + 1) %
425 if (hash_node->counter > 0)
958 * from the start of the mbuf (very counter intuitive!).
1198 struct flow_hash_node *counter, *tmp_counter;
1333 LIST_FOREACH_SAFE(counter, counter_hash + i, nodes,
1335 key = counter->key;
1407 free(counter, M_SIFTR_HASHNODE);
1497 /* Initialise our flow counter hash table. */