35 uint16_t to_port,
char *to_ip);
void ksnTunDestroy(ksnTunClass *ktun)
void ksnTunCreate(ksnTunClass *ktun, uint16_t port, char *to, uint16_t to_port, char *to_ip)
struct ksnTunClass ksnTunClass
File: net_tun.h Author: Kirill Scherba.
PblMap * map
Hash Map to store KSNet tunnel table.
Definition: net_tun.h:21
PblMap * list
List to store KSNet tunnel servers.
Definition: net_tun.h:20
KSNet core received data structure.
Definition: net_com.h:107
char * ksnTunListShow(ksnTunClass *ktun)
void * ksnTunListRemove(ksnTunClass *ktun, int fd)
File: net_tun.h Author: Kirill Scherba.
Definition: net_tun.h:18
int cmd_tun_cb(ksnTunClass *ktun, ksnCorePacketData *rd)
ksnTunClass * ksnTunInit(void *ke)
void * ke
Pointer to ksnTermClass.
Definition: net_tun.h:22
int fd
Definition: teol0cli.c:22