/bind-9.6-ESV-R11/bin/named/include/named/ |
H A D | lwresd.h | 51 isc_socket_t *sock; member in struct:ns_lwreslistener
|
H A D | lwdclient.h | 184 isc_socket_t *sock; /*%< socket to use */ member in struct:ns_lwdclientmgr
|
/bind-9.6-ESV-R11/lib/dns/include/dns/ |
H A D | tcpmsg.h | 36 isc_socket_t *sock; member in struct:dns_tcpmsg 49 dns_tcpmsg_init(isc_mem_t *mctx, isc_socket_t *sock, dns_tcpmsg_t *tcpmsg); 56 *\li "mctx" and "sock" be non-NULL and valid types. 58 *\li "sock" be a read/write TCP socket.
|
/bind-9.6-ESV-R11/lib/isccc/include/isccc/ |
H A D | ccmsg.h | 51 isc_socket_t *sock; member in struct:isccc_ccmsg 64 isccc_ccmsg_init(isc_mem_t *mctx, isc_socket_t *sock, isccc_ccmsg_t *ccmsg); 71 *\li "mctx" and "sock" be non-NULL and valid types. 73 *\li "sock" be a read/write TCP socket.
|
/bind-9.6-ESV-R11/lib/lwres/ |
H A D | context_p.h | 47 int sock; /*%< socket to send on */ member in struct:lwres_context
|
/bind-9.6-ESV-R11/lib/dns/ |
H A D | tcpmsg.c | 86 result = isc_socket_recv(tcpmsg->sock, ®ion, 0, 133 dns_tcpmsg_init(isc_mem_t *mctx, isc_socket_t *sock, dns_tcpmsg_t *tcpmsg) { argument 135 REQUIRE(sock != NULL); 144 tcpmsg->sock = sock; 191 result = isc_socket_recv(tcpmsg->sock, ®ion, 0, 204 isc_socket_cancel(tcpmsg->sock, NULL, ISC_SOCKCANCEL_RECV);
|
H A D | dispatch.c | 331 static isc_boolean_t portavailable(dns_dispatchmgr_t *mgr, isc_socket_t *sock, 688 "shutting down; detaching from sock %p, task %p", 811 isc_socket_t *sock = NULL; local 835 sock = dispsock->socket; 873 result = open_socket(sockmgr, &localaddr, bindoptions, &sock); 895 dispsock->socket = sock; 908 if (sock != NULL) 909 isc_socket_detach(&sock); 1748 isc_socket_t *sock; local 1751 sock 2165 portavailable(dns_dispatchmgr_t *mgr, isc_socket_t *sock, isc_sockaddr_t *sockaddrp) argument 2501 dns_dispatch_createtcp(dns_dispatchmgr_t *mgr, isc_socket_t *sock, isc_taskmgr_t *taskmgr, unsigned int buffersize, unsigned int maxbuffers, unsigned int maxrequests, unsigned int buckets, unsigned int increment, unsigned int attributes, dns_dispatch_t **dispp) argument 2685 isc_socket_t *sock = NULL; local 2793 isc_socket_t *sock = NULL; local [all...] |
H A D | resolver.c | 7662 isc_socket_t *sock; local 7682 sock = dns_dispatch_getsocket(res->dispatchv4); 7683 isc_socket_cancel(sock, res->buckets[i].task, 7687 sock = dns_dispatch_getsocket(res->dispatchv6); 7688 isc_socket_cancel(sock, res->buckets[i].task,
|
/bind-9.6-ESV-R11/lib/isccc/ |
H A D | ccmsg.c | 91 result = isc_socket_recv(ccmsg->sock, ®ion, 0, 136 isccc_ccmsg_init(isc_mem_t *mctx, isc_socket_t *sock, isccc_ccmsg_t *ccmsg) { argument 138 REQUIRE(sock != NULL); 147 ccmsg->sock = sock; 193 result = isc_socket_recv(ccmsg->sock, ®ion, 0, 206 isc_socket_cancel(ccmsg->sock, NULL, ISC_SOCKCANCEL_RECV);
|
/bind-9.6-ESV-R11/bin/tests/ |
H A D | sock_test.c | 47 isc_socket_t *sock; local 50 sock = event->ev_sender; 53 printf("my_send: %s task %p\n\t(sock %p, base %p, length %d, n %d, " 55 (char *)(event->ev_arg), task, sock, 60 isc_socket_detach(&sock); 71 isc_socket_t *sock; local 77 sock = event->ev_sender; 80 printf("Socket %s (sock %p, base %p, length %d, n %d, result %d)\n", 81 (char *)(event->ev_arg), sock, 97 isc_socket_detach(&sock); 131 isc_socket_t *sock; local 157 isc_socket_t *sock; local 241 isc_socket_t *sock = event->ev_arg; local [all...] |
/bind-9.6-ESV-R11/bin/tests/system/tkey/ |
H A D | keydelete.c | 146 isc_socket_t *sock; local 221 sock = NULL; 223 &sock)); 247 isc_socket_detach(&sock);
|
H A D | keycreate.c | 203 isc_socket_t *sock; local 280 sock = NULL; 282 &sock)); 306 isc_socket_detach(&sock);
|
/bind-9.6-ESV-R11/bin/tests/dst/ |
H A D | gsstest.c | 437 isc_socket_t *sock; local 519 sock = NULL; 521 &sock)); 543 isc_socket_detach(&sock);
|
/bind-9.6-ESV-R11/bin/named/ |
H A D | lwresd.c | 500 if (listener->sock != NULL) 501 isc_socket_detach(&listener->sock); 532 listener->sock = NULL; 549 isc_socket_t *sock = NULL; local 568 sock = NULL; 570 isc_sockettype_udp, &sock); 579 result = isc_socket_bind(sock, &listener->address, 585 isc_socket_detach(&sock); 592 listener->sock = sock; [all...] |
H A D | controlconf.c | 79 isc_socket_t * sock; member in struct:controlconnection 95 isc_socket_t * sock; member in struct:controllistener 144 if (listener->sock != NULL) 145 isc_socket_detach(&listener->sock); 176 isc_socket_cancel(conn->sock, listener->task, 214 isc_socket_cancel(listener->sock, listener->task, 240 result = isc_socket_accept(listener->sock, 256 result = isc_socket_listen(listener->sock, 0); 274 isc_socket_t *sock = (isc_socket_t *)sevent->ev_sender; local 289 (void)isc_socket_getpeername(sock, 530 newconnection(controllistener_t *listener, isc_socket_t *sock) argument 576 isc_socket_t *sock; local [all...] |
H A D | statschannel.c | 1091 isc_socket_t *sock = NULL; local 1131 isc_sockettype_tcp, &sock); 1134 isc_socket_setname(sock, "statchannel", NULL); 1137 isc_socket_ipv6only(sock, ISC_TRUE); 1140 result = isc_socket_bind(sock, addr, ISC_SOCKET_REUSEADDRESS); 1144 result = isc_httpdmgr_create(server->mctx, sock, task, client_ok, 1171 if (sock != NULL) 1172 isc_socket_detach(&sock);
|
H A D | client.c | 2544 isc_socket_t *sock; local 2548 sock = dns_dispatch_getsocket(client->dispatch); 2549 isc_socket_attach(sock, &client->udpsocket);
|
/bind-9.6-ESV-R11/bin/rndc/ |
H A D | rndc.c | 88 static isc_socket_t *sock = NULL; variable 188 isc_socket_detach(&sock); 245 isc_socket_detach(&sock); 321 DO("send message", isc_socket_send(sock, &r, task, rndc_senddone, 353 isc_socket_detach(&sock); 379 isccc_ccmsg_init(mctx, sock, &ccmsg); 385 DO("send message", isc_socket_send(sock, &r, task, rndc_senddone, 408 DO("create socket", isc_socket_create(socketmgr, pf, type, &sock)); 411 DO("bind socket", isc_socket_bind(sock, &local4, 0)); 414 DO("bind socket", isc_socket_bind(sock, [all...] |
/bind-9.6-ESV-R11/lib/isc/ |
H A D | httpd.c | 83 isc_socket_t *sock; member in struct:isc_httpd 139 isc_socket_t *sock; /*%< listening socket */ member in struct:isc_httpdmgr 241 isc_socket_detach(&httpd->sock); 256 isc_httpdmgr_create(isc_mem_t *mctx, isc_socket_t *sock, isc_task_t *task, argument 265 REQUIRE(sock != NULL); 281 httpd->sock = NULL; 282 isc_socket_attach(sock, &httpd->sock); 294 result = isc_socket_listen(sock, SOMAXCONN); 302 (void)isc_socket_filter(sock, "httpread [all...] |
/bind-9.6-ESV-R11/bin/dig/include/dig/ |
H A D | dig.h | 217 isc_socket_t *sock; member in struct:dig_query
|
/bind-9.6-ESV-R11/contrib/queryperf/ |
H A D | queryperf.c | 766 int sock; local 784 if ((sock = socket(res->ai_family, SOCK_DGRAM, 794 if (setsockopt(sock, IPPROTO_IPV6, IPV6_V6ONLY, 802 if (bind(sock, res->ai_addr, res->ai_addrlen) == -1) 809 ret = setsockopt(sock, SOL_SOCKET, SO_RCVBUF, 814 ret = setsockopt(sock, SOL_SOCKET, SO_SNDBUF, 819 return (sock);
|
/bind-9.6-ESV-R11/lib/isc/win32/ |
H A D | socket.c | 94 #define CONSISTENT(sock) consistent(sock) 96 #define CONSISTENT(sock) do {} while (0) 98 static void consistent(isc_socket_t *sock); 277 #define _set_state(sock, _state) do { (sock)->state = (_state); (sock)->state_lineno = __LINE__; } while (0) 357 static isc_boolean_t senddone_is_active(isc_socket_t *sock, isc_socketevent_t *dev); 358 static isc_boolean_t acceptdone_is_active(isc_socket_t *sock, isc_socket_newconnev_t *dev); 359 static isc_boolean_t connectdone_is_active(isc_socket_t *sock, isc_socket_connev_ 375 sock_dump(isc_socket_t *sock) argument 539 iocompletionport_update(isc_socket_t *sock) argument 585 socket_close(isc_socket_t *sock) argument 605 SOCKET sock; local 667 internal_sendmsg(isc_socket_t *sock, IoCompletionInfo *lpo, struct msghdr *messagehdr, int flags, int *Error) argument 713 queue_receive_request(isc_socket_t *sock) argument 841 socket_log(int lineno, isc_socket_t *sock, isc_sockaddr_t *address, isc_logcategory_t *category, isc_logmodule_t *module, int level, isc_msgcat_t *msgcat, int msgset, int message, const char *fmt, ...) argument 940 build_msghdr_send(isc_socket_t *sock, isc_socketevent_t *dev, struct msghdr *msg, char *cmsg, WSABUF *iov, IoCompletionInfo *lpo) argument 1035 set_dev_address(isc_sockaddr_t *address, isc_socket_t *sock, isc_socketevent_t *dev) argument 1059 allocate_socketevent(isc_socket_t *sock, isc_eventtype_t eventtype, isc_taskaction_t action, const void *arg) argument 1086 dump_msg(struct msghdr *msg, isc_socket_t *sock) argument 1102 map_socket_error(isc_socket_t *sock, int windows_errno, int *isc_errno, char *errorstring, size_t bufsize) argument 1207 fill_recv(isc_socket_t *sock, isc_socketevent_t *dev) argument 1280 completeio_recv(isc_socket_t *sock) argument 1324 completeio_send(isc_socket_t *sock, isc_socketevent_t *dev, struct msghdr *messagehdr, int cc, int send_errno) argument 1370 startio_send(isc_socket_t *sock, isc_socketevent_t *dev, int *nbytes, int *send_errno) argument 1431 use_min_mtu(isc_socket_t *sock) argument 1447 isc_socket_t *sock; local 1518 consistent(isc_socket_t *sock) argument 1577 isc_socket_t *sock = *socketp; local 1604 isc_socket_t *sock = *sockp; local 1642 isc_socket_t *sock = NULL; local 1805 isc_socket_open(isc_socket_t *sock) argument 1816 isc_socket_attach(isc_socket_t *sock, isc_socket_t **socketp) argument 1834 isc_socket_t *sock; local 1863 isc_socket_close(isc_socket_t *sock) argument 1881 send_recvdone_event(isc_socket_t *sock, isc_socketevent_t **dev) argument 1903 send_senddone_event(isc_socket_t *sock, isc_socketevent_t **dev) argument 1927 send_acceptdone_event(isc_socket_t *sock, isc_socket_newconnev_t **adev) argument 1947 send_connectdone_event(isc_socket_t *sock, isc_socket_connev_t **cdev) argument 1971 internal_accept(isc_socket_t *sock, IoCompletionInfo *lpo, int accept_errno) argument 2071 internal_connect(isc_socket_t *sock, IoCompletionInfo *lpo, int connect_errno) argument 2159 send_recvdone_abort(isc_socket_t *sock, isc_result_t result) argument 2177 internal_recv(isc_socket_t *sock, int nbytes) argument 2229 internal_send(isc_socket_t *sock, isc_socketevent_t *dev, struct msghdr *messagehdr, int nbytes, int send_errno, IoCompletionInfo *lpo) argument 2290 senddone_is_active(isc_socket_t *sock, isc_socketevent_t *dev) argument 2302 acceptdone_is_active(isc_socket_t *sock, isc_socket_newconnev_t *dev) argument 2314 connectdone_is_active(isc_socket_t *sock, isc_socket_connev_t *dev) argument 2387 isc_socket_t *sock = NULL; local 2703 queue_receive_event(isc_socket_t *sock, isc_task_t *task, isc_socketevent_t *dev) argument 2729 socket_recv(isc_socket_t *sock, isc_socketevent_t *dev, isc_task_t *task, unsigned int flags) argument 2761 isc_socket_recvv(isc_socket_t *sock, isc_bufferlist_t *buflist, unsigned int minimum, isc_task_t *task, isc_taskaction_t action, const void *arg) argument 2831 isc_socket_recv(isc_socket_t *sock, isc_region_t *region, unsigned int minimum, isc_task_t *task, isc_taskaction_t action, const void *arg) argument 2868 isc_socket_recv2(isc_socket_t *sock, isc_region_t *region, unsigned int minimum, isc_task_t *task, isc_socketevent_t *event, unsigned int flags) argument 2915 socket_send(isc_socket_t *sock, isc_socketevent_t *dev, isc_task_t *task, isc_sockaddr_t *address, struct in6_pktinfo *pktinfo, unsigned int flags) argument 2978 isc_socket_send(isc_socket_t *sock, isc_region_t *region, isc_task_t *task, isc_taskaction_t action, const void *arg) argument 2989 isc_socket_sendto(isc_socket_t *sock, isc_region_t *region, isc_task_t *task, isc_taskaction_t action, const void *arg, isc_sockaddr_t *address, struct in6_pktinfo *pktinfo) argument 3032 isc_socket_sendv(isc_socket_t *sock, isc_bufferlist_t *buflist, isc_task_t *task, isc_taskaction_t action, const void *arg) argument 3040 isc_socket_sendtov(isc_socket_t *sock, isc_bufferlist_t *buflist, isc_task_t *task, isc_taskaction_t action, const void *arg, isc_sockaddr_t *address, struct in6_pktinfo *pktinfo) argument 3049 isc_socket_sendtov2(isc_socket_t *sock, isc_bufferlist_t *buflist, isc_task_t *task, isc_taskaction_t action, const void *arg, isc_sockaddr_t *address, struct in6_pktinfo *pktinfo, unsigned int flags) argument 3105 isc_socket_sendto2(isc_socket_t *sock, isc_region_t *region, isc_task_t *task, isc_sockaddr_t *address, struct in6_pktinfo *pktinfo, isc_socketevent_t *event, unsigned int flags) argument 3140 isc_socket_bind(isc_socket_t *sock, isc_sockaddr_t *sockaddr, unsigned int options) argument 3206 isc_socket_filter(isc_socket_t *sock, const char *filter) argument 3225 isc_socket_listen(isc_socket_t *sock, unsigned int backlog) argument 3270 isc_socket_accept(isc_socket_t *sock, isc_task_t *task, isc_taskaction_t action, const void *arg) argument 3388 isc_socket_connect(isc_socket_t *sock, isc_sockaddr_t *addr, isc_task_t *task, isc_taskaction_t action, const void *arg) argument 3503 isc_socket_getpeername(isc_socket_t *sock, isc_sockaddr_t *addressp) argument 3533 isc_socket_getsockname(isc_socket_t *sock, isc_sockaddr_t *addressp) argument 3580 isc_socket_cancel(isc_socket_t *sock, isc_task_t *task, unsigned int how) argument 3706 isc_socket_gettype(isc_socket_t *sock) argument 3727 isc_socket_isbound(isc_socket_t *sock) argument 3750 isc_socket_ipv6only(isc_socket_t *sock, isc_boolean_t yes) argument [all...] |
/bind-9.6-ESV-R11/lib/isc/unix/ |
H A D | socket.c | 558 socket_log(isc_socket_t *sock, isc_sockaddr_t *address, 563 socket_log(isc_socket_t *sock, isc_sockaddr_t *address, argument 582 "socket %p: %s", sock, msgbuf); 587 "socket %p %s: %s", sock, peerbuf, msgbuf); 598 FIX_IPV6_RECVPKTINFO(isc_socket_t *sock) argument 603 if (sock->pf != AF_INET6 || sock->type != isc_sockettype_udp) 606 if (setsockopt(sock->fd, IPPROTO_IPV6, IPV6_RECVPKTINFO, 612 "%s: %s", sock->fd, 621 #define FIX_IPV6_RECVPKTINFO(sock) (voi 1030 process_cmsg(isc_socket_t *sock, struct msghdr *msg, isc_socketevent_t *dev) argument 1135 build_msghdr_send(isc_socket_t *sock, isc_socketevent_t *dev, struct msghdr *msg, struct iovec *iov, size_t *write_countp) argument 1273 build_msghdr_recv(isc_socket_t *sock, isc_socketevent_t *dev, struct msghdr *msg, struct iovec *iov, size_t *read_countp) argument 1394 set_dev_address(isc_sockaddr_t *address, isc_socket_t *sock, isc_socketevent_t *dev) argument 1418 allocate_socketevent(isc_socket_t *sock, isc_eventtype_t eventtype, isc_taskaction_t action, const void *arg) argument 1471 doio_recv(isc_socket_t *sock, isc_socketevent_t *dev) argument 1660 doio_send(isc_socket_t *sock, isc_socketevent_t *dev) argument 1771 closesocket(isc_socketmgr_t *manager, isc_socket_t *sock, int fd) argument 1836 isc_socket_t *sock = *sockp; local 1873 isc_socket_t *sock; local 1997 isc_socket_t *sock = *socketp; local 2065 use_min_mtu(isc_socket_t *sock) argument 2090 opensocket(isc_socketmgr_t *manager, isc_socket_t *sock) argument 2375 isc_socket_t *sock = NULL; local 2444 isc_socket_open(isc_socket_t *sock) argument 2497 isc_socket_t *sock = NULL; local 2552 isc_socket_attach(isc_socket_t *sock, isc_socket_t **socketp) argument 2569 isc_socket_t *sock; local 2590 isc_socket_close(isc_socket_t *sock) argument 2638 dispatch_recv(isc_socket_t *sock) argument 2672 dispatch_send(isc_socket_t *sock) argument 2709 dispatch_accept(isc_socket_t *sock) argument 2735 dispatch_connect(isc_socket_t *sock) argument 2765 send_recvdone_event(isc_socket_t *sock, isc_socketevent_t **dev) argument 2788 send_senddone_event(isc_socket_t *sock, isc_socketevent_t **dev) argument 2819 isc_socket_t *sock; local 3067 isc_socket_t *sock; local 3132 isc_socket_t *sock; local 3186 isc_socket_t *sock; local 3226 isc_socket_t *sock; local 3272 isc_socket_t *sock; local 4179 socket_recv(isc_socket_t *sock, isc_socketevent_t *dev, isc_task_t *task, unsigned int flags) argument 4251 isc_socket_recvv(isc_socket_t *sock, isc_bufferlist_t *buflist, unsigned int minimum, isc_task_t *task, isc_taskaction_t action, const void *arg) argument 4304 isc_socket_recv(isc_socket_t *sock, isc_region_t *region, unsigned int minimum, isc_task_t *task, isc_taskaction_t action, const void *arg) argument 4326 isc_socket_recv2(isc_socket_t *sock, isc_region_t *region, unsigned int minimum, isc_task_t *task, isc_socketevent_t *event, unsigned int flags) argument 4354 socket_send(isc_socket_t *sock, isc_socketevent_t *dev, isc_task_t *task, isc_sockaddr_t *address, struct in6_pktinfo *pktinfo, unsigned int flags) argument 4446 isc_socket_send(isc_socket_t *sock, isc_region_t *region, isc_task_t *task, isc_taskaction_t action, const void *arg) argument 4457 isc_socket_sendto(isc_socket_t *sock, isc_region_t *region, isc_task_t *task, isc_taskaction_t action, const void *arg, isc_sockaddr_t *address, struct in6_pktinfo *pktinfo) argument 4484 isc_socket_sendv(isc_socket_t *sock, isc_bufferlist_t *buflist, isc_task_t *task, isc_taskaction_t action, const void *arg) argument 4492 isc_socket_sendtov(isc_socket_t *sock, isc_bufferlist_t *buflist, isc_task_t *task, isc_taskaction_t action, const void *arg, isc_sockaddr_t *address, struct in6_pktinfo *pktinfo) argument 4501 isc_socket_sendtov2(isc_socket_t *sock, isc_bufferlist_t *buflist, isc_task_t *task, isc_taskaction_t action, const void *arg, isc_sockaddr_t *address, struct in6_pktinfo *pktinfo, unsigned int flags) argument 4541 isc_socket_sendto2(isc_socket_t *sock, isc_region_t *region, isc_task_t *task, isc_sockaddr_t *address, struct in6_pktinfo *pktinfo, isc_socketevent_t *event, unsigned int flags) argument 4745 isc_socket_bind(isc_socket_t *sock, isc_sockaddr_t *sockaddr, unsigned int options) argument 4816 isc_socket_filter(isc_socket_t *sock, const char *filter) argument 4855 isc_socket_listen(isc_socket_t *sock, unsigned int backlog) argument 4889 isc_socket_accept(isc_socket_t *sock, isc_task_t *task, isc_taskaction_t action, const void *arg) argument 4963 isc_socket_connect(isc_socket_t *sock, isc_sockaddr_t *addr, isc_task_t *task, isc_taskaction_t action, const void *arg) argument 5108 isc_socket_t *sock; local 5223 isc_socket_getpeername(isc_socket_t *sock, isc_sockaddr_t *addressp) argument 5244 isc_socket_getsockname(isc_socket_t *sock, isc_sockaddr_t *addressp) argument 5282 isc_socket_cancel(isc_socket_t *sock, isc_task_t *task, unsigned int how) argument 5402 isc_socket_gettype(isc_socket_t *sock) argument 5409 isc_socket_isbound(isc_socket_t *sock) argument 5420 isc_socket_ipv6only(isc_socket_t *sock, isc_boolean_t yes) argument 5584 isc_socket_t *sock = NULL; local [all...] |