Searched refs:bandwidth_up (Results 1 – 6 of 6) sorted by relevance
/net/batman-adv/ |
D | gateway_common.c | 130 up = atomic_read(&bat_priv->gw.bandwidth_up); in batadv_gw_tvlv_container_update() 132 gw.bandwidth_up = htonl(up); in batadv_gw_tvlv_container_update() 147 up_curr = (unsigned int)atomic_read(&bat_priv->gw.bandwidth_up); in batadv_gw_bandwidth_set() 172 atomic_set(&bat_priv->gw.bandwidth_up, up_new); in batadv_gw_bandwidth_set() 201 gateway.bandwidth_up = 0; in batadv_gw_tvlv_ogm_handler_v1() 205 gateway.bandwidth_up = gateway_ptr->bandwidth_up; in batadv_gw_tvlv_ogm_handler_v1() 207 (gateway.bandwidth_up == 0)) { in batadv_gw_tvlv_ogm_handler_v1() 209 gateway.bandwidth_up = 0; in batadv_gw_tvlv_ogm_handler_v1()
|
D | gateway_client.c | 297 next_gw->bandwidth_up / 10, in batadv_gw_election() 298 next_gw->bandwidth_up % 10, in batadv_gw_election() 308 next_gw->bandwidth_up / 10, in batadv_gw_election() 309 next_gw->bandwidth_up % 10, in batadv_gw_election() 433 ntohl(gateway->bandwidth_up) / 10, in batadv_gw_node_add() 434 ntohl(gateway->bandwidth_up) % 10); in batadv_gw_node_add() 489 (gw_node->bandwidth_up == ntohl(gateway->bandwidth_up))) in batadv_gw_node_update() 497 gw_node->bandwidth_up / 10, in batadv_gw_node_update() 498 gw_node->bandwidth_up % 10, in batadv_gw_node_update() 501 ntohl(gateway->bandwidth_up) / 10, in batadv_gw_node_update() [all …]
|
D | types.h | 321 uint32_t bandwidth_up; member 594 atomic_t bandwidth_up; member
|
D | packet.h | 488 __be32 bandwidth_up; member
|
D | sysfs.c | 445 up = atomic_read(&bat_priv->gw.bandwidth_up); in batadv_show_gw_bwidth()
|
D | soft-interface.c | 761 atomic_set(&bat_priv->gw.bandwidth_up, 20); in batadv_softif_init_late()
|