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

/osnet-11/usr/src/lib/libsmb/common/
H A Dsmb_nic.c480 struct lifreq lifrr; local
490 (void) strlcpy(lifrr.lifr_name, interface, sizeof (lifrr.lifr_name));
491 if (ioctl(s, SIOCGLIFADDR, &lifrr) < 0) {
495 isv6 = (lifrr.lifr_addr.ss_family == AF_INET6);
497 sin6 = (struct sockaddr_in6 *)(&lifrr.lifr_addr);
501 sin = (struct sockaddr_in *)(&lifrr.lifr_addr);
511 if (ioctl(s, SIOCGLIFBRDADDR, &lifrr) < 0) {
515 sin = (struct sockaddr_in *)&lifrr.lifr_broadaddr;
518 if (ioctl(s, SIOCGLIFNETMASK, &lifrr) <
[all...]

Completed in 21 milliseconds