Lines Matching refs:bat_priv

70 static void batadv_mcast_start_timer(struct batadv_priv *bat_priv)  in batadv_mcast_start_timer()  argument
72 queue_delayed_work(batadv_event_workqueue, &bat_priv->mcast.work, in batadv_mcast_start_timer()
167 static u8 batadv_mcast_mla_rtr_flags_softif_get(struct batadv_priv *bat_priv, in batadv_mcast_mla_rtr_flags_softif_get() argument
170 struct net_device *dev = bridge ? bridge : bat_priv->soft_iface; in batadv_mcast_mla_rtr_flags_softif_get()
198 static u8 batadv_mcast_mla_rtr_flags_bridge_get(struct batadv_priv *bat_priv, in batadv_mcast_mla_rtr_flags_bridge_get() argument
202 struct net_device *dev = bat_priv->soft_iface; in batadv_mcast_mla_rtr_flags_bridge_get()
235 batadv_mcast_mla_rtr_flags_bridge_get(struct batadv_priv *bat_priv, in batadv_mcast_mla_rtr_flags_bridge_get() argument
260 static u8 batadv_mcast_mla_rtr_flags_get(struct batadv_priv *bat_priv, in batadv_mcast_mla_rtr_flags_get() argument
265 flags &= batadv_mcast_mla_rtr_flags_softif_get(bat_priv, bridge); in batadv_mcast_mla_rtr_flags_get()
266 flags &= batadv_mcast_mla_rtr_flags_bridge_get(bat_priv, bridge); in batadv_mcast_mla_rtr_flags_get()
279 batadv_mcast_mla_flags_get(struct batadv_priv *bat_priv) in batadv_mcast_mla_flags_get() argument
281 struct net_device *dev = bat_priv->soft_iface; in batadv_mcast_mla_flags_get()
290 mla_flags.tvlv_flags |= batadv_mcast_mla_rtr_flags_get(bat_priv, in batadv_mcast_mla_flags_get()
686 static void batadv_mcast_mla_tt_retract(struct batadv_priv *bat_priv, in batadv_mcast_mla_tt_retract() argument
692 hlist_for_each_entry_safe(mcast_entry, tmp, &bat_priv->mcast.mla_list, in batadv_mcast_mla_tt_retract()
699 batadv_tt_local_remove(bat_priv, mcast_entry->addr, in batadv_mcast_mla_tt_retract()
716 static void batadv_mcast_mla_tt_add(struct batadv_priv *bat_priv, in batadv_mcast_mla_tt_add() argument
727 &bat_priv->mcast.mla_list)) in batadv_mcast_mla_tt_add()
730 if (!batadv_tt_local_add(bat_priv->soft_iface, in batadv_mcast_mla_tt_add()
736 hlist_add_head(&mcast_entry->list, &bat_priv->mcast.mla_list); in batadv_mcast_mla_tt_add()
763 batadv_mcast_querier_log(struct batadv_priv *bat_priv, char *str_proto, in batadv_mcast_querier_log() argument
768 batadv_info(bat_priv->soft_iface, "%s Querier appeared\n", in batadv_mcast_querier_log()
771 batadv_info(bat_priv->soft_iface, in batadv_mcast_querier_log()
774 else if (!bat_priv->mcast.mla_flags.bridged && !new_state->exists) in batadv_mcast_querier_log()
775 batadv_info(bat_priv->soft_iface, in batadv_mcast_querier_log()
782 batadv_dbg(BATADV_DBG_MCAST, bat_priv, in batadv_mcast_querier_log()
786 batadv_dbg(BATADV_DBG_MCAST, bat_priv, in batadv_mcast_querier_log()
809 batadv_mcast_bridge_log(struct batadv_priv *bat_priv, in batadv_mcast_bridge_log() argument
812 struct batadv_mcast_mla_flags *old_flags = &bat_priv->mcast.mla_flags; in batadv_mcast_bridge_log()
815 batadv_dbg(BATADV_DBG_MCAST, bat_priv, in batadv_mcast_bridge_log()
818 batadv_dbg(BATADV_DBG_MCAST, bat_priv, in batadv_mcast_bridge_log()
822 batadv_mcast_querier_log(bat_priv, "IGMP", in batadv_mcast_bridge_log()
825 batadv_mcast_querier_log(bat_priv, "MLD", in batadv_mcast_bridge_log()
839 static void batadv_mcast_flags_log(struct batadv_priv *bat_priv, u8 flags) in batadv_mcast_flags_log() argument
841 bool old_enabled = bat_priv->mcast.mla_flags.enabled; in batadv_mcast_flags_log()
842 u8 old_flags = bat_priv->mcast.mla_flags.tvlv_flags; in batadv_mcast_flags_log()
852 batadv_dbg(BATADV_DBG_MCAST, bat_priv, in batadv_mcast_flags_log()
871 batadv_mcast_mla_flags_update(struct batadv_priv *bat_priv, in batadv_mcast_mla_flags_update() argument
876 if (!memcmp(flags, &bat_priv->mcast.mla_flags, sizeof(*flags))) in batadv_mcast_mla_flags_update()
879 batadv_mcast_bridge_log(bat_priv, flags); in batadv_mcast_mla_flags_update()
880 batadv_mcast_flags_log(bat_priv, flags->tvlv_flags); in batadv_mcast_mla_flags_update()
885 batadv_tvlv_container_register(bat_priv, BATADV_TVLV_MCAST, 2, in batadv_mcast_mla_flags_update()
888 bat_priv->mcast.mla_flags = *flags; in batadv_mcast_mla_flags_update()
903 static void __batadv_mcast_mla_update(struct batadv_priv *bat_priv) in __batadv_mcast_mla_update() argument
905 struct net_device *soft_iface = bat_priv->soft_iface; in __batadv_mcast_mla_update()
910 flags = batadv_mcast_mla_flags_get(bat_priv); in __batadv_mcast_mla_update()
920 spin_lock(&bat_priv->mcast.mla_lock); in __batadv_mcast_mla_update()
921 batadv_mcast_mla_tt_retract(bat_priv, &mcast_list); in __batadv_mcast_mla_update()
922 batadv_mcast_mla_tt_add(bat_priv, &mcast_list); in __batadv_mcast_mla_update()
923 batadv_mcast_mla_flags_update(bat_priv, &flags); in __batadv_mcast_mla_update()
924 spin_unlock(&bat_priv->mcast.mla_lock); in __batadv_mcast_mla_update()
943 struct batadv_priv *bat_priv; in batadv_mcast_mla_update() local
947 bat_priv = container_of(priv_mcast, struct batadv_priv, mcast); in batadv_mcast_mla_update()
949 __batadv_mcast_mla_update(bat_priv); in batadv_mcast_mla_update()
950 batadv_mcast_start_timer(bat_priv); in batadv_mcast_mla_update()
992 static int batadv_mcast_forw_mode_check_ipv4(struct batadv_priv *bat_priv, in batadv_mcast_forw_mode_check_ipv4() argument
1056 static int batadv_mcast_forw_mode_check_ipv6(struct batadv_priv *bat_priv, in batadv_mcast_forw_mode_check_ipv6() argument
1098 static int batadv_mcast_forw_mode_check(struct batadv_priv *bat_priv, in batadv_mcast_forw_mode_check() argument
1105 if (!atomic_read(&bat_priv->multicast_mode)) in batadv_mcast_forw_mode_check()
1110 return batadv_mcast_forw_mode_check_ipv4(bat_priv, skb, in batadv_mcast_forw_mode_check()
1117 return batadv_mcast_forw_mode_check_ipv6(bat_priv, skb, in batadv_mcast_forw_mode_check()
1135 static int batadv_mcast_forw_want_all_ip_count(struct batadv_priv *bat_priv, in batadv_mcast_forw_want_all_ip_count() argument
1140 return atomic_read(&bat_priv->mcast.num_want_all_ipv4); in batadv_mcast_forw_want_all_ip_count()
1142 return atomic_read(&bat_priv->mcast.num_want_all_ipv6); in batadv_mcast_forw_want_all_ip_count()
1159 static int batadv_mcast_forw_rtr_count(struct batadv_priv *bat_priv, in batadv_mcast_forw_rtr_count() argument
1164 return atomic_read(&bat_priv->mcast.num_want_all_rtr4); in batadv_mcast_forw_rtr_count()
1166 return atomic_read(&bat_priv->mcast.num_want_all_rtr6); in batadv_mcast_forw_rtr_count()
1181 batadv_mcast_forw_tt_node_get(struct batadv_priv *bat_priv, in batadv_mcast_forw_tt_node_get() argument
1184 return batadv_transtable_search(bat_priv, NULL, ethhdr->h_dest, in batadv_mcast_forw_tt_node_get()
1196 batadv_mcast_forw_ipv4_node_get(struct batadv_priv *bat_priv) in batadv_mcast_forw_ipv4_node_get() argument
1202 &bat_priv->mcast.want_all_ipv4_list, in batadv_mcast_forw_ipv4_node_get()
1223 batadv_mcast_forw_ipv6_node_get(struct batadv_priv *bat_priv) in batadv_mcast_forw_ipv6_node_get() argument
1229 &bat_priv->mcast.want_all_ipv6_list, in batadv_mcast_forw_ipv6_node_get()
1252 batadv_mcast_forw_ip_node_get(struct batadv_priv *bat_priv, in batadv_mcast_forw_ip_node_get() argument
1257 return batadv_mcast_forw_ipv4_node_get(bat_priv); in batadv_mcast_forw_ip_node_get()
1259 return batadv_mcast_forw_ipv6_node_get(bat_priv); in batadv_mcast_forw_ip_node_get()
1274 batadv_mcast_forw_unsnoop_node_get(struct batadv_priv *bat_priv) in batadv_mcast_forw_unsnoop_node_get() argument
1280 &bat_priv->mcast.want_all_unsnoopables_list, in batadv_mcast_forw_unsnoop_node_get()
1301 batadv_mcast_forw_rtr4_node_get(struct batadv_priv *bat_priv) in batadv_mcast_forw_rtr4_node_get() argument
1307 &bat_priv->mcast.want_all_rtr4_list, in batadv_mcast_forw_rtr4_node_get()
1328 batadv_mcast_forw_rtr6_node_get(struct batadv_priv *bat_priv) in batadv_mcast_forw_rtr6_node_get() argument
1334 &bat_priv->mcast.want_all_rtr6_list, in batadv_mcast_forw_rtr6_node_get()
1357 batadv_mcast_forw_rtr_node_get(struct batadv_priv *bat_priv, in batadv_mcast_forw_rtr_node_get() argument
1362 return batadv_mcast_forw_rtr4_node_get(bat_priv); in batadv_mcast_forw_rtr_node_get()
1364 return batadv_mcast_forw_rtr6_node_get(bat_priv); in batadv_mcast_forw_rtr_node_get()
1383 batadv_mcast_forw_mode(struct batadv_priv *bat_priv, struct sk_buff *skb, in batadv_mcast_forw_mode() argument
1392 ret = batadv_mcast_forw_mode_check(bat_priv, skb, &is_unsnoopable, in batadv_mcast_forw_mode()
1401 tt_count = batadv_tt_global_hash_count(bat_priv, ethhdr->h_dest, in batadv_mcast_forw_mode()
1403 ip_count = batadv_mcast_forw_want_all_ip_count(bat_priv, ethhdr); in batadv_mcast_forw_mode()
1405 atomic_read(&bat_priv->mcast.num_want_all_unsnoopables); in batadv_mcast_forw_mode()
1406 rtr_count = batadv_mcast_forw_rtr_count(bat_priv, *is_routable); in batadv_mcast_forw_mode()
1413 *orig = batadv_mcast_forw_tt_node_get(bat_priv, ethhdr); in batadv_mcast_forw_mode()
1415 *orig = batadv_mcast_forw_ip_node_get(bat_priv, ethhdr); in batadv_mcast_forw_mode()
1417 *orig = batadv_mcast_forw_unsnoop_node_get(bat_priv); in batadv_mcast_forw_mode()
1419 *orig = batadv_mcast_forw_rtr_node_get(bat_priv, in batadv_mcast_forw_mode()
1429 mcast_fanout = atomic_read(&bat_priv->multicast_fanout); in batadv_mcast_forw_mode()
1447 int batadv_mcast_forw_send_orig(struct batadv_priv *bat_priv, in batadv_mcast_forw_send_orig() argument
1458 if (batadv_bla_is_backbone_gw_orig(bat_priv, orig_node->orig, vid)) { in batadv_mcast_forw_send_orig()
1463 return batadv_send_skb_unicast(bat_priv, skb, BATADV_UNICAST, 0, in batadv_mcast_forw_send_orig()
1481 batadv_mcast_forw_tt(struct batadv_priv *bat_priv, struct sk_buff *skb, in batadv_mcast_forw_tt() argument
1492 tt_global = batadv_tt_global_hash_find(bat_priv, addr, vid); in batadv_mcast_forw_tt()
1504 batadv_mcast_forw_send_orig(bat_priv, newskb, vid, in batadv_mcast_forw_tt()
1529 batadv_mcast_forw_want_all_ipv4(struct batadv_priv *bat_priv, in batadv_mcast_forw_want_all_ipv4() argument
1538 &bat_priv->mcast.want_all_ipv4_list, in batadv_mcast_forw_want_all_ipv4()
1546 batadv_mcast_forw_send_orig(bat_priv, newskb, vid, orig_node); in batadv_mcast_forw_want_all_ipv4()
1566 batadv_mcast_forw_want_all_ipv6(struct batadv_priv *bat_priv, in batadv_mcast_forw_want_all_ipv6() argument
1575 &bat_priv->mcast.want_all_ipv6_list, in batadv_mcast_forw_want_all_ipv6()
1583 batadv_mcast_forw_send_orig(bat_priv, newskb, vid, orig_node); in batadv_mcast_forw_want_all_ipv6()
1604 batadv_mcast_forw_want_all(struct batadv_priv *bat_priv, in batadv_mcast_forw_want_all() argument
1609 return batadv_mcast_forw_want_all_ipv4(bat_priv, skb, vid); in batadv_mcast_forw_want_all()
1611 return batadv_mcast_forw_want_all_ipv6(bat_priv, skb, vid); in batadv_mcast_forw_want_all()
1632 batadv_mcast_forw_want_all_rtr4(struct batadv_priv *bat_priv, in batadv_mcast_forw_want_all_rtr4() argument
1641 &bat_priv->mcast.want_all_rtr4_list, in batadv_mcast_forw_want_all_rtr4()
1649 batadv_mcast_forw_send_orig(bat_priv, newskb, vid, orig_node); in batadv_mcast_forw_want_all_rtr4()
1669 batadv_mcast_forw_want_all_rtr6(struct batadv_priv *bat_priv, in batadv_mcast_forw_want_all_rtr6() argument
1678 &bat_priv->mcast.want_all_rtr6_list, in batadv_mcast_forw_want_all_rtr6()
1686 batadv_mcast_forw_send_orig(bat_priv, newskb, vid, orig_node); in batadv_mcast_forw_want_all_rtr6()
1707 batadv_mcast_forw_want_rtr(struct batadv_priv *bat_priv, in batadv_mcast_forw_want_rtr() argument
1712 return batadv_mcast_forw_want_all_rtr4(bat_priv, skb, vid); in batadv_mcast_forw_want_rtr()
1714 return batadv_mcast_forw_want_all_rtr6(bat_priv, skb, vid); in batadv_mcast_forw_want_rtr()
1738 int batadv_mcast_forw_send(struct batadv_priv *bat_priv, struct sk_buff *skb, in batadv_mcast_forw_send() argument
1743 ret = batadv_mcast_forw_tt(bat_priv, skb, vid); in batadv_mcast_forw_send()
1749 ret = batadv_mcast_forw_want_all(bat_priv, skb, vid); in batadv_mcast_forw_send()
1758 ret = batadv_mcast_forw_want_rtr(bat_priv, skb, vid); in batadv_mcast_forw_send()
1781 static void batadv_mcast_want_unsnoop_update(struct batadv_priv *bat_priv, in batadv_mcast_want_unsnoop_update() argument
1786 struct hlist_head *head = &bat_priv->mcast.want_all_unsnoopables_list; in batadv_mcast_want_unsnoop_update()
1793 atomic_inc(&bat_priv->mcast.num_want_all_unsnoopables); in batadv_mcast_want_unsnoop_update()
1795 spin_lock_bh(&bat_priv->mcast.want_lists_lock); in batadv_mcast_want_unsnoop_update()
1800 spin_unlock_bh(&bat_priv->mcast.want_lists_lock); in batadv_mcast_want_unsnoop_update()
1804 atomic_dec(&bat_priv->mcast.num_want_all_unsnoopables); in batadv_mcast_want_unsnoop_update()
1806 spin_lock_bh(&bat_priv->mcast.want_lists_lock); in batadv_mcast_want_unsnoop_update()
1811 spin_unlock_bh(&bat_priv->mcast.want_lists_lock); in batadv_mcast_want_unsnoop_update()
1826 static void batadv_mcast_want_ipv4_update(struct batadv_priv *bat_priv, in batadv_mcast_want_ipv4_update() argument
1831 struct hlist_head *head = &bat_priv->mcast.want_all_ipv4_list; in batadv_mcast_want_ipv4_update()
1838 atomic_inc(&bat_priv->mcast.num_want_all_ipv4); in batadv_mcast_want_ipv4_update()
1840 spin_lock_bh(&bat_priv->mcast.want_lists_lock); in batadv_mcast_want_ipv4_update()
1845 spin_unlock_bh(&bat_priv->mcast.want_lists_lock); in batadv_mcast_want_ipv4_update()
1849 atomic_dec(&bat_priv->mcast.num_want_all_ipv4); in batadv_mcast_want_ipv4_update()
1851 spin_lock_bh(&bat_priv->mcast.want_lists_lock); in batadv_mcast_want_ipv4_update()
1856 spin_unlock_bh(&bat_priv->mcast.want_lists_lock); in batadv_mcast_want_ipv4_update()
1871 static void batadv_mcast_want_ipv6_update(struct batadv_priv *bat_priv, in batadv_mcast_want_ipv6_update() argument
1876 struct hlist_head *head = &bat_priv->mcast.want_all_ipv6_list; in batadv_mcast_want_ipv6_update()
1883 atomic_inc(&bat_priv->mcast.num_want_all_ipv6); in batadv_mcast_want_ipv6_update()
1885 spin_lock_bh(&bat_priv->mcast.want_lists_lock); in batadv_mcast_want_ipv6_update()
1890 spin_unlock_bh(&bat_priv->mcast.want_lists_lock); in batadv_mcast_want_ipv6_update()
1894 atomic_dec(&bat_priv->mcast.num_want_all_ipv6); in batadv_mcast_want_ipv6_update()
1896 spin_lock_bh(&bat_priv->mcast.want_lists_lock); in batadv_mcast_want_ipv6_update()
1901 spin_unlock_bh(&bat_priv->mcast.want_lists_lock); in batadv_mcast_want_ipv6_update()
1916 static void batadv_mcast_want_rtr4_update(struct batadv_priv *bat_priv, in batadv_mcast_want_rtr4_update() argument
1921 struct hlist_head *head = &bat_priv->mcast.want_all_rtr4_list; in batadv_mcast_want_rtr4_update()
1928 atomic_inc(&bat_priv->mcast.num_want_all_rtr4); in batadv_mcast_want_rtr4_update()
1930 spin_lock_bh(&bat_priv->mcast.want_lists_lock); in batadv_mcast_want_rtr4_update()
1935 spin_unlock_bh(&bat_priv->mcast.want_lists_lock); in batadv_mcast_want_rtr4_update()
1939 atomic_dec(&bat_priv->mcast.num_want_all_rtr4); in batadv_mcast_want_rtr4_update()
1941 spin_lock_bh(&bat_priv->mcast.want_lists_lock); in batadv_mcast_want_rtr4_update()
1946 spin_unlock_bh(&bat_priv->mcast.want_lists_lock); in batadv_mcast_want_rtr4_update()
1961 static void batadv_mcast_want_rtr6_update(struct batadv_priv *bat_priv, in batadv_mcast_want_rtr6_update() argument
1966 struct hlist_head *head = &bat_priv->mcast.want_all_rtr6_list; in batadv_mcast_want_rtr6_update()
1973 atomic_inc(&bat_priv->mcast.num_want_all_rtr6); in batadv_mcast_want_rtr6_update()
1975 spin_lock_bh(&bat_priv->mcast.want_lists_lock); in batadv_mcast_want_rtr6_update()
1980 spin_unlock_bh(&bat_priv->mcast.want_lists_lock); in batadv_mcast_want_rtr6_update()
1984 atomic_dec(&bat_priv->mcast.num_want_all_rtr6); in batadv_mcast_want_rtr6_update()
1986 spin_lock_bh(&bat_priv->mcast.want_lists_lock); in batadv_mcast_want_rtr6_update()
1991 spin_unlock_bh(&bat_priv->mcast.want_lists_lock); in batadv_mcast_want_rtr6_update()
2034 static void batadv_mcast_tvlv_ogm_handler(struct batadv_priv *bat_priv, in batadv_mcast_tvlv_ogm_handler() argument
2058 batadv_mcast_want_unsnoop_update(bat_priv, orig, mcast_flags); in batadv_mcast_tvlv_ogm_handler()
2059 batadv_mcast_want_ipv4_update(bat_priv, orig, mcast_flags); in batadv_mcast_tvlv_ogm_handler()
2060 batadv_mcast_want_ipv6_update(bat_priv, orig, mcast_flags); in batadv_mcast_tvlv_ogm_handler()
2061 batadv_mcast_want_rtr4_update(bat_priv, orig, mcast_flags); in batadv_mcast_tvlv_ogm_handler()
2062 batadv_mcast_want_rtr6_update(bat_priv, orig, mcast_flags); in batadv_mcast_tvlv_ogm_handler()
2072 void batadv_mcast_init(struct batadv_priv *bat_priv) in batadv_mcast_init() argument
2074 batadv_tvlv_handler_register(bat_priv, batadv_mcast_tvlv_ogm_handler, in batadv_mcast_init()
2078 INIT_DELAYED_WORK(&bat_priv->mcast.work, batadv_mcast_mla_update); in batadv_mcast_init()
2079 batadv_mcast_start_timer(bat_priv); in batadv_mcast_init()
2092 static void batadv_mcast_flags_print_header(struct batadv_priv *bat_priv, in batadv_mcast_flags_print_header() argument
2095 struct batadv_mcast_mla_flags *mla_flags = &bat_priv->mcast.mla_flags; in batadv_mcast_flags_print_header()
2140 struct batadv_priv *bat_priv = netdev_priv(net_dev); in batadv_mcast_flags_seq_print_text() local
2142 struct batadv_hashtable *hash = bat_priv->orig_hash; in batadv_mcast_flags_seq_print_text()
2152 batadv_mcast_flags_print_header(bat_priv, seq); in batadv_mcast_flags_seq_print_text()
2200 struct batadv_priv *bat_priv) in batadv_mcast_mesh_info_put() argument
2202 u32 flags = bat_priv->mcast.mla_flags.tvlv_flags; in batadv_mcast_mesh_info_put()
2205 if (bat_priv->mcast.mla_flags.bridged) { in batadv_mcast_mesh_info_put()
2208 if (bat_priv->mcast.mla_flags.querier_ipv4.exists) in batadv_mcast_mesh_info_put()
2210 if (bat_priv->mcast.mla_flags.querier_ipv6.exists) in batadv_mcast_mesh_info_put()
2212 if (bat_priv->mcast.mla_flags.querier_ipv4.shadowing) in batadv_mcast_mesh_info_put()
2214 if (bat_priv->mcast.mla_flags.querier_ipv6.shadowing) in batadv_mcast_mesh_info_put()
2330 struct batadv_priv *bat_priv, long *bucket, long *idx) in __batadv_mcast_flags_dump() argument
2332 struct batadv_hashtable *hash = bat_priv->orig_hash; in __batadv_mcast_flags_dump()
2366 struct batadv_priv *bat_priv; in batadv_mcast_netlink_get_primary() local
2380 bat_priv = netdev_priv(soft_iface); in batadv_mcast_netlink_get_primary()
2382 hard_iface = batadv_primary_if_get_selected(bat_priv); in batadv_mcast_netlink_get_primary()
2411 struct batadv_priv *bat_priv; in batadv_mcast_flags_dump() local
2420 bat_priv = netdev_priv(primary_if->soft_iface); in batadv_mcast_flags_dump()
2421 ret = __batadv_mcast_flags_dump(msg, portid, cb, bat_priv, bucket, idx); in batadv_mcast_flags_dump()
2431 void batadv_mcast_free(struct batadv_priv *bat_priv) in batadv_mcast_free() argument
2433 cancel_delayed_work_sync(&bat_priv->mcast.work); in batadv_mcast_free()
2435 batadv_tvlv_container_unregister(bat_priv, BATADV_TVLV_MCAST, 2); in batadv_mcast_free()
2436 batadv_tvlv_handler_unregister(bat_priv, BATADV_TVLV_MCAST, 2); in batadv_mcast_free()
2439 batadv_mcast_mla_tt_retract(bat_priv, NULL); in batadv_mcast_free()
2448 struct batadv_priv *bat_priv = orig->bat_priv; in batadv_mcast_purge_orig() local
2452 batadv_mcast_want_unsnoop_update(bat_priv, orig, BATADV_NO_FLAGS); in batadv_mcast_purge_orig()
2453 batadv_mcast_want_ipv4_update(bat_priv, orig, BATADV_NO_FLAGS); in batadv_mcast_purge_orig()
2454 batadv_mcast_want_ipv6_update(bat_priv, orig, BATADV_NO_FLAGS); in batadv_mcast_purge_orig()
2455 batadv_mcast_want_rtr4_update(bat_priv, orig, in batadv_mcast_purge_orig()
2457 batadv_mcast_want_rtr6_update(bat_priv, orig, in batadv_mcast_purge_orig()