diff options
Diffstat (limited to 'library/mncc.h')
-rw-r--r-- | library/mncc.h | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/library/mncc.h b/library/mncc.h index a55d155b..f70f9bda 100644 --- a/library/mncc.h +++ b/library/mncc.h @@ -230,6 +230,7 @@ enum { #define MNCC_F_CCCAP 0x0800 #define MNCC_F_KEYPAD 0x1000 #define MNCC_F_SIGNAL 0x2000 +#define MNCC_F_GCR 0x4000 struct gsm_mncc { /* context based information */ @@ -267,7 +268,15 @@ struct gsm_mncc { unsigned char lchan_type; unsigned char lchan_mode; - char sdp[1024]; + union { + struct { + char sdp[1024]; + } v7; + struct { + uint8_t gcr[16]; + char sdp[1024]; + } v8; + }; }; struct gsm_data_frame { @@ -292,18 +301,6 @@ struct gsm_mncc_hello { uint32_t lchan_type_offset; }; -/* Use this one in MNCCv6 */ -struct gsm_mncc_rtp_mncc6 { - uint32_t msg_type; - uint32_t callref; - uint32_t ip; - uint16_t port; - uint32_t payload_type; - uint32_t payload_msg_type; - - char sdp[1024]; -}; - struct gsm_mncc_rtp { uint32_t msg_type; uint32_t callref; |