Home
last modified time | relevance | path

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

/freebsd-11-stable/sys/compat/linux/
HDlinux_ioctl.c2155 ifname_linux_to_bsd(struct thread *td, const char *lxname, char *bsdname) in ifname_linux_to_bsd() argument
2163 if (!isalpha(lxname[len])) in ifname_linux_to_bsd()
2167 unit = (int)strtoul(lxname + len, &ep, 10); in ifname_linux_to_bsd()
2168 if (ep == NULL || ep == lxname + len || ep >= lxname + LINUX_IFNAMSIZ) in ifname_linux_to_bsd()
2171 is_eth = (len == 3 && !strncmp(lxname, "eth", len)) ? 1 : 0; in ifname_linux_to_bsd()
2180 if (strncmp(ifp->if_xname, lxname, LINUX_IFNAMSIZ) == 0) in ifname_linux_to_bsd()