Lines Matching refs:mcast_flags
1751 u8 mcast_flags) in batadv_mcast_want_unsnoop_update() argument
1759 if (mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES && in batadv_mcast_want_unsnoop_update()
1760 !(orig->mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES)) { in batadv_mcast_want_unsnoop_update()
1770 } else if (!(mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES) && in batadv_mcast_want_unsnoop_update()
1771 orig->mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES) { in batadv_mcast_want_unsnoop_update()
1796 u8 mcast_flags) in batadv_mcast_want_ipv4_update() argument
1804 if (mcast_flags & BATADV_MCAST_WANT_ALL_IPV4 && in batadv_mcast_want_ipv4_update()
1805 !(orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV4)) { in batadv_mcast_want_ipv4_update()
1815 } else if (!(mcast_flags & BATADV_MCAST_WANT_ALL_IPV4) && in batadv_mcast_want_ipv4_update()
1816 orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV4) { in batadv_mcast_want_ipv4_update()
1841 u8 mcast_flags) in batadv_mcast_want_ipv6_update() argument
1849 if (mcast_flags & BATADV_MCAST_WANT_ALL_IPV6 && in batadv_mcast_want_ipv6_update()
1850 !(orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV6)) { in batadv_mcast_want_ipv6_update()
1860 } else if (!(mcast_flags & BATADV_MCAST_WANT_ALL_IPV6) && in batadv_mcast_want_ipv6_update()
1861 orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV6) { in batadv_mcast_want_ipv6_update()
1886 u8 mcast_flags) in batadv_mcast_want_rtr4_update() argument
1894 if (!(mcast_flags & BATADV_MCAST_WANT_NO_RTR4) && in batadv_mcast_want_rtr4_update()
1895 orig->mcast_flags & BATADV_MCAST_WANT_NO_RTR4) { in batadv_mcast_want_rtr4_update()
1905 } else if (mcast_flags & BATADV_MCAST_WANT_NO_RTR4 && in batadv_mcast_want_rtr4_update()
1906 !(orig->mcast_flags & BATADV_MCAST_WANT_NO_RTR4)) { in batadv_mcast_want_rtr4_update()
1931 u8 mcast_flags) in batadv_mcast_want_rtr6_update() argument
1939 if (!(mcast_flags & BATADV_MCAST_WANT_NO_RTR6) && in batadv_mcast_want_rtr6_update()
1940 orig->mcast_flags & BATADV_MCAST_WANT_NO_RTR6) { in batadv_mcast_want_rtr6_update()
1950 } else if (mcast_flags & BATADV_MCAST_WANT_NO_RTR6 && in batadv_mcast_want_rtr6_update()
1951 !(orig->mcast_flags & BATADV_MCAST_WANT_NO_RTR6)) { in batadv_mcast_want_rtr6_update()
1974 u8 mcast_flags = BATADV_NO_FLAGS; in batadv_mcast_tvlv_flags_get() local
1976 if (enabled && tvlv_value && tvlv_value_len >= sizeof(mcast_flags)) in batadv_mcast_tvlv_flags_get()
1977 mcast_flags = *(u8 *)tvlv_value; in batadv_mcast_tvlv_flags_get()
1980 mcast_flags |= BATADV_MCAST_WANT_ALL_IPV4; in batadv_mcast_tvlv_flags_get()
1981 mcast_flags |= BATADV_MCAST_WANT_ALL_IPV6; in batadv_mcast_tvlv_flags_get()
1985 if (mcast_flags & BATADV_MCAST_WANT_ALL_IPV4) in batadv_mcast_tvlv_flags_get()
1986 mcast_flags |= BATADV_MCAST_WANT_NO_RTR4; in batadv_mcast_tvlv_flags_get()
1988 if (mcast_flags & BATADV_MCAST_WANT_ALL_IPV6) in batadv_mcast_tvlv_flags_get()
1989 mcast_flags |= BATADV_MCAST_WANT_NO_RTR6; in batadv_mcast_tvlv_flags_get()
1991 return mcast_flags; in batadv_mcast_tvlv_flags_get()
2009 u8 mcast_flags; in batadv_mcast_tvlv_ogm_handler() local
2011 mcast_flags = batadv_mcast_tvlv_flags_get(orig_mcast_enabled, in batadv_mcast_tvlv_ogm_handler()
2026 batadv_mcast_want_unsnoop_update(bat_priv, orig, mcast_flags); in batadv_mcast_tvlv_ogm_handler()
2027 batadv_mcast_want_ipv4_update(bat_priv, orig, mcast_flags); in batadv_mcast_tvlv_ogm_handler()
2028 batadv_mcast_want_ipv6_update(bat_priv, orig, mcast_flags); in batadv_mcast_tvlv_ogm_handler()
2029 batadv_mcast_want_rtr4_update(bat_priv, orig, mcast_flags); in batadv_mcast_tvlv_ogm_handler()
2030 batadv_mcast_want_rtr6_update(bat_priv, orig, mcast_flags); in batadv_mcast_tvlv_ogm_handler()
2032 orig->mcast_flags = mcast_flags; in batadv_mcast_tvlv_ogm_handler()
2137 flags = orig_node->mcast_flags; in batadv_mcast_flags_seq_print_text()
2227 orig_node->mcast_flags)) { in batadv_mcast_flags_dump_entry()