Home
last modified time | relevance | path

Searched refs:naddr (Results 1 – 10 of 10) sorted by relevance

/external/chromium-trace/catapult/third_party/Paste/paste/util/
Dip4.py122 naddr, naddrlen = _parseAddr(addr)
123 naddr <<= (4-naddrlen)*8
148 naddr1 = naddr & (((1<<masklen)-1)<<(32-masklen))
153 naddr, naddrlen = _parseAddr(addr)
154 naddr1 = naddr<<((4-naddrlen)*8)
155 naddr2 = ( (naddr<<((4-naddrlen)*8)) +
240 naddr = 0
253 naddr <<= 8
254 naddr += part
255 return naddr, naddrpos+1
/external/elfutils/libdwfl/
Dsegment.c62 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/
Dsockmisc.c918 naddrwop2str(const struct netaddr *naddr) in naddrwop2str() argument
923 if (naddr == NULL) in naddrwop2str()
926 if (memcmp(&naddr->sa, &sa_any, sizeof(sa_any)) == 0) in naddrwop2str()
929 snprintf(buf, sizeof(buf), "%s", saddrwop2str(&naddr->sa.sa)); in naddrwop2str()
930 snprintf(&buf[strlen(buf)], sizeof(buf) - strlen(buf), "/%ld", naddr->prefix); in naddrwop2str()
1068 naddr_score(const struct netaddr *naddr, const struct sockaddr *saddr) in naddr_score() argument
1075 if (!naddr || !saddr) { in naddr_score()
1078 naddr, saddr); in naddr_score()
1083 if (memcmp(naddr, &naddr_any, sizeof(naddr_any)) == 0) in naddr_score()
1087 if (naddr->sa.sa.sa_family != saddr->sa_family) in naddr_score()
[all …]
Dsockmisc.h79 extern char *naddrwop2str __P((const struct netaddr *naddr));
82 extern int naddr_score(const struct netaddr *naddr, const struct sockaddr *saddr);
Dprsa_par.h99 struct netaddr *naddr; member
Dprsa_par.y135 struct netaddr *naddr; member
151 %type <naddr> addr4 addr6 addr
/external/iptables/libxtables/
Dxtables.c1330 static struct in_addr *host_to_ipaddr(const char *name, unsigned int *naddr) in host_to_ipaddr() argument
1336 *naddr = 0; in host_to_ipaddr()
1342 while (host->h_addr_list[*naddr] != NULL) in host_to_ipaddr()
1343 ++*naddr; in host_to_ipaddr()
1344 addr = xtables_calloc(*naddr, sizeof(struct in_addr)); in host_to_ipaddr()
1345 for (i = 0; i < *naddr; i++) in host_to_ipaddr()
1622 host_to_ip6addr(const char *name, unsigned int *naddr) in host_to_ip6addr() argument
1635 *naddr = 0; in host_to_ip6addr()
1644 ++*naddr; in host_to_ip6addr()
1650 addr = xtables_calloc(*naddr, sizeof(struct in6_addr)); in host_to_ip6addr()
/external/ltrace/
Dltrace-elf.c984 arch_addr_t naddr; in populate_this_symtab() local
991 naddr = addr; in populate_this_symtab()
992 } else if (arch_translate_address(lte, addr, &naddr) < 0) { in populate_this_symtab()
1009 naddr, full_name, &libsym); in populate_this_symtab()
1012 naddr, full_name, &libsym); in populate_this_symtab()
1019 || library_symbol_init(tmp, naddr, full_name, 1, in populate_this_symtab()
/external/dhcpcd-6.8.2/
Dif-options.c642 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/toybox/toys/pending/
Dip.c380 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()