|
unbound 0.1
|
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. | |
tap callback variables
| int tap_data::fd |
the fd
Referenced by dtio_mainfdcallback(), reply_with_accept(), reply_with_finish(), tap_data_free(), and tap_receive().
| struct ub_event* tap_data::ev |
the ub event
Referenced by dtio_mainfdcallback(), receive_bytes(), and tap_data_free().
| SSL* tap_data::ssl |
the SSL for TLS streams
Referenced by dtio_mainfdcallback(), dtio_tap_callback(), reply_with_accept(), reply_with_finish(), tap_data_free(), and tap_receive().
| int tap_data::ssl_handshake_done |
is the ssl handshake done
Referenced by dtio_tap_callback().
| int tap_data::ssl_brief_write |
we are briefly waiting to write (in the struct event)
Referenced by dtio_tap_callback().
| char* tap_data::id |
string that identifies the socket (or NULL), like IP address
Referenced by dtio_mainfdcallback(), receive_bytes(), and tap_data_free().
| int tap_data::len_done |
have we read the length, and how many bytes of it
Referenced by dtio_tap_callback().
| size_t tap_data::data_done |
have we read the data, and how many bytes of it
Referenced by dtio_tap_callback().
| int tap_data::control_frame |
are we reading a control frame
Referenced by dtio_tap_callback().
| int tap_data::is_bidirectional |
are we bi-directional (if false, uni-directional)
Referenced by dtio_tap_callback().
| uint8_t* tap_data::frame |
data of the frame
Referenced by dtio_tap_callback(), and tap_data_free().
| size_t tap_data::len |
length of this frame
Referenced by dtio_tap_callback().
| 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().