Home
last modified time | relevance | path

Searched refs:haddr (Results 1 – 19 of 19) sorted by relevance

/external/u-boot/board/freescale/common/
Dcmd_esbc_validate.c30 uintptr_t haddr; in do_esbc_validate() local
42 haddr = (uintptr_t)simple_strtoul(argv[1], NULL, 16); in do_esbc_validate()
48 ret = fsl_secboot_validate(haddr, hash_str, &img_addr); in do_esbc_validate()
Dfsl_validate.c858 int fsl_secboot_validate(uintptr_t haddr, char *arg_hash_str, in fsl_secboot_validate() argument
908 img->ehdrloc = haddr; in fsl_secboot_validate()
/external/toybox/toys/pending/
Dtcpsvd.c220 static int create_bind_sock(char *host, struct sockaddr *haddr) in create_bind_sock() argument
252 if(haddr) memcpy(haddr, rp->ai_addr, rp->ai_addrlen); in create_bind_sock()
269 char haddr[sizeof(struct sockaddr_in6)]; in tcpsvd_main() local
286 fd = create_bind_sock(toys.optargs[0], (struct sockaddr*)&haddr); in tcpsvd_main()
294 server = sock_to_address((struct sockaddr*)&haddr, NI_NUMERICHOST|NI_NUMERICSERV); in tcpsvd_main()
359 else serv = sock_to_address((struct sockaddr*)&haddr, 0); in tcpsvd_main()
401 (struct sockaddr*)&haddr); in tcpsvd_main()
/external/iptables/extensions/
Dlibip6t_DNPT.c40 npt->src_pfx = cb->val.haddr; in DNPT_parse()
44 npt->dst_pfx = cb->val.haddr; in DNPT_parse()
Dlibip6t_SNPT.c40 npt->src_pfx = cb->val.haddr; in SNPT_parse()
44 npt->dst_pfx = cb->val.haddr; in SNPT_parse()
Dlibxt_policy.c133 memcpy(&e->saddr, &cb->val.haddr, sizeof(cb->val.haddr)); in policy_parse()
142 memcpy(&e->daddr, &cb->val.haddr, sizeof(cb->val.haddr)); in policy_parse()
Dlibxt_conntrack.c362 sinfo->tuple[IP_CT_DIR_ORIGINAL].src.ip = cb->val.haddr.ip; in conntrack_parse()
368 sinfo->tuple[IP_CT_DIR_ORIGINAL].dst.ip = cb->val.haddr.ip; in conntrack_parse()
374 sinfo->tuple[IP_CT_DIR_REPLY].src.ip = cb->val.haddr.ip; in conntrack_parse()
380 sinfo->tuple[IP_CT_DIR_REPLY].dst.ip = cb->val.haddr.ip; in conntrack_parse()
424 info->origsrc_addr = cb->val.haddr; in conntrack_mt_parse()
431 info->origdst_addr = cb->val.haddr; in conntrack_mt_parse()
438 info->replsrc_addr = cb->val.haddr; in conntrack_mt_parse()
445 info->repldst_addr = cb->val.haddr; in conntrack_mt_parse()
Dlibxt_ipvs.c76 memcpy(&data->vaddr, &cb->val.haddr, sizeof(cb->val.haddr)); in ipvs_mt_parse()
Dlibip6t_NETMAP.c45 range->min_addr.ip6[i] = cb->val.haddr.ip6[i] & in NETMAP_parse()
Dlibipt_NETMAP.c61 range->min_ip = cb->val.haddr.ip & cb->val.hmask.ip; in NETMAP_parse()
Dlibxt_TPROXY.c132 info->laddr = cb->val.haddr.ip; in tproxy_tg0_parse()
/external/ipsec-tools/src/racoon/
Dcfparse.y1242 struct sockaddr *laddr = NULL, *haddr = NULL; variable
1258 haddr = str2saddr($3->v, portbuf);
1259 if (haddr == NULL) {
1271 if (haddr)
1272 racoon_free(haddr);
1275 $$ = ipsecdoi_sockrange2id(laddr, haddr,
1284 if (haddr)
1285 racoon_free(haddr);
1288 $$ = ipsecdoi_sockrange2id(laddr, haddr,
1299 if (haddr)
[all …]
Dipsec_doi.c4194 ipsecdoi_sockrange2id(laddr, haddr, ul_proto) in ipsecdoi_sockrange2id() argument
4195 struct sockaddr *laddr, *haddr; in ipsecdoi_sockrange2id()
4202 if (laddr->sa_family != haddr->sa_family) {
4252 (caddr_t)&((struct sockaddr_in *)haddr)->sin_addr,
/external/iptables/libxtables/
Dxtoptions.c531 memset(&cb->val.haddr, 0, sizeof(cb->val.haddr)); in xtopt_parse_host()
532 memcpy(&cb->val.haddr, in xtopt_parse_host()
538 if (memcmp(&cb->val.haddr, in xtopt_parse_host()
549 memcpy(XTOPT_MKPTR(cb), &cb->val.haddr, in xtopt_parse_host()
550 sizeof(cb->val.haddr)); in xtopt_parse_host()
/external/u-boot/include/
Dfsl_validate.h267 int fsl_secboot_validate(uintptr_t haddr, char *arg_hash_str,
/external/iproute2/include/
Dxtables.h161 union nf_inet_addr haddr, hmask; member
/external/python/cpython3/Modules/
Dsocketmodule.c1893 Py_buffer haddr = {NULL, NULL}; in getsockaddrarg() local
1905 &haddr)) in getsockaddrarg()
1911 PyBuffer_Release(&haddr); in getsockaddrarg()
1914 if (haddr.buf && haddr.len > 8) { in getsockaddrarg()
1917 PyBuffer_Release(&haddr); in getsockaddrarg()
1924 PyBuffer_Release(&haddr); in getsockaddrarg()
1933 if (haddr.buf) { in getsockaddrarg()
1934 memcpy(&addr->sll_addr, haddr.buf, haddr.len); in getsockaddrarg()
1935 addr->sll_halen = haddr.len; in getsockaddrarg()
1940 PyBuffer_Release(&haddr); in getsockaddrarg()
/external/iptables/include/
Dxtables.h161 union nf_inet_addr haddr, hmask; member
/external/python/cpython2/Modules/
Dsocketmodule.c1519 char *haddr = NULL; in getsockaddrarg() local
1532 &haddr, &halen)) in getsockaddrarg()
1558 memcpy(&addr->sll_addr, haddr, halen); in getsockaddrarg()