Home
last modified time | relevance | path

Searched refs:sockaddr (Results 1 – 23 of 23) 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/include/sys/
Dsocket.h74 struct sockaddr { struct
277 __socketcall int bind(int, const struct sockaddr *, int);
278 __socketcall int connect(int, const struct sockaddr *, socklen_t);
280 __socketcall int accept(int, struct sockaddr *, socklen_t *);
281 __socketcall int getsockname(int, struct sockaddr *, socklen_t *);
282 __socketcall int getpeername(int, struct sockaddr *, socklen_t *);
293 __socketcall ssize_t sendto(int, const void *, size_t, int, const struct sockaddr *, socklen_t);
294 __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()
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 …]
Dres_data.c83 int res_ourserver_p(const res_state, const struct sockaddr *);
224 return (res_ourserver_p(&_nres, (const struct sockaddr *)(const void *)inp)); in res_isourserver()
/bionic/libc/netbsd/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, char* serv,… in getnameinfo()
114 int android_getnameinfoforiface(const struct sockaddr* sa, socklen_t salen, char* host, size_t host… in android_getnameinfoforiface()
135 getnameinfo_local(const struct sockaddr *sa, socklen_t salen, in getnameinfo_local()
179 getnameinfo_inet(const struct sockaddr* sa, socklen_t salen, in getnameinfo_inet()
380 ip6_parsenumeric(const struct sockaddr *sa, const char *addr, char *host, in ip6_parsenumeric()
Dgetaddrinfo.c112 struct sockaddr generic;
360 _test_connect(int pf, struct sockaddr *addr, size_t addrlen) { in _test_connect()
441 (const struct sockaddr*) &proxy_addr, in android_getaddrinfo_proxy()
523 struct sockaddr* addr = (struct sockaddr*)(ai + 1); in android_getaddrinfo_proxy()
1110 ai->ai_addr = (struct sockaddr *)(void *)(ai + 1); in get_ai()
1494 _get_scope(const struct sockaddr *addr) in _get_scope()
1556 _get_label(const struct sockaddr *addr) in _get_label()
1598 _get_precedence(const struct sockaddr *addr) in _get_precedence()
1769 _find_src_addr(const struct sockaddr *addr, struct sockaddr *src_addr) in _find_src_addr()
/bionic/tests/
Dnetdb_test.cpp33 sockaddr* sa = reinterpret_cast<sockaddr*>(&ss); in TEST()
/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);
246 int android_getnameinfoforiface(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t,…
/bionic/libc/bionic/
Dbindresvport.c65 ret = bind(sd, (struct sockaddr*)sin, sizeof(*sin)); in bindresvport()
Dsystem_properties.c218 if(TEMP_FAILURE_RETRY(connect(s, (struct sockaddr *) &addr, alen)) < 0) { in send_prop_msg()
/bionic/libc/
DSYSCALLS.TXT239 int bind(int, struct sockaddr *, int) 1,-1,1
240 int connect(int, struct sockaddr *, socklen_t) 1,-1,1
242 int accept(int, struct sockaddr *, socklen_t *) 1,-1,1
243 int getsockname(int, struct sockaddr *, socklen_t *) 1,-1,1
244 int getpeername(int, struct sockaddr *, socklen_t *) 1,-1,1
245 int sendto(int, const void *, size_t, int, const struct sockaddr *, socklen_t) 1,-1,1
246 int recvfrom(int, void *, size_t, unsigned int, struct sockaddr *, socklen_t *) 1,-1,1
255 int bind:socketcall:2 (int, struct sockaddr *, int) -1,1,-1
256 int connect:socketcall:3(int, struct sockaddr *, socklen_t) -1,1,-1
258 int accept:socketcall:5(int, struct sockaddr *, socklen_t *) -1,1,-1
[all …]
/bionic/libc/upstream-netbsd/libc/isc/
Deventlib_p.h94 struct sockaddr sa;
102 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.h110 typedef res_sendhookact (*res_send_qhook)(struct sockaddr * const *,
114 typedef res_sendhookact (*res_send_rhook)(const struct sockaddr *,
/bionic/linker/
Ddebugger.cpp94 int err = TEMP_FAILURE_RETRY(connect(s, (sockaddr*) &addr, alen)); in socket_abstract_client()
/bionic/libc/unistd/
Dsyslog.c305 struct sockaddr syslogAddr; in connectlog_r()
/bionic/libc/netbsd/
Dgethnamaddr.c547 (const struct sockaddr*) &proxy_addr, in android_open_proxy()