Lines Matching refs:net_if
918 int get_netif_info(const char *net_if, unsigned *ip_addr, char **ip_addr_text, in get_netif_info() argument
934 os_strlcpy(req.ifr_name, net_if, sizeof(req.ifr_name)); in get_netif_info()
947 os_strlcpy(req.ifr_name, net_if, sizeof(req.ifr_name)); in get_netif_info()
959 os_strlcpy(req.ifr_name, net_if, sizeof(req.ifr_name)); in get_netif_info()
968 if (eth_get(net_if, mac) < 0) { in get_netif_info()
1046 static int upnp_wps_device_start(struct upnp_wps_device_sm *sm, char *net_if) in upnp_wps_device_start() argument
1048 if (!sm || !net_if) in upnp_wps_device_start()
1060 if (add_ssdp_network(net_if)) in upnp_wps_device_start()
1064 if (get_netif_info(net_if, &sm->ip_addr, &sm->ip_addr_text, in upnp_wps_device_start()
1067 "for %s. Does it have IP address?", net_if); in upnp_wps_device_start()
1177 void *priv, char *net_if) in upnp_wps_device_init() argument
1221 if (start && upnp_wps_device_start(sm, net_if)) { in upnp_wps_device_init()