Searched refs:getsockname (Results 1 - 25 of 26) sorted by relevance

12

/haiku/headers/private/drivers/
H A Dksocket.h16 #define kgetsockname getsockname
40 #define kgetsockname getsockname
67 #define kgetsockname (gSocket->getsockname)
/haiku/src/add-ons/kernel/file_systems/googlefs/
H A Dksocket.h16 #define kgetsockname getsockname
38 #define kgetsockname getsockname
65 #define kgetsockname (gSocket->getsockname)
/haiku/src/add-ons/kernel/file_systems/nfs/
H A Dksocket.h16 #define kgetsockname getsockname
42 #define kgetsockname (gSocket->getsockname)
80 #define kgetsockname (gSocket->getsockname)
/haiku/src/tests/system/network/
H A Dudp_connect.cpp42 if (getsockname(fd, &ours, &ourLength) != 0)
43 perror("getsockname");
60 if (getsockname(fd, &ours, &ourLength) != 0)
61 perror("getsockname");
H A Dfirefox_crash.cpp61 if (getsockname(listenSocket, (sockaddr*)&listenAddress, &length) != 0)
89 if (getsockname(pair[0], (sockaddr*)&address, &length) != 0)
H A Dtcp_connection_test.cpp37 if (getsockname(listenerSocket, (sockaddr*)&addr, &addrLen) != 0) {
92 if (getsockname(fd, (sockaddr*)&clientAddr, &clientAddrLen)
/haiku/src/tests/system/network/sock/
H A Dcliopen.c114 /* Call getsockname() to find local address bound to socket:
118 if (getsockname(fd, (struct sockaddr *) &cliaddr, &i) < 0)
119 err_sys("getsockname() error");
H A Dservopen.c131 /* Call getsockname() to find local address bound to socket:
134 if (getsockname(newfd, (struct sockaddr *) &servaddr, &i) < 0)
135 err_sys("getsockname() error");
/haiku/headers/private/net/
H A Dnet_stack_interface.h61 status_t (*getsockname)(net_socket* socket, struct sockaddr* address, member in struct:net_stack_interface_module_info
H A Dnet_socket.h106 int (*getsockname)(net_socket* socket, struct sockaddr* address, member in struct:net_socket_module_info
/haiku/src/system/libnetwork/netresolv/isc/
H A Dev_connects.c258 if (GETXXXNAME(getsockname, new->fd, new->la.sa, new->lalen) < 0) {
303 if (GETXXXNAME(getsockname, new, la.sa, lalen) < 0) {
358 GETXXXNAME(getsockname, fd, la.sa, lalen) < 0 ||
/haiku/src/tests/kits/net/
H A Dlink_echo.cpp165 if (getsockname(fd, link, &length) != 0)
166 perror("getsockname");
/haiku/src/tests/system/kernel/
H A Dsyscall_restart_test.cpp484 getsockname(fServerSocket, (sockaddr*)&fServerAddress,
591 getsockname(fServerSocket, (sockaddr*)&fServerAddress,
/haiku/src/kits/network/libnetapi/
H A DNetEndpoint.cpp364 if (getsockname(fSocket, (struct sockaddr *)&addr, &addrSize) < 0) {
452 if (getsockname(socket, (struct sockaddr *)&localAddress,
H A DAbstractSocket.cpp289 if (getsockname(fSocket, fLocal, &localLength) != 0)
/haiku/src/add-ons/kernel/network/stack/
H A Dstack_interface.cpp196 return gNetSocketModule.getsockname(socket, address, _addressLength);
/haiku/headers/posix/sys/
H A Dsocket.h172 int getsockname(int socket, struct sockaddr *address,
/haiku/src/add-ons/kernel/file_systems/netfs/shared/
H A DInsecureConnection.cpp248 if (getsockname(fd, (sockaddr*)&addr, &addrSize) < 0) {
/haiku/src/system/libnetwork/
H A Dsocket.cpp379 getsockname(int socket, struct sockaddr *_address, socklen_t *_addressLength) function
/haiku/src/add-ons/kernel/drivers/disk/virtual/remote_disk/
H A DRemoteDisk.cpp317 if (getsockname(fSocket, (sockaddr*)&fSocketAddress, &addrSize) < 0) {
/haiku/src/system/libnetwork/netresolv/
H A Dport_after.h473 int getsockname(int, struct sockaddr *, int *);
/haiku/src/system/kernel/fs/
H A Dsocket.cpp594 return sStackInterface->getsockname(descriptor->u.socket, address,
787 getsockname(int socket, struct sockaddr *address, socklen_t *_addressLength) function
1209 // getsockname()
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DConnection.cpp374 return getsockname(fSocket, (struct sockaddr*)&address->fAddress,
/haiku/src/bin/network/ftpd/
H A Dftpd.c572 if (getsockname(0, (struct sockaddr *)&ctrl_addr, &addrlen) < 0) {
573 syslog(LOG_ERR, "getsockname (%s): %m",argv[0]);
2920 if (getsockname(pdata, (struct sockaddr *) &pasv_addr, &len) < 0)
3034 if (getsockname(pdata, (struct sockaddr *) &pasv_addr, &len) < 0)
/haiku/src/bin/network/ping6/
H A Dping6.c899 if (getsockname(dummy, (struct sockaddr *)&src, &len) < 0)
900 err(1, "getsockname");

Completed in 210 milliseconds

12