Lines Matching defs:gateway
113 ret = batadv_parse_throughput(net_dev, buff, "download gateway speed",
121 "upload gateway speed", up);
131 * gateway setting change
159 * batadv_gw_bandwidth_set() - Parse and set download/upload gateway bandwidth
198 "Changing gateway bandwidth from: '%u.%u/%u.%u MBit' to: '%u.%u/%u.%u MBit'\n",
210 * batadv_gw_tvlv_ogm_handler_v1() - process incoming gateway tvlv container
214 * @tvlv_value: tvlv buffer containing the gateway data
222 struct batadv_tvlv_gateway_data gateway, *gateway_ptr;
228 tvlv_value_len < sizeof(gateway)) {
229 gateway.bandwidth_down = 0;
230 gateway.bandwidth_up = 0;
233 gateway.bandwidth_down = gateway_ptr->bandwidth_down;
234 gateway.bandwidth_up = gateway_ptr->bandwidth_up;
235 if (gateway.bandwidth_down == 0 ||
236 gateway.bandwidth_up == 0) {
237 gateway.bandwidth_down = 0;
238 gateway.bandwidth_up = 0;
242 batadv_gw_node_update(bat_priv, orig, &gateway);
244 /* restart gateway selection */
245 if (gateway.bandwidth_down != 0 &&
251 * batadv_gw_init() - initialise the gateway handling internals
267 * batadv_gw_free() - free the gateway handling internals