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()
349 static void * wpa_driver_roboswitch_init(void *ctx, const char *ifname) in wpa_driver_roboswitch_init() argument
361 sep = drv->ifname + in wpa_driver_roboswitch_init()
362 os_strlcpy(drv->ifname, ifname, sizeof(drv->ifname)) - 2; in wpa_driver_roboswitch_init()
364 while (sep > drv->ifname && *sep != '.') sep--; in wpa_driver_roboswitch_init()
365 if (sep <= drv->ifname) { in wpa_driver_roboswitch_init()
367 "interface name %s", __func__, drv->ifname); in wpa_driver_roboswitch_init()
375 "in interface name %s", __func__, ifname); in wpa_driver_roboswitch_init()
383 "interface name %s", __func__, ifname); in wpa_driver_roboswitch_init()
397 os_strlcpy(drv->ifr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_roboswitch_init()