| 34 | } |
| 35 | |
| 36 | unsigned int address_node_hash(pht_hash_table_t *table, void *node) { |
| 37 | str str_ip; |
| 38 | p_address_node_t *address; |
| 39 | |
| 40 | address = node; |
| 41 | |
| 42 | str_ip.len = address->k.subnet.ip.len; |
| 43 | str_ip.s = (char *)address->k.subnet.ip.u.addr; |
| 44 | |
| 45 | return address_hash(table, &str_ip); |
| 46 | } |
| 47 | |
| 48 | void delete_address_node(p_address_node_t *node) { |
| 49 | if (node) shm_free(node); |
nothing calls this directly
no test coverage detected