summaryrefslogtreecommitdiff
path: root/gsm-tvoid/src/lib/gsmstack.h
diff options
context:
space:
mode:
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