Teonet library
0.4.7
|
KSNet mesh core data. More...
#include <net_core.h>
Data Fields | |
char * | name |
Host name. More... | |
uint8_t | name_len |
Host name length. More... | |
char * | addr |
Host IP address. More... | |
int | port |
Host IP port. More... | |
int | fd |
Host socket file descriptor. More... | |
double | last_check_event |
Last time of check host event. More... | |
ksnetArpClass * | ka |
Arp table class object. More... | |
ksnCommandClass * | kco |
Command class object. More... | |
trudpData * | ku |
TR-UDP class object. More... | |
ev_io | host_w |
Event Manager host (this host) watcher. More... | |
void * | ke |
Pointer to Event manager class object. More... | |
KSNet mesh core data.
char* ksnCoreClass::addr |
Host IP address.
Referenced by ksnCoreCheckNewPeer(), ksnCoreDestroy(), ksnCoreInit(), and ksnCoreSendCmdto().
int ksnCoreClass::fd |
Host socket file descriptor.
Referenced by host_cb(), ksnCoreBind(), ksnCoreDestroy(), and ksnCoreInit().
ev_io ksnCoreClass::host_w |
Event Manager host (this host) watcher.
Referenced by idle_cb(), ksnCoreDestroy(), and ksnCoreInit().
ksnetArpClass* ksnCoreClass::ka |
Arp table class object.
Referenced by event_cb(), ksnCoreCheckNewPeer(), ksnCoreDestroy(), ksnCoreInit(), ksnCoreSendCmdto(), metric_teonet_count(), monitor_timer_cb(), peer_idle_cb(), remove_peer_addr(), and teoBroadcastSend().
ksnCommandClass* ksnCoreClass::kco |
Command class object.
Referenced by _send_subscribe_event_connected(), _send_subscribe_event_disconnected(), _send_subscribe_event_newvisit(), cmd_l0_cb(), event_cb(), event_cb_client(), event_cb_server(), ksnCoreDestroy(), ksnCoreInit(), ksnCoreProcessPacket(), ksnCoreSendto(), ping_timer_cb(), teo::Teonet::sendEchoTo(), teo::Teonet::sendToSscr(), teo::Teonet::subscribe(), and teo::Teonet::subscribeA().
void* ksnCoreClass::ke |
Pointer to Event manager class object.
Referenced by host_cb(), ksnCoreBind(), ksnCoreCheckNewPeer(), ksnCoreDestroy(), ksnCoreInit(), ksnCoreProcessPacket(), ksnCoreSendCmdto(), ksnCoreSendto(), monitor_timer_init(), peer_timer_init(), ping_timer_init(), teoBroadcastSend(), tr_udp_idle_cb(), and tr_udp_timer_init().
trudpData* ksnCoreClass::ku |
TR-UDP class object.
Referenced by event_cb(), host_cb(), ksnCoreDestroy(), ksnCoreInit(), ksnetArpRemoveAll(), ksnLNulltrudpCheckPaket(), and tr_udp_idle_cb().
double ksnCoreClass::last_check_event |
Last time of check host event.
Referenced by ksnCoreInit(), and timer_cb().
char* ksnCoreClass::name |
Host name.
Referenced by ksnCoreCreatePacket(), ksnCoreDestroy(), and ksnCoreInit().
uint8_t ksnCoreClass::name_len |
Host name length.
Referenced by ksnCoreCreatePacket(), and ksnCoreInit().
int ksnCoreClass::port |
Host IP port.
Referenced by createCmdConnectRPacketUdp(), ksnCoreBind(), ksnCoreInit(), ksnetArpAddHost(), and modules_destroy().