make e1cap format portable
The original format included a 'struct timeval' into the packet header, which unfortunately is non-potrable between e.g. i386 and amd64. Change-Id: I0d22ad8f772d173c2252c2f6c562faee2e578806
This commit is contained in:
parent
8486938efb
commit
456888a273
|
@ -11,7 +11,10 @@ enum osmo_e1cap_capture_mode {
|
|||
/* header for each frame we store */
|
||||
struct osmo_e1cap_pkthdr {
|
||||
/* Timestamp at which frame was received */
|
||||
struct timeval ts;
|
||||
struct {
|
||||
uint32_t tv_sec;
|
||||
uint32_t tv_usec;
|
||||
} ts;
|
||||
/* length of frame data after this header */
|
||||
uint32_t len;
|
||||
/* line/span number on which frame was received */
|
||||
|
|
Loading…
Reference in New Issue