Teonet library
0.4.7
|
TCP Proxy packet(message) header structure. More...
#include <tcp_proxy.h>
Data Fields | |
uint8_t | checksum |
Whole checksum. More... | |
unsigned int | version: 4 |
Protocol version number. More... | |
unsigned int | command: 4 |
Protocol command. More... | |
uint16_t | port |
UDP peers port number. More... | |
uint16_t | packet_length |
UDP packet length. More... | |
uint8_t | addr_length |
UDP peers address string length included trailing zero. More... | |
uint8_t | packet_checksum |
Header checksum. More... | |
TCP Proxy packet(message) header structure.
uint8_t ksnTCPProxyHeader::addr_length |
UDP peers address string length included trailing zero.
Referenced by _cmd_tcpp_read_cb(), ksnTCPProxyPackageCreate(), ksnTCPProxyPackageProcess(), teo_recvfrom(), and test_5_2().
uint8_t ksnTCPProxyHeader::checksum |
Whole checksum.
Referenced by ksnTCPProxyPackageCreate(), ksnTCPProxyPackageProcess(), and test_5_2().
unsigned int ksnTCPProxyHeader::command |
Protocol command.
Referenced by _cmd_tcpp_read_cb(), and ksnTCPProxyPackageCreate().
uint8_t ksnTCPProxyHeader::packet_checksum |
Header checksum.
Referenced by ksnTCPProxyPackageCreate(), and ksnTCPProxyPackageProcess().
uint16_t ksnTCPProxyHeader::packet_length |
UDP packet length.
Referenced by _cmd_tcpp_read_cb(), ksnTCPProxyPackageCreate(), ksnTCPProxyPackageProcess(), teo_recvfrom(), and test_5_2().
uint16_t ksnTCPProxyHeader::port |
UDP peers port number.
Referenced by _cmd_tcpp_read_cb(), ksnTCPProxyPackageCreate(), ksnTCPProxyPackageProcess(), teo_recvfrom(), and test_5_2().
unsigned int ksnTCPProxyHeader::version |
Protocol version number.
Referenced by ksnTCPProxyPackageCreate().