diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-03-24 18:34:57 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-03-24 18:34:57 +0100 |
commit | 953d4eda472c7b28b1f5d24dbd71247a80c0f08b (patch) | |
tree | 6831f581255b756f3980ff6337cc834287d66e23 /include | |
parent | 7046633c02d15939d4953f1860f38be28f42667e (diff) |
m3ua: Add the definition of the protocol data header
Diffstat (limited to 'include')
-rw-r--r-- | include/sigtran/m3ua_types.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/sigtran/m3ua_types.h b/include/sigtran/m3ua_types.h index ce8e985..c8e62b4 100644 --- a/include/sigtran/m3ua_types.h +++ b/include/sigtran/m3ua_types.h @@ -111,3 +111,18 @@ enum { M3UA_TAG_REG_STATUS, /* Registration Status */ M3UA_TAG_DEREG_STATUS, /* Deregistration Status */ }; + + +/** + * Protocol data for transport messages. This is + * replacing the MTP L3 header + */ +struct m3ua_protocol_data { + uint32_t opc; + uint32_t dpc; + uint8_t si; + uint8_t ni; + uint8_t mp; + uint8_t sls; + uint8_t data[0]; +} __attribute__((packed)); |