Lines Matching refs:mcast_flags

1773  * @mcast_flags: flags indicating the new multicast state
1783 u8 mcast_flags)
1791 if (mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES &&
1792 !(orig->mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES)) {
1802 } else if (!(mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES) &&
1803 orig->mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES) {
1819 * @mcast_flags: flags indicating the new multicast state
1828 u8 mcast_flags)
1836 if (mcast_flags & BATADV_MCAST_WANT_ALL_IPV4 &&
1837 !(orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV4)) {
1847 } else if (!(mcast_flags & BATADV_MCAST_WANT_ALL_IPV4) &&
1848 orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV4) {
1864 * @mcast_flags: flags indicating the new multicast state
1873 u8 mcast_flags)
1881 if (mcast_flags & BATADV_MCAST_WANT_ALL_IPV6 &&
1882 !(orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV6)) {
1892 } else if (!(mcast_flags & BATADV_MCAST_WANT_ALL_IPV6) &&
1893 orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV6) {
1909 * @mcast_flags: flags indicating the new multicast state
1918 u8 mcast_flags)
1926 if (!(mcast_flags & BATADV_MCAST_WANT_NO_RTR4) &&
1927 orig->mcast_flags & BATADV_MCAST_WANT_NO_RTR4) {
1937 } else if (mcast_flags & BATADV_MCAST_WANT_NO_RTR4 &&
1938 !(orig->mcast_flags & BATADV_MCAST_WANT_NO_RTR4)) {
1954 * @mcast_flags: flags indicating the new multicast state
1963 u8 mcast_flags)
1971 if (!(mcast_flags & BATADV_MCAST_WANT_NO_RTR6) &&
1972 orig->mcast_flags & BATADV_MCAST_WANT_NO_RTR6) {
1982 } else if (mcast_flags & BATADV_MCAST_WANT_NO_RTR6 &&
1983 !(orig->mcast_flags & BATADV_MCAST_WANT_NO_RTR6)) {
2006 u8 mcast_flags = BATADV_NO_FLAGS;
2008 if (enabled && tvlv_value && tvlv_value_len >= sizeof(mcast_flags))
2009 mcast_flags = *(u8 *)tvlv_value;
2012 mcast_flags |= BATADV_MCAST_WANT_ALL_IPV4;
2013 mcast_flags |= BATADV_MCAST_WANT_ALL_IPV6;
2017 if (mcast_flags & BATADV_MCAST_WANT_ALL_IPV4)
2018 mcast_flags |= BATADV_MCAST_WANT_NO_RTR4;
2020 if (mcast_flags & BATADV_MCAST_WANT_ALL_IPV6)
2021 mcast_flags |= BATADV_MCAST_WANT_NO_RTR6;
2023 return mcast_flags;
2041 u8 mcast_flags;
2043 mcast_flags = batadv_mcast_tvlv_flags_get(orig_mcast_enabled,
2058 batadv_mcast_want_unsnoop_update(bat_priv, orig, mcast_flags);
2059 batadv_mcast_want_ipv4_update(bat_priv, orig, mcast_flags);
2060 batadv_mcast_want_ipv6_update(bat_priv, orig, mcast_flags);
2061 batadv_mcast_want_rtr4_update(bat_priv, orig, mcast_flags);
2062 batadv_mcast_want_rtr6_update(bat_priv, orig, mcast_flags);
2064 orig->mcast_flags = mcast_flags;
2169 flags = orig_node->mcast_flags;
2259 orig_node->mcast_flags)) {