Searched refs:bandwidth_down (Results 1 – 8 of 8) sorted by relevance
/linux-6.3-rc2/net/batman-adv/ |
A D | gateway_common.c | 148 down = atomic_read(&bat_priv->gw.bandwidth_down); in batadv_gw_tvlv_container_update() 150 gw.bandwidth_down = htonl(down); in batadv_gw_tvlv_container_update() 177 down_curr = (unsigned int)atomic_read(&bat_priv->gw.bandwidth_down); in batadv_gw_bandwidth_set() 202 atomic_set(&bat_priv->gw.bandwidth_down, down_new); in batadv_gw_bandwidth_set() 229 gateway.bandwidth_down = 0; in batadv_gw_tvlv_ogm_handler_v1() 233 gateway.bandwidth_down = gateway_ptr->bandwidth_down; in batadv_gw_tvlv_ogm_handler_v1() 235 if (gateway.bandwidth_down == 0 || in batadv_gw_tvlv_ogm_handler_v1() 237 gateway.bandwidth_down = 0; in batadv_gw_tvlv_ogm_handler_v1() 245 if (gateway.bandwidth_down != 0 && in batadv_gw_tvlv_ogm_handler_v1()
|
A 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() 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() 422 gw_node->bandwidth_down % 10, in batadv_gw_node_update() 430 gw_node->bandwidth_down = ntohl(gateway->bandwidth_down); in batadv_gw_node_update() [all …]
|
A D | bat_v.c | 565 *bw = min_t(u32, *bw, gw_node->bandwidth_down); in batadv_v_gw_throughput_get() 746 gw_node->bandwidth_down)) { in batadv_v_gw_dump_entry()
|
A D | types.h | 566 u32 bandwidth_down; member 1130 atomic_t bandwidth_down; member
|
A D | netlink.c | 311 atomic_read(&bat_priv->gw.bandwidth_down))) in batadv_netlink_mesh_fill() 504 atomic_set(&bat_priv->gw.bandwidth_down, nla_get_u32(attr)); in batadv_netlink_set_mesh()
|
A D | soft-interface.c | 764 atomic_set(&bat_priv->gw.bandwidth_down, 100); in batadv_softif_init_late()
|
A 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()
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | batadv_packet.h | 566 __be32 bandwidth_down; member
|
Completed in 22 milliseconds