/external/elfutils/libdwfl/ |
D | segment.c | 66 GElf_Addr *naddr = realloc (dwfl->lookup_addr, sizeof naddr[0] * n); in insert() local 67 if (unlikely (naddr == NULL)) in insert() 72 if (naddr != dwfl->lookup_addr) in insert() 73 free (naddr); in insert() 77 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/scapy/scapy/ |
D | route6.py | 122 naddr = inet_pton(socket.AF_INET6, the_addr) 124 the_net = inet_ntop(socket.AF_INET6, in6_and(nmask,naddr)) 163 naddr = inet_pton(socket.AF_INET6, addr) 165 prefix = inet_ntop(socket.AF_INET6, in6_and(nmask,naddr))
|
D | utils6.py | 165 naddr = inet_pton(socket.AF_INET6, addr) 166 paddr = inet_ntop(socket.AF_INET6, naddr) # normalize 170 if ((orb(naddr[0]) & 0xE0) == 0x20): 172 if naddr[:2] == b' \x02': # Mark 6to4 @ 174 elif orb(naddr[0]) == 0xff: # multicast 182 elif ((orb(naddr[0]) == 0xfe) and ((int(paddr[2], 16) & 0xC) == 0x8)):
|
/external/toybox/toys/pending/ |
D | route.c | 311 uint32_t naddr[4] = {0,}; in setroute() local 318 if (!inet_pton(f, argv[1], &naddr)) error_exit("invalid netmask"); in setroute() 320 uint32_t mask = htonl(*naddr), host = ~mask; in setroute()
|
D | ip.c | 401 uint32_t naddr[4] = {0,}; in get_nmask_prefix() local 409 if (get_prefix(naddr, &naf, name, family)) return -1; in get_nmask_prefix() 411 uint32_t mask = htonl(*naddr), host = ~mask; in get_nmask_prefix()
|
/external/iptables/libxtables/ |
D | xtables.c | 1543 static struct in_addr *host_to_ipaddr(const char *name, unsigned int *naddr) in host_to_ipaddr() argument 1555 *naddr = 0; in host_to_ipaddr() 1560 ++*naddr; in host_to_ipaddr() 1561 addr = xtables_calloc(*naddr, sizeof(struct in_addr)); in host_to_ipaddr() 1829 host_to_ip6addr(const char *name, unsigned int *naddr) in host_to_ip6addr() argument 1841 *naddr = 0; in host_to_ip6addr() 1847 ++*naddr; in host_to_ip6addr() 1849 addr = xtables_calloc(*naddr, sizeof(struct in6_addr)); in host_to_ip6addr()
|
/external/libpcap/ |
D | rpcap-protocol.h | 168 uint16 naddr; /* Number of addresses */ member
|
D | pcap-rpcap.c | 2544 findalldevs_if.naddr = ntohs(findalldevs_if.naddr); in pcap_findalldevs_ex_remote() 2636 for (j = 0; j < findalldevs_if.naddr; j++) in pcap_findalldevs_ex_remote()
|
/external/scapy/scapy/contrib/ |
D | cdp.py | 169 PacketListField("addr", [], _CDPGuessAddrRecord, count_from=lambda x:x.naddr) ]
|
/external/libpcap/rpcapd/ |
D | daemon.c | 1742 findalldevs_if->naddr++; in daemon_msg_findallif_req() 1749 findalldevs_if->naddr = htons(findalldevs_if->naddr); in daemon_msg_findallif_req()
|
/external/usrsctp/usrsctplib/netinet/ |
D | sctp_pcb.c | 5485 struct sctp_laddr *laddr, *naddr; local 5922 LIST_FOREACH_SAFE(laddr, &asoc->sctp_restricted_addrs, sctp_nxt_addr, naddr) {
|