Lines Matching defs:family
73 BNetworkAddress::BNetworkAddress(int family, const char* host, uint16 port,
76 fStatus = SetTo(family, host, port, flags);
80 BNetworkAddress::BNetworkAddress(int family, const char* host,
83 fStatus = SetTo(family, host, service, flags);
215 BNetworkAddress::SetTo(int family, const char* host, uint16 port, uint32 flags)
217 if (family == AF_LINK) {
225 = BNetworkAddressResolver::Resolve(family, host, port, flags);
243 BNetworkAddress::SetTo(int family, const char* host, const char* service,
246 if (family == AF_LINK) {
254 = BNetworkAddressResolver::Resolve(family, host, service, flags);
380 BNetworkAddress::SetToBroadcast(int family, uint16 port)
382 if (family != AF_INET)
391 BNetworkAddress::SetToLocal(int family, uint16 port)
399 BNetworkAddress::SetToLoopback(int family, uint16 port)
401 switch (family) {
402 // TODO: choose family depending on availability of IPv6
421 BNetworkAddress::SetToMask(int family, uint32 prefixLength)
423 switch (family) {
473 BNetworkAddress::SetToWildcard(int family, uint16 port)
475 switch (family) {
1141 // 2 bytes minimum for family, and length