Home
last modified time | relevance | path

Searched refs:addrp (Results 1 – 24 of 24) sorted by relevance

/external/iptables/libxtables/
Dxtables.c1178 const char *xtables_ipaddr_to_numeric(const struct in_addr *addrp) in xtables_ipaddr_to_numeric() argument
1181 const unsigned char *bytep = (const void *)&addrp->s_addr; in xtables_ipaddr_to_numeric()
1262 unsigned char *addrp; in __numeric_to_ipaddr() local
1270 addrp = (void *)&addr.s_addr; in __numeric_to_ipaddr()
1282 addrp[i] = onebyte; in __numeric_to_ipaddr()
1284 addrp[++i] = 0; in __numeric_to_ipaddr()
1293 addrp[i] = onebyte; in __numeric_to_ipaddr()
1301 addrp[3] = onebyte; in __numeric_to_ipaddr()
1357 struct in_addr *addrptmp, *addrp; in ipparse_hostnetwork() local
1361 addrp = xtables_malloc(sizeof(struct in_addr)); in ipparse_hostnetwork()
[all …]
/external/elfutils/libdw/
Dencoded-value.h76 const unsigned char **addrp, in __libdw_cfi_read_address_inc() argument
83 addrp, width, ret); in __libdw_cfi_read_address_inc()
93 if (unlikely (*addrp + 4 > endp)) in __libdw_cfi_read_address_inc()
99 *ret = read_4ubyte_unaligned_inc (&eh_dbg, *addrp); in __libdw_cfi_read_address_inc()
103 if (unlikely (*addrp + 8 > endp)) in __libdw_cfi_read_address_inc()
105 *ret = read_8ubyte_unaligned_inc (&eh_dbg, *addrp); in __libdw_cfi_read_address_inc()
Ddwarf_getarangeinfo.c38 dwarf_getarangeinfo (Dwarf_Arange *arange, Dwarf_Addr *addrp, in dwarf_getarangeinfo() argument
44 if (addrp != NULL) in dwarf_getarangeinfo()
45 *addrp = arange->addr; in dwarf_getarangeinfo()
Dmemory-access.h74 __libdw_get_uleb128 (const unsigned char **addrp, const unsigned char *end) in __libdw_get_uleb128() argument
80 get_uleb128_step (acc, *addrp, 0); in __libdw_get_uleb128()
82 const size_t max = __libdw_max_len_uleb128 (*addrp - 1, end); in __libdw_get_uleb128()
84 get_uleb128_step (acc, *addrp, i); in __libdw_get_uleb128()
108 __libdw_get_sleb128 (const unsigned char **addrp, const unsigned char *end) in __libdw_get_sleb128() argument
114 get_sleb128_step (acc, *addrp, 0); in __libdw_get_sleb128()
116 const size_t max = __libdw_max_len_sleb128 (*addrp - 1, end); in __libdw_get_sleb128()
118 get_sleb128_step (acc, *addrp, i); in __libdw_get_sleb128()
Ddwarf_lineaddr.c38 dwarf_lineaddr (Dwarf_Line *line, Dwarf_Addr *addrp) in dwarf_lineaddr() argument
43 *addrp = line->addr; in dwarf_lineaddr()
Ddwarf_ranges.c44 unsigned char **addrp, int width, in __libdw_read_begin_end_pair_inc() argument
53 unsigned char *addr = *addrp; in __libdw_read_begin_end_pair_inc()
56 *addrp = addr; in __libdw_read_begin_end_pair_inc()
DlibdwP.h673 int sec_index, const unsigned char **addrp, in __libdw_read_address_inc() argument
676 const unsigned char *addr = *addrp; in __libdw_read_address_inc()
678 *addrp = addr; in __libdw_read_address_inc()
693 int sec_index, const unsigned char **addrp, in __libdw_read_offset_inc() argument
697 const unsigned char *addr = *addrp; in __libdw_read_offset_inc()
699 *addrp = addr; in __libdw_read_offset_inc()
Dlibdw.h614 extern int dwarf_lineaddr (Dwarf_Line *line, Dwarf_Addr *addrp);
797 extern int dwarf_getarangeinfo (Dwarf_Arange *arange, Dwarf_Addr *addrp,
/external/iptables/extensions/
Dlibip6t_rt.c48 addr_to_numeric(const struct in6_addr *addrp) in addr_to_numeric() argument
51 return inet_ntop(AF_INET6, addrp, buf, sizeof(buf)); in addr_to_numeric()
72 parse_addresses(const char *addrstr, struct in6_addr *addrp) in parse_addresses() argument
84 memcpy(&(addrp[i]), numeric_to_addr(cp), sizeof(struct in6_addr)); in parse_addresses()
88 printf("addr [%d]: %s\n", i, addr_to_numeric(&(addrp[i]))); in parse_addresses()
170 print_addresses(unsigned int addrnr, struct in6_addr *addrp) in print_addresses() argument
175 printf("%c%s", (i==0)?' ':',', addr_to_numeric(&(addrp[i]))); in print_addresses()
/external/dnsmasq/src/
Dnetlink.c217 struct in6_addr *addrp = NULL; in iface_enumerate() local
221 addrp = ((struct in6_addr *)(rta+1)); in iface_enumerate()
226 if (addrp && ipv6_callback) in iface_enumerate()
227 if (!((*ipv6_callback)(addrp, ifa->ifa_index, ifa->ifa_index, parm))) in iface_enumerate()
Ddhcp.c114 struct in_addr iface_addr, *addrp = NULL; in dhcp_packet() local
210 addrp = &iface_addr; in dhcp_packet()
214 if (!iface_check(AF_INET, (struct all_addr *)addrp, ifr.ifr_name, &iface_index)) in dhcp_packet()
222 if (!addrp) in dhcp_packet()
531 struct in_addr *addrp, unsigned char *hwaddr, int hw_len, in address_allocate() argument
581 *addrp = addr; in address_allocate()
Dforward.c210 struct all_addr *addrp = NULL; in forward_query() local
237 flags = search_servers(now, &addrp, gotname, daemon->namebuff, &type, &domain); in forward_query()
385 plen = setup_reply(header, plen, addrp, flags, daemon->local_ttl); in forward_query()
790 struct all_addr *addrp = NULL; in tcp_request() local
795 flags = search_servers(now, &addrp, gotname, daemon->namebuff, &type, &domain); in tcp_request()
885 m = setup_reply(header, (unsigned int)size, addrp, flags, daemon->local_ttl); in tcp_request()
Drfc1035.c176 static int in_arpa_name_2_addr(char *namein, struct all_addr *addrp) in in_arpa_name_2_addr() argument
180 unsigned char *addr = (unsigned char *)addrp; in in_arpa_name_2_addr()
186 memset(addrp, 0, sizeof(struct all_addr)); in in_arpa_name_2_addr()
903 struct all_addr *addrp, unsigned short flags, unsigned long ttl) in setup_reply() argument
925 add_resource_record(header, NULL, NULL, sizeof(HEADER), &p, ttl, NULL, T_A, C_IN, "4", addrp); in setup_reply()
933 … add_resource_record(header, NULL, NULL, sizeof(HEADER), &p, ttl, NULL, T_AAAA, C_IN, "6", addrp); in setup_reply()
Ddnsmasq.h716 struct all_addr *addrp, unsigned short flags,
808 struct in_addr *addrp, unsigned char *hwaddr, int hw_len,
/external/iproute2/tc/
Dm_ipt.c110 addr_to_dotted(const struct in_addr *addrp) in addr_to_dotted() argument
115 bytep = (const unsigned char *) &(addrp->s_addr); in addr_to_dotted()
317 unsigned char *addrp; in dotted_to_addr() local
325 addrp = (unsigned char *) &(addr.s_addr); in dotted_to_addr()
336 addrp[i] = (unsigned char) onebyte; in dotted_to_addr()
344 addrp[3] = (unsigned char) onebyte; in dotted_to_addr()
/external/libunwind/src/dwarf/
DGfde.c240 unw_word_t *addrp, unw_proc_info_t *pi, in dwarf_extract_proc_info_from_fde() argument
245 unw_word_t start_ip, ip_range, aug_size, addr = *addrp; in dwarf_extract_proc_info_from_fde()
269 *addrp = fde_end_addr = addr + u32val; in dwarf_extract_proc_info_from_fde()
297 *addrp = fde_end_addr = addr + u64val; in dwarf_extract_proc_info_from_fde()
/external/elfutils/include/elfutils/
Dlibdw.h614 extern int dwarf_lineaddr (Dwarf_Line *line, Dwarf_Addr *addrp);
797 extern int dwarf_getarangeinfo (Dwarf_Arange *arange, Dwarf_Addr *addrp,
/external/ppp/pppd/plugins/radius/
Dradius.c90 static void radius_choose_ip(u_int32_t *addrp);
223 radius_choose_ip(u_int32_t *addrp) in radius_choose_ip() argument
226 *addrp = rstate.ip_addr; in radius_choose_ip()
/external/valgrind/coregrind/m_gdbserver/
Dserver.h298 void decode_address (CORE_ADDR *addrp, const char *start, int len);
Dremote-utils.c624 void decode_address (CORE_ADDR *addrp, const char *start, int len) in decode_address() argument
636 *addrp = addr; in decode_address()
/external/libevent/
Devutil.c995 void *addrp; in addrinfo_from_hostent() local
1003 addrp = &sin.sin_addr; in addrinfo_from_hostent()
1014 addrp = &sin6.sin6_addr; in addrinfo_from_hostent()
1023 memcpy(addrp, ent->h_addr_list[i], ent->h_length); in addrinfo_from_hostent()
Devdns.c4315 void *addrp; in evdns_getaddrinfo_gotresolve() local
4417 addrp = &sin.sin_addr.s_addr; in evdns_getaddrinfo_gotresolve()
4426 addrp = &sin6.sin6_addr.s6_addr; in evdns_getaddrinfo_gotresolve()
4432 memcpy(addrp, ((char*)addresses)+i*addrlen, addrlen); in evdns_getaddrinfo_gotresolve()
/external/selinux/libsepol/src/
Dservices.c1916 void *addrp, in sepol_node_sid() argument
1931 addr = *((uint32_t *) addrp); in sepol_node_sid()
1950 if (match_ipv6_addrmask(addrp, c->u.node6.addr, in sepol_node_sid()
/external/ltrace/sysdeps/linux-gnu/
Dtrace.c1377 libsym_at_address(struct library_symbol *libsym, void *addrp) in libsym_at_address() argument
1379 arch_addr_t addr = *(arch_addr_t *)addrp; in libsym_at_address()