aboutsummaryrefslogtreecommitdiff
path: root/src/vpn/gnunet-vpn-tun.h
blob: 3ba61771aa704517de8e1b0f7dabd72908b520a9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#ifndef _GNTUN_TUN_H_
#define _GNTUN_TUN_H_

/**
 * Creates a tun-interface called dev;
 * if *dev == 0, uses the name supplied by the kernel
 * returns the fd to the tun or -1
 */
int init_tun(char *dev);

#endif