aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-10-17 18:50:19 +0200
committerHarald Welte <laforge@gnumonks.org>2016-10-17 18:50:19 +0200
commitafb6d3990816f1290fc95fceafe1eac53e52bdb2 (patch)
tree4acbcb31a0556ecf94fc2297dde66a55ddad36f6
parentb7e40238d75754a00ac5dd57627b08980d032cbe (diff)
storage.h: document fields of header
-rw-r--r--src/storage.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/storage.h b/src/storage.h
index d128a34..8144f86 100644
--- a/src/storage.h
+++ b/src/storage.h
@@ -10,11 +10,17 @@ enum osmo_e1cap_capture_mode {
/* header for each frame we store */
struct osmo_e1cap_pkthdr {
+ /* Timestamp at which frame was received */
struct timeval ts;
+ /* length of frame data after this header */
uint32_t len;
+ /* line/span number on which frame was received */
uint8_t line_nr;
+ /* timeslot number on which frame was received */
uint8_t ts_nr;
+ /* see osmo_e1cap_capture_mode */
uint8_t capture_mode;
+ /* any optional future flags */
uint8_t flags;
} __attribute__((aligned));