summaryrefslogtreecommitdiff
path: root/gsm-tvoid/src/lib/gsmstack.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2008-11-25 23:32:36 +0530
committerHarald Welte <laforge@gnumonks.org>2008-11-25 23:32:36 +0530
commit560e8fb53fdf3cb51fffe5bf86d8e8ffab0fee82 (patch)
tree54a3f8df31b7a6ad98ef4a1b52c7ca790b41c12d /gsm-tvoid/src/lib/gsmstack.h
parent82d2c1bd17cb10eb3d6e08385aae9198ab83b865 (diff)
[gsm-tvoid]: Add support for tun device (merge from gssm)
Diffstat (limited to 'gsm-tvoid/src/lib/gsmstack.h')
-rw-r--r--gsm-tvoid/src/lib/gsmstack.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gsm-tvoid/src/lib/gsmstack.h b/gsm-tvoid/src/lib/gsmstack.h
index d79a40f..8230442 100644
--- a/gsm-tvoid/src/lib/gsmstack.h
+++ b/gsm-tvoid/src/lib/gsmstack.h
@@ -6,6 +6,7 @@
extern "C" {
#endif
+#include <linux/if_ether.h>
#include "interleave.h"
typedef struct
@@ -19,6 +20,9 @@ typedef struct
/* FIXME: later do this per each ts per each arfcn */
unsigned char burst[4 * 58 * 2];
int burst_count;
+
+ int tun_fd;
+ unsigned char ether_addr[ETH_ALEN];
} GS_CTX;
int GS_new(GS_CTX *ctx);
personal git repositories of Harald Welte. Your mileage may vary