Home
last modified time | relevance | path

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

/external/wpa_supplicant_6/wpa_supplicant/src/wps/
Dwps_upnp.c927 static int get_netif_info(const char *net_if, unsigned *ip_addr, in get_netif_info() argument
945 os_strlcpy(req.ifr_name, net_if, sizeof(req.ifr_name)); in get_netif_info()
957 os_strlcpy(req.ifr_name, net_if, sizeof(req.ifr_name)); in get_netif_info()
965 if (eth_get(net_if, mac) < 0) { in get_netif_info()
1014 os_free(sm->net_if); in upnp_wps_device_stop()
1015 sm->net_if = NULL; in upnp_wps_device_stop()
1035 int upnp_wps_device_start(struct upnp_wps_device_sm *sm, char *net_if) in upnp_wps_device_start() argument
1037 if (!sm || !net_if) in upnp_wps_device_start()
1043 sm->net_if = strdup(net_if); in upnp_wps_device_start()
1050 if (add_ssdp_network(net_if)) in upnp_wps_device_start()
[all …]
Dwps_upnp_i.h131 char *net_if; /* network interface we use */ member
179 int add_ssdp_network(char *net_if);
Dwps_upnp.h58 int upnp_wps_device_start(struct upnp_wps_device_sm *sm, char *net_if);
Dwps_upnp_ssdp.c816 int add_ssdp_network(char *net_if) in add_ssdp_network() argument
824 if (!net_if) in add_ssdp_network()
832 rt.rt_dev = net_if; in add_ssdp_network()
/external/wpa_supplicant_8/src/wps/
Dwps_upnp.c898 int get_netif_info(const char *net_if, unsigned *ip_addr, char **ip_addr_text, in get_netif_info() argument
914 os_strlcpy(req.ifr_name, net_if, sizeof(req.ifr_name)); in get_netif_info()
926 os_strlcpy(req.ifr_name, net_if, sizeof(req.ifr_name)); in get_netif_info()
934 if (eth_get(net_if, mac) < 0) { in get_netif_info()
1012 static int upnp_wps_device_start(struct upnp_wps_device_sm *sm, char *net_if) in upnp_wps_device_start() argument
1014 if (!sm || !net_if) in upnp_wps_device_start()
1026 if (add_ssdp_network(net_if)) in upnp_wps_device_start()
1030 if (get_netif_info(net_if, &sm->ip_addr, &sm->ip_addr_text, in upnp_wps_device_start()
1033 "for %s. Does it have IP address?", net_if); in upnp_wps_device_start()
1133 void *priv, char *net_if) in upnp_wps_device_init() argument
[all …]
Dwps_upnp_i.h162 int get_netif_info(const char *net_if, unsigned *ip_addr, char **ip_addr_text,
173 int add_ssdp_network(const char *net_if);
Dwps_upnp.h38 void *priv, char *net_if);
Dwps_upnp_ssdp.c806 int add_ssdp_network(const char *net_if) in add_ssdp_network() argument
814 if (!net_if) in add_ssdp_network()
822 rt.rt_dev = (char *) net_if; in add_ssdp_network()