Searched refs:lifrr (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_nic.c482 struct lifreq lifrr; local
492 (void) strlcpy(lifrr.lifr_name, interface, sizeof (lifrr.lifr_name));
493 if (ioctl(s, SIOCGLIFADDR, &lifrr) < 0) {
497 isv6 = (lifrr.lifr_addr.ss_family == AF_INET6);
499 sin6 = (struct sockaddr_in6 *)(&lifrr.lifr_addr);
503 sin = (struct sockaddr_in *)(&lifrr.lifr_addr);
513 if (ioctl(s, SIOCGLIFBRDADDR, &lifrr) < 0) {
517 sin = (struct sockaddr_in *)&lifrr.lifr_broadaddr;
520 if (ioctl(s, SIOCGLIFNETMASK, &lifrr) <
[all...]

Completed in 57 milliseconds