unbound 0.1
tap_data Struct Reference

tap callback variables More...

Data Fields

int fd
 the fd
struct ub_event * ev
 the ub event
SSL * ssl
 the SSL for TLS streams
int ssl_handshake_done
 is the ssl handshake done
int ssl_brief_write
 we are briefly waiting to write (in the struct event)
char * id
 string that identifies the socket (or NULL), like IP address
int len_done
 have we read the length, and how many bytes of it
size_t data_done
 have we read the data, and how many bytes of it
int control_frame
 are we reading a control frame
int is_bidirectional
 are we bi-directional (if false, uni-directional)
uint8_t * frame
 data of the frame
size_t len
 length of this frame
struct tap_data_list * data_list
 back pointer to the tap_data_list entry; used to NULL the forward pointer to this data when this data is freed.

Detailed Description

tap callback variables

Field Documentation

◆ fd

◆ ev

struct ub_event* tap_data::ev

the ub event

Referenced by dtio_mainfdcallback(), receive_bytes(), and tap_data_free().

◆ ssl

SSL* tap_data::ssl

◆ ssl_handshake_done

int tap_data::ssl_handshake_done

is the ssl handshake done

Referenced by dtio_tap_callback().

◆ ssl_brief_write

int tap_data::ssl_brief_write

we are briefly waiting to write (in the struct event)

Referenced by dtio_tap_callback().

◆ id

char* tap_data::id

string that identifies the socket (or NULL), like IP address

Referenced by dtio_mainfdcallback(), receive_bytes(), and tap_data_free().

◆ len_done

int tap_data::len_done

have we read the length, and how many bytes of it

Referenced by dtio_tap_callback().

◆ data_done

size_t tap_data::data_done

have we read the data, and how many bytes of it

Referenced by dtio_tap_callback().

◆ control_frame

int tap_data::control_frame

are we reading a control frame

Referenced by dtio_tap_callback().

◆ is_bidirectional

int tap_data::is_bidirectional

are we bi-directional (if false, uni-directional)

Referenced by dtio_tap_callback().

◆ frame

uint8_t* tap_data::frame

data of the frame

Referenced by dtio_tap_callback(), and tap_data_free().

◆ len

size_t tap_data::len

length of this frame

Referenced by dtio_tap_callback().

◆ data_list

struct tap_data_list* tap_data::data_list

back pointer to the tap_data_list entry; used to NULL the forward pointer to this data when this data is freed.

Referenced by tap_data_free(), and tap_data_list_insert().


The documentation for this struct was generated from the following file: