Home
last modified time | relevance | path

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

/bionic/libc/include/sys/
Dsocket.h64 __socketcall int bind(int, const struct sockaddr *, int);
65 __socketcall int connect(int, const struct sockaddr *, socklen_t);
67 __socketcall int accept(int, struct sockaddr *, socklen_t *);
68 __socketcall int getsockname(int, struct sockaddr *, socklen_t *);
69 __socketcall int getpeername(int, struct sockaddr *, socklen_t *);
80 __socketcall ssize_t sendto(int, const void *, size_t, int, const struct sockaddr *, socklen_t);
81 __socketcall ssize_t recvfrom(int, void *, size_t, unsigned int, const struct sockaddr *, socklen_t…
Dlinux-unistd.h149 int bind (int, struct sockaddr *, int);
150 int connect (int, struct sockaddr *, socklen_t);
152 int accept (int, struct sockaddr *, socklen_t *);
153 int getsockname (int, struct sockaddr *, socklen_t *);
154 int getpeername (int, struct sockaddr *, socklen_t *);
155 int sendto (int, const void *, size_t, int, const struct sockaddr *, socklen_t);
156 int recvfrom (int, void *, size_t, unsigned int, struct sockaddr *, socklen_t *);
163 int bind (int, struct sockaddr *, int);
164 int connect (int, struct sockaddr *, socklen_t);
166 int accept (int, struct sockaddr *, socklen_t *);
[all …]
/bionic/libc/kernel/common/linux/
Dif_arp.h93 struct sockaddr arp_pa;
94 struct sockaddr arp_ha;
96 struct sockaddr arp_netmask;
101 struct sockaddr arp_pa;
102 struct sockaddr arp_ha;
104 struct sockaddr arp_netmask;
Droute.h21 struct sockaddr rt_dst;
22 struct sockaddr rt_gateway;
23 struct sockaddr rt_genmask;
Dif.h130 struct sockaddr ifru_addr;
131 struct sockaddr ifru_dstaddr;
132 struct sockaddr ifru_broadaddr;
133 struct sockaddr ifru_netmask;
134 struct sockaddr ifru_hwaddr;
Dwireless.h336 struct sockaddr addr;
348 struct sockaddr bssid;
363 struct sockaddr addr;
373 struct sockaddr addr;
385 struct sockaddr bssid;
392 struct sockaddr src_addr;
401 struct sockaddr bssid;
434 struct sockaddr ap_addr;
435 struct sockaddr addr;
536 #define IW_EV_ADDR_LEN (IW_EV_LCP_LEN + sizeof(struct sockaddr))
Derrqueue.h31 #define SO_EE_OFFENDER(ee) ((struct sockaddr*)((ee)+1))
Dsocket.h16 #define _K_SS_ALIGNSIZE (__alignof__ (struct sockaddr *))
35 struct sockaddr { struct
/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/netbsd/resolv/
Dres_private.h20 res_ourserver_p(const res_state statp, const struct sockaddr *sa);
Dres_send.c138 static int get_salen __P((const struct sockaddr *));
139 static struct sockaddr * get_nsaddr __P((res_state, size_t));
146 const struct sockaddr *, int);
148 static int sock_eq(struct sockaddr *, struct sockaddr *);
159 struct sockaddr sa;
226 res_ourserver_p(const res_state statp, const struct sockaddr *sa) { in res_ourserver_p()
407 !sock_eq((struct sockaddr *)(void *)&statp->nsaddr_list[ns], in res_nsend()
408 (struct sockaddr *)(void *)&EXT(statp).ext->nsaddrs[ns])) { in res_nsend()
417 (struct sockaddr *)(void *)&peer, &peerlen) < 0) { in res_nsend()
421 if (!sock_eq((struct sockaddr *)(void *)&peer, in res_nsend()
[all …]
Dres_data.c82 int res_ourserver_p(const res_state, const struct sockaddr *);
229 return (res_ourserver_p(&_nres, (const struct sockaddr *)(const void *)inp)); in res_isourserver()
/bionic/libc/netbsd/net/
Dgetnameinfo.c94 static int getnameinfo_inet __P((const struct sockaddr *, socklen_t, char *,
97 static int ip6_parsenumeric __P((const struct sockaddr *, const char *, char *,
102 static int getnameinfo_link __P((const struct sockaddr *, socklen_t, char *,
110 int getnameinfo(const struct sockaddr* sa, socklen_t salen, char* host, size_t hostlen, char* serv,… in getnameinfo()
134 const struct sockaddr *sa; in getnameinfo_inet()
329 const struct sockaddr *sa; in ip6_parsenumeric()
428 getnameinfo_link(const struct sockaddr *sa, socklen_t salen, in getnameinfo_link()
Dgetaddrinfo.c104 struct sockaddr generic;
349 _test_connect(int pf, struct sockaddr *addr, size_t addrlen) { in _test_connect()
913 ai->ai_addr = (struct sockaddr *)(void *)(ai + 1); in get_ai()
1297 _get_scope(const struct sockaddr *addr) in _get_scope()
1361 _get_label(const struct sockaddr *addr) in _get_label()
1402 _get_precedence(const struct sockaddr *addr) in _get_precedence()
1572 _find_src_addr(const struct sockaddr *addr, struct sockaddr *src_addr) in _find_src_addr()
/bionic/libc/inet/
Dbindresvport.c65 ret = bind(sd, (struct sockaddr*)sin, sizeof(*sin)); in bindresvport()
/bionic/libc/include/
Dnetdb.h120 struct sockaddr *ai_addr; /* binary address */
245 int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
/bionic/libc/
DSYSCALLS.TXT189 int bind(int, struct sockaddr *, int) 282,-1
190 int connect(int, struct sockaddr *, socklen_t) 283,-1
192 int accept(int, struct sockaddr *, socklen_t *) 285,-1
193 int getsockname(int, struct sockaddr *, socklen_t *) 286,-1
194 int getpeername(int, struct sockaddr *, socklen_t *) 287,-1
195 int sendto(int, const void *, size_t, int, const struct sockaddr *, socklen_t) 290,-1
196 int recvfrom(int, void *, size_t, unsigned int, struct sockaddr *, socklen_t *) 292,-1
205 int bind:socketcall:2 (int, struct sockaddr *, int) -1,102,-1
206 int connect:socketcall:3(int, struct sockaddr *, socklen_t) -1,102,-1
208 int accept:socketcall:5(int, struct sockaddr *, socklen_t *) -1,102,-1
[all …]
/bionic/linker/
Ddebugger.c81 RETRY_ON_EINTR(err,connect(s, (struct sockaddr *) &addr, alen)); in socket_abstract_client()
/bionic/libc/netbsd/isc/
Deventlib_p.h97 struct sockaddr sa;
105 struct sockaddr sa;
/bionic/libc/include/net/
Dif_ether.h157 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 *,