Lines Matching refs:orig
1204 if (batadv_bla_is_backbone_gw_orig(bat_priv, orig_node->orig, vid)) {
1518 * @orig: the orig_node which multicast state might have changed of
1522 * orig, has toggled then this method updates the counter and the list
1525 * Caller needs to hold orig->mcast_handler_lock.
1528 struct batadv_orig_node *orig,
1531 struct hlist_node *node = &orig->mcast_want_all_unsnoopables_node;
1534 lockdep_assert_held(&orig->mcast_handler_lock);
1538 !(orig->mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES)) {
1549 orig->mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES) {
1564 * @orig: the orig_node which multicast state might have changed of
1567 * If the BATADV_MCAST_WANT_ALL_IPV4 flag of this originator, orig, has
1570 * Caller needs to hold orig->mcast_handler_lock.
1573 struct batadv_orig_node *orig,
1576 struct hlist_node *node = &orig->mcast_want_all_ipv4_node;
1579 lockdep_assert_held(&orig->mcast_handler_lock);
1583 !(orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV4)) {
1594 orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV4) {
1609 * @orig: the orig_node which multicast state might have changed of
1612 * If the BATADV_MCAST_WANT_ALL_IPV6 flag of this originator, orig, has
1615 * Caller needs to hold orig->mcast_handler_lock.
1618 struct batadv_orig_node *orig,
1621 struct hlist_node *node = &orig->mcast_want_all_ipv6_node;
1624 lockdep_assert_held(&orig->mcast_handler_lock);
1628 !(orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV6)) {
1639 orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV6) {
1654 * @orig: the orig_node which multicast state might have changed of
1657 * If the BATADV_MCAST_WANT_NO_RTR4 flag of this originator, orig, has
1660 * Caller needs to hold orig->mcast_handler_lock.
1663 struct batadv_orig_node *orig,
1666 struct hlist_node *node = &orig->mcast_want_all_rtr4_node;
1669 lockdep_assert_held(&orig->mcast_handler_lock);
1673 orig->mcast_flags & BATADV_MCAST_WANT_NO_RTR4) {
1684 !(orig->mcast_flags & BATADV_MCAST_WANT_NO_RTR4)) {
1699 * @orig: the orig_node which multicast state might have changed of
1702 * If the BATADV_MCAST_WANT_NO_RTR6 flag of this originator, orig, has
1705 * Caller needs to hold orig->mcast_handler_lock.
1708 struct batadv_orig_node *orig,
1711 struct hlist_node *node = &orig->mcast_want_all_rtr6_node;
1714 lockdep_assert_held(&orig->mcast_handler_lock);
1718 orig->mcast_flags & BATADV_MCAST_WANT_NO_RTR6) {
1729 !(orig->mcast_flags & BATADV_MCAST_WANT_NO_RTR6)) {
1775 * @orig: the orig_node of the ogm
1781 struct batadv_orig_node *orig,
1792 spin_lock_bh(&orig->mcast_handler_lock);
1795 !test_bit(BATADV_ORIG_CAPA_HAS_MCAST, &orig->capabilities)) {
1796 set_bit(BATADV_ORIG_CAPA_HAS_MCAST, &orig->capabilities);
1798 test_bit(BATADV_ORIG_CAPA_HAS_MCAST, &orig->capabilities)) {
1799 clear_bit(BATADV_ORIG_CAPA_HAS_MCAST, &orig->capabilities);
1802 set_bit(BATADV_ORIG_CAPA_HAS_MCAST, &orig->capa_initialized);
1804 batadv_mcast_want_unsnoop_update(bat_priv, orig, mcast_flags);
1805 batadv_mcast_want_ipv4_update(bat_priv, orig, mcast_flags);
1806 batadv_mcast_want_ipv6_update(bat_priv, orig, mcast_flags);
1807 batadv_mcast_want_rtr4_update(bat_priv, orig, mcast_flags);
1808 batadv_mcast_want_rtr6_update(bat_priv, orig, mcast_flags);
1810 orig->mcast_flags = mcast_flags;
1811 spin_unlock_bh(&orig->mcast_handler_lock);
1887 orig_node->orig)) {
2079 * @orig: the originator which is going to get purged
2081 void batadv_mcast_purge_orig(struct batadv_orig_node *orig)
2083 struct batadv_priv *bat_priv = orig->bat_priv;
2085 spin_lock_bh(&orig->mcast_handler_lock);
2087 batadv_mcast_want_unsnoop_update(bat_priv, orig, BATADV_NO_FLAGS);
2088 batadv_mcast_want_ipv4_update(bat_priv, orig, BATADV_NO_FLAGS);
2089 batadv_mcast_want_ipv6_update(bat_priv, orig, BATADV_NO_FLAGS);
2090 batadv_mcast_want_rtr4_update(bat_priv, orig,
2092 batadv_mcast_want_rtr6_update(bat_priv, orig,
2095 spin_unlock_bh(&orig->mcast_handler_lock);