/* Compute the hash value for two given address/port pairs. (Parameter type is gconstpointer for GHashTable compatibility.) */
static guint conversation_hash(gconstpointer v)
/* Compute the hash value for two given address/port pairs. (Parameter type is gconstpointer for GHashTable compatibility.) */
static guint conversation_hash(gconstpointer v)
{
    const conv_key_t *key = (const conv_key_t *)v;
    guint hash_val;
    hash_val = 0;
    hash_val = add_address_to_hash(hash_val, &key->addr1);
    hash_val += key->port1;
    hash_val = add_address_to_hash(hash_val, &key->addr2);
    hash_val += key->port2;
    hash_val ^= key->conv_id;
    return hash_val;
}