2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

1203. [func] Use "dataready" accept filter if available.

This commit is contained in:
Mark Andrews
2002-05-27 00:40:23 +00:00
parent c9fc5bacab
commit a1edcd1b8d
6 changed files with 59 additions and 5 deletions

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: socket.c,v 1.17 2002/04/02 04:36:52 marka Exp $ */
/* $Id: socket.c,v 1.18 2002/05/27 00:40:23 marka Exp $ */
#define MAKE_EXTERNAL 1
#include <config.h>
@@ -2899,6 +2899,15 @@ isc_socket_bind(isc_socket_t *sock, isc_sockaddr_t *sockaddr) {
return (ISC_R_SUCCESS);
}
isc_result_t
isc_socket_filter(isc_socket_t *sock, const char *filter) {
UNUSED(sock);
UNUSED(filter);
REQUIRE(VALID_SOCKET(sock));
return (ISC_R_NOTIMPLEMENTED);
}
/*
* Set up to listen on a given socket. We do this by creating an internal
* event that will be dispatched when the socket has read activity. The