Searched refs:net_if (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/wpa/src/wps/ |
H A D | wps_upnp.c | 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() [all …]
|
H A D | wps_upnp_i.h | 161 int get_netif_info(const char *net_if, unsigned *ip_addr, char **ip_addr_text, 172 int add_ssdp_network(const char *net_if);
|
H A D | wps_upnp.h | 41 void *priv, char *net_if);
|
H A D | wps_upnp_ssdp.c | 801 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()
|