Lines Matching defs:host
49 static bool validateAddress(const char *host);
55 char * host,
67 char host[NS_MAXDNAME];
97 host,
112 host,
145 strcmp(host, "255.255.255.255") == 0 ? NULL : host,
158 host,
168 strcmp(host, "255.255.255.255") == 0 ? NULL : host,
229 if (0 != strcmp(host, "255.255.255.255")) {
246 strcmp(host, "255.255.255.255") == 0 ? NULL : host,
259 host,
270 host,
284 host,
295 host,
308 host,
319 host,
346 static bool validateAddress(const char *host)
351 ret = inet_pton(PF_INET, host, &addr);
362 char * host,
485 // host must be present
489 "Specification doesn't contain host\n");
493 if(!CFStringGetCString(hostString,host,NS_MAXDNAME,kCFStringEncodingUTF8)) {
496 "Can't interpret host as string\n");
502 if(!validateAddress(host)) {
504 "Can't interpret host %s as an IPv4 address\n",
505 host);