Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

tun-none.c File Reference

#include "config.h"
#include <sys/types.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include "dnet.h"

Go to the source code of this file.

Functions

tun_ttun_open (struct addr *src, struct addr *dst, int mtu)
const char * tun_name (tun_t *tun)
int tun_fileno (tun_t *tun)
ssize_t tun_send (tun_t *tun, const void *buf, size_t size)
ssize_t tun_recv (tun_t *tun, void *buf, size_t size)
tun_ttun_close (tun_t *tun)


Function Documentation

tun_t* tun_close tun_t tun  ) 
 

Definition at line 55 of file tun-none.c.

References NULL.

int tun_fileno tun_t tun  ) 
 

Definition at line 34 of file tun-none.c.

References errno.

const char* tun_name tun_t tun  ) 
 

Definition at line 27 of file tun-none.c.

References errno, and NULL.

tun_t* tun_open struct addr src,
struct addr dst,
int  mtu
 

Definition at line 20 of file tun-none.c.

References errno, and NULL.

ssize_t tun_recv tun_t tun,
void *  buf,
size_t  size
 

Definition at line 48 of file tun-none.c.

References errno.

ssize_t tun_send tun_t tun,
const void *  buf,
size_t  size
 

Definition at line 41 of file tun-none.c.

References errno.


Generated on Sun May 14 14:51:22 2006 by  doxygen 1.4.2