Lines Matching refs:ifa_addr
780 if (family == 0 || addr->ifa_addr->sa_family == family)
811 if (family == 0 || addr->ifa_addr->sa_family == family) {
850 return LLADDR(SDL(interface->if_addrhead.tqh_first->ifa_addr));
890 sdl = SDL(interface->if_addrhead.tqh_first->ifa_addr);
925 sdl = (struct sockaddr_dl*)ifa->ifa_addr;
1068 if (!ifa || !ifa->ifa_addr)
1071 ll_addr = (struct sockaddr_dl *)ifa->ifa_addr;
1192 if (ifa && ifa->ifa_addr)
1193 return ifa->ifa_addr->sa_family;
1207 if (ifa->ifa_addr == NULL) return ENOTSUP;
1209 copylen = (addr_size >= ifa->ifa_addr->sa_len) ? ifa->ifa_addr->sa_len : addr_size;
1210 bcopy(ifa->ifa_addr, out_addr, copylen);
1212 if (ifa->ifa_addr->sa_len > addr_size) return EMSGSIZE;