Lines Matching refs:mla_flags
281 struct batadv_mcast_mla_flags mla_flags; in batadv_mcast_mla_flags_get() local
286 memset(&mla_flags, 0, sizeof(mla_flags)); in batadv_mcast_mla_flags_get()
287 mla_flags.enabled = 1; in batadv_mcast_mla_flags_get()
288 mla_flags.tvlv_flags |= batadv_mcast_mla_rtr_flags_get(bat_priv, in batadv_mcast_mla_flags_get()
290 mla_flags.tvlv_flags |= batadv_mcast_mla_forw_flags_get(bat_priv); in batadv_mcast_mla_flags_get()
293 return mla_flags; in batadv_mcast_mla_flags_get()
297 mla_flags.bridged = 1; in batadv_mcast_mla_flags_get()
298 qr4 = &mla_flags.querier_ipv4; in batadv_mcast_mla_flags_get()
299 qr6 = &mla_flags.querier_ipv6; in batadv_mcast_mla_flags_get()
310 mla_flags.tvlv_flags |= BATADV_MCAST_WANT_ALL_UNSNOOPABLES; in batadv_mcast_mla_flags_get()
322 mla_flags.tvlv_flags |= BATADV_MCAST_WANT_ALL_IPV4; in batadv_mcast_mla_flags_get()
323 mla_flags.tvlv_flags &= ~BATADV_MCAST_WANT_NO_RTR4; in batadv_mcast_mla_flags_get()
327 mla_flags.tvlv_flags |= BATADV_MCAST_WANT_ALL_IPV6; in batadv_mcast_mla_flags_get()
328 mla_flags.tvlv_flags &= ~BATADV_MCAST_WANT_NO_RTR6; in batadv_mcast_mla_flags_get()
331 return mla_flags; in batadv_mcast_mla_flags_get()
772 else if (!bat_priv->mcast.mla_flags.bridged && !new_state->exists) in batadv_mcast_querier_log()
810 struct batadv_mcast_mla_flags *old_flags = &bat_priv->mcast.mla_flags; in batadv_mcast_bridge_log()
839 bool old_enabled = bat_priv->mcast.mla_flags.enabled; in batadv_mcast_flags_log()
840 u8 old_flags = bat_priv->mcast.mla_flags.tvlv_flags; in batadv_mcast_flags_log()
876 if (!memcmp(flags, &bat_priv->mcast.mla_flags, sizeof(*flags))) in batadv_mcast_mla_flags_update()
888 bat_priv->mcast.mla_flags = *flags; in batadv_mcast_mla_flags_update()
1202 u8 own_tvlv_flags = bat_priv->mcast.mla_flags.tvlv_flags; in batadv_mcast_forw_mode_by_count()
1945 u32 flags = bat_priv->mcast.mla_flags.tvlv_flags; in batadv_mcast_mesh_info_put()
1948 if (bat_priv->mcast.mla_flags.bridged) { in batadv_mcast_mesh_info_put()
1951 if (bat_priv->mcast.mla_flags.querier_ipv4.exists) in batadv_mcast_mesh_info_put()
1953 if (bat_priv->mcast.mla_flags.querier_ipv6.exists) in batadv_mcast_mesh_info_put()
1955 if (bat_priv->mcast.mla_flags.querier_ipv4.shadowing) in batadv_mcast_mesh_info_put()
1957 if (bat_priv->mcast.mla_flags.querier_ipv6.shadowing) in batadv_mcast_mesh_info_put()