Teonet library
0.4.7
|
TCP Proxy packet data structure. More...
#include <tcp_proxy.h>
Data Fields | |
char | buffer [KSN_BUFFER_DB_SIZE] |
Packet buffer. More... | |
ksnTCPProxyHeader * | header |
Packet header. More... | |
size_t | length |
Received package length. More... | |
size_t | ptr |
Pointer to data end in packet buffer. More... | |
int | stage |
Packet buffer receiving stage. More... | |
TCP Proxy packet data structure.
char ksnTCPProxyPacketData::buffer[KSN_BUFFER_DB_SIZE] |
Packet buffer.
Referenced by _cmd_tcpp_read_cb(), ksnTCPProxyClientConnect(), ksnTCPProxyPackageProcess(), ksnTCPProxyServerClientConnect(), teo_recvfrom(), and test_5_2().
ksnTCPProxyHeader* ksnTCPProxyPacketData::header |
Packet header.
Referenced by _cmd_tcpp_read_cb(), ksnTCPProxyClientConnect(), ksnTCPProxyPackageProcess(), ksnTCPProxyServerClientConnect(), teo_recvfrom(), and test_5_2().
size_t ksnTCPProxyPacketData::length |
Received package length.
Referenced by ksnTCPProxyClientConnect(), ksnTCPProxyPackageProcess(), ksnTCPProxyServerClientConnect(), and test_5_2().
size_t ksnTCPProxyPacketData::ptr |
Pointer to data end in packet buffer.
Referenced by _cmd_tcpp_read_cb(), ksnTCPProxyClientConnect(), ksnTCPProxyPackageProcess(), ksnTCPProxyServerClientConnect(), and test_5_2().
int ksnTCPProxyPacketData::stage |
Packet buffer receiving stage.
Referenced by ksnTCPProxyClientConnect(), ksnTCPProxyPackageProcess(), ksnTCPProxyServerClientConnect(), and test_5_2().