Home
last modified time | relevance | path

Searched refs:tt_roam_node (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/net/batman-adv/
Dtranslation-table.c3694 struct batadv_tt_roam_node *tt_roam_node; in batadv_tt_check_roam_count() local
3701 list_for_each_entry(tt_roam_node, &bat_priv->tt.roam_list, list) { in batadv_tt_check_roam_count()
3702 if (!batadv_compare_eth(tt_roam_node->addr, client)) in batadv_tt_check_roam_count()
3705 if (batadv_has_timed_out(tt_roam_node->first_time, in batadv_tt_check_roam_count()
3709 if (!batadv_atomic_dec_not_zero(&tt_roam_node->counter)) in batadv_tt_check_roam_count()
3717 tt_roam_node = kmem_cache_alloc(batadv_tt_roam_cache, in batadv_tt_check_roam_count()
3719 if (!tt_roam_node) in batadv_tt_check_roam_count()
3722 tt_roam_node->first_time = jiffies; in batadv_tt_check_roam_count()
3723 atomic_set(&tt_roam_node->counter, in batadv_tt_check_roam_count()
3725 ether_addr_copy(tt_roam_node->addr, client); in batadv_tt_check_roam_count()
[all …]