Update to MNCC v7 (Support IPv6 addresses)

Change-Id: Iab17f09380d7cd914cf85746b794c6c04ec7de43
This commit is contained in:
Pau Espin 2020-09-09 19:00:06 +02:00
parent 0265d6e642
commit b73faa4749
3 changed files with 4052 additions and 1197 deletions

6
mncc.h
View File

@ -5,6 +5,7 @@
*/
#include <stdint.h>
#include <netinet/in.h>
/* GSM 04.08 Bearer Capability: Information Transfer Capability */
enum gsm48_bcap_itcap {
@ -316,7 +317,7 @@ struct gsm_data_frame {
unsigned char data[0];
};
#define MNCC_SOCK_VERSION 6
#define MNCC_SOCK_VERSION 7
struct gsm_mncc_hello {
uint32_t msg_type;
uint32_t version;
@ -335,8 +336,7 @@ struct gsm_mncc_hello {
struct gsm_mncc_rtp {
uint32_t msg_type;
uint32_t callref;
uint32_t ip;
uint16_t port;
struct sockaddr_storage addr;
uint32_t payload_type;
uint32_t payload_msg_type;
char sdp[1024];

1812
mncc.py

File diff suppressed because it is too large Load Diff

3431
mncc.xml

File diff suppressed because it is too large Load Diff