Lines Matching refs:mcast_list
338 * @mcast_list: the list with multicast addresses to search in
344 struct hlist_head *mcast_list)
348 hlist_for_each_entry(mcast_entry, mcast_list, list)
358 * @mcast_list: a list to put found addresses into
363 * the given mcast_list. In general, multicast listeners provided by
367 * items added to the mcast_list otherwise.
371 struct hlist_head *mcast_list,
403 if (batadv_mcast_mla_is_duplicate(mcast_addr, mcast_list))
413 hlist_add_head(&new->list, mcast_list);
424 * @mcast_list: a list to put found addresses into
429 * the given mcast_list. In general, multicast listeners provided by
433 * items added to the mcast_list otherwise.
438 struct hlist_head *mcast_list,
475 if (batadv_mcast_mla_is_duplicate(mcast_addr, mcast_list))
485 hlist_add_head(&new->list, mcast_list);
496 struct hlist_head *mcast_list,
506 * @mcast_list: a list to put found addresses into
511 * the given mcast_list. In general, multicast listeners provided by
520 * items added to the mcast_list otherwise.
524 struct hlist_head *mcast_list,
533 ret4 = batadv_mcast_mla_softif_get_ipv4(dev, mcast_list, flags);
537 ret6 = batadv_mcast_mla_softif_get_ipv6(dev, mcast_list, flags);
577 * @mcast_list: a list to put found addresses into
583 * mcast_list.
586 * items added to the mcast_list otherwise.
589 struct hlist_head *mcast_list,
637 if (batadv_mcast_mla_is_duplicate(mcast_addr, mcast_list))
647 hlist_add_head(&new->list, mcast_list);
661 * @mcast_list: the list to free
663 * Removes and frees all items in the given mcast_list.
665 static void batadv_mcast_mla_list_free(struct hlist_head *mcast_list)
670 hlist_for_each_entry_safe(mcast_entry, tmp, mcast_list, list) {
679 * @mcast_list: a list of addresses which should _not_ be removed
682 * translation table except the ones listed in the given mcast_list.
684 * If mcast_list is NULL then all are retracted.
687 struct hlist_head *mcast_list)
694 if (mcast_list &&
696 mcast_list))
711 * @mcast_list: a list of addresses which are going to get added
713 * Adds multicast listener announcements from the given mcast_list to the
717 struct hlist_head *mcast_list)
722 if (!mcast_list)
725 hlist_for_each_entry_safe(mcast_entry, tmp, mcast_list, list) {
906 struct hlist_head mcast_list = HLIST_HEAD_INIT;
912 ret = batadv_mcast_mla_softif_get(soft_iface, &mcast_list, &flags);
916 ret = batadv_mcast_mla_bridge_get(soft_iface, &mcast_list, &flags);
921 batadv_mcast_mla_tt_retract(bat_priv, &mcast_list);
922 batadv_mcast_mla_tt_add(bat_priv, &mcast_list);
927 batadv_mcast_mla_list_free(&mcast_list);