Lines Matching refs:port

60 BNetworkAddress::BNetworkAddress(const char* host, uint16 port, uint32 flags)
62 fStatus = SetTo(host, port, flags);
73 BNetworkAddress::BNetworkAddress(int family, const char* host, uint16 port,
76 fStatus = SetTo(family, host, port, flags);
117 BNetworkAddress::BNetworkAddress(in_addr_t address, uint16 port)
119 SetTo(address, port);
123 BNetworkAddress::BNetworkAddress(const in6_addr& address, uint16 port)
125 SetTo(address, port);
161 BNetworkAddress::SetTo(const char* host, uint16 port, uint32 flags)
164 = BNetworkAddressResolver::Resolve(host, port, flags);
215 BNetworkAddress::SetTo(int family, const char* host, uint16 port, uint32 flags)
218 if (port != 0)
225 = BNetworkAddressResolver::Resolve(family, host, port, flags);
343 BNetworkAddress::SetTo(in_addr_t inetAddress, uint16 port)
350 SetPort(port);
357 BNetworkAddress::SetTo(const in6_addr& inet6Address, uint16 port)
364 SetPort(port);
380 BNetworkAddress::SetToBroadcast(int family, uint16 port)
385 SetTo(INADDR_BROADCAST, port);
391 BNetworkAddress::SetToLocal(int family, uint16 port)
399 BNetworkAddress::SetToLoopback(int family, uint16 port)
405 SetTo(htonl(INADDR_LOOPBACK), port);
409 SetTo(in6addr_loopback, port);
473 BNetworkAddress::SetToWildcard(int family, uint16 port)
477 SetTo(INADDR_ANY, port);
481 SetTo(in6addr_any, port);
518 BNetworkAddress::SetPort(uint16 port)
522 ((sockaddr_in&)fAddress).sin_port = htons(port);
526 ((sockaddr_in6&)fAddress).sin6_port = htons(port);
962 uint16 port = Port();
964 SetPort(port);
979 uint16 port = Port();
981 SetPort(port);