Home | History | Annotate | Download | only in base

Lines Matching refs:address

21 IPEndPoint::IPEndPoint(const IPAddressNumber& address, int port)
22 : address_(address),
39 NOTREACHED() << "Bad IP address";
45 bool IPEndPoint::ToSockAddr(struct sockaddr* address,
47 DCHECK(address);
54 struct sockaddr_in* addr = reinterpret_cast<struct sockaddr_in*>(address);
66 reinterpret_cast<struct sockaddr_in6*>(address);
74 NOTREACHED() << "Bad IP address";
81 bool IPEndPoint::FromSockAddr(const struct sockaddr* address,
83 DCHECK(address);
84 switch (address->sa_family) {
87 reinterpret_cast<const struct sockaddr_in*>(address);
95 reinterpret_cast<const struct sockaddr_in6*>(address);
102 NOTREACHED() << "Bad IP address";