Lines Matching refs:ifname
64 char ifname[IFNAMSIZ + 1];
217 sep = drv->ifname + os_strlen(drv->ifname);
219 drv->l2 = l2_packet_init(drv->ifname, NULL, ETH_P_ALL,
224 __func__, drv->ifname);
240 return drv->ifname;
353 static void * wpa_driver_roboswitch_init(void *ctx, const char *ifname)
364 /* copy ifname and take a pointer to the second to last character */
365 sep = drv->ifname +
366 os_strlcpy(drv->ifname, ifname, sizeof(drv->ifname)) - 2;
368 while (sep > drv->ifname && *sep != '.') sep--;
369 if (sep <= drv->ifname) {
371 "interface name %s", __func__, drv->ifname);
379 "in interface name %s", __func__, ifname);
387 "interface name %s", __func__, ifname);
401 os_strlcpy(drv->ifr.ifr_name, drv->ifname, IFNAMSIZ);