Lines Matching refs:mcast_flags
575 uint8_t mcast_flags) in batadv_mcast_want_unsnoop_update() argument
581 if (mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES && in batadv_mcast_want_unsnoop_update()
582 !(orig->mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES)) { in batadv_mcast_want_unsnoop_update()
592 } else if (!(mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES) && in batadv_mcast_want_unsnoop_update()
593 orig->mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES) { in batadv_mcast_want_unsnoop_update()
618 uint8_t mcast_flags) in batadv_mcast_want_ipv4_update() argument
624 if (mcast_flags & BATADV_MCAST_WANT_ALL_IPV4 && in batadv_mcast_want_ipv4_update()
625 !(orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV4)) { in batadv_mcast_want_ipv4_update()
635 } else if (!(mcast_flags & BATADV_MCAST_WANT_ALL_IPV4) && in batadv_mcast_want_ipv4_update()
636 orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV4) { in batadv_mcast_want_ipv4_update()
661 uint8_t mcast_flags) in batadv_mcast_want_ipv6_update() argument
667 if (mcast_flags & BATADV_MCAST_WANT_ALL_IPV6 && in batadv_mcast_want_ipv6_update()
668 !(orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV6)) { in batadv_mcast_want_ipv6_update()
678 } else if (!(mcast_flags & BATADV_MCAST_WANT_ALL_IPV6) && in batadv_mcast_want_ipv6_update()
679 orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV6) { in batadv_mcast_want_ipv6_update()
706 uint8_t mcast_flags = BATADV_NO_FLAGS; in batadv_mcast_tvlv_ogm_handler_v1() local
710 (tvlv_value_len >= sizeof(mcast_flags))) in batadv_mcast_tvlv_ogm_handler_v1()
711 mcast_flags = *(uint8_t *)tvlv_value; in batadv_mcast_tvlv_ogm_handler_v1()
739 batadv_mcast_want_unsnoop_update(bat_priv, orig, mcast_flags); in batadv_mcast_tvlv_ogm_handler_v1()
740 batadv_mcast_want_ipv4_update(bat_priv, orig, mcast_flags); in batadv_mcast_tvlv_ogm_handler_v1()
741 batadv_mcast_want_ipv6_update(bat_priv, orig, mcast_flags); in batadv_mcast_tvlv_ogm_handler_v1()
743 orig->mcast_flags = mcast_flags; in batadv_mcast_tvlv_ogm_handler_v1()