bd_config->flood_count = 0;
bd_config->tun_master_count = 0;
bd_config->tun_normal_count = 0;
bd_config->flood_count = 0;
bd_config->tun_master_count = 0;
bd_config->tun_normal_count = 0;
bd_config->mac_by_ip4 = 0;
bd_config->mac_by_ip6 = hash_create_mem (0, sizeof (ip6_address_t),
sizeof (uword));
bd_config->mac_by_ip4 = 0;
bd_config->mac_by_ip6 = hash_create_mem (0, sizeof (ip6_address_t),
sizeof (uword));
bd_config->tun_master_count--;
else if (sw_if->flood_class == VNET_FLOOD_CLASS_TUNNEL_NORMAL)
bd_config->tun_normal_count--;
bd_config->tun_master_count--;
else if (sw_if->flood_class == VNET_FLOOD_CLASS_TUNNEL_NORMAL)
bd_config->tun_normal_count--;
}
vec_delete (bd_config->members, 1, ix);
update_flood_count (bd_config);
}
vec_delete (bd_config->members, 1, ix);
update_flood_count (bd_config);
* 6-byte MAC address directly in the hash table entry uword.
*
* @warning This only works for 64-bit processor with 8-byte uword;
* 6-byte MAC address directly in the hash table entry uword.
*
* @warning This only works for 64-bit processor with 8-byte uword;
ASSERT (sizeof (uword) == sizeof (u64)); /* make sure uword is 8 bytes */
ASSERT (bd_is_valid (bd_cfg));
ASSERT (sizeof (uword) == sizeof (u64)); /* make sure uword is 8 bytes */
ASSERT (bd_is_valid (bd_cfg));
ip6_addr_key = clib_mem_alloc (sizeof (ip6_address_t));
clib_memcpy (ip6_addr_key, ip_addr, sizeof (ip6_address_t));
}
ip6_addr_key = clib_mem_alloc (sizeof (ip6_address_t));
clib_memcpy (ip6_addr_key, ip_addr, sizeof (ip6_address_t));
}
hp = hash_get_pair (bd_cfg->mac_by_ip6, ip_addr);
ip6_addr_key = (ip6_address_t *) hp->key;
}
hp = hash_get_pair (bd_cfg->mac_by_ip6, ip_addr);
ip6_addr_key = (ip6_address_t *) hp->key;
}