Home
last modified time | relevance | path

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

/third_party/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()
400 (struct sockaddr*)&haddr); in tcpsvd_main()
/third_party/curl/lib/
Dnoproxy.c63 unsigned int haddr = htonl(address); in Curl_cidr4_match() local
67 ipv4, haddr, network, hcheck, bits, mask, in Curl_cidr4_match()
68 (haddr ^ hcheck) & mask); in Curl_cidr4_match()
70 if((haddr ^ hcheck) & mask) in Curl_cidr4_match()
/third_party/python/Modules/
Dsocketmodule.c1986 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()