Lines Matching refs:mcast_flags
1750 u8 mcast_flags) in batadv_mcast_want_unsnoop_update() argument
1758 if (mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES && in batadv_mcast_want_unsnoop_update()
1759 !(orig->mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES)) { in batadv_mcast_want_unsnoop_update()
1769 } else if (!(mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES) && in batadv_mcast_want_unsnoop_update()
1770 orig->mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES) { in batadv_mcast_want_unsnoop_update()
1795 u8 mcast_flags) in batadv_mcast_want_ipv4_update() argument
1803 if (mcast_flags & BATADV_MCAST_WANT_ALL_IPV4 && in batadv_mcast_want_ipv4_update()
1804 !(orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV4)) { in batadv_mcast_want_ipv4_update()
1814 } else if (!(mcast_flags & BATADV_MCAST_WANT_ALL_IPV4) && in batadv_mcast_want_ipv4_update()
1815 orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV4) { in batadv_mcast_want_ipv4_update()
1840 u8 mcast_flags) in batadv_mcast_want_ipv6_update() argument
1848 if (mcast_flags & BATADV_MCAST_WANT_ALL_IPV6 && in batadv_mcast_want_ipv6_update()
1849 !(orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV6)) { in batadv_mcast_want_ipv6_update()
1859 } else if (!(mcast_flags & BATADV_MCAST_WANT_ALL_IPV6) && in batadv_mcast_want_ipv6_update()
1860 orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV6) { in batadv_mcast_want_ipv6_update()
1885 u8 mcast_flags) in batadv_mcast_want_rtr4_update() argument
1893 if (!(mcast_flags & BATADV_MCAST_WANT_NO_RTR4) && in batadv_mcast_want_rtr4_update()
1894 orig->mcast_flags & BATADV_MCAST_WANT_NO_RTR4) { in batadv_mcast_want_rtr4_update()
1904 } else if (mcast_flags & BATADV_MCAST_WANT_NO_RTR4 && in batadv_mcast_want_rtr4_update()
1905 !(orig->mcast_flags & BATADV_MCAST_WANT_NO_RTR4)) { in batadv_mcast_want_rtr4_update()
1930 u8 mcast_flags) in batadv_mcast_want_rtr6_update() argument
1938 if (!(mcast_flags & BATADV_MCAST_WANT_NO_RTR6) && in batadv_mcast_want_rtr6_update()
1939 orig->mcast_flags & BATADV_MCAST_WANT_NO_RTR6) { in batadv_mcast_want_rtr6_update()
1949 } else if (mcast_flags & BATADV_MCAST_WANT_NO_RTR6 && in batadv_mcast_want_rtr6_update()
1950 !(orig->mcast_flags & BATADV_MCAST_WANT_NO_RTR6)) { in batadv_mcast_want_rtr6_update()
1973 u8 mcast_flags = BATADV_NO_FLAGS; in batadv_mcast_tvlv_flags_get() local
1975 if (enabled && tvlv_value && tvlv_value_len >= sizeof(mcast_flags)) in batadv_mcast_tvlv_flags_get()
1976 mcast_flags = *(u8 *)tvlv_value; in batadv_mcast_tvlv_flags_get()
1979 mcast_flags |= BATADV_MCAST_WANT_ALL_IPV4; in batadv_mcast_tvlv_flags_get()
1980 mcast_flags |= BATADV_MCAST_WANT_ALL_IPV6; in batadv_mcast_tvlv_flags_get()
1984 if (mcast_flags & BATADV_MCAST_WANT_ALL_IPV4) in batadv_mcast_tvlv_flags_get()
1985 mcast_flags |= BATADV_MCAST_WANT_NO_RTR4; in batadv_mcast_tvlv_flags_get()
1987 if (mcast_flags & BATADV_MCAST_WANT_ALL_IPV6) in batadv_mcast_tvlv_flags_get()
1988 mcast_flags |= BATADV_MCAST_WANT_NO_RTR6; in batadv_mcast_tvlv_flags_get()
1990 return mcast_flags; in batadv_mcast_tvlv_flags_get()
2008 u8 mcast_flags; in batadv_mcast_tvlv_ogm_handler() local
2010 mcast_flags = batadv_mcast_tvlv_flags_get(orig_mcast_enabled, in batadv_mcast_tvlv_ogm_handler()
2025 batadv_mcast_want_unsnoop_update(bat_priv, orig, mcast_flags); in batadv_mcast_tvlv_ogm_handler()
2026 batadv_mcast_want_ipv4_update(bat_priv, orig, mcast_flags); in batadv_mcast_tvlv_ogm_handler()
2027 batadv_mcast_want_ipv6_update(bat_priv, orig, mcast_flags); in batadv_mcast_tvlv_ogm_handler()
2028 batadv_mcast_want_rtr4_update(bat_priv, orig, mcast_flags); in batadv_mcast_tvlv_ogm_handler()
2029 batadv_mcast_want_rtr6_update(bat_priv, orig, mcast_flags); in batadv_mcast_tvlv_ogm_handler()
2031 orig->mcast_flags = mcast_flags; in batadv_mcast_tvlv_ogm_handler()
2116 orig_node->mcast_flags)) { in batadv_mcast_flags_dump_entry()