tap_socket Struct Reference

tap socket More...

Data Fields

int fd
 fd of socket
 
struct ub_eventev
 the event for it
 
int ev_added
 has the event been added
 
void(* ev_cb )(int, short, void *)
 the callback, for the event, ev_cb(fd, bits, arg)
 
void * data
 data element, (arg for the tap_socket struct)
 
char * socketpath
 socketpath, if this is an AF_LOCAL socket
 
char * ip
 IP, if this is a TCP socket.
 
SSL_CTX * sslctx
 for a TLS socket, the tls context
 
struct tap_data_listdata_list
 dumb way to deal with memory leaks: tap_data was only freed on errors and not during exit leading to false positives when testing for memory leaks.
 

Detailed Description

tap socket


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