Lines Matching refs:peer
50 #include <dns/peer.h>
1691 dns_peer_t *peer = NULL;
1696 &dstip, &peer);
1698 result = dns_peer_getquerysource(peer, &addr);
1701 result = dns_peer_getquerydscp(peer, &dscp);
1704 result = dns_peer_getforcetcp(peer, &usetcp);
2117 dns_peer_t *peer = NULL;
2247 peer = NULL;
2249 (void) dns_peerlist_peerbyaddr(fctx->res->view->peers, &ipaddr, &peer);
2256 peer != NULL &&
2257 dns_peer_getsupportedns(peer, &useedns) == ISC_R_SUCCESS &&
2322 if (peer != NULL)
2323 (void)dns_peer_getudpsize(peer, &udpsize);
2341 * We know nothing about the peer's capabilities
2352 /* Request NSID/COOKIE/VERSION for current peer? */
2353 if (peer != NULL) {
2355 (void) dns_peer_getrequestnsid(peer, &reqnsid);
2356 (void) dns_peer_getsendcookie(peer,
2358 result = dns_peer_getednsversion(peer,
3505 dns_peer_t *peer = NULL;
3514 (void) dns_peerlist_peerbyaddr(res->view->peers, &ipaddr, &peer);
3526 if (peer != NULL &&
3527 dns_peer_getbogus(peer, &bogus) == ISC_R_SUCCESS &&