Update to MNCC v7 (Support IPv6 addresses)
Change-Id: Iab17f09380d7cd914cf85746b794c6c04ec7de43
This commit is contained in:
parent
0265d6e642
commit
b73faa4749
6
mncc.h
6
mncc.h
|
@ -5,6 +5,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include <netinet/in.h>
|
||||||
|
|
||||||
/* GSM 04.08 Bearer Capability: Information Transfer Capability */
|
/* GSM 04.08 Bearer Capability: Information Transfer Capability */
|
||||||
enum gsm48_bcap_itcap {
|
enum gsm48_bcap_itcap {
|
||||||
|
@ -316,7 +317,7 @@ struct gsm_data_frame {
|
||||||
unsigned char data[0];
|
unsigned char data[0];
|
||||||
};
|
};
|
||||||
|
|
||||||
#define MNCC_SOCK_VERSION 6
|
#define MNCC_SOCK_VERSION 7
|
||||||
struct gsm_mncc_hello {
|
struct gsm_mncc_hello {
|
||||||
uint32_t msg_type;
|
uint32_t msg_type;
|
||||||
uint32_t version;
|
uint32_t version;
|
||||||
|
@ -335,8 +336,7 @@ struct gsm_mncc_hello {
|
||||||
struct gsm_mncc_rtp {
|
struct gsm_mncc_rtp {
|
||||||
uint32_t msg_type;
|
uint32_t msg_type;
|
||||||
uint32_t callref;
|
uint32_t callref;
|
||||||
uint32_t ip;
|
struct sockaddr_storage addr;
|
||||||
uint16_t port;
|
|
||||||
uint32_t payload_type;
|
uint32_t payload_type;
|
||||||
uint32_t payload_msg_type;
|
uint32_t payload_msg_type;
|
||||||
char sdp[1024];
|
char sdp[1024];
|
||||||
|
|
Loading…
Reference in New Issue