~ The HTABLE_DEFINE_TYPE() macro needs a keyof() function to extract the key: */
| 164 | /*~ The HTABLE_DEFINE_TYPE() macro needs a keyof() function to extract the key: |
| 165 | */ |
| 166 | static const struct node_id *peer_keyof(const struct peer *peer) |
| 167 | { |
| 168 | return &peer->id; |
| 169 | } |
| 170 | |
| 171 | /*~ We reuse node_id_hash from common/node_id.h, which uses siphash |
| 172 | * and a per-run seed. */ |
nothing calls this directly
no outgoing calls
no test coverage detected