Go to the source code of this file.
Typedefs | |
typedef tun | tun_t |
Functions | |
__BEGIN_DECLS tun_t * | tun_open (struct addr *src, struct addr *dst, int mtu) |
int | tun_fileno (tun_t *tun) |
const char * | tun_name (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_t * | tun_close (tun_t *tun) |
|
|
|
Definition at line 135 of file tun-bsd.c. References tun::fd, tun::if_fd, tun::ip_fd, and NULL. Referenced by __pyx_f_4dnet_3tun___dealloc__(), __pyx_f_4dnet_3tun_close(), and tun_open(). |
|
Definition at line 93 of file tun-bsd.c. References tun::fd. Referenced by __pyx_f_4dnet_3tun_2fd___get__(), and __pyx_f_4dnet_3tun_fileno(). |
|
Definition at line 87 of file tun-bsd.c. Referenced by __pyx_f_4dnet_3tun_4name___get__(). |
|
Definition at line 32 of file tun-bsd.c. References addr_ntoa(), DEV_IP, DEV_TUN, NULL, snprintf, and tun_close(). Referenced by __pyx_f_4dnet_3tun___init__(). |
|
Definition at line 117 of file tun-bsd.c. Referenced by __pyx_f_4dnet_3tun_recv(). |
|
Definition at line 99 of file tun-bsd.c. Referenced by __pyx_f_4dnet_3tun_send(). |