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

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...
 
ksnetArpClasska
 Arp table class object. More...
 
ksnCommandClasskco
 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...
 

Detailed Description

KSNet mesh core data.

Field Documentation

char* ksnCoreClass::addr
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().

trudpData* ksnCoreClass::ku
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

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