/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 */ 241 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 | 157 struct sockaddr ifru_addr; 159 struct sockaddr ifru_dstaddr; 160 struct sockaddr ifru_broadaddr; 161 struct sockaddr ifru_netmask; 162 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 | __recvfrom_chk.cpp | 36 int flags, const struct sockaddr* src_addr, in __recvfrom_chk()
|
D | netinet_in.cpp | 63 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 | 75 struct sockaddr { struct 271 __socketcall int accept(int, struct sockaddr*, socklen_t*); 272 __socketcall int accept4(int, struct sockaddr*, socklen_t*, int); 273 __socketcall int bind(int, const struct sockaddr*, int); 274 __socketcall int connect(int, const struct sockaddr*, socklen_t); 275 __socketcall int getpeername(int, struct sockaddr*, socklen_t*); 276 __socketcall int getsockname(int, struct sockaddr*, socklen_t*); 291 __socketcall ssize_t sendto(int, const void*, size_t, int, const struct sockaddr*, socklen_t); 292 __socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*); 295 extern ssize_t __recvfrom_chk(int, void*, size_t, size_t, int, const struct sockaddr*, socklen_t*); [all …]
|
/bionic/libc/dns/net/ |
D | getnameinfo.c | 95 static int getnameinfo_inet(const struct sockaddr *, socklen_t, char *, 98 static int ip6_parsenumeric(const struct sockaddr *, const char *, char *, 102 static int getnameinfo_local(const struct sockaddr *, socklen_t, char *, 109 int getnameinfo(const struct sockaddr* sa, socklen_t salen, char* host, size_t hostlen, in getnameinfo() 116 int android_getnameinfofornet(const struct sockaddr* sa, socklen_t salen, char* host, in android_getnameinfofornet() 139 getnameinfo_local(const struct sockaddr *sa, socklen_t salen, in getnameinfo_local() 165 getnameinfo_inet(const struct sockaddr* sa, socklen_t salen, in getnameinfo_inet() 354 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 | 140 static int get_salen __P((const struct sockaddr *)); 141 static struct sockaddr * get_nsaddr __P((res_state, size_t)); 150 const struct sockaddr *, int); 152 static int sock_eq(struct sockaddr *, struct sockaddr *); 159 static int connect_with_timeout(int sock, const struct sockaddr *nsap, 166 struct sockaddr sa; 233 res_ourserver_p(const res_state statp, const struct sockaddr *sa) { in res_ourserver_p() 413 !sock_eq((struct sockaddr *)(void *)&statp->nsaddr_list[ns], in res_nsend() 414 (struct sockaddr *)(void *)&EXT(statp).ext->nsaddrs[ns])) { in res_nsend() 423 (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()
|
/bionic/libc/dns/include/ |
D | resolv_netid.h | 101 int android_getnameinfofornet(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, i…
|