Lines Matching refs:throughput
338 ntohl(ogm_packet->throughput), ogm_packet->ttl, in batadv_v_ogm_send_softif()
477 u32 throughput) in batadv_v_forward_penalty() argument
484 throughput = throughput * (hop_penalty_max - if_hop_penalty) / in batadv_v_forward_penalty()
489 return throughput; in batadv_v_forward_penalty()
495 if (throughput > 10 && in batadv_v_forward_penalty()
498 return throughput / 2; in batadv_v_forward_penalty()
501 return throughput * (hop_penalty_max - hop_penalty) / hop_penalty_max; in batadv_v_forward_penalty()
576 ogm_forward->throughput = htonl(neigh_ifinfo->bat_v.throughput); in batadv_v_ogm_forward()
581 if_outgoing->net_dev->name, ntohl(ogm_forward->throughput), in batadv_v_ogm_forward()
659 ntohl(ogm2->throughput)); in batadv_v_ogm_metric_update()
660 neigh_ifinfo->bat_v.throughput = path_throughput; in batadv_v_ogm_metric_update()
751 router_throughput = router_ifinfo->bat_v.throughput; in batadv_v_ogm_route_update()
752 neigh_throughput = neigh_ifinfo->bat_v.throughput; in batadv_v_ogm_route_update()
867 ogm_throughput = ntohl(ogm_packet->throughput); in batadv_v_ogm_process()
915 link_throughput = ewma_throughput_read(&hardif_neigh->bat_v.throughput); in batadv_v_ogm_process()
917 ogm_packet->throughput = htonl(path_throughput); in batadv_v_ogm_process()
1058 ogm_packet->throughput = htonl(BATADV_THROUGHPUT_MAX_VALUE); in batadv_v_ogm_init()