/external/tcpdump/ |
print-vrrp.c | 135 int naddrs = bp[3]; local 158 if (naddrs > 1) 159 ND_PRINT((ndo, "(%d)", naddrs)); 163 for (i = 0; i < naddrs; i++) {
|
print-lwres.c | 112 lwres_uint16_t naddrs; member in struct:__anon23620 473 EXTRACT_16BITS(&gabn->naddrs))); 490 na = EXTRACT_16BITS(&gabn->naddrs);
|
/external/c-ares/ |
ares_parse_a_reply.c | 59 int status, i, rr_type, rr_class, rr_len, rr_ttl, naddrs; local 122 naddrs = 0; 157 memcpy(&addrs[naddrs], aptr, sizeof(struct in_addr)); 159 if (naddrs < max_addr_ttls) 161 struct ares_addrttl * const at = &addrttls[naddrs]; 171 naddrs++; 207 if (status == ARES_SUCCESS && naddrs == 0 && naliases == 0) 216 const int n = naddrs < max_addr_ttls ? naddrs : max_addr_ttls; 233 hostent->h_addr_list = malloc((naddrs + 1) * sizeof(char *)) [all...] |
ares_parse_aaaa_reply.c | 61 int status, i, rr_type, rr_class, rr_len, rr_ttl, naddrs; local 122 naddrs = 0; 157 memcpy(&addrs[naddrs], aptr, sizeof(struct ares_in6_addr)); 159 if (naddrs < max_addr_ttls) 161 struct ares_addr6ttl * const at = &addrttls[naddrs]; 171 naddrs++; 207 if (status == ARES_SUCCESS && naddrs == 0) 214 const int n = naddrs < max_addr_ttls ? naddrs : max_addr_ttls; 231 hostent->h_addr_list = malloc((naddrs + 1) * sizeof(char *)) [all...] |
/external/avahi/avahi-autoipd/ |
iface-bsd.c | 138 int naddrs; local 143 naddrs = 0; 179 ++naddrs; 184 *state = (naddrs > 0) ? STATE_SLEEPING : STATE_START;
|
/external/libpcap/Win32/Src/ |
getaddrinfo.c | 529 int naddrs; local 608 for (naddrs = 0; hp->h_addr_list[naddrs] != NULL; naddrs++) 610 naddrs++; 611 aplist = (char **)malloc(sizeof(aplist[0]) * naddrs); 612 apbuf = (char *)malloc(hp->h_length * naddrs); 617 memset(aplist, 0, sizeof(aplist[0]) * naddrs); 618 for (i = 0; i < naddrs; i++) {
|
/external/webrtc/talk/media/sctp/ |
sctpdataengine.cc | 332 int naddrs = usrsctp_getladdrs(sock, 0, &addrs); local 333 if (naddrs <= 0 || addrs[0].sa_family != AF_CONN) { [all...] |
/bionic/libc/dns/net/ |
gethnamaddr.c | 1353 size_t naddrs; local [all...] |