Lines Matching refs:ifname
58 char ifname[IFNAMSIZ + 1]; member
213 sep = drv->ifname + os_strlen(drv->ifname); in wpa_driver_roboswitch_set_param()
215 drv->l2 = l2_packet_init(drv->ifname, NULL, ETH_P_ALL, in wpa_driver_roboswitch_set_param()
220 __func__, drv->ifname); in wpa_driver_roboswitch_set_param()
236 return drv->ifname; in wpa_driver_roboswitch_get_ifname()
357 static void * wpa_driver_roboswitch_init(void *ctx, const char *ifname) in wpa_driver_roboswitch_init() argument
369 sep = drv->ifname + in wpa_driver_roboswitch_init()
370 os_strlcpy(drv->ifname, ifname, sizeof(drv->ifname)) - 2; in wpa_driver_roboswitch_init()
372 while (sep > drv->ifname && *sep != '.') sep--; in wpa_driver_roboswitch_init()
373 if (sep <= drv->ifname) { in wpa_driver_roboswitch_init()
375 "interface name %s", __func__, drv->ifname); in wpa_driver_roboswitch_init()
383 "in interface name %s", __func__, ifname); in wpa_driver_roboswitch_init()
391 "interface name %s", __func__, ifname); in wpa_driver_roboswitch_init()
405 os_strlcpy(drv->ifr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_roboswitch_init()