Searched refs:naddrs (Results 1 – 5 of 5) sorted by relevance
/dragonfly/lib/libc/resolv/ |
H A D | res_findzonecut.c | 163 u = calloc(naddrs, sizeof(*u)); in res_findzonecut() 168 u, naddrs); in res_findzonecut() 180 int naddrs) in res_findzonecut2() argument 223 union res_sockaddr_union *addrs, int naddrs) in satisfy() argument 231 x = add_addrs(statp, nsrr, addrs, naddrs); in satisfy() 233 naddrs -= x; in satisfy() 237 nsrr != NULL && naddrs > 0; in satisfy() 240 x = add_addrs(statp, nsrr, addrs, naddrs); in satisfy() 242 naddrs -= x; in satisfy() 257 if (naddrs <= 0) in add_addrs() [all …]
|
/dragonfly/test/ifconf/ |
H A D | ifconf.c | 37 int s, naddrs, opt; in main() local 39 naddrs = NADDRS; in main() 44 naddrs = strtol(optarg, NULL, 10); in main() 50 if (naddrs <= 0) in main() 58 ifc.ifc_len = sizeof(struct sockaddr_storage) * naddrs; in main()
|
/dragonfly/contrib/tcpdump/ |
H A D | print-vrrp.c | 134 u_int naddrs = GET_U_1(bp + 3); in vrrp_print() local 157 if (naddrs > 1) in vrrp_print() 158 ND_PRINT("(%u)", naddrs); in vrrp_print() 162 for (i = 0; i < naddrs; i++) { in vrrp_print()
|
H A D | print-lwres.c | 114 nd_uint16_t naddrs; member 446 GET_BE_U_2(gabn->naddrs)); in lwres_print() 461 na = GET_BE_U_2(gabn->naddrs); in lwres_print()
|
/dragonfly/lib/libc/net/ |
H A D | getaddrinfo.c | 1926 int naddrs, i, j; in addr4sort() local 1931 naddrs = 0; in addr4sort() 1933 naddrs++; in addr4sort() 1934 if (naddrs < 2) in addr4sort() 1936 if ((addrs = malloc(sizeof(struct addr_ptr) * naddrs)) == NULL) in addr4sort() 1957 while (needsort < naddrs) { in addr4sort() 1970 for (i = 0; i < naddrs; ++i) { in addr4sort()
|