Searched refs:haddr (Results 1 – 13 of 13) sorted by relevance
/third_party/toybox/toys/pending/ |
D | tcpsvd.c | 220 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() 400 (struct sockaddr*)&haddr); in tcpsvd_main()
|
/third_party/iptables/extensions/ |
D | libip6t_DNPT.c | 40 npt->src_pfx = cb->val.haddr; in DNPT_parse() 44 npt->dst_pfx = cb->val.haddr; in DNPT_parse()
|
D | libip6t_SNPT.c | 40 npt->src_pfx = cb->val.haddr; in SNPT_parse() 44 npt->dst_pfx = cb->val.haddr; in SNPT_parse()
|
D | libxt_policy.c | 133 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()
|
D | libxt_ipvs.c | 73 memcpy(&data->vaddr, &cb->val.haddr, sizeof(cb->val.haddr)); in ipvs_mt_parse()
|
D | libxt_conntrack.c | 362 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()
|
D | libip6t_NETMAP.c | 45 range->min_addr.ip6[i] = cb->val.haddr.ip6[i] & in NETMAP_parse()
|
D | libipt_NETMAP.c | 61 range->min_ip = cb->val.haddr.ip & cb->val.hmask.ip; in NETMAP_parse()
|
D | libip6t_srh.c | 261 srhinfo->psid_addr = cb->val.haddr.in6; in srh1_parse() 268 srhinfo->nsid_addr = cb->val.haddr.in6; in srh1_parse() 275 srhinfo->lsid_addr = cb->val.haddr.in6; in srh1_parse()
|
D | libxt_TPROXY.c | 132 info->laddr = cb->val.haddr.ip; in tproxy_tg0_parse()
|
/third_party/iptables/libxtables/ |
D | xtoptions.c | 515 memset(&cb->val.haddr, 0, sizeof(cb->val.haddr)); in xtopt_parse_host() 516 memcpy(&cb->val.haddr, in xtopt_parse_host() 522 if (memcmp(&cb->val.haddr, in xtopt_parse_host() 533 memcpy(XTOPT_MKPTR(cb), &cb->val.haddr, in xtopt_parse_host() 534 sizeof(cb->val.haddr)); in xtopt_parse_host()
|
/third_party/iptables/include/ |
D | xtables.h | 161 union nf_inet_addr haddr, hmask; member
|
/third_party/python/Modules/ |
D | socketmodule.c | 1986 Py_buffer haddr = {NULL, NULL}; in getsockaddrarg() local 2002 &haddr)) in getsockaddrarg() 2015 PyBuffer_Release(&haddr); in getsockaddrarg() 2018 if (haddr.buf && haddr.len > 8) { in getsockaddrarg() 2021 PyBuffer_Release(&haddr); in getsockaddrarg() 2028 PyBuffer_Release(&haddr); in getsockaddrarg() 2037 if (haddr.buf) { in getsockaddrarg() 2038 memcpy(&addr->sll_addr, haddr.buf, haddr.len); in getsockaddrarg() 2039 addr->sll_halen = haddr.len; in getsockaddrarg() 2044 PyBuffer_Release(&haddr); in getsockaddrarg()
|