Searched refs:bandwidth_down (Results 1 – 7 of 7) sorted by relevance
/net/batman-adv/ |
D | gateway_common.c | 39 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()
|
D | gateway_client.c | 253 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 …]
|
D | bat_v.c | 546 *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()
|
D | types.h | 566 u32 bandwidth_down; member 1130 atomic_t bandwidth_down; member
|
D | netlink.c | 311 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()
|
D | soft-interface.c | 767 atomic_set(&bat_priv->gw.bandwidth_down, 100); in batadv_softif_init_late()
|
D | bat_iv_ogm.c | 2279 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()
|