Searched refs:netAddr (Results 1 – 1 of 1) sorted by relevance
17 checkNetAddr(const BNetAddress& netAddr, uint32 nwAddr, uint16 nwPort) in checkNetAddr() argument22 if ((status = netAddr.GetAddr(addr, &port)) != B_OK) { in checkNetAddr()39 if ((status = netAddr.GetAddr(sockaddr)) != B_OK) { in checkNetAddr()66 BNetAddress netAddr; in main() local67 if (sizeof(netAddr) != 52) { in main()69 sizeof(netAddr)); in main()73 netAddr.SetTo("localhost", 123); in main()74 checkNetAddr(netAddr, htonl(0x7F000001), htons(123)); in main()76 netAddr.SetTo(htonl(0x7F000001), 123); in main()77 checkNetAddr(netAddr, htonl(0x7F000001), htons(123)); in main()[all …]