Home
last modified time | relevance | path

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

12345

/third_party/ltp/utils/sctp/func_tests/
Dtest_getname.c110 error = getpeername(svr_sk, (struct sockaddr *)&svr_peer_addr, &len); in main()
144 error = getpeername(clt_sk, (struct sockaddr *)&clt_peer_addr, &len); in main()
169 error = getpeername(accept_sk, (struct sockaddr *)&svr_peer_addr, in main()
244 error = getpeername(-1, (struct sockaddr *)&clt_local_addr, &len); in main()
257 error = getpeername(fd, (struct sockaddr *)&clt_local_addr, &len); in main()
269 error = getpeername(clt_sk, (struct sockaddr *)-1, &len); in main()
/third_party/musl/src/network/
Dgetpeername.c4 int getpeername(int fd, struct sockaddr *restrict addr, socklen_t *restrict len) in getpeername() function
6 return socketcall(getpeername, fd, addr, len, 0, 0, 0); in getpeername()
/third_party/python/Lib/asyncio/
Dtrsock.py53 raddr = self.getpeername()
84 def getpeername(self): member in TransportSocket
85 return self._sock.getpeername()
/third_party/pulseaudio/src/pulsecore/
Dsocket-util.c94 if (getpeername(fd, &sa.sa, &sa_len) >= 0) { in pa_socket_peer_to_string()
334 if (getpeername(fd, &sa.sa, &sa_len) < 0) in pa_socket_is_local()
Dipacl.c176 if (getpeername(fd, (struct sockaddr*) &sa, &salen) < 0) in pa_ip_acl_check()
/third_party/node/test/fixtures/
Dnet-fd-passing-receiver.js30 var peerInfo = process.getpeername(fd);
/third_party/libcoap/src/
Dcoap_tcp.c140 if (getpeername(sock->fd, &remote_addr->addr.sa, &remote_addr->size) == COAP_SOCKET_ERROR) {
185 if (getpeername(sock->fd, &remote_addr->addr.sa, &remote_addr->size) == COAP_SOCKET_ERROR) {
/third_party/musl/libc-test/src/functionalext/supplement/network/
Dtest_src_functionalext_supplement_network.gni52 "getpeername",
Dgetpeername.c74 rets = getpeername(sClient, &addr, &addrLen); in SampleServerTask()
/third_party/grpc/src/core/lib/iomgr/
Dtcp_custom.h64 grpc_error* (*getpeername)(grpc_custom_socket* socket, member
/third_party/boost/libs/asio/doc/
Dasio.qbk36 …ame__ [@http://www.opengroup.org/onlinepubs/9699919799/functions/getpeername.html `getpeername()`]]
/third_party/curl/lib/
Dsocketpair.c119 if(getpeername(socks[1], &a2.addr, &addrlen) == -1 || in Curl_socketpair()
Dsetup-os400.h216 #define getpeername Curl_os400_getpeername macro
/third_party/ltp/testcases/kernel/syscalls/getpeername/
Dgetpeername01.c101 TEST(getpeername(test_cases[i].sockfd, in main()
/third_party/musl/libc-test/src/api/
Dsys_socket.c96 {int(*p)(int,struct sockaddr*restrict,socklen_t*restrict) = getpeername;} in f()
/third_party/python/Lib/test/
Dmock_socket.py104 def getpeername(self): member in MockSocket
/third_party/ltp/include/lapi/syscalls/
Daarch64.in207 getpeername 205
Darc.in207 getpeername 205
Dsparc64.in126 getpeername 141
Dia64.in167 getpeername 1196
Dmips_n64.in52 getpeername 5051
Ds390x.in313 getpeername 368
Dmips_n32.in52 getpeername 6051
/third_party/toybox/toys/net/
Dftpget.c110 if (getpeername(TT.fd, (void *)&si6, &sl)) perror_exit("getpeername"); in ftpget_main()
/third_party/lwip/src/include/lwip/
Dsockets.h537 #define lwip_getpeername getpeername
639 #define getpeername(s,name,namelen) lwip_getpeername(s,name,namelen) macro

12345