Searched refs:sockaddr_in (Results 1 – 20 of 20) sorted by relevance
/bionic/tests/headers/posix/ |
D | netinet_in_h.c | 43 TYPE(struct sockaddr_in); in netinet_in_h() 44 STRUCT_MEMBER(struct sockaddr_in, sa_family_t, sin_family); in netinet_in_h() 45 STRUCT_MEMBER(struct sockaddr_in, in_port_t, sin_port); in netinet_in_h() 46 STRUCT_MEMBER(struct sockaddr_in, struct in_addr, sin_addr); in netinet_in_h()
|
/bionic/libc/kernel/uapi/linux/ |
D | if_pppol2tp.h | 28 struct sockaddr_in addr; 42 struct sockaddr_in addr;
|
D | nfs_mount.h | 40 struct sockaddr_in addr;
|
D | rxrpc.h | 31 struct sockaddr_in sin;
|
D | in.h | 183 struct sockaddr_in { struct
|
/bionic/libc/bionic/ |
D | netinet_in.cpp | 42 int bindresvport(int sd, struct sockaddr_in* sin) { in bindresvport() 43 sockaddr_in sin0; in bindresvport()
|
D | ifaddrs.cpp | 149 sockaddr_in* ss4 = reinterpret_cast<sockaddr_in*>(ss); in SockaddrBytes()
|
/bionic/tests/ |
D | ifaddrs_test.cpp | 60 const sockaddr_in* sa_inet4 = reinterpret_cast<const sockaddr_in*>(lo_inet4->ifa_addr); in TEST() 132 sockaddr_in* sock = reinterpret_cast<sockaddr_in*>(&ifr.ifr_addr); in CheckAddressIsInSet() 147 auto sock = reinterpret_cast<sockaddr_in*>(addr->ifa_addr); in TEST() 151 auto sock = reinterpret_cast<sockaddr_in*>(addr->ifa_broadaddr); in TEST() 177 (family == AF_INET) ? sizeof(sockaddr_in) : sizeof(sockaddr_in6), in print_sockaddr_inet()
|
D | netdb_test.cpp | 37 ASSERT_EQ(25U, ntohs(reinterpret_cast<sockaddr_in*>(ai->ai_addr)->sin_port)); in TEST() 76 ASSERT_EQ(25, ntohs(reinterpret_cast<sockaddr_in*>(ai->ai_addr)->sin_port)); in TEST() 122 socklen_t just_right = sizeof(sockaddr_in); in TEST() 123 socklen_t too_little = sizeof(sockaddr_in) - 1; in TEST() 144 sockaddr_in addr; in TEST() 146 memset(&addr, 0, sizeof(sockaddr_in)); in TEST()
|
D | netinet_in_test.cpp | 39 sockaddr_in sin = {.sin_family = AF_INET6}; in TEST()
|
D | fdtrack_test.cpp | 306 sockaddr_in addr = { in CreateListener()
|
/bionic/libc/include/netinet/ |
D | in.h | 46 int bindresvport(int __fd, struct sockaddr_in* __sin);
|
/bionic/libc/dns/include/ |
D | resolv_private.h | 152 struct sockaddr_in 215 struct sockaddr_in sin; 335 int res_isourserver(const struct sockaddr_in *); 460 int res_nisourserver(const res_state, const struct sockaddr_in *);
|
/bionic/libc/dns/net/ |
D | getnameinfo.c | 90 {PF_INET, sizeof(struct in_addr), sizeof(struct sockaddr_in), 91 offsetof(struct sockaddr_in, sin_addr)}, 242 ntohl(((const struct sockaddr_in *) in getnameinfo_inet()
|
D | getaddrinfo.c | 114 struct sockaddr_in in; 155 sizeof(struct sockaddr_in), 156 offsetof(struct sockaddr_in, sin_addr), 386 static const struct sockaddr_in sin_test = { in _have_ipv4() 1213 ((struct sockaddr_in *)(void *) in get_port() 1531 const struct sockaddr_in *addr4 = (const struct sockaddr_in *)addr; in _get_scope() 1795 len = sizeof(struct sockaddr_in); in _find_src_addr()
|
/bionic/libc/dns/resolv/ |
D | res_send.c | 157 struct sockaddr_in sin; 224 const struct sockaddr_in *inp, *srv; in res_ourserver_p() 230 inp = (const struct sockaddr_in *)(const void *)sa; in res_ourserver_p() 232 srv = (struct sockaddr_in *)(void *)get_nsaddr(statp, (size_t)ns); in res_ourserver_p() 452 struct sockaddr_in ina; in res_nsend() 694 return (sizeof(struct sockaddr_in)); 1328 struct sockaddr_in *a4, *b4; in sock_eq() 1335 a4 = (struct sockaddr_in *)(void *)a; in sock_eq() 1336 b4 = (struct sockaddr_in *)(void *)b; in sock_eq()
|
D | res_data.cpp | 124 int res_isourserver(const struct sockaddr_in* inp) { in res_isourserver()
|
D | res_init.c | 211 u[nserv].sin.sin_len = sizeof(struct sockaddr_in); in __res_vinit()
|
/bionic/libc/upstream-netbsd/lib/libc/isc/ |
D | eventlib_p.h | 95 struct sockaddr_in in; 103 struct sockaddr_in in;
|
/bionic/libc/kernel/uapi/rdma/ |
D | rdma_user_rxe.h | 49 struct sockaddr_in _sockaddr_in;
|