wbokslag has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-tetra/+/28592 )
Change subject: Created tuntap.h to allow for proper use of tun_alloc in tetra_llc.c ......................................................................
Created tuntap.h to allow for proper use of tun_alloc in tetra_llc.c
Change-Id: If920c15e4dafb48d5df70ce20532ecb19bd01ee3 --- M src/tetra_llc.c A src/tuntap.h 2 files changed, 7 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-tetra refs/changes/92/28592/1
diff --git a/src/tetra_llc.c b/src/tetra_llc.c index 432f5a7..045b8df 100644 --- a/src/tetra_llc.c +++ b/src/tetra_llc.c @@ -28,6 +28,7 @@ #include <osmocom/core/bits.h>
#include "tetra_llc_pdu.h" +#include "tuntap.h"
static int tun_fd = -1;
diff --git a/src/tuntap.h b/src/tuntap.h new file mode 100644 index 0000000..728002b --- /dev/null +++ b/src/tuntap.h @@ -0,0 +1,6 @@ +#ifndef TUNTAP_H +#define TUNTAP_H + +int tun_alloc(char *dev); + +#endif