Lines Matching refs:ntohl
361 gw_node->bandwidth_down = ntohl(gateway->bandwidth_down); in batadv_gw_node_add()
362 gw_node->bandwidth_up = ntohl(gateway->bandwidth_up); in batadv_gw_node_add()
371 ntohl(gateway->bandwidth_down) / 10, in batadv_gw_node_add()
372 ntohl(gateway->bandwidth_down) % 10, in batadv_gw_node_add()
373 ntohl(gateway->bandwidth_up) / 10, in batadv_gw_node_add()
374 ntohl(gateway->bandwidth_up) % 10); in batadv_gw_node_add()
431 if (gw_node->bandwidth_down == ntohl(gateway->bandwidth_down) && in batadv_gw_node_update()
432 gw_node->bandwidth_up == ntohl(gateway->bandwidth_up)) in batadv_gw_node_update()
442 ntohl(gateway->bandwidth_down) / 10, in batadv_gw_node_update()
443 ntohl(gateway->bandwidth_down) % 10, in batadv_gw_node_update()
444 ntohl(gateway->bandwidth_up) / 10, in batadv_gw_node_update()
445 ntohl(gateway->bandwidth_up) % 10); in batadv_gw_node_update()
447 gw_node->bandwidth_down = ntohl(gateway->bandwidth_down); in batadv_gw_node_update()
448 gw_node->bandwidth_up = ntohl(gateway->bandwidth_up); in batadv_gw_node_update()
450 if (ntohl(gateway->bandwidth_down) == 0) { in batadv_gw_node_update()