Home
last modified time | relevance | path

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

/openbmc/linux/net/batman-adv/
H A Dbat_v_ogm.c482 int hop_penalty_max = BATADV_TQ_MAX_VALUE; in batadv_v_forward_penalty() local
485 throughput = throughput * (hop_penalty_max - if_hop_penalty) / in batadv_v_forward_penalty()
486 hop_penalty_max; in batadv_v_forward_penalty()
502 return throughput * (hop_penalty_max - hop_penalty) / hop_penalty_max; in batadv_v_forward_penalty()