Teonet library  0.4.7
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
net_tun.h File Reference
#include <pbl.h>

Go to the source code of this file.

Data Structures

struct  ksnTunClass
 File: net_tun.h Author: Kirill Scherba. More...
 

Typedefs

typedef struct ksnTunClass ksnTunClass
 File: net_tun.h Author: Kirill Scherba. More...
 

Functions

ksnTunClassksnTunInit (void *ke)
 
void ksnTunDestroy (ksnTunClass *ktun)
 
void ksnTunCreate (ksnTunClass *ktun, uint16_t port, char *to, uint16_t to_port, char *to_ip)
 
int cmd_tun_cb (ksnTunClass *ktun, ksnCorePacketData *rd)
 
char * ksnTunListShow (ksnTunClass *ktun)
 
void * ksnTunListRemove (ksnTunClass *ktun, int fd)
 

Typedef Documentation

typedef struct ksnTunClass ksnTunClass

File: net_tun.h Author: Kirill Scherba.

Created on May 10, 2015, 3:27 PM

KSNet network tunnel module KSNet network tunnel class data

Function Documentation

int cmd_tun_cb ( ksnTunClass ktun,
ksnCorePacketData rd 
)

Referenced by ksnCommandCheck().

void ksnTunCreate ( ksnTunClass ktun,
uint16_t  port,
char *  to,
uint16_t  to_port,
char *  to_ip 
)
Examples:
teotun.c.

Referenced by event_cb().

void ksnTunDestroy ( ksnTunClass ktun)

Referenced by modules_destroy().

ksnTunClass* ksnTunInit ( void *  ke)

Referenced by modules_init().

void* ksnTunListRemove ( ksnTunClass ktun,
int  fd 
)
char* ksnTunListShow ( ksnTunClass ktun)