Lines Matching refs:ATAddress

44 class ATAddress
51 ATAddress() in ATAddress() function
56 ATAddress(const ATAddress &y) in ATAddress() function
61 ATAddress(const struct sockaddr *yip) in ATAddress() function
67 ATAddress(const ATAddress &y, in_port_t yport) in ATAddress() function
70 ATAddress::saSetPort((const struct sockaddr *)&(this->ip), yport); in ATAddress()
73 ATAddress(const struct sockaddr *yip, in_port_t yport) in ATAddress() function
77 ATAddress::saSetPort((const struct sockaddr *)&(this->ip), yport); in ATAddress()
151 if (!ATAddress::saIsInet(ip)) { in saInNtoP()
156 const void *src = ATAddress::saInAddr(ip, asize); in saInNtoP()
169 return ATAddress::saSize((const struct sockaddr *)&(this->ip)); in size()
179 return ATAddress::saInPort((const struct sockaddr *)&(this->ip)); in inPort()
184 return ATAddress::saInAddr((const struct sockaddr *)&(this->ip), asize); in inAddr()
189 return ATAddress::saInNtoP((const struct sockaddr *)&(this->ip), buf, buflen); in inNtoP()
192 ATAddress &operator=(const ATAddress &y)
200 ATAddress &operator=(const struct sockaddr &yip)
207 int compare(const ATAddress &y) const in compare()
235 bool operator<(const ATAddress &y) const
243 bool operator>(const ATAddress &y) const
251 bool operator==(const ATAddress &y) const
262 bool operator!=(const ATAddress &y) const
285 typedef std::set<ATAddress> ATAddressList;
286 typedef std::map<ATAddress, std::string> ATDomainMap;
309 static bool GetIPDomain(const ATAddress &ip, std::string &domain, int &error);
548 static int Accept(int s, ATAddress &address,