diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-09-01 11:02:05 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-09-02 08:25:49 +0200 |
commit | 3713f78ac23ca815c361fe79378ff6d2e522ef6a (patch) | |
tree | c8b33b224f3a3d37e1dc1625037bdaee7ca43b18 /openbsc/include/openbsc/rtp.h | |
parent | c20a6612722582c90efd4da16303818abf2cd938 (diff) |
mgcp: Use the rtp_hdr structure and extract ts/seq from there
Use the rtp_hdr structure. The basic alignment issue remains
and I need to merge/cherry-pick Jacob's getters for the ts,
sequence number and other attributes.
Diffstat (limited to 'openbsc/include/openbsc/rtp.h')
-rw-r--r-- | openbsc/include/openbsc/rtp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/rtp.h b/openbsc/include/openbsc/rtp.h index 451d0defa..718fa84e6 100644 --- a/openbsc/include/openbsc/rtp.h +++ b/openbsc/include/openbsc/rtp.h @@ -35,4 +35,5 @@ struct rtp_hdr { uint16_t sequence; uint32_t timestamp; uint32_t ssrc; + uint8_t data[0]; } __attribute__((packed)); |