Searched refs:peer (Results 1 - 25 of 31) sorted by path

12

/haiku/headers/os/net/
H A DAbstractSocket.h30 virtual status_t Connect(const BNetworkAddress& peer,
53 status_t Connect(const BNetworkAddress& peer, int type,
H A DDatagramSocket.h15 BDatagramSocket(const BNetworkAddress& peer,
20 virtual status_t Bind(const BNetworkAddress& peer,
22 virtual status_t Connect(const BNetworkAddress& peer,
28 void SetPeer(const BNetworkAddress& peer);
H A DProxySecureSocket.h16 const BNetworkAddress& peer,
23 virtual status_t Connect(const BNetworkAddress& peer,
H A DSecureSocket.h18 BSecureSocket(const BNetworkAddress& peer,
32 virtual status_t Connect(const BNetworkAddress& peer,
H A DSocket.h15 BSocket(const BNetworkAddress& peer,
20 virtual status_t Bind(const BNetworkAddress& peer,
25 virtual status_t Connect(const BNetworkAddress& peer,
36 const BNetworkAddress& peer);
/haiku/headers/private/net/
H A DProtocolUtilities.h66 &fSocket->peer); }
70 &fSocket->peer); }
H A Dnet_socket.h31 struct sockaddr_storage peer; member in struct:net_socket
H A Dnet_stat.h25 struct sockaddr_storage peer; member in struct:net_stat
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/dev/mwl/
H A Dmwlhal.c1689 const MWL_HAL_PEERINFO *peer, int isQosSta, int wmeInfo)
1700 if (peer != NULL) {
1702 cvtPeerInfo(&pCmd->PeerInfo, peer);
1687 mwl_hal_newstation(struct mwl_hal_vap *vap, const uint8_t addr[IEEE80211_ADDR_LEN], uint16_t aid, uint16_t sid, const MWL_HAL_PEERINFO *peer, int isQosSta, int wmeInfo) argument
/haiku/src/add-ons/kernel/network/protocols/ipv4/
H A Dipv4_address.cpp483 const sockaddr_in *peer = (const sockaddr_in *)peerAddress; local
486 bool havePeer = peer && peer->sin_len != 0;
490 | ((havePeer ? peer->sin_port : 0) << 16))
492 ^ (havePeer ? peer->sin_addr.s_addr : 0);
/haiku/src/add-ons/kernel/network/protocols/l2cap/
H A Dl2cap_address.cpp387 const sockaddr_l2cap *peer = (const sockaddr_l2cap *)peerAddress; local
389 return ((our ? our->l2cap_psm : 0) | ((peer ? peer->l2cap_psm : 0) << 16))
391 ^ (peer ? L2CAP_CHECKSUM(peer->l2cap_bdaddr) : 0);
/haiku/src/add-ons/kernel/network/protocols/tcp/
H A DEndpointManager.cpp82 out.Print("tcp:e:%p connect local %s, peer %s", fEndpoint, fLocal,
114 out.Print("tcp:e:%p unbind, local %s, peer %s", fEndpoint, fLocal,
252 EndpointManager::_LookupConnection(const sockaddr* local, const sockaddr* peer) argument
254 return fConnectionHash.Lookup(std::make_pair(local, peer));
260 const sockaddr* peer, const sockaddr* interfaceLocal)
275 if (_LookupConnection(*local, peer) != NULL)
279 endpoint->PeerAddress().SetTo(peer);
315 EndpointManager::FindConnection(sockaddr* local, sockaddr* peer) argument
319 TCPEndpoint *endpoint = _LookupConnection(local, peer);
573 kprintf("%10s %21s %21s %8s %8s %12s\n", "address", "local", "peer",
259 SetConnection(TCPEndpoint* endpoint, const sockaddr* _local, const sockaddr* peer, const sockaddr* interfaceLocal) argument
[all...]
H A DEndpointManager.h76 TCPEndpoint* FindConnection(sockaddr* local, sockaddr* peer);
79 const sockaddr* local, const sockaddr* peer,
99 const sockaddr* peer);
H A DTCPEndpoint.cpp1186 /*! Sends the FIN flag to the peer when the connection is still open.
1812 TRACE("Receive(): peer is finishing connection!");
1972 // check if we need to send a window update to the peer
2235 TCPEndpoint::_PrepareSendPath(const sockaddr* peer)
2238 fRoute = gDatalinkModule->get_route(Domain(), peer);
2247 status_t status = fManager->SetConnection(this, *LocalAddress(), peer,
2262 fReceiveMaxSegmentSize = _MaxSegmentSize(peer);
2264 // Compute the window shift we advertise to our peer - if it doesn't support
H A DTCPEndpoint.h106 status_t _PrepareSendPath(const sockaddr* peer);
/haiku/src/add-ons/kernel/network/protocols/udp/
H A Dudp.cpp349 // so we reset the peer address:
406 kprintf("%10s %20s %20s %8s\n", "address", "local", "peer", "recv-q");
556 // no, datagram is from another peer, so we do not dispatch to
588 // look for endpoint matching peer address & port and local port:
1098 char peer[64]; local
1099 PeerAddress().AsString(peer, sizeof(peer), true);
1101 kprintf("%p %20s %20s %8lu\n", this, local, peer, fCurrentBytes);
/haiku/src/add-ons/kernel/network/protocols/unix/
H A DUnixEndpoint.cpp318 // get the peer endpoint
353 // init connected peer endpoint
449 // lock the peer's FIFO
498 // The peer closed connection or shutdown its read side. Reward
538 // Copy the peer address upfront. This way, if we read something, we don't
541 socklen_t addrLen = min_c(*_addressLength, socket->peer.ss_len);
542 memcpy(_address, &socket->peer, addrLen);
589 // Orderly shutdown or the peer closed the connection.
620 // lock the peer's FIFO
690 // translate the direction into shutdown flags for our and the peer fif
[all...]
/haiku/src/add-ons/kernel/network/stack/
H A Dnet_socket.cpp101 peer.ss_len = 0;
490 if (socket->peer.ss_len == 0)
516 memcpy(buffer->destination, &socket->peer, socket->peer.ss_len);
663 memcpy(&stat->peer, &socket->peer, sizeof(struct sockaddr_storage));
732 memcpy(&socket->peer, &parent->peer, parent->peer.ss_len);
992 memcpy(address, &accepted->peer, min_
[all...]
/haiku/src/bin/network/ifconfig/
H A Difconfig.cpp85 " peer <addr> - ppp-peer address\n"
720 BNetworkAddress peer; local
728 if (!strcmp(args[i], "peer")) {
729 if (!parse_address(family, args[i + 1], peer)) {
730 fprintf(stderr, "%s: Option 'peer' needs valid address "
844 || !broadcast.IsEmpty() || !peer.IsEmpty())) {
849 // set address/mask/broadcast/peer
857 else if (!peer.IsEmpty())
858 interfaceAddress.SetDestination(peer);
[all...]
/haiku/src/kits/network/libnetapi/
H A DAbstractSocket.cpp216 BAbstractSocket::Connect(const BNetworkAddress& peer, int type, argument
221 fInitStatus = _OpenIfNeeded(peer.Family(), type);
227 local.SetToWildcard(peer.Family());
233 BNetworkAddress normalized = peer;
244 TRACE("%p: connected to %s (local %s)\n", this, peer.ToString().c_str(),
H A DDatagramSocket.cpp25 BDatagramSocket::BDatagramSocket(const BNetworkAddress& peer, bigtime_t timeout) argument
27 Connect(peer, timeout);
58 BDatagramSocket::Connect(const BNetworkAddress& peer, bigtime_t timeout) argument
60 return BAbstractSocket::Connect(peer, SOCK_DGRAM, timeout);
77 BDatagramSocket::SetPeer(const BNetworkAddress& peer) argument
79 fPeer = peer;
H A DNetEndpoint.cpp58 in_addr addr, peer;
71 (int32 *)&peer.s_addr);
76 fStatus = fPeer.SetTo(peer, peerPort);
172 in_addr addr, peer;
183 status = fPeer.GetAddr(peer, &peerPort);
185 status = into->AddInt32("_BNetEndpoint_peer_addr", peer.s_addr);
H A DProxySecureSocket.cpp20 BProxySecureSocket::BProxySecureSocket(const BNetworkAddress& proxy, const BNetworkAddress& peer, argument
26 Connect(peer, timeout);
44 BProxySecureSocket::Connect(const BNetworkAddress& peer, bigtime_t timeout) argument
56 peer.HostName().String(), peer.Port());
H A DSocket.cpp26 BSocket::BSocket(const BNetworkAddress& peer, bigtime_t timeout) argument
28 Connect(peer, timeout);
52 BSocket::Connect(const BNetworkAddress& peer, bigtime_t timeout) argument
54 return BAbstractSocket::Connect(peer, SOCK_STREAM, timeout);
62 BNetworkAddress peer; local
63 status_t error = AcceptNext(fd, peer);
72 socket->_SetTo(fd, fLocal, peer);
112 const BNetworkAddress& peer)
119 fPeer = peer;
123 peer
111 _SetTo(int fd, const BNetworkAddress& local, const BNetworkAddress& peer) argument
[all...]
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_mesh.c136 "Maximum retries during peer link establishment");
141 "backinoff during peer link establishment");
402 const uint8_t peer[IEEE80211_ADDR_LEN])
409 if (IEEE80211_ADDR_EQ(rt->rt_nexthop, peer))
913 ni, "peer link: %s -> %s",
943 * peer establishment.
1611 "peer link not yet established (%d)",
1936 * Automatically peer with discovered nodes if possible.
1964 * Valid beacon from a peer mesh STA
2142 /* NB: peer lin
401 ieee80211_mesh_rt_flush_peer(struct ieee80211vap *vap, const uint8_t peer[IEEE80211_ADDR_LEN]) argument
[all...]

Completed in 199 milliseconds

12