isc_socketmethods Struct Reference

#include <socket.h>


Data Fields

void(* attach )(isc_socket_t *socket, isc_socket_t **socketp)
void(* detach )(isc_socket_t **socketp)
isc_result_t(* bind )(isc_socket_t *sock, isc_sockaddr_t *sockaddr, unsigned int options)
isc_result_t(* sendto )(isc_socket_t *sock, isc_region_t *region, isc_task_t *task, isc_taskaction_t action, void *arg, isc_sockaddr_t *address, struct in6_pktinfo *pktinfo)
isc_result_t(* 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)
isc_result_t(* connect )(isc_socket_t *sock, isc_sockaddr_t *addr, isc_task_t *task, isc_taskaction_t action, void *arg)
isc_result_t(* recv )(isc_socket_t *sock, isc_region_t *region, unsigned int minimum, isc_task_t *task, isc_taskaction_t action, void *arg)
isc_result_t(* recv2 )(isc_socket_t *sock, isc_region_t *region, unsigned int minimum, isc_task_t *task, isc_socketevent_t *event, unsigned int flags)
void(* cancel )(isc_socket_t *sock, isc_task_t *task, unsigned int how)
isc_result_t(* getsockname )(isc_socket_t *sock, isc_sockaddr_t *addressp)
isc_sockettype_t(* gettype )(isc_socket_t *sock)
void(* ipv6only )(isc_socket_t *sock, isc_boolean_t yes)
isc_result_t(* fdwatchpoke )(isc_socket_t *sock, int flags)
isc_result_t(* dup )(isc_socket_t *socket, isc_socket_t **socketp)
int(* getfd )(isc_socket_t *socket)
void(* dscp )(isc_socket_t *socket, isc_dscp_t dscp)


Detailed Description

Definition at line 341 of file socket.h.


Field Documentation

void(* isc_socketmethods::attach)(isc_socket_t *socket, isc_socket_t **socketp)

Referenced by isc_socket_attach().

void(* isc_socketmethods::detach)(isc_socket_t **socketp)

isc_result_t(* isc_socketmethods::bind)(isc_socket_t *sock, isc_sockaddr_t *sockaddr, unsigned int options)

Referenced by isc_socket_bind().

isc_result_t(* isc_socketmethods::sendto)(isc_socket_t *sock, isc_region_t *region, isc_task_t *task, isc_taskaction_t action, void *arg, isc_sockaddr_t *address, struct in6_pktinfo *pktinfo)

Referenced by isc_socket_sendto().

isc_result_t(* isc_socketmethods::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)

isc_result_t(* isc_socketmethods::connect)(isc_socket_t *sock, isc_sockaddr_t *addr, isc_task_t *task, isc_taskaction_t action, void *arg)

Referenced by isc_socket_connect().

isc_result_t(* isc_socketmethods::recv)(isc_socket_t *sock, isc_region_t *region, unsigned int minimum, isc_task_t *task, isc_taskaction_t action, void *arg)

Referenced by isc_socket_recv().

isc_result_t(* isc_socketmethods::recv2)(isc_socket_t *sock, isc_region_t *region, unsigned int minimum, isc_task_t *task, isc_socketevent_t *event, unsigned int flags)

void(* isc_socketmethods::cancel)(isc_socket_t *sock, isc_task_t *task, unsigned int how)

Referenced by isc_socket_cancel().

isc_result_t(* isc_socketmethods::getsockname)(isc_socket_t *sock, isc_sockaddr_t *addressp)

Referenced by isc_socket_getsockname().

isc_sockettype_t(* isc_socketmethods::gettype)(isc_socket_t *sock)

Referenced by isc_socket_gettype().

void(* isc_socketmethods::ipv6only)(isc_socket_t *sock, isc_boolean_t yes)

Referenced by isc_socket_ipv6only().

isc_result_t(* isc_socketmethods::fdwatchpoke)(isc_socket_t *sock, int flags)

Referenced by isc_socket_fdwatchpoke().

isc_result_t(* isc_socketmethods::dup)(isc_socket_t *socket, isc_socket_t **socketp)

Referenced by isc_socket_dup().

int(* isc_socketmethods::getfd)(isc_socket_t *socket)

Referenced by isc_socket_getfd().

void(* isc_socketmethods::dscp)(isc_socket_t *socket, isc_dscp_t dscp)

Referenced by isc_socket_dscp().


The documentation for this struct was generated from the following file:
Generated on Tue Apr 28 17:41:21 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha