Home
last modified time | relevance | path

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

/development/ndk/platforms/android-3/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…
/development/ndk/platforms/android-9/arch-mips/include/sys/
Dsocket.h74 __socketcall int bind(int, const struct sockaddr *, int);
75 __socketcall int connect(int, const struct sockaddr *, socklen_t);
77 __socketcall int accept(int, struct sockaddr *, socklen_t *);
78 __socketcall int getsockname(int, struct sockaddr *, socklen_t *);
79 __socketcall int getpeername(int, struct sockaddr *, socklen_t *);
90 __socketcall ssize_t sendto(int, const void *, size_t, int, const struct sockaddr *, socklen_t);
91 __socketcall ssize_t recvfrom(int, void *, size_t, unsigned int, const struct sockaddr *, socklen_t…
/development/ndk/platforms/android-3/include/linux/
Dif_arp.h88 struct sockaddr arp_pa;
89 struct sockaddr arp_ha;
91 struct sockaddr arp_netmask;
96 struct sockaddr arp_pa;
97 struct sockaddr arp_ha;
99 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
/development/ndk/platforms/android-21/include/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.h160 struct sockaddr ifru_addr;
161 struct sockaddr ifru_dstaddr;
162 struct sockaddr ifru_broadaddr;
164 struct sockaddr ifru_netmask;
165 struct sockaddr ifru_hwaddr;
Dwireless.h370 struct sockaddr addr;
384 struct sockaddr bssid;
397 struct sockaddr addr;
409 struct sockaddr addr;
420 struct sockaddr bssid;
427 struct sockaddr src_addr;
437 struct sockaddr bssid;
469 struct sockaddr ap_addr;
470 struct sockaddr addr;
565 #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) -
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) -
Dsctp.h474 struct sockaddr *addrs;
/development/ndk/platforms/android-21/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*);
296 extern ssize_t __recvfrom_chk(int, void*, size_t, size_t, int, const struct sockaddr*, socklen_t*);
[all …]
/development/samples/ToyVpn/server/linux/
DToyVpnServer.cpp100 while (bind(tunnel, (sockaddr *)&addr, sizeof(addr))) { in get_tunnel()
113 (sockaddr *)&addr, &addrlen); in get_tunnel()
121 connect(tunnel, (sockaddr *)&addr, addrlen); in get_tunnel()
/development/ndk/platforms/android-3/include/
Dnetdb.h120 struct sockaddr *ai_addr; /* binary address */
219 int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
/development/ndk/platforms/android-21/include/
Dnetdb.h120 struct sockaddr *ai_addr; /* binary address */
244 int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
/development/ndk/platforms/android-21/include/net/
Dif_ether.h159 int ether_multiaddr(struct sockaddr *, u_int8_t[], u_int8_t[]);
/development/ndk/platforms/android-3/include/net/
Dif_ether.h159 int ether_multiaddr(struct sockaddr *, u_int8_t[], u_int8_t[]);