Home
last modified time | relevance | path

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

/net/batman-adv/
Dgateway_common.c39 down = atomic_read(&bat_priv->gw.bandwidth_down); in batadv_gw_tvlv_container_update()
41 gw.bandwidth_down = htonl(down); in batadv_gw_tvlv_container_update()
69 gateway.bandwidth_down = 0; in batadv_gw_tvlv_ogm_handler_v1()
73 gateway.bandwidth_down = gateway_ptr->bandwidth_down; in batadv_gw_tvlv_ogm_handler_v1()
75 if (gateway.bandwidth_down == 0 || in batadv_gw_tvlv_ogm_handler_v1()
77 gateway.bandwidth_down = 0; in batadv_gw_tvlv_ogm_handler_v1()
85 if (gateway.bandwidth_down != 0 && in batadv_gw_tvlv_ogm_handler_v1()
Dgateway_client.c253 next_gw->bandwidth_down / 10, in batadv_gw_election()
254 next_gw->bandwidth_down % 10, in batadv_gw_election()
264 next_gw->bandwidth_down / 10, in batadv_gw_election()
265 next_gw->bandwidth_down % 10, in batadv_gw_election()
333 if (gateway->bandwidth_down == 0) in batadv_gw_node_add()
344 gw_node->bandwidth_down = ntohl(gateway->bandwidth_down); in batadv_gw_node_add()
354 ntohl(gateway->bandwidth_down) / 10, in batadv_gw_node_add()
355 ntohl(gateway->bandwidth_down) % 10, in batadv_gw_node_add()
414 if (gw_node->bandwidth_down == ntohl(gateway->bandwidth_down) && in batadv_gw_node_update()
421 gw_node->bandwidth_down / 10, in batadv_gw_node_update()
[all …]
Dbat_v.c546 *bw = min_t(u32, *bw, gw_node->bandwidth_down); in batadv_v_gw_throughput_get()
727 gw_node->bandwidth_down)) { in batadv_v_gw_dump_entry()
Dtypes.h566 u32 bandwidth_down; member
1130 atomic_t bandwidth_down; member
Dnetlink.c311 atomic_read(&bat_priv->gw.bandwidth_down))) in batadv_netlink_mesh_fill()
507 atomic_set(&bat_priv->gw.bandwidth_down, nla_get_u32(attr)); in batadv_netlink_set_mesh()
Dsoft-interface.c767 atomic_set(&bat_priv->gw.bandwidth_down, 100); in batadv_softif_init_late()
Dbat_iv_ogm.c2279 tmp_gw_factor *= gw_node->bandwidth_down; in batadv_iv_gw_get_best_gw_node()
2448 gw_node->bandwidth_down) || in batadv_iv_gw_dump_entry()