Lines Matching defs:addr_size
1202 u_int32_t addr_size)
1209 copylen = (addr_size >= ifa->ifa_addr->sa_len) ? ifa->ifa_addr->sa_len : addr_size;
1212 if (ifa->ifa_addr->sa_len > addr_size) return EMSGSIZE;
1221 u_int32_t addr_size)
1227 copylen = (addr_size >= ifa->ifa_dstaddr->sa_len) ? ifa->ifa_dstaddr->sa_len : addr_size;
1230 if (ifa->ifa_dstaddr->sa_len > addr_size) return EMSGSIZE;
1239 u_int32_t addr_size)
1245 copylen = addr_size >= ifa->ifa_netmask->sa_len ? ifa->ifa_netmask->sa_len : addr_size;
1248 if (ifa->ifa_netmask->sa_len > addr_size) return EMSGSIZE;
1329 u_int32_t addr_size)
1336 copylen = addr_size >= ifmaddr->ifma_addr->sa_len ? ifmaddr->ifma_addr->sa_len : addr_size;
1339 if (ifmaddr->ifma_addr->sa_len > addr_size) return EMSGSIZE;
1348 u_int32_t addr_size)
1353 return ifmaddr_address(ifmaddr->ifma_ll, out_addr, addr_size);