OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SOCKADDR
(Results
1 - 11
of
11
) sorted by null
/libcore/ojluni/src/main/native/
net_util_md.h
44
struct
sockaddr
*from, int *fromlen);
48
flags, const struct
sockaddr
*to, int tolen);
50
extern int NET_Connect(int s, struct
sockaddr
*addr, int addrlen);
51
extern int NET_Accept(int s, struct
sockaddr
*addr, int *addrlen);
96
typedef int (*getnameinfo_f)(const struct
sockaddr
*, size_t,
134
#define
SOCKADDR
union { \
139
#define SOCKADDR_LEN (ipv6_available() ? sizeof(
SOCKADDR
) : \
144
#define
SOCKADDR
union { struct sockaddr_in him4; }
145
#define SOCKADDR_LEN sizeof(
SOCKADDR
)
DatagramChannelImpl.c
102
SOCKADDR
sa;
127
rv = connect(fd, (struct
sockaddr
*)&sa, len);
156
SOCKADDR
sa;
170
n = recvfrom(fd, buf, len, 0, (struct
sockaddr
*)&sa, &sa_len);
192
// Peer (or other thread) has performed an orderly shutdown,
sockaddr
will be
194
if (n == 0 && ((struct
sockaddr
*)&sa)->sa_family == 0) {
208
if (!NET_SockaddrEqualsInetAddress(env, (struct
sockaddr
*)&sa,
213
if (port != NET_GetPortFromSockaddr((struct
sockaddr
*)&sa)) {
221
jobject ia = NET_SockaddrToInetAddress(env, (struct
sockaddr
*)&sa, &port);
233
NET_GetPortFromSockaddr((struct
sockaddr
*)&sa))
[
all
...]
Net.c
315
SOCKADDR
sa;
319
if (NET_InetAddressToSockaddr(env, iao, port, (struct
sockaddr
*)&sa, &sa_len, preferIPv6) != 0) {
323
rv = NET_Bind(fdval(env, fdo), (struct
sockaddr
*)&sa, sa_len);
340
SOCKADDR
sa;
344
if (NET_InetAddressToSockaddr(env, iao, port, (struct
sockaddr
*) &sa,
350
rv = connect(fdval(env, fdo), (struct
sockaddr
*)&sa, sa_len);
365
SOCKADDR
sa;
367
if (getsockname(fdval(env, fdo), (struct
sockaddr
*)&sa, &sa_len) < 0) {
393
return NET_GetPortFromSockaddr((struct
sockaddr
*)&sa);
399
SOCKADDR
sa
[
all
...]
net_util_md.c
86
void setDefaultScopeID(JNIEnv *env, struct
sockaddr
*him)
237
int getScopeID (struct
sockaddr
*him) {
242
int cmpScopeID (unsigned int scope, struct
sockaddr
*him) {
249
int getScopeID (struct
sockaddr
*him) {
254
int cmpScopeID (unsigned int scope, struct
sockaddr
*him) {
323
SOCKADDR
sa;
342
/*if (getsockname(0, (struct
sockaddr
*)&sa, &sa_len) == 0) {
343
struct
sockaddr
*saP = (struct
sockaddr
*)&sa;
488
NET_AllocSockaddr(struct
sockaddr
**him, int *len)
[
all
...]
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/psdk_inc/
_ip_types.h
70
struct
sockaddr
{
struct
94
typedef struct
sockaddr
SOCKADDR
;
95
typedef struct
sockaddr
*PSOCKADDR;
96
typedef struct
sockaddr
*LPSOCKADDR;
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
dpaddr.h
31
typedef struct
sockaddr
SOCKADDR
;
316
STDMETHOD(BuildFromSockAddr)(THIS_ const
SOCKADDR
* pSockAddr) PURE;
319
STDMETHOD(GetSockAddress)(THIS_
SOCKADDR
* pSockAddr, PDWORD) PURE;
iphlpapi.h
85
DWORD WINAPI GetBestInterfaceEx (struct
sockaddr
*pDestAddr, PDWORD pdwBestIfIndex);
151
SOCKADDR
IpAddress;
159
ULONG WINAPI ResolveNeighbor (
SOCKADDR
*NetworkAddress, PVOID PhysicalAddress, PULONG PhysicalAddressLength);
ws2tcpip.h
189
struct
sockaddr
*ai_addr;
200
struct
sockaddr
*ai_addr;
268
WINSOCK_API_LINKAGE int WSAAPI getnameinfo(const struct
sockaddr
*sa,socklen_t salen,char *host,DWORD hostlen,char *serv,DWORD servlen,int flags);
269
WINSOCK_API_LINKAGE INT WSAAPI GetNameInfoW(const
SOCKADDR
*pSockaddr,socklen_t SockaddrLength,PWCHAR pNodeBuffer,DWORD NodeBufferSize,PWCHAR pServiceBuffer,DWORD ServiceBufferSize,INT Flags);
274
typedef int (WSAAPI *LPFN_GETNAMEINFO)(const struct
sockaddr
*sa,socklen_t salen,char *host,DWORD hostlen,char *serv,DWORD servlen,int flags);
275
typedef INT (WSAAPI *LPFN_GETNAMEINFOW)(const
SOCKADDR
*pSockaddr,socklen_t SockaddrLength,PWCHAR pNodeBuffer,DWORD NodeBufferSize,PWCHAR pServiceBuffer,DWORD ServiceBufferSize,INT Flags);
317
struct
sockaddr
*ai_addr;
331
struct
sockaddr
*ai_addr;
398
const struct
sockaddr
*PeerAddress,
p2p.h
[
all
...]
/external/webrtc/webrtc/base/
win32socketserver.cc
278
int result = ::getsockname(socket_, reinterpret_cast<
sockaddr
*>(&addr),
293
int result = ::getpeername(socket_, reinterpret_cast<
sockaddr
*>(&addr),
313
reinterpret_cast<
sockaddr
*>(&saddr),
367
reinterpret_cast<
SOCKADDR
*>(&saddr),
435
reinterpret_cast<
sockaddr
*>(&saddr),
456
reinterpret_cast<
sockaddr
*>(&saddr), &addr_len);
479
SOCKET s = ::accept(socket_, reinterpret_cast<
sockaddr
*>(&saddr), &addr_len);
/external/webrtc/webrtc/test/channel_transport/
udp_socket2_win.cc
30
const struct
sockaddr
* SocketAddress;
325
const struct
sockaddr
* addr =
326
reinterpret_cast<const struct
sockaddr
*>(&name);
380
const struct
sockaddr
* addr = reinterpret_cast<const struct
sockaddr
*>(&to);
595
reinterpret_cast<struct
sockaddr
*>(&(pIoContext->from)),
706
getsockname(_socket, (struct
sockaddr
*)name, &nameLength);
778
QosDestaddr.SocketAddress = (
SOCKADDR
*)&stRemName;
817
getsockname(_socket, (struct
sockaddr
*)name, &nameLength);
848
getsockname(_socket, (struct
sockaddr
*)name, &nameLength)
[
all
...]
Completed in 778 milliseconds