Home
last modified time | relevance | path

Searched refs:peerAddress (Results 1 – 13 of 13) sorted by relevance

/haiku/src/tests/system/network/
H A Dudp_connect.cpp21 const char* peerAddress = "192.168.0.1"; in main() local
23 peerAddress = argv[1]; in main()
54 peer.sin_addr.s_addr = inet_addr(peerAddress); in main()
H A Dfirefox_crash.cpp52 sockaddr_in peerAddress; in tcp_pair() local
93 pair[1] = accept(listenSocket, (sockaddr*)&peerAddress, &length); in tcp_pair()
110 if (peerAddress.sin_port != address.sin_port) in tcp_pair()
/haiku/src/add-ons/kernel/drivers/disk/virtual/remote_disk/
H A DRemoteDisk.h49 sockaddr_in* peerAddress = NULL);
52 sockaddr_in* peerAddress,
H A DRemoteDisk.cpp383 uint8 expectedReply, sockaddr_in* peerAddress) in _SendRequest() argument
385 return _SendRequest(request, size, expectedReply, peerAddress, fPacket, in _SendRequest()
392 uint8 expectedReply, sockaddr_in* peerAddress, void* receiveBuffer, in _SendRequest() argument
424 receiveBufferSize, 0, (sockaddr*)peerAddress, in _SendRequest()
425 (peerAddress ? &addrSize : NULL)); in _SendRequest()
/haiku/src/kits/network/libnetapi/
H A DNetEndpoint.cpp111 const struct sockaddr_in& peerAddress) in BNetEndpoint() argument
120 fPeer(peerAddress) in BNetEndpoint()
439 struct sockaddr_in peerAddress; in Accept() local
440 socklen_t peerAddressSize = sizeof(peerAddress); in Accept()
443 = accept(fSocket, (struct sockaddr *)&peerAddress, &peerAddressSize); in Accept()
460 localAddress, peerAddress); in Accept()
/haiku/src/add-ons/kernel/file_systems/netfs/shared/
H A DInsecureConnection.cpp220 NetAddress peerAddress; in FinishInitialization() local
221 if (channel->GetPeerAddress(&peerAddress) == B_OK in FinishInitialization()
222 && peerAddress.IsLocal()) { in FinishInitialization()
/haiku/src/add-ons/kernel/network/protocols/unix/
H A DUnixAddress.cpp272 unix_hash_address_pair(const sockaddr *ourAddress, const sockaddr *peerAddress) in unix_hash_address_pair() argument
275 + unix_hash_address(peerAddress, false); in unix_hash_address_pair()
/haiku/src/add-ons/kernel/network/protocols/udp/
H A Dudp.cpp194 const sockaddr *peerAddress, uint32 index = 0);
506 const sockaddr *peerAddress, uint32 index) in _FindActiveEndpoint() argument
512 AddressString(fDomain, peerAddress, true).Data()); in _FindActiveEndpoint()
515 std::make_pair(ourAddress, peerAddress)); in _FindActiveEndpoint()
523 || !endpoint->PeerAddress().EqualTo(peerAddress, true))) in _FindActiveEndpoint()
586 const sockaddr* peerAddress = buffer->source; in _DemuxUnicast() local
589 UdpEndpoint* endpoint = _FindActiveEndpoint(localAddress, peerAddress, in _DemuxUnicast()
599 endpoint = _FindActiveEndpoint(*local, peerAddress, buffer->index); in _DemuxUnicast()
/haiku/src/add-ons/kernel/network/protocols/l2cap/
H A Dl2cap_address.cpp302 l2cap_hash_address_pair(const sockaddr *ourAddress, const sockaddr *peerAddress) in l2cap_hash_address_pair() argument
305 + l2cap_hash_address(peerAddress, true); in l2cap_hash_address_pair()
/haiku/headers/os/net/
H A DNetEndpoint.h83 const struct sockaddr_in& peerAddress);
/haiku/src/add-ons/kernel/network/protocols/ipv6/
H A Dipv6_address.cpp508 ipv6_hash_address_pair(const sockaddr *ourAddress, const sockaddr *peerAddress) in ipv6_hash_address_pair() argument
510 uint32 result = ipv6_hash_address(peerAddress, true); in ipv6_hash_address_pair()
/haiku/src/add-ons/kernel/network/protocols/ipv4/
H A Dipv4_address.cpp480 ipv4_hash_address_pair(const sockaddr *ourAddress, const sockaddr *peerAddress) in ipv4_hash_address_pair() argument
483 const sockaddr_in *peer = (const sockaddr_in *)peerAddress; in ipv4_hash_address_pair()
/haiku/headers/private/net/
H A Dnet_datalink.h171 const struct sockaddr* peerAddress);