Home
last modified time | relevance | path

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

/bionic/libc/kernel/common/linux/
Dif_arp.h109 struct sockaddr arp_pa;
110 struct sockaddr arp_ha;
112 struct sockaddr arp_netmask;
117 struct sockaddr arp_pa;
119 struct sockaddr arp_ha;
121 struct sockaddr arp_netmask;
Droute.h27 struct sockaddr rt_dst;
29 struct sockaddr rt_gateway;
30 struct sockaddr rt_genmask;
Dif.h150 struct sockaddr ifru_addr;
151 struct sockaddr ifru_dstaddr;
152 struct sockaddr ifru_broadaddr;
154 struct sockaddr ifru_netmask;
155 struct sockaddr ifru_hwaddr;
Dwireless.h340 struct sockaddr addr;
354 struct sockaddr bssid;
367 struct sockaddr addr;
379 struct sockaddr addr;
390 struct sockaddr bssid;
397 struct sockaddr src_addr;
407 struct sockaddr bssid;
439 struct sockaddr ap_addr;
440 struct sockaddr addr;
534 #define IW_EV_ADDR_LEN (IW_EV_LCP_LEN + sizeof(struct sockaddr))
Dsocket.h22 #define _K_SS_ALIGNSIZE (__alignof__ (struct sockaddr *))
Derrqueue.h39 #define SO_EE_OFFENDER(ee) ((struct sockaddr*)((ee)+1))
/bionic/libc/unistd/
Dsocketcalls.c68 int bind(int sockfd, const struct sockaddr *my_addr, socklen_t addrlen) in bind()
81 int connect(int sockfd, const struct sockaddr *serv_addr, socklen_t addrlen ) in connect()
106 int accept(int sock, struct sockaddr *adresse, socklen_t *longueur) in accept()
119 int getsockname(int s, struct sockaddr * name, socklen_t * namelen ) in getsockname()
132 int getpeername(int s, struct sockaddr *name, socklen_t *namelen) in getpeername()
160 const struct sockaddr *dest_addr, socklen_t dest_len) in sendto()
177 const struct sockaddr *address, socklen_t *address_len) in recvfrom()
Dsyslog.c305 struct sockaddr syslogAddr; in connectlog_r()
/bionic/libc/include/sys/
Dsocket.h74 struct sockaddr { struct
261 __socketcall int bind(int, const struct sockaddr *, int);
262 __socketcall int connect(int, const struct sockaddr *, socklen_t);
264 __socketcall int accept(int, struct sockaddr *, socklen_t *);
265 __socketcall int getsockname(int, struct sockaddr *, socklen_t *);
266 __socketcall int getpeername(int, struct sockaddr *, socklen_t *);
277 __socketcall ssize_t sendto(int, const void *, size_t, int, const struct sockaddr *, socklen_t);
278 __socketcall ssize_t recvfrom(int, void *, size_t, unsigned int, const struct sockaddr *, socklen_t…
/bionic/libc/netbsd/resolv/
Dres_private.h20 res_ourserver_p(const res_state statp, const struct sockaddr *sa);
Dres_send.c143 static int get_salen __P((const struct sockaddr *));
144 static struct sockaddr * get_nsaddr __P((res_state, size_t));
151 const struct sockaddr *, int);
153 static int sock_eq(struct sockaddr *, struct sockaddr *);
160 static int connect_with_timeout(int sock, const struct sockaddr *nsap,
167 struct sockaddr sa;
234 res_ourserver_p(const res_state statp, const struct sockaddr *sa) { in res_ourserver_p()
415 !sock_eq((struct sockaddr *)(void *)&statp->nsaddr_list[ns], in res_nsend()
416 (struct sockaddr *)(void *)&EXT(statp).ext->nsaddrs[ns])) { in res_nsend()
425 (struct sockaddr *)(void *)&peer, &peerlen) < 0) { in res_nsend()
[all …]
Dres_data.c83 int res_ourserver_p(const res_state, const struct sockaddr *);
230 return (res_ourserver_p(&_nres, (const struct sockaddr *)(const void *)inp)); in res_isourserver()
/bionic/libc/inet/
Dbindresvport.c65 ret = bind(sd, (struct sockaddr*)sin, sizeof(*sin)); in bindresvport()
/bionic/libc/netbsd/net/
Dgetnameinfo.c101 static int getnameinfo_inet __P((const struct sockaddr *, socklen_t, char *,
104 static int ip6_parsenumeric __P((const struct sockaddr *, const char *, char *,
110 static int getnameinfo_link __P((const struct sockaddr *, socklen_t, char *,
123 int getnameinfo(const struct sockaddr* sa, socklen_t salen, char* host, size_t hostlen, char* serv,… in getnameinfo()
181 if (TEMP_FAILURE_RETRY(connect(sock, (const struct sockaddr*) (void*) &proxy_addr, in android_gethostbyaddr_proxy()
250 const struct sockaddr *sa; in getnameinfo_inet()
461 const struct sockaddr *sa; in ip6_parsenumeric()
561 getnameinfo_link(const struct sockaddr *sa, socklen_t salen, in getnameinfo_link()
Dgetaddrinfo.c112 struct sockaddr generic;
360 _test_connect(int pf, struct sockaddr *addr, size_t addrlen) { in _test_connect()
459 (const struct sockaddr*) &proxy_addr, in android_getaddrinfo_proxy()
539 struct sockaddr* addr = (struct sockaddr*)(ai + 1); in android_getaddrinfo_proxy()
1119 ai->ai_addr = (struct sockaddr *)(void *)(ai + 1); in get_ai()
1503 _get_scope(const struct sockaddr *addr) in _get_scope()
1567 _get_label(const struct sockaddr *addr) in _get_label()
1608 _get_precedence(const struct sockaddr *addr) in _get_precedence()
1778 _find_src_addr(const struct sockaddr *addr, struct sockaddr *src_addr) in _find_src_addr()
/bionic/libc/include/
Dnetdb.h120 struct sockaddr *ai_addr; /* binary address */
242 int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
/bionic/libc/
DSYSCALLS.TXT232 int bind(int, struct sockaddr *, int) 282,-1,169
233 int connect(int, struct sockaddr *, socklen_t) 283,-1,170
235 int accept(int, struct sockaddr *, socklen_t *) 285,-1,168
236 int getsockname(int, struct sockaddr *, socklen_t *) 286,-1,172
237 int getpeername(int, struct sockaddr *, socklen_t *) 287,-1,171
238 int sendto(int, const void *, size_t, int, const struct sockaddr *, socklen_t) 290,-1,180
239 int recvfrom(int, void *, size_t, unsigned int, struct sockaddr *, socklen_t *) 292,-1,1…
248 int bind:socketcall:2 (int, struct sockaddr *, int) -1,102,-1
249 int connect:socketcall:3(int, struct sockaddr *, socklen_t) -1,102,-1
251 int accept:socketcall:5(int, struct sockaddr *, socklen_t *) -1,102,-1
[all …]
/bionic/libc/netbsd/isc/
Deventlib_p.h97 struct sockaddr sa;
105 struct sockaddr sa;
/bionic/libc/include/net/
Dif_ether.h159 int ether_multiaddr(struct sockaddr *, u_int8_t[], u_int8_t[]);
/bionic/libc/private/
Dresolv_private.h109 typedef res_sendhookact (*res_send_qhook)(struct sockaddr * const *,
113 typedef res_sendhookact (*res_send_rhook)(const struct sockaddr *,
/bionic/linker/
Ddebugger.c99 RETRY_ON_EINTR(err,connect(s, (struct sockaddr *) &addr, alen)); in socket_abstract_client()
/bionic/libc/bionic/
Dsystem_properties.c179 if(TEMP_FAILURE_RETRY(connect(s, (struct sockaddr *) &addr, alen)) < 0) { in send_prop_msg()