Lines Matching refs:mla_flags
251 struct batadv_mcast_mla_flags mla_flags; in batadv_mcast_mla_flags_get() local
256 memset(&mla_flags, 0, sizeof(mla_flags)); in batadv_mcast_mla_flags_get()
257 mla_flags.enabled = 1; in batadv_mcast_mla_flags_get()
258 mla_flags.tvlv_flags |= batadv_mcast_mla_rtr_flags_get(bat_priv, in batadv_mcast_mla_flags_get()
262 return mla_flags; in batadv_mcast_mla_flags_get()
266 mla_flags.bridged = 1; in batadv_mcast_mla_flags_get()
267 qr4 = &mla_flags.querier_ipv4; in batadv_mcast_mla_flags_get()
268 qr6 = &mla_flags.querier_ipv6; in batadv_mcast_mla_flags_get()
279 mla_flags.tvlv_flags |= BATADV_MCAST_WANT_ALL_UNSNOOPABLES; in batadv_mcast_mla_flags_get()
291 mla_flags.tvlv_flags |= BATADV_MCAST_WANT_ALL_IPV4; in batadv_mcast_mla_flags_get()
292 mla_flags.tvlv_flags &= ~BATADV_MCAST_WANT_NO_RTR4; in batadv_mcast_mla_flags_get()
296 mla_flags.tvlv_flags |= BATADV_MCAST_WANT_ALL_IPV6; in batadv_mcast_mla_flags_get()
297 mla_flags.tvlv_flags &= ~BATADV_MCAST_WANT_NO_RTR6; in batadv_mcast_mla_flags_get()
300 return mla_flags; in batadv_mcast_mla_flags_get()
741 else if (!bat_priv->mcast.mla_flags.bridged && !new_state->exists) in batadv_mcast_querier_log()
779 struct batadv_mcast_mla_flags *old_flags = &bat_priv->mcast.mla_flags; in batadv_mcast_bridge_log()
808 bool old_enabled = bat_priv->mcast.mla_flags.enabled; in batadv_mcast_flags_log()
809 u8 old_flags = bat_priv->mcast.mla_flags.tvlv_flags; in batadv_mcast_flags_log()
843 if (!memcmp(flags, &bat_priv->mcast.mla_flags, sizeof(*flags))) in batadv_mcast_mla_flags_update()
855 bat_priv->mcast.mla_flags = *flags; in batadv_mcast_mla_flags_update()
2059 u32 flags = bat_priv->mcast.mla_flags.tvlv_flags; in batadv_mcast_mesh_info_put()
2062 if (bat_priv->mcast.mla_flags.bridged) { in batadv_mcast_mesh_info_put()
2065 if (bat_priv->mcast.mla_flags.querier_ipv4.exists) in batadv_mcast_mesh_info_put()
2067 if (bat_priv->mcast.mla_flags.querier_ipv6.exists) in batadv_mcast_mesh_info_put()
2069 if (bat_priv->mcast.mla_flags.querier_ipv4.shadowing) in batadv_mcast_mesh_info_put()
2071 if (bat_priv->mcast.mla_flags.querier_ipv6.shadowing) in batadv_mcast_mesh_info_put()