Lines Matching refs:address
72 static void DumpAddr(const PRNetAddr* address, const char *msg)
74 PRUint32 *word = (PRUint32*)address;
76 PR_fprintf(err, "%s[%d]\t", msg, NETADDR_SIZE(address));
85 static PRStatus PrintAddress(const PRNetAddr* address)
89 PRStatus rv = PR_NetAddrToString(address, buffer, sizeof(buffer));
99 PRSize addr_len = NETADDR_SIZE(address);
100 if (0 != memcmp(address, &translation, addr_len))
103 DumpAddr(address, "original");
221 PRNetAddr address;
222 memset(&address, 0, sizeof(PRNetAddr));
226 index = PR_EnumerateHostEnt(index, &host, 0, &address);
227 if (index > 0) PrintAddress(&address);