Home
last modified time | relevance | path

Searched refs:bandwidth_up (Results 1 – 6 of 6) sorted by relevance

/net/batman-adv/
Dgateway_common.c130 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()
Dgateway_client.c297 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 …]
Dtypes.h321 uint32_t bandwidth_up; member
594 atomic_t bandwidth_up; member
Dpacket.h488 __be32 bandwidth_up; member
Dsysfs.c445 up = atomic_read(&bat_priv->gw.bandwidth_up); in batadv_show_gw_bwidth()
Dsoft-interface.c761 atomic_set(&bat_priv->gw.bandwidth_up, 20); in batadv_softif_init_late()