/external/elfutils/libdwfl/ |
D | segment.c | 62 GElf_Addr *naddr = realloc (dwfl->lookup_addr, sizeof naddr[0] * n); in insert() local 63 if (unlikely (naddr == NULL)) in insert() 68 if (naddr != dwfl->lookup_addr) in insert() 69 free (naddr); in insert() 73 dwfl->lookup_addr = naddr; in insert()
|
/external/ipsec-tools/src/racoon/ |
D | sockmisc.c | 933 naddrwop2str(const struct netaddr *naddr) in naddrwop2str() argument 938 if (naddr == NULL) in naddrwop2str() 941 if (memcmp(&naddr->sa, &sa_any, sizeof(sa_any)) == 0) in naddrwop2str() 944 snprintf(buf, sizeof(buf), "%s", saddrwop2str(&naddr->sa.sa)); in naddrwop2str() 945 snprintf(&buf[strlen(buf)], sizeof(buf) - strlen(buf), "/%ld", naddr->prefix); in naddrwop2str() 1083 naddr_score(const struct netaddr *naddr, const struct sockaddr *saddr) in naddr_score() argument 1090 if (!naddr || !saddr) { in naddr_score() 1093 naddr, saddr); in naddr_score() 1098 if (memcmp(naddr, &naddr_any, sizeof(naddr_any)) == 0) in naddr_score() 1102 if (naddr->sa.sa.sa_family != saddr->sa_family) in naddr_score() [all …]
|
D | sockmisc.h | 79 extern char *naddrwop2str __P((const struct netaddr *naddr)); 82 extern int naddr_score(const struct netaddr *naddr, const struct sockaddr *saddr);
|
D | prsa_par.h | 99 struct netaddr *naddr; member
|
D | prsa_par.y | 135 struct netaddr *naddr; member 151 %type <naddr> addr4 addr6 addr
|
/external/iptables/extensions/ |
D | libxt_mangle.c | 75 static struct in_addr *host_to_addr(const char *name, unsigned int *naddr) in host_to_addr() argument 88 *naddr = 0; in host_to_addr() 94 (*naddr)++; in host_to_addr() 95 addr = xtables_calloc(*naddr, sizeof(struct in_addr)); in host_to_addr()
|
/external/libpcap/ |
D | pcap-new.c | 96 int naddr; /* temp var needed to avoid problems with IPv6 addresses */ in pcap_findalldevs_ex() local 457 findalldevs_if.naddr = ntohs(findalldevs_if.naddr); in pcap_findalldevs_ex() 555 naddr = 0; in pcap_findalldevs_ex() 558 for (j = 0; j < findalldevs_if.naddr; j++) in pcap_findalldevs_ex() 588 naddr++; in pcap_findalldevs_ex() 615 if (naddr == 1) in pcap_findalldevs_ex() 616 naddr = 0; /* the first item of the list had NULL addresses */ in pcap_findalldevs_ex()
|
D | pcap-rpcap.h | 166 uint16 naddr; /* Number of addresses */ member
|
/external/iptables/libxtables/ |
D | xtables.c | 1361 static struct in_addr *host_to_ipaddr(const char *name, unsigned int *naddr) in host_to_ipaddr() argument 1374 *naddr = 0; in host_to_ipaddr() 1379 ++*naddr; in host_to_ipaddr() 1380 addr = xtables_calloc(*naddr, sizeof(struct in_addr)); in host_to_ipaddr() 1651 host_to_ip6addr(const char *name, unsigned int *naddr) in host_to_ip6addr() argument 1664 *naddr = 0; in host_to_ip6addr() 1670 ++*naddr; in host_to_ip6addr() 1672 addr = xtables_calloc(*naddr, sizeof(struct in6_addr)); in host_to_ip6addr()
|
/external/syslinux/core/lwip/src/api/ |
D | sockets.c | 316 ip_addr_t naddr; in lwip_accept() local 347 err = netconn_peer(newconn, &naddr, &port); in lwip_accept() 364 inet_addr_from_ipaddr(&sin.sin_addr, &naddr); in lwip_accept() 393 ip_addr_debug_print(SOCKETS_DEBUG, &naddr); in lwip_accept() 1399 ip_addr_t naddr; local 1411 netconn_getaddr(sock->conn, &naddr, &sin.sin_port, local); 1414 ip_addr_debug_print(SOCKETS_DEBUG, &naddr); 1418 inet_addr_from_ipaddr(&sin.sin_addr, &naddr);
|
/external/dhcpcd-6.8.2/ |
D | if-options.c | 642 in_addr_t *naddr; in parse_option() local 1171 naddr = realloc(ifo->whitelist, in parse_option() 1173 if (naddr == NULL) { in parse_option() 1177 ifo->whitelist = naddr; in parse_option() 1186 naddr = realloc(ifo->blacklist, in parse_option() 1188 if (naddr == NULL) { in parse_option() 1192 ifo->blacklist = naddr; in parse_option() 1228 naddr = realloc(ifo->arping, in parse_option() 1230 if (naddr == NULL) { in parse_option() 1234 ifo->arping = naddr; in parse_option()
|
/external/iptables/iptables/ |
D | xtables-arp.c | 588 host_to_addr(const char *name, unsigned int *naddr) in host_to_addr() argument 601 *naddr = 0; in host_to_addr() 607 (*naddr)++; in host_to_addr() 608 addr = xtables_calloc(*naddr, sizeof(struct in_addr)); in host_to_addr()
|
/external/toybox/toys/pending/ |
D | ip.c | 380 uint32_t naddr[4] = {0,}; in get_nmask_prefix() local 388 if (get_prefix(naddr, &naf, name, family)) return -1; in get_nmask_prefix() 390 uint32_t mask = htonl(*naddr), host = ~mask; in get_nmask_prefix()
|