• Home
  • Raw
  • Download

Lines Matching refs:flags

171 	u8 flags = BATADV_NO_FLAGS;  in batadv_mcast_mla_rtr_flags_softif_get()  local
175 flags |= batadv_mcast_mla_rtr_flags_softif_get_ipv4(dev); in batadv_mcast_mla_rtr_flags_softif_get()
176 flags |= batadv_mcast_mla_rtr_flags_softif_get_ipv6(dev); in batadv_mcast_mla_rtr_flags_softif_get()
180 return flags; in batadv_mcast_mla_rtr_flags_softif_get()
204 u8 flags = BATADV_MCAST_WANT_NO_RTR6; in batadv_mcast_mla_rtr_flags_bridge_get() local
225 flags &= ~BATADV_MCAST_WANT_NO_RTR6; in batadv_mcast_mla_rtr_flags_bridge_get()
231 return flags; in batadv_mcast_mla_rtr_flags_bridge_get()
263 u8 flags = BATADV_MCAST_WANT_NO_RTR4 | BATADV_MCAST_WANT_NO_RTR6; in batadv_mcast_mla_rtr_flags_get() local
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()
268 return flags; in batadv_mcast_mla_rtr_flags_get()
372 struct batadv_mcast_mla_flags *flags) in batadv_mcast_mla_softif_get_ipv4() argument
380 if (flags->tvlv_flags & BATADV_MCAST_WANT_ALL_IPV4) in batadv_mcast_mla_softif_get_ipv4()
393 if (flags->tvlv_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES && in batadv_mcast_mla_softif_get_ipv4()
397 if (!(flags->tvlv_flags & BATADV_MCAST_WANT_NO_RTR4) && in batadv_mcast_mla_softif_get_ipv4()
439 struct batadv_mcast_mla_flags *flags) in batadv_mcast_mla_softif_get_ipv6() argument
447 if (flags->tvlv_flags & BATADV_MCAST_WANT_ALL_IPV6) in batadv_mcast_mla_softif_get_ipv6()
464 if (flags->tvlv_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES && in batadv_mcast_mla_softif_get_ipv6()
468 if (!(flags->tvlv_flags & BATADV_MCAST_WANT_NO_RTR6) && in batadv_mcast_mla_softif_get_ipv6()
497 struct batadv_mcast_mla_flags *flags) in batadv_mcast_mla_softif_get_ipv6() argument
525 struct batadv_mcast_mla_flags *flags) in batadv_mcast_mla_softif_get() argument
533 ret4 = batadv_mcast_mla_softif_get_ipv4(dev, mcast_list, flags); in batadv_mcast_mla_softif_get()
537 ret6 = batadv_mcast_mla_softif_get_ipv6(dev, mcast_list, flags); in batadv_mcast_mla_softif_get()
590 struct batadv_mcast_mla_flags *flags) in batadv_mcast_mla_bridge_get() argument
594 u8 tvlv_flags = flags->tvlv_flags; in batadv_mcast_mla_bridge_get()
839 static void batadv_mcast_flags_log(struct batadv_priv *bat_priv, u8 flags) in batadv_mcast_flags_log() argument
855 (flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES) ? 'U' : '.', in batadv_mcast_flags_log()
856 (flags & BATADV_MCAST_WANT_ALL_IPV4) ? '4' : '.', in batadv_mcast_flags_log()
857 (flags & BATADV_MCAST_WANT_ALL_IPV6) ? '6' : '.', in batadv_mcast_flags_log()
858 !(flags & BATADV_MCAST_WANT_NO_RTR4) ? "R4" : ". ", in batadv_mcast_flags_log()
859 !(flags & BATADV_MCAST_WANT_NO_RTR6) ? "R6" : ". "); in batadv_mcast_flags_log()
872 struct batadv_mcast_mla_flags *flags) 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()
882 mcast_data.flags = flags->tvlv_flags; in batadv_mcast_mla_flags_update()
888 bat_priv->mcast.mla_flags = *flags; in batadv_mcast_mla_flags_update()
907 struct batadv_mcast_mla_flags flags; in __batadv_mcast_mla_update() local
910 flags = batadv_mcast_mla_flags_get(bat_priv); in __batadv_mcast_mla_update()
912 ret = batadv_mcast_mla_softif_get(soft_iface, &mcast_list, &flags); in __batadv_mcast_mla_update()
916 ret = batadv_mcast_mla_bridge_get(soft_iface, &mcast_list, &flags); in __batadv_mcast_mla_update()
923 batadv_mcast_mla_flags_update(bat_priv, &flags); in __batadv_mcast_mla_update()
2035 u8 flags, in batadv_mcast_tvlv_ogm_handler() argument
2039 bool orig_mcast_enabled = !(flags & BATADV_TVLV_HANDLER_OGM_CIFNOTFND); in batadv_mcast_tvlv_ogm_handler()
2097 u8 flags = mla_flags->tvlv_flags; in batadv_mcast_flags_print_header() local
2112 (flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES) ? 'U' : '.', in batadv_mcast_flags_print_header()
2113 (flags & BATADV_MCAST_WANT_ALL_IPV4) ? '4' : '.', in batadv_mcast_flags_print_header()
2114 (flags & BATADV_MCAST_WANT_ALL_IPV6) ? '6' : '.', in batadv_mcast_flags_print_header()
2115 !(flags & BATADV_MCAST_WANT_NO_RTR4) ? "R4" : ". ", in batadv_mcast_flags_print_header()
2116 !(flags & BATADV_MCAST_WANT_NO_RTR6) ? "R6" : ". "); in batadv_mcast_flags_print_header()
2144 u8 flags; in batadv_mcast_flags_seq_print_text() local
2168 flags = orig_node->mcast_flags; in batadv_mcast_flags_seq_print_text()
2171 (flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES) in batadv_mcast_flags_seq_print_text()
2173 (flags & BATADV_MCAST_WANT_ALL_IPV4) in batadv_mcast_flags_seq_print_text()
2175 (flags & BATADV_MCAST_WANT_ALL_IPV6) in batadv_mcast_flags_seq_print_text()
2177 !(flags & BATADV_MCAST_WANT_NO_RTR4) in batadv_mcast_flags_seq_print_text()
2179 !(flags & BATADV_MCAST_WANT_NO_RTR6) in batadv_mcast_flags_seq_print_text()
2201 u32 flags = bat_priv->mcast.mla_flags.tvlv_flags; in batadv_mcast_mesh_info_put() local
2217 if (nla_put_u32(msg, BATADV_ATTR_MCAST_FLAGS, flags) || in batadv_mcast_mesh_info_put()