mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
3137. [func] Improve hardware scalability by allowing multiple
worker threads to process incoming UDP packets. This can significantly increase query throughput on some systems. [RT #22992]
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: namespace.h,v 1.9 2010/12/04 13:25:59 marka Exp $ */
|
||||
/* $Id: namespace.h,v 1.10 2011/07/28 04:04:37 each Exp $ */
|
||||
|
||||
#ifndef ISCAPI_NAMESPACE_H
|
||||
#define ISCAPI_NAMESPACE_H 1
|
||||
@@ -88,6 +88,7 @@
|
||||
#define isc_mempool_getfillcount isc__mempool_getfillcount
|
||||
|
||||
#define isc_socket_create isc__socket_create
|
||||
#define isc_socket_dup isc__socket_dup
|
||||
#define isc_socket_attach isc__socket_attach
|
||||
#define isc_socket_detach isc__socket_detach
|
||||
#define isc_socketmgr_create isc__socketmgr_create
|
||||
|
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: socket.h,v 1.94 2009/10/01 01:30:01 sar Exp $ */
|
||||
/* $Id: socket.h,v 1.95 2011/07/28 04:04:37 each Exp $ */
|
||||
|
||||
#ifndef ISC_SOCKET_H
|
||||
#define ISC_SOCKET_H 1
|
||||
@@ -449,6 +449,12 @@ isc_socket_create(isc_socketmgr_t *manager,
|
||||
*\li #ISC_R_UNEXPECTED
|
||||
*/
|
||||
|
||||
isc_result_t
|
||||
isc_socket_dup(isc_socket_t *sock0, isc_socket_t **socketp);
|
||||
/*%<
|
||||
* Duplicate an existing socket, reusing its file descriptor.
|
||||
*/
|
||||
|
||||
void
|
||||
isc_socket_cancel(isc_socket_t *sock, isc_task_t *task,
|
||||
unsigned int how);
|
||||
@@ -1102,6 +1108,11 @@ void *isc_socket_gettag(isc_socket_t *socket);
|
||||
* Get the tag associated with a socket, if any.
|
||||
*/
|
||||
|
||||
int isc_socket_getfd(isc_socket_t *socket);
|
||||
/*%<
|
||||
* Get the file descriptor associated with a socket
|
||||
*/
|
||||
|
||||
void
|
||||
isc__socketmgr_setreserved(isc_socketmgr_t *mgr, isc_uint32_t);
|
||||
/*%<
|
||||
|
Reference in New Issue
Block a user