Home
last modified time | relevance | path

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

12345

/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/netperf/src/missing/m4/
Dsocklent.m428 dnl types for the argument to getsockopt, getpeername, etc. So we
39 dnl also, added "extern" to the "int getpeername" in an attempt to resolve
49 # "void *" as the second argument to getpeername
61 extern int getpeername (int, $arg2 *, $t *);
64 getpeername(0,0,&len);
/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.c58 if (getpeername(sock, (struct sockaddr *)&from, &fromlen) < 0) { in get_remote_hostname()
253 if (getpeername(sock, (struct sockaddr *)&addr, &addrlen) in get_socket_address()
388 if (getpeername(sock, (struct sockaddr *)&from, &fromlen) < 0) { in get_sock_port()
/external/strace/tests/
Dnet-yy-inet.c118 if (getpeername(accept_fd, accept_sa, len)) in main()
128 if (getpeername(connect_fd, listen_sa, len)) in main()
Dgetpeername.c30 #define TEST_SYSCALL_NAME getpeername
Dnet-y-unix.c118 if (getpeername(connect_fd, listen_sa, len)) in main()
191 if (getpeername(connect_fd, listen_sa, len)) in main()
Dnet-yy-unix.c118 if (getpeername(connect_fd, listen_sa, len)) in main()
193 if (getpeername(connect_fd, listen_sa, len)) in main()
/external/strace/tests-mx32/
Dnet-yy-inet.c118 if (getpeername(accept_fd, accept_sa, len)) in main()
128 if (getpeername(connect_fd, listen_sa, len)) in main()
Dgetpeername.c30 #define TEST_SYSCALL_NAME getpeername
Dnet-y-unix.c118 if (getpeername(connect_fd, listen_sa, len)) in main()
191 if (getpeername(connect_fd, listen_sa, len)) in main()
Dnet-yy-unix.c118 if (getpeername(connect_fd, listen_sa, len)) in main()
193 if (getpeername(connect_fd, listen_sa, len)) in main()
/external/strace/tests-m32/
Dnet-yy-inet.c118 if (getpeername(accept_fd, accept_sa, len)) in main()
128 if (getpeername(connect_fd, listen_sa, len)) in main()
Dgetpeername.c30 #define TEST_SYSCALL_NAME getpeername
Dnet-y-unix.c118 if (getpeername(connect_fd, listen_sa, len)) in main()
191 if (getpeername(connect_fd, listen_sa, len)) in main()
Dnet-yy-unix.c118 if (getpeername(connect_fd, listen_sa, len)) in main()
193 if (getpeername(connect_fd, listen_sa, len)) in main()
/external/netperf/
Dacinclude.m429 dnl types for the argument to getsockopt, getpeername, etc. So we
40 dnl also, added "extern" to the "int getpeername" in an attempt to resolve
51 # "void *" as the second argument to getpeername
63 extern int getpeername (int, $arg2 *, $t *);
66 getpeername(0,0,&len);
/external/strace/linux/
Dsubcall.h40 [SYS_socket_subcall + 7] = { 3, IS|TN, SEN(getpeername), "getpeername" },
/external/valgrind/coregrind/
Dpub_core_libcfile.h74 extern Int VG_(getpeername) ( Int sd, struct vki_sockaddr *name, Int *namelen );
/external/ltp/testcases/kernel/syscalls/getpeername/
Dgetpeername01.c101 TEST(getpeername(test_cases[i].sockfd, in main()
/external/libvncserver/examples/
Dvncev.c105 getpeername(cl->sock,(struct sockaddr*)&addr,&len); in newclient()
/external/tcpdump/lbl/
Dos-sunos4.h94 int getpeername(int, struct sockaddr *, int *);
/external/libpcap/lbl/
Dos-sunos4.h94 int getpeername(int, struct sockaddr *, int *);
/external/ltp/testcases/kernel/include/
Daarch64.in207 getpeername 205
Dia64.in165 getpeername 1196

12345