isc_socketevent Struct Reference

#include <socket.h>


Public Member Functions

 ISC_EVENT_COMMON (isc_socketevent_t)

Data Fields

isc_result_t result
 OK, EOF, whatever else.
unsigned int minimum
 minimum i/o for event
unsigned int n
 bytes read or written
unsigned int offset
 offset into buffer list
isc_region_t region
 for single-buffer i/o
isc_bufferlist_t bufferlist
 list of buffers
isc_sockaddr_t address
 source address
isc_time_t timestamp
 timestamp of packet recv
struct in6_pktinfo pktinfo
 ipv6 pktinfo
isc_uint32_t attributes
 see below
isc_eventdestructor_t destroy
 original destructor
unsigned int dscp
 UDP dscp value.


Detailed Description

Definition at line 221 of file socket.h.


Member Function Documentation

isc_socketevent::ISC_EVENT_COMMON ( isc_socketevent_t   ) 


Field Documentation

isc_result_t isc_socketevent::result

OK, EOF, whatever else.

Definition at line 223 of file socket.h.

Referenced by allocate_sevent(), client_request(), client_senddone(), connect_done(), control_senddone(), dns_dispatch_importrecv(), doio_recv(), doio_send(), event_done(), isc__socket_cancel(), isc_httpd_recvdone(), isc_httpd_senddone(), ns_lwdclient_recv(), process_sendevent(), recv_done(), recv_length(), recv_message(), req_connected(), req_senddone(), resquery_connected(), rndc_connected(), rndc_senddone(), tcp_length_done(), udp_recv(), xfrin_send_done(), and xfrout_senddone().

unsigned int isc_socketevent::minimum

minimum i/o for event

Definition at line 224 of file socket.h.

Referenced by doio_recv().

unsigned int isc_socketevent::n

bytes read or written

Definition at line 225 of file socket.h.

Referenced by allocate_sevent(), build_msghdr_recv(), build_msghdr_send(), check_for_more_data(), client_request(), dns_dispatch_importrecv(), doio_recv(), doio_send(), isc_httpd_recvdone(), ns_lwdclient_recv(), recv_message(), and udp_recv().

unsigned int isc_socketevent::offset

offset into buffer list

Definition at line 226 of file socket.h.

Referenced by allocate_sevent().

isc_region_t isc_socketevent::region

for single-buffer i/o

Definition at line 227 of file socket.h.

Referenced by allocate_sevent(), build_msghdr_recv(), build_msghdr_send(), client_request(), dns_dispatch_importrecv(), ns_lwdclient_recv(), ns_lwdclient_send(), and udp_recv().

isc_bufferlist_t isc_socketevent::bufferlist

list of buffers

Definition at line 228 of file socket.h.

Referenced by allocate_sevent(), build_msghdr_recv(), build_msghdr_send(), doio_recv(), isc_httpd_senddone(), recv_done(), send_done(), and tcp_length_done().

isc_sockaddr_t isc_socketevent::address

source address

Definition at line 229 of file socket.h.

Referenced by build_msghdr_recv(), build_msghdr_send(), check_for_more_data(), client_request(), dns_dispatch_importrecv(), doio_recv(), doio_send(), ns_lwdclient_recv(), recv_done(), recv_length(), recv_message(), and udp_recv().

isc_time_t isc_socketevent::timestamp

timestamp of packet recv

Definition at line 230 of file socket.h.

Referenced by dns_dispatch_importrecv(), and process_cmsg().

struct in6_pktinfo isc_socketevent::pktinfo [read]

ipv6 pktinfo

Definition at line 231 of file socket.h.

Referenced by build_msghdr_send(), client_request(), dns_dispatch_importrecv(), ns_lwdclient_recv(), process_cmsg(), and udp_recv().

isc_uint32_t isc_socketevent::attributes

see below

Definition at line 232 of file socket.h.

Referenced by allocate_sevent(), ATF_TC_BODY(), build_msghdr_send(), client_request(), client_sendpkg(), dns_dispatch_importrecv(), doio_recv(), event_done(), ns_lwdclient_recv(), process_cmsg(), req_send(), resquery_send(), and udp_recv().

isc_eventdestructor_t isc_socketevent::destroy

original destructor

Definition at line 233 of file socket.h.

unsigned int isc_socketevent::dscp

UDP dscp value.

Definition at line 234 of file socket.h.

Referenced by ATF_TC_BODY(), build_msghdr_send(), client_request(), client_sendpkg(), event_done(), process_cmsg(), req_send(), and resquery_send().


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