Lines Matching refs:net_dev
45 bool batadv_parse_throughput(struct net_device *net_dev, char *buff, in batadv_parse_throughput() argument
66 batadv_err(net_dev, in batadv_parse_throughput()
76 batadv_err(net_dev, in batadv_parse_throughput()
91 batadv_err(net_dev, in batadv_parse_throughput()
112 static bool batadv_parse_gw_bandwidth(struct net_device *net_dev, char *buff, in batadv_parse_gw_bandwidth() argument
122 ret = batadv_parse_throughput(net_dev, buff, "download gateway speed", in batadv_parse_gw_bandwidth()
129 ret = batadv_parse_throughput(net_dev, slash_ptr + 1, in batadv_parse_gw_bandwidth()
167 ssize_t batadv_gw_bandwidth_set(struct net_device *net_dev, char *buff, in batadv_gw_bandwidth_set() argument
170 struct batadv_priv *bat_priv = netdev_priv(net_dev); in batadv_gw_bandwidth_set()
180 ret = batadv_parse_gw_bandwidth(net_dev, buff, &down_new, &up_new); in batadv_gw_bandwidth_set()
197 batadv_info(net_dev, in batadv_gw_bandwidth_set()