summaryrefslogtreecommitdiff
path: root/common/include/tap.h
blob: 47286f5a4a5c5af269cc53e1fc7a00a5a7b6f3bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef _TAP_H_
#define _TAP_H_

#ifdef __cpluscplus
extern "C"
{
#endif

int tap_open(const char *eth, int flags);
void tap_close(int sockfd);

int tap_up_link(const char *eth);
int tap_get_mtu(const char *eth);

#ifdef __cpluscplus
}
#endif

#endif