Home
last modified time | relevance | path

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

12345678

/external/ltp/utils/sctp/func_tests/
Dtest_getname.c106 error = getpeername(svr_sk, (struct sockaddr *)&svr_peer_addr, &len); in main()
140 error = getpeername(clt_sk, (struct sockaddr *)&clt_peer_addr, &len); in main()
165 error = getpeername(accept_sk, (struct sockaddr *)&svr_peer_addr, in main()
240 error = getpeername(-1, (struct sockaddr *)&clt_local_addr, &len); in main()
253 error = getpeername(fd, (struct sockaddr *)&clt_local_addr, &len); in main()
265 error = getpeername(clt_sk, (struct sockaddr *)-1, &len); in main()
/external/openssh/
Daclocal.m4141 dnl types for the argument to getsockopt, getpeername, etc. So we
150 # "void *" as the second argument to getpeername
158 int getpeername (int, $arg2 *, $t *);
161 getpeername(0,0,&len);
Dcanohost.c80 if (getpeername(sock, (struct sockaddr *)&addr, &addrlen) != 0) in get_socket_address()
172 if (getpeername(sock, (struct sockaddr *)&from, &fromlen) < 0) { in get_sock_port()
/external/strace/tests-m32/
Dnet-yy-inet.c140 if (getpeername(accept_fd, accept_sa, len)) in main()
150 if (getpeername(connect_fd, listen_sa, len)) in main()
Dnet-y-unix.c123 if (getpeername(connect_fd, listen_sa, len)) in main()
196 if (getpeername(connect_fd, listen_sa, len)) in main()
Dnet-yy-unix.c124 if (getpeername(connect_fd, listen_sa, len)) in main()
199 if (getpeername(connect_fd, listen_sa, len)) in main()
Dgetpeername.c30 #define TEST_SYSCALL_NAME getpeername
/external/strace/tests/
Dnet-yy-inet.c140 if (getpeername(accept_fd, accept_sa, len)) in main()
150 if (getpeername(connect_fd, listen_sa, len)) in main()
Dnet-y-unix.c123 if (getpeername(connect_fd, listen_sa, len)) in main()
196 if (getpeername(connect_fd, listen_sa, len)) in main()
Dnet-yy-unix.c124 if (getpeername(connect_fd, listen_sa, len)) in main()
199 if (getpeername(connect_fd, listen_sa, len)) in main()
Dgetpeername.c30 #define TEST_SYSCALL_NAME getpeername
/external/strace/tests-mx32/
Dnet-yy-inet.c140 if (getpeername(accept_fd, accept_sa, len)) in main()
150 if (getpeername(connect_fd, listen_sa, len)) in main()
Dnet-y-unix.c123 if (getpeername(connect_fd, listen_sa, len)) in main()
196 if (getpeername(connect_fd, listen_sa, len)) in main()
Dnet-yy-unix.c124 if (getpeername(connect_fd, listen_sa, len)) in main()
199 if (getpeername(connect_fd, listen_sa, len)) in main()
Dgetpeername.c30 #define TEST_SYSCALL_NAME getpeername
/external/grpc-grpc/src/core/lib/iomgr/
Dtcp_custom.h61 grpc_error* (*getpeername)(grpc_custom_socket* socket, member
/external/strace/linux/
Dsubcall.h41 [SYS_socket_subcall + 7] = { 3, IS|TN, SEN(getpeername), "getpeername" },
/external/python/httplib2/python3/httplib2/
Dsocks.py362 return _orgsocket.getpeername(self)
364 def getpeername(self): member in socksocket
/external/python/httplib2/python2/httplib2/
Dsocks.py356 return _orgsocket.getpeername(self)
358 def getpeername(self): member in socksocket
/external/python/cpython3/Lib/test/
Dmock_socket.py104 def getpeername(self): member in MockSocket
/external/ltp/testcases/kernel/syscalls/getpeername/
Dgetpeername01.c101 TEST(getpeername(test_cases[i].sockfd, in main()
/external/syzkaller/sys/netbsd/
Dsocket_inet.txt32 getpeername$inet(fd sock_in, peer ptr[out, sockaddr_in], peerlen ptr[inout, len[peer, int32]])
/external/libpcap/lbl/
Dos-sunos4.h93 int getpeername(int, struct sockaddr *, int *);
/external/tcpdump/lbl/
Dos-sunos4.h94 int getpeername(int, struct sockaddr *, int *);
/external/syzkaller/sys/linux/
Dsocket_llc.txt23 getpeername$llc(fd sock_llc, peer ptr[out, sockaddr_llc], peerlen ptr[inout, len[peer, int32]])

12345678