Teonet library
0.4.7
|
KSNet core received data structure. More...
#include <net_com.h>
Data Fields | |
char * | addr |
Remote peer IP address. More... | |
int | port |
Remote peer port. More... | |
int | mtu |
Remote mtu. More... | |
char * | from |
Remote peer name. More... | |
uint8_t | from_len |
Remote peer name length. More... | |
uint8_t | cmd |
Command ID. More... | |
void * | data |
Received data. More... | |
size_t | data_len |
Received data length. More... | |
void * | raw_data |
Received packet data. More... | |
size_t | raw_data_len |
Received packet length. More... | |
ksnet_arp_data_ext * | arp |
Pointer to extended ARP Table data. More... | |
int | l0_f |
L0 command flag (from set to l0 client name) More... | |
KSNet core received data structure.
char* ksnCorePacketData::addr |
Remote peer IP address.
Referenced by cmd_disconnected_cb(), cmd_reconnect_cb(), event_cb(), ksnCommandCheck(), ksnCoreCheckNewPeer(), ksnCoreProcessPacket(), ksnLNullSendEchoToL0A(), ksnLNulltrudpCheckPaket(), ksnSplitCombine(), send_cmd_connect_cb(), send_cmd_connect_cb_b(), sendCmdAnswerToBinaryA(), teo::Teonet::sendToL0A(), teo::Teonet::TeoDB::teoDbCQueData::setl0Cli(), teoAsyncTest(), and trudp_send_event_ack_to_app().
ksnet_arp_data_ext* ksnCorePacketData::arp |
Pointer to extended ARP Table data.
Referenced by cmd_subscribe_cb(), ksnCoreCheckNewPeer(), ksnCoreProcessPacket(), and ksnSplitCombine().
uint8_t ksnCorePacketData::cmd |
Command ID.
Referenced by cmd_disconnected_cb(), cmd_l0_broadcast_cb(), cmd_l0_cb(), cmd_reconnect_cb(), cmd_subscribe_cb(), event_cb(), event_cb_server(), ksnCommandCheck(), ksnCoreCheckNewPeer(), ksnCoreParsePacket(), ksnCoreProcessPacket(), ksnLNulltrudpCheckPaket(), ksnSplitCombine(), and trudp_send_event_ack_to_app().
void* ksnCorePacketData::data |
Received data.
Referenced by cmd_disconnected_cb(), cmd_l0_broadcast_cb(), cmd_l0_cb(), cmd_l0_kick_client(), cmd_l0_to_cb(), cmd_stream_cb(), cmd_subscribe_cb(), event_cb(), event_cb_client(), event_cb_server(), teo::Teonet::TeoDB::getData(), ksnCommandCheck(), ksnCoreCheckNewPeer(), ksnCoreParsePacket(), ksnCoreProcessPacket(), ksnLNulltrudpCheckPaket(), and ksnSplitCombine().
size_t ksnCorePacketData::data_len |
Received data length.
Referenced by cmd_l0_broadcast_cb(), cmd_l0_cb(), cmd_l0_kick_client(), cmd_subscribe_cb(), event_cb(), event_cb_server(), ksnCommandCheck(), ksnCoreCheckNewPeer(), ksnCoreParsePacket(), ksnCoreProcessPacket(), ksnLNulltrudpCheckPaket(), and ksnSplitCombine().
char* ksnCorePacketData::from |
Remote peer name.
Referenced by cmd_disconnected_cb(), cmd_l0_cb(), cmd_l0_kick_client(), cmd_l0_to_cb(), cmd_reconnect_cb(), cmd_stream_cb(), cmd_subscribe_cb(), event_cb(), event_cb_client(), event_cb_server(), ksnCommandCheck(), ksnCoreCheckNewPeer(), ksnCoreParsePacket(), ksnCoreProcessPacket(), ksnLNullSendEchoToL0A(), ksnSplitCombine(), send_cmd_connect_cb(), send_cmd_connect_cb_b(), sendCmdAnswerToBinaryA(), teo::Teonet::sendToL0A(), teo::Teonet::TeoDB::teoDbCQueData::setl0Cli(), and teoAsyncTest().
uint8_t ksnCorePacketData::from_len |
Remote peer name length.
Referenced by cmd_disconnected_cb(), cmd_l0_cb(), cmd_l0_to_cb(), event_cb_server(), ksnCoreParsePacket(), ksnCoreProcessPacket(), ksnLNullSendEchoToL0A(), ksnSplitCombine(), sendCmdAnswerToBinaryA(), teo::Teonet::sendToL0A(), teo::Teonet::TeoDB::teoDbCQueData::setl0Cli(), and teoAsyncTest().
int ksnCorePacketData::l0_f |
L0 command flag (from set to l0 client name)
Referenced by cmd_l0_cb(), cmd_subscribe_cb(), ksnLNullSendEchoToL0A(), sendCmdAnswerToBinaryA(), teo::Teonet::sendToL0A(), and teoAsyncTest().
int ksnCorePacketData::mtu |
Remote mtu.
Referenced by ksnSplitCombine().
int ksnCorePacketData::port |
Remote peer port.
Referenced by cmd_disconnected_cb(), cmd_reconnect_cb(), event_cb(), ksnCommandCheck(), ksnCoreCheckNewPeer(), ksnCoreProcessPacket(), ksnLNullSendEchoToL0A(), ksnLNulltrudpCheckPaket(), ksnSplitCombine(), send_cmd_connect_cb(), send_cmd_connect_cb_b(), sendCmdAnswerToBinaryA(), teo::Teonet::sendToL0A(), teo::Teonet::TeoDB::teoDbCQueData::setl0Cli(), teoAsyncTest(), and trudp_send_event_ack_to_app().
void* ksnCorePacketData::raw_data |
Received packet data.
Referenced by ksnCoreParsePacket(), and ksnSplitCombine().
size_t ksnCorePacketData::raw_data_len |
Received packet length.
Referenced by ksnCoreParsePacket(), and ksnSplitCombine().