summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte2010-02-19 22:50:18 +0100
committerHarald Welte2010-02-19 22:50:18 +0100
commit8428d7c5314ecd40cbe4ac1afd4434db10148740 (patch)
treef407bddae2c2dee3c788ba8afc43e7bd6a6d9144
parentfinish GSMTAP output support (and enable it) (diff)
downloadosmocom-8428d7c5314ecd40cbe4ac1afd4434db10148740.tar.gz
osmocom-8428d7c5314ecd40cbe4ac1afd4434db10148740.tar.xz
osmocom-8428d7c5314ecd40cbe4ac1afd4434db10148740.zip
add UDP PORT definition to gsmtap.h
-rw-r--r--src/host/libosmocom/include/osmocom/gsmtap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/host/libosmocom/include/osmocom/gsmtap.h b/src/host/libosmocom/include/osmocom/gsmtap.h
index 316e73d..15a4cf4 100644
--- a/src/host/libosmocom/include/osmocom/gsmtap.h
+++ b/src/host/libosmocom/include/osmocom/gsmtap.h
@@ -22,6 +22,8 @@
#define GSMTAP_BURST_ACCESS 0x08
#define GSMTAP_BURST_NONE 0x09
+#define GSMTAP_UDP_PORT 4729
+
struct gsmtap_hdr {
u_int8_t version; /* version, set to 0x01 currently */
u_int8_t hdr_len; /* length in number of 32bit words */