/bionic/libc/include/ |
D | ifaddrs.h | 42 struct sockaddr* ifa_addr; 43 struct sockaddr* ifa_netmask; 45 struct sockaddr* ifu_broadaddr; 46 struct sockaddr* ifu_dstaddr;
|
D | netdb.h | 117 struct sockaddr *ai_addr; /* binary address */ 225 int getnameinfo(const struct sockaddr*, socklen_t, char*, size_t, char*, size_t, int);
|
/bionic/libc/kernel/uapi/linux/ |
D | if_arp.h | 114 struct sockaddr arp_pa; 115 struct sockaddr arp_ha; 117 struct sockaddr arp_netmask; 122 struct sockaddr arp_pa; 124 struct sockaddr arp_ha; 126 struct sockaddr arp_netmask;
|
D | route.h | 26 struct sockaddr rt_dst; 27 struct sockaddr rt_gateway; 29 struct sockaddr rt_genmask;
|
D | if.h | 156 struct sockaddr ifru_addr; 157 struct sockaddr ifru_dstaddr; 159 struct sockaddr ifru_broadaddr; 160 struct sockaddr ifru_netmask; 161 struct sockaddr ifru_hwaddr;
|
D | wireless.h | 361 struct sockaddr addr; 374 struct sockaddr bssid; 386 struct sockaddr addr; 396 struct sockaddr addr; 406 struct sockaddr bssid; 412 struct sockaddr src_addr; 421 struct sockaddr bssid; 450 struct sockaddr ap_addr; 451 struct sockaddr addr; 540 #define IW_EV_ADDR_LEN (IW_EV_LCP_LEN + sizeof(struct sockaddr)) [all …]
|
D | socket.h | 22 #define _K_SS_ALIGNSIZE (__alignof__(struct sockaddr *))
|
D | errqueue.h | 41 #define SO_EE_OFFENDER(ee) ((struct sockaddr *) ((ee) + 1))
|
D | vm_sockets.h | 49 …unsigned char svm_zero[sizeof(struct sockaddr) - sizeof(sa_family_t) - sizeof(unsigned short) - si…
|
D | nfs4_mount.h | 46 struct sockaddr __user * host_addr;
|
D | phonet.h | 97 __u8 spn_zero[sizeof(struct sockaddr) - sizeof(__kernel_sa_family_t) - 3];
|
/bionic/libc/private/ |
D | NetdClientDispatch.h | 26 int (*accept4)(int, struct sockaddr*, socklen_t*, int); 27 int (*connect)(int, const struct sockaddr*, socklen_t);
|
/bionic/libc/bionic/ |
D | NetdClientDispatch.cpp | 25 extern "C" __socketcall int __accept4(int, sockaddr*, socklen_t*, int); 26 extern "C" __socketcall int __connect(int, const sockaddr*, socklen_t);
|
D | accept.cpp | 19 int accept(int sockfd, sockaddr* addr, socklen_t* addrlen) { in accept()
|
D | connect.cpp | 21 int connect(int sockfd, const sockaddr* addr, socklen_t addrlen) { in connect()
|
D | accept4.cpp | 21 int accept4(int sockfd, sockaddr* addr, socklen_t* addrlen, int flags) { in accept4()
|
D | netinet_in.cpp | 64 int rc = TEMP_FAILURE_RETRY(bind(sd, reinterpret_cast<sockaddr*>(sin), sizeof(*sin))); in bindresvport()
|
D | ifaddrs.cpp | 100 ifa.ifa_dstaddr = reinterpret_cast<sockaddr*>(memcpy(&ifa_ifu, &addr, sizeof(addr))); in SetLocalAddress() 116 ifa.ifa_netmask = reinterpret_cast<sockaddr*>(&netmask); in SetNetmask() 127 sockaddr* CopyAddress(int family, const void* data, size_t byteCount, sockaddr_storage* ss) { in CopyAddress() 140 return reinterpret_cast<sockaddr*>(ss); in CopyAddress()
|
/bionic/libc/include/sys/ |
D | socket.h | 76 struct sockaddr { struct 302 __socketcall int accept(int, struct sockaddr*, socklen_t*); 303 __socketcall int accept4(int, struct sockaddr*, socklen_t*, int) __INTRODUCED_IN(21); 304 __socketcall int bind(int, const struct sockaddr*, socklen_t); 305 __socketcall int connect(int, const struct sockaddr*, socklen_t); 306 __socketcall int getpeername(int, struct sockaddr*, socklen_t*); 307 __socketcall int getsockname(int, struct sockaddr*, socklen_t*); 323 __socketcall ssize_t sendto(int, const void*, size_t, int, const struct sockaddr*, socklen_t) 325 __socketcall ssize_t recvfrom(int, void*, size_t, int, struct sockaddr*, 328 extern ssize_t __sendto_chk(int, const void*, size_t, size_t, int, const struct sockaddr*, [all …]
|
/bionic/libc/dns/net/ |
D | getnameinfo.c | 92 static int getnameinfo_inet(const struct sockaddr *, socklen_t, char *, 95 static int ip6_parsenumeric(const struct sockaddr *, const char *, char *, 99 static int getnameinfo_local(const struct sockaddr *, socklen_t, char *, 106 int getnameinfo(const struct sockaddr* sa, socklen_t salen, char* host, size_t hostlen, in getnameinfo() 113 int android_getnameinfofornet(const struct sockaddr* sa, socklen_t salen, char* host, in android_getnameinfofornet() 136 getnameinfo_local(const struct sockaddr *sa, socklen_t salen, in getnameinfo_local() 162 getnameinfo_inet(const struct sockaddr* sa, socklen_t salen, in getnameinfo_inet() 351 ip6_parsenumeric(const struct sockaddr *sa, const char *addr, char *host, in ip6_parsenumeric()
|
/bionic/libc/dns/resolv/ |
D | res_private.h | 20 res_ourserver_p(const res_state statp, const struct sockaddr *sa);
|
D | res_send.c | 139 static int get_salen __P((const struct sockaddr *)); 140 static struct sockaddr * get_nsaddr __P((res_state, size_t)); 149 const struct sockaddr *, int); 151 static int sock_eq(struct sockaddr *, struct sockaddr *); 158 static int connect_with_timeout(int sock, const struct sockaddr *nsap, 165 struct sockaddr sa; 232 res_ourserver_p(const res_state statp, const struct sockaddr *sa) { in res_ourserver_p() 412 !sock_eq((struct sockaddr *)(void *)&statp->nsaddr_list[ns], in res_nsend() 413 (struct sockaddr *)(void *)&EXT(statp).ext->nsaddrs[ns])) { in res_nsend() 422 (struct sockaddr *)(void *)&peer, &peerlen) < 0) { in res_nsend() [all …]
|
/bionic/tests/ |
D | sys_socket_test.cpp | 49 if (connect(fd, reinterpret_cast<struct sockaddr*>(&addr), sizeof(addr)) < 0) { in ConnectFn() 73 …ASSERT_NE(-1, bind(fd, reinterpret_cast<struct sockaddr*>(&addr), sizeof(addr))) << strerror(errno… in RunTest() 106 int fd_acc = accept4(fd, reinterpret_cast<struct sockaddr*>(addr), &len, SOCK_CLOEXEC); in TestAccept4() 139 int fd_acc = accept(fd, reinterpret_cast<struct sockaddr*>(addr), &len); in TestRecvMMsg() 207 int fd_acc = accept(fd, reinterpret_cast<struct sockaddr*>(addr), &len); in TestSendMMsg()
|
D | fortify_compilation_test.cpp | 188 recvfrom(0, buf, 6, 0, reinterpret_cast<sockaddr*>(&addr), NULL); in test_recvfrom() 321 sendto(0, buf, 6, 0, reinterpret_cast<sockaddr*>(&addr), sizeof(sockaddr_in)); in test_sendto()
|
/bionic/libc/dns/include/ |
D | resolv_netid.h | 101 int android_getnameinfofornet(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, i…
|