Searched refs:naddrs (Results 1 – 8 of 8) sorted by relevance
/external/c-ares/ |
D | ares_parse_a_reply.c | 59 int status, i, rr_type, rr_class, rr_len, rr_ttl, naddrs; in ares_parse_a_reply() local 122 naddrs = 0; in ares_parse_a_reply() 157 memcpy(&addrs[naddrs], aptr, sizeof(struct in_addr)); in ares_parse_a_reply() 159 if (naddrs < max_addr_ttls) in ares_parse_a_reply() 161 struct ares_addrttl * const at = &addrttls[naddrs]; in ares_parse_a_reply() 171 naddrs++; in ares_parse_a_reply() 207 if (status == ARES_SUCCESS && naddrs == 0 && naliases == 0) in ares_parse_a_reply() 216 const int n = naddrs < max_addr_ttls ? naddrs : max_addr_ttls; in ares_parse_a_reply() 233 hostent->h_addr_list = malloc((naddrs + 1) * sizeof(char *)); in ares_parse_a_reply() 241 for (i = 0; i < naddrs; i++) in ares_parse_a_reply() [all …]
|
D | ares_parse_aaaa_reply.c | 61 int status, i, rr_type, rr_class, rr_len, rr_ttl, naddrs; in ares_parse_aaaa_reply() local 122 naddrs = 0; in ares_parse_aaaa_reply() 157 memcpy(&addrs[naddrs], aptr, sizeof(struct ares_in6_addr)); in ares_parse_aaaa_reply() 159 if (naddrs < max_addr_ttls) in ares_parse_aaaa_reply() 161 struct ares_addr6ttl * const at = &addrttls[naddrs]; in ares_parse_aaaa_reply() 171 naddrs++; in ares_parse_aaaa_reply() 207 if (status == ARES_SUCCESS && naddrs == 0) in ares_parse_aaaa_reply() 214 const int n = naddrs < max_addr_ttls ? naddrs : max_addr_ttls; in ares_parse_aaaa_reply() 231 hostent->h_addr_list = malloc((naddrs + 1) * sizeof(char *)); in ares_parse_aaaa_reply() 239 for (i = 0; i < naddrs; i++) in ares_parse_aaaa_reply() [all …]
|
/external/tcpdump/ |
D | print-vrrp.c | 135 int naddrs = bp[3]; in vrrp_print() local 158 if (naddrs > 1) in vrrp_print() 159 ND_PRINT((ndo, "(%d)", naddrs)); in vrrp_print() 163 for (i = 0; i < naddrs; i++) { in vrrp_print()
|
D | print-lwres.c | 112 lwres_uint16_t naddrs; member 473 EXTRACT_16BITS(&gabn->naddrs))); in lwres_print() 490 na = EXTRACT_16BITS(&gabn->naddrs); in lwres_print()
|
/external/iptables/libxtables/ |
D | xtables.c | 1355 ipparse_hostnetwork(const char *name, unsigned int *naddrs) in ipparse_hostnetwork() argument 1363 *naddrs = 1; in ipparse_hostnetwork() 1366 if ((addrptmp = host_to_ipaddr(name, naddrs)) != NULL) in ipparse_hostnetwork() 1399 struct in_addr **maskpp, unsigned int *naddrs) in xtables_ipparse_multiple() argument 1471 *naddrs = count; in xtables_ipparse_multiple() 1485 struct in_addr *maskp, unsigned int *naddrs) in xtables_ipparse_any() argument 1505 addrp = *addrpp = ipparse_hostnetwork(buf, naddrs); in xtables_ipparse_any() 1506 n = *naddrs; in xtables_ipparse_any() 1516 memcpy(&addrp[--j], &addrp[--*naddrs], in xtables_ipparse_any() 1671 ip6parse_hostnetwork(const char *name, unsigned int *naddrs) in ip6parse_hostnetwork() argument [all …]
|
/external/avahi/avahi-autoipd/ |
D | iface-bsd.c | 138 int naddrs; in iface_get_initial_state() local 143 naddrs = 0; in iface_get_initial_state() 179 ++naddrs; in iface_get_initial_state() 184 *state = (naddrs > 0) ? STATE_SLEEPING : STATE_START; in iface_get_initial_state()
|
/external/libpcap/Win32/Src/ |
D | 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/ |
D | sctpdataengine.cc | 332 int naddrs = usrsctp_getladdrs(sock, 0, &addrs); in GetChannelFromSocket() local 333 if (naddrs <= 0 || addrs[0].sa_family != AF_CONN) { in GetChannelFromSocket()
|