/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];
|
D | l2tp.h | 34 …unsigned char __pad[sizeof(struct sockaddr) - sizeof(__kernel_sa_family_t) - sizeof(__be16) - size…
|
/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 | bindresvport.c | 65 ret = bind(sd, (struct sockaddr*)sin, sizeof(*sin)); in bindresvport()
|
/bionic/libc/include/sys/ |
D | socket.h | 79 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 | 144 static int get_salen __P((const struct sockaddr *)); 145 static struct sockaddr * get_nsaddr __P((res_state, size_t)); 152 const struct sockaddr *, int); 154 static int sock_eq(struct sockaddr *, struct sockaddr *); 161 static int connect_with_timeout(int sock, const struct sockaddr *nsap, 168 struct sockaddr sa; 235 res_ourserver_p(const res_state statp, const struct sockaddr *sa) { in res_ourserver_p() 428 !sock_eq((struct sockaddr *)(void *)&statp->nsaddr_list[ns], in res_nsend() 429 (struct sockaddr *)(void *)&EXT(statp).ext->nsaddrs[ns])) { in res_nsend() 438 (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 | 187 recvfrom(0, buf, 6, 0, reinterpret_cast<sockaddr*>(&addr), NULL); in test_recvfrom()
|
/bionic/libc/dns/include/ |
D | resolv_netid.h | 100 int android_getnameinfofornet(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, i…
|
/bionic/libc/include/ |
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);
|