Teonet library  0.4.7
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ksnTCPProxyClass Struct Reference

TCP Proxy class data. More...

#include <tcp_proxy.h>

Data Fields

void * ke
 Pointer to ksnetEvMgrClass. More...
 
int fd_client
 TCP Client fd or 0 if not started (or not connected) More...
 
ev_io w_client
 TCP Client watcher. More...
 
ksnTCPProxyPacketData packet
 TCP Client Packet buffer. More...
 
int fd
 TCP Server fd or 0 if not started. More...
 
PblMap * map
 Hash Map to store tcp proxy client connections. More...
 

Detailed Description

TCP Proxy class data.

Field Documentation

int ksnTCPProxyClass::fd

TCP Server fd or 0 if not started.

Referenced by _cmd_tcpp_read_cb(), ksnTCPProxyInit(), ksnTCPProxyServerStart(), and ksnTCPProxyServerStop().

int ksnTCPProxyClass::fd_client
void* ksnTCPProxyClass::ke

Pointer to ksnetEvMgrClass.

Referenced by ksnTCPProxyInit().

PblMap* ksnTCPProxyClass::map
ksnTCPProxyPacketData ksnTCPProxyClass::packet

TCP Client Packet buffer.

Referenced by _cmd_tcpp_read_cb(), ksnTCPProxyClientConnect(), and teo_recvfrom().

ev_io ksnTCPProxyClass::w_client

TCP Client watcher.

Referenced by ksnTCPProxyClientConnect(), and ksnTCPProxyClientStop().


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