Home
last modified time | relevance | path

Searched refs:sockaddr (Results 1 – 25 of 37) sorted by relevance

12

/bionic/libc/kernel/uapi/linux/
Dif_arp.h114 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;
Droute.h26 struct sockaddr rt_dst;
27 struct sockaddr rt_gateway;
29 struct sockaddr rt_genmask;
Dif.h157 struct sockaddr ifru_addr;
159 struct sockaddr ifru_dstaddr;
160 struct sockaddr ifru_broadaddr;
161 struct sockaddr ifru_netmask;
162 struct sockaddr ifru_hwaddr;
Dwireless.h361 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 …]
Dsocket.h22 #define _K_SS_ALIGNSIZE (__alignof__(struct sockaddr *))
Derrqueue.h41 #define SO_EE_OFFENDER(ee) ((struct sockaddr *) ((ee) + 1))
Dvm_sockets.h49 …unsigned char svm_zero[sizeof(struct sockaddr) - sizeof(sa_family_t) - sizeof(unsigned short) - si…
Dnfs4_mount.h46 struct sockaddr __user * host_addr;
Dphonet.h97 __u8 spn_zero[sizeof(struct sockaddr) - sizeof(__kernel_sa_family_t) - 3];
Dl2tp.h34 …unsigned char __pad[sizeof(struct sockaddr) - sizeof(__kernel_sa_family_t) - sizeof(__be16) - size…
/bionic/libc/private/
DNetdClientDispatch.h26 int (*accept4)(int, struct sockaddr*, socklen_t*, int);
27 int (*connect)(int, const struct sockaddr*, socklen_t);
/bionic/libc/bionic/
DNetdClientDispatch.cpp25 extern "C" __socketcall int __accept4(int, sockaddr*, socklen_t*, int);
26 extern "C" __socketcall int __connect(int, const sockaddr*, socklen_t);
Daccept.cpp19 int accept(int sockfd, sockaddr* addr, socklen_t* addrlen) { in accept()
Dconnect.cpp21 int connect(int sockfd, const sockaddr* addr, socklen_t addrlen) { in connect()
Daccept4.cpp21 int accept4(int sockfd, sockaddr* addr, socklen_t* addrlen, int flags) { in accept4()
D__recvfrom_chk.cpp36 int flags, const struct sockaddr* src_addr, in __recvfrom_chk()
Dbindresvport.c65 ret = bind(sd, (struct sockaddr*)sin, sizeof(*sin)); in bindresvport()
/bionic/libc/include/sys/
Dsocket.h79 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/
Dgetnameinfo.c95 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/
Dres_private.h20 res_ourserver_p(const res_state statp, const struct sockaddr *sa);
Dres_send.c144 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/
Dsys_socket_test.cpp49 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()
Dfortify_compilation_test.cpp187 recvfrom(0, buf, 6, 0, reinterpret_cast<sockaddr*>(&addr), NULL); in test_recvfrom()
/bionic/libc/dns/include/
Dresolv_netid.h100 int android_getnameinfofornet(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, i…
/bionic/libc/include/
Dnetdb.h117 struct sockaddr *ai_addr; /* binary address */
241 int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);

12