/bind-9.11.3/lib/dns/ |
H A D | peer.c | 9 /* $Id: peer.c,v 1.33 2009/09/02 23:48:02 tbox Exp $ */ 23 #include <dns/peer.h> 49 peer_delete(dns_peer_t **peer); 130 dns_peerlist_addpeer(dns_peerlist_t *peers, dns_peer_t *peer) { argument 133 dns_peer_attach(peer, &p); 141 if (p->prefixlen < peer->prefixlen) 145 ISC_LIST_INSERTBEFORE(peers->elements, p, peer, next); 147 ISC_LIST_APPEND(peers->elements, peer, next); 216 dns_peer_t *peer; local 220 peer 262 dns_peer_detach(dns_peer_t **peer) argument 281 peer_delete(dns_peer_t **peer) argument 317 dns_peer_setbogus(dns_peer_t *peer, isc_boolean_t newval) argument 331 dns_peer_getbogus(dns_peer_t *peer, isc_boolean_t *retval) argument 344 dns_peer_setprovideixfr(dns_peer_t *peer, isc_boolean_t newval) argument 358 dns_peer_getprovideixfr(dns_peer_t *peer, isc_boolean_t *retval) argument 371 dns_peer_setrequestixfr(dns_peer_t *peer, isc_boolean_t newval) argument 385 dns_peer_getrequestixfr(dns_peer_t *peer, isc_boolean_t *retval) argument 397 dns_peer_setsupportedns(dns_peer_t *peer, isc_boolean_t newval) argument 411 dns_peer_getsupportedns(dns_peer_t *peer, isc_boolean_t *retval) argument 423 dns_peer_setrequestnsid(dns_peer_t *peer, isc_boolean_t newval) argument 437 dns_peer_getrequestnsid(dns_peer_t *peer, isc_boolean_t *retval) argument 449 dns_peer_setsendcookie(dns_peer_t *peer, isc_boolean_t newval) argument 463 dns_peer_getsendcookie(dns_peer_t *peer, isc_boolean_t *retval) argument 475 dns_peer_setrequestexpire(dns_peer_t *peer, isc_boolean_t newval) argument 489 dns_peer_getrequestexpire(dns_peer_t *peer, isc_boolean_t *retval) argument 501 dns_peer_setforcetcp(dns_peer_t *peer, isc_boolean_t newval) argument 515 dns_peer_getforcetcp(dns_peer_t *peer, isc_boolean_t *retval) argument 527 dns_peer_settransfers(dns_peer_t *peer, isc_uint32_t newval) argument 541 dns_peer_gettransfers(dns_peer_t *peer, isc_uint32_t *retval) argument 554 dns_peer_settransferformat(dns_peer_t *peer, dns_transfer_format_t newval) argument 569 dns_peer_gettransferformat(dns_peer_t *peer, dns_transfer_format_t *retval) argument 582 dns_peer_getkey(dns_peer_t *peer, dns_name_t **retval) argument 594 dns_peer_setkey(dns_peer_t *peer, dns_name_t **keyval) argument 610 dns_peer_setkeybycharp(dns_peer_t *peer, const char *keyval) argument 643 dns_peer_settransfersource(dns_peer_t *peer, const isc_sockaddr_t *transfer_source) argument 665 dns_peer_gettransfersource(dns_peer_t *peer, isc_sockaddr_t *transfer_source) argument 676 dns_peer_setnotifysource(dns_peer_t *peer, const isc_sockaddr_t *notify_source) argument 698 dns_peer_getnotifysource(dns_peer_t *peer, isc_sockaddr_t *notify_source) argument 709 dns_peer_setquerysource(dns_peer_t *peer, const isc_sockaddr_t *query_source) argument 729 dns_peer_getquerysource(dns_peer_t *peer, isc_sockaddr_t *query_source) argument 740 dns_peer_setudpsize(dns_peer_t *peer, isc_uint16_t udpsize) argument 754 dns_peer_getudpsize(dns_peer_t *peer, isc_uint16_t *udpsize) argument 768 dns_peer_setmaxudp(dns_peer_t *peer, isc_uint16_t maxudp) argument 782 dns_peer_getmaxudp(dns_peer_t *peer, isc_uint16_t *maxudp) argument 796 dns_peer_setnotifydscp(dns_peer_t *peer, isc_dscp_t dscp) argument 806 dns_peer_getnotifydscp(dns_peer_t *peer, isc_dscp_t *dscpp) argument 818 dns_peer_settransferdscp(dns_peer_t *peer, isc_dscp_t dscp) argument 828 dns_peer_gettransferdscp(dns_peer_t *peer, isc_dscp_t *dscpp) argument 840 dns_peer_setquerydscp(dns_peer_t *peer, isc_dscp_t dscp) argument 850 dns_peer_getquerydscp(dns_peer_t *peer, isc_dscp_t *dscpp) argument 862 dns_peer_setednsversion(dns_peer_t *peer, isc_uint8_t ednsversion) argument 872 dns_peer_getednsversion(dns_peer_t *peer, isc_uint8_t *ednsversion) argument [all...] |
H A D | request.c | 537 char peer[ISC_SOCKADDR_FORMATSIZE]; local 539 isc_sockaddr_format(destaddr, peer, sizeof(peer)); 542 *connected ? "existing" : "pending", peer); 549 char peer[ISC_SOCKADDR_FORMATSIZE]; local 552 isc_sockaddr_format(destaddr, peer, sizeof(peer)); 554 "connection to %s", peer);
|
H A D | resolver.c | 50 #include <dns/peer.h> 1691 dns_peer_t *peer = NULL; local 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; local 2247 peer = NULL; 2249 (void) dns_peerlist_peerbyaddr(fctx->res->view->peers, &ipaddr, &peer); 2256 peer ! 3505 dns_peer_t *peer = NULL; local [all...] |
H A D | view.c | 45 #include <dns/peer.h> 1577 dns_peer_t *peer = NULL; local 1579 result = dns_peerlist_peerbyaddr(view->peers, peeraddr, &peer); 1583 result = dns_peer_getkey(peer, &keyname);
|
H A D | zone.c | 54 #include <dns/peer.h> 10915 dns_peer_t *peer = NULL; local 10918 &dstip, &peer); 10920 result = dns_peer_getnotifysource(peer, &src); 10923 dns_peer_getnotifydscp(peer, &dscp); 10926 result = dns_peer_getforcetcp(peer, &usetcp); 12285 dns_peer_t *peer = NULL; local 12288 &masterip, &peer); 12290 result = dns_peer_getsupportedns(peer, &edns); 12293 result = dns_peer_gettransfersource(peer, 12539 dns_peer_t *peer = NULL; local 15453 dns_peer_t *peer = NULL; local 16416 dns_peer_t *peer = NULL; local [all...] |
H A D | dispatch.c | 210 isc_sockaddr_t peer; /*%< peer address (TCP) */ member in struct:dns_dispatch 2391 memset(&disp->peer, 0, sizeof(disp->peer)); 2590 disp->peer = *destaddr; 2732 isc_sockaddr_equal(destaddr, &disp->peer)) {
|
/bind-9.11.3/lib/dns/include/dns/ |
H A D | peer.h | 9 /* $Id: peer.h,v 1.35 2009/01/17 23:47:43 tbox Exp $ */ 18 /*! \file dns/peer.h 103 * After return caller still holds a reference to peer. 106 dns_peerlist_addpeer(dns_peerlist_t *peers, dns_peer_t *peer); 121 dns_peer_new(isc_mem_t *mem, isc_netaddr_t *ipaddr, dns_peer_t **peer); 125 unsigned int prefixlen, dns_peer_t **peer); 134 dns_peer_setbogus(dns_peer_t *peer, isc_boolean_t newval); 137 dns_peer_getbogus(dns_peer_t *peer, isc_boolean_t *retval); 140 dns_peer_setrequestixfr(dns_peer_t *peer, isc_boolean_t newval); 143 dns_peer_getrequestixfr(dns_peer_t *peer, isc_boolean_ [all...] |
/bind-9.11.3/lib/dns/tests/ |
H A D | peer_test.c | 17 #include <dns/peer.h> 33 dns_peer_t *peer = NULL; local 40 * Create peer structure for the loopback address. 44 result = dns_peer_new(mctx, &netaddr, &peer); 52 result = dns_peer_getquerydscp(peer, &dscp); 56 result = dns_peer_getnotifydscp(peer, &dscp); 60 result = dns_peer_gettransferdscp(peer, &dscp); 70 result = dns_peer_setquerydscp(peer, 1); 73 result = dns_peer_getnotifydscp(peer, &dscp); 77 result = dns_peer_gettransferdscp(peer, [all...] |
/bind-9.11.3/bin/tests/system/reclimit/ans2/ |
H A D | ans.pl | 142 my ($buf, $peer) = @_; 183 @delayed_response = ($reply, $peer); 194 my ($reply, $peer) = @delayed_response; 197 $udpsock->send($reply->data(512), 0, $peer); 212 my ($buf, $peer, $reply); 214 $peer = $udpsock->peername(); 215 $reply = handleUDP($buf, $peer); 218 $udpsock->send($reply->data(512), 0, $peer) if $reply;
|
/bind-9.11.3/bin/tests/ |
H A D | shutdown_test.c | 32 isc_task_t * peer; member in struct:__anon41 78 isc_task_sendanddetach(&info->peer, &nevent); 110 isc_task_send(info->peer, &nevent); 111 isc_task_detach(&info->peer); 191 isc_task_attach(t2->task, &t1->peer); 192 isc_task_attach(t1->task, &t2->peer);
|
/bind-9.11.3/bin/named/ |
H A D | xfrout.c | 26 #include <dns/peer.h> 743 dns_peer_t *peer = NULL; local 929 * Look up the requesting server in the peer table. 932 (void)dns_peerlist_peerbyaddr(client->view->peers, &na, &peer); 937 if (peer != NULL) 938 (void)dns_peer_gettransferformat(peer, &format); 954 * Outgoing IXFR may have been disabled for this peer 958 if (peer != NULL) 959 (void) dns_peer_getprovideixfr(peer, &provide_ixfr);
|
H A D | server.c | 76 #include <dns/peer.h> 1304 dns_peer_t *peer; local 1312 peer = NULL; 1313 result = dns_peer_newprefix(mctx, &na, prefixlen, &peer); 1320 CHECK(dns_peer_setbogus(peer, cfg_obj_asboolean(obj))); 1325 CHECK(dns_peer_setprovideixfr(peer, cfg_obj_asboolean(obj))); 1330 CHECK(dns_peer_setrequestexpire(peer, cfg_obj_asboolean(obj))); 1335 CHECK(dns_peer_setrequestixfr(peer, cfg_obj_asboolean(obj))); 1340 CHECK(dns_peer_setrequestnsid(peer, cfg_obj_asboolean(obj))); 1345 CHECK(dns_peer_setsendcookie(peer, cfg_obj_asboolea 4150 dns_peer_t *peer; local [all...] |
H A D | client.c | 38 #include <dns/peer.h> 2806 dns_peer_t *peer = NULL; local 2808 (void) dns_peerlist_peerbyaddr(view->peers, &netaddr, &peer); 2809 if (peer != NULL) 2810 dns_peer_getmaxudp(peer, &udpsize); 3774 snprintf(peerbuf, sizeof(peerbuf), "(no-peer)");
|