Home
last modified time | relevance | path

Searched refs:hash_node (Results 1 – 2 of 2) sorted by relevance

/freebsd-13.1/sys/netinet/
H A Dsiftr.c338 struct flow_hash_node *hash_node; in siftr_process_pkt() local
345 hash_node = NULL; in siftr_process_pkt()
382 LIST_FOREACH(hash_node, counter_list, nodes) { in siftr_process_pkt()
399 if (hash_node == NULL || !found_match) { in siftr_process_pkt()
401 hash_node = malloc(sizeof(struct flow_hash_node), in siftr_process_pkt()
404 if (hash_node != NULL) { in siftr_process_pkt()
406 hash_node->counter = 0; in siftr_process_pkt()
407 memcpy(hash_node->key, key, sizeof(key)); in siftr_process_pkt()
408 LIST_INSERT_HEAD(counter_list, hash_node, nodes); in siftr_process_pkt()
426 hash_node->counter = (hash_node->counter + 1) % in siftr_process_pkt()
[all …]
/freebsd-13.1/contrib/wpa/hs20/client/
H A Dosu_client.c307 xml_node_t *url_node, *hash_node; in download_cert() local
317 hash_node = get_node(ctx->xml, params, "CertSHA256Fingerprint"); in download_cert()
318 if (url_node == NULL || hash_node == NULL) in download_cert()
321 hash = xml_node_get_text(ctx->xml, hash_node); in download_cert()