Home
last modified time | relevance | path

Searched refs:net_if (Results 1 – 4 of 4) sorted by relevance

/external/wpa_supplicant_8/src/wps/
Dwps_upnp.c918 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()
967 if (eth_get(net_if, mac) < 0) { in get_netif_info()
1045 static int upnp_wps_device_start(struct upnp_wps_device_sm *sm, char *net_if) in upnp_wps_device_start() argument
1047 if (!sm || !net_if) in upnp_wps_device_start()
1059 if (add_ssdp_network(net_if)) in upnp_wps_device_start()
1063 if (get_netif_info(net_if, &sm->ip_addr, &sm->ip_addr_text, in upnp_wps_device_start()
1066 "for %s. Does it have IP address?", net_if); in upnp_wps_device_start()
[all …]
Dwps_upnp_i.h161 int get_netif_info(const char *net_if, unsigned *ip_addr, char **ip_addr_text,
172 int add_ssdp_network(const char *net_if);
Dwps_upnp.h41 void *priv, char *net_if);
Dwps_upnp_ssdp.c801 int add_ssdp_network(const char *net_if) in add_ssdp_network() argument
809 if (!net_if) in add_ssdp_network()
817 rt.rt_dev = (char *) net_if; in add_ssdp_network()