Searched refs:capdns (Results 1 - 3 of 3) sorted by relevance
/haiku/src/bin/network/traceroute/ |
H A D | traceroute.c | 362 static cap_channel_t *capdns; variable 555 capdns = cap_service_open(casper, "system.dns"); 556 if (capdns == NULL) 558 if (cap_dns_type_limit(capdns, types, 2) < 0) 561 if (cap_dns_family_limit(capdns, families, 1) < 0) 1898 if (capdns != NULL) 1899 hp = cap_gethostbyname(capdns, domain); 1917 if (capdns != NULL) 1918 hp = cap_gethostbyaddr(capdns, (char *)&in, sizeof(in), 1969 if (capdns ! [all...] |
/haiku/src/bin/network/ping/ |
H A D | ping.c | 194 static cap_channel_t *capdns; variable 575 capdns = capdns_setup(); 585 hp = cap_gethostbyname2(capdns, source, AF_INET); 613 hp = cap_gethostbyname2(capdns, target, AF_INET); 628 if (capdns != NULL) { 632 if (cap_dns_type_limit(capdns, types, 1) < 0) 1641 hp = cap_gethostbyaddr(capdns, (char *)&ina, sizeof(ina), AF_INET);
|
H A D | ping6.c | 229 static cap_channel_t *capdns; variable 331 capdns = capdns_setup(); 522 error = cap_getaddrinfo(capdns, optarg, NULL, &hints, &res); 665 error = cap_getaddrinfo(capdns, target, NULL, &hints, &res); 710 error = cap_getaddrinfo(capdns, gateway, NULL, &hints, &res); 987 if ((error = cap_getaddrinfo(capdns, argv[hops], NULL, &hints, 1005 if (capdns != NULL) { 1009 if (cap_dns_type_limit(capdns, types, nitems(types)) < 0) 2591 if (cap_getnameinfo(capdns, addr, addrlen, buf, sizeof(buf), NULL, 0,
|
Completed in 46 milliseconds