aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-09-03 22:11:03 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2020-09-14 12:41:00 +0200
commiteeda9e123fbcb002884ad45b5c4ec5740c642c51 (patch)
tree92f5f3476624030113cc302eca9cd952861ff610 /include
parent0632717dc186e679ae60e7eb2204766ab9993539 (diff)
mncc: Support IPv6 addresses (new version mncc 7)pespin/ipv6
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/msc/mncc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/osmocom/msc/mncc.h b/include/osmocom/msc/mncc.h
index cf7d7ce9b..1c8aff0c9 100644
--- a/include/osmocom/msc/mncc.h
+++ b/include/osmocom/msc/mncc.h
@@ -28,6 +28,7 @@
#include <osmocom/gsm/mncc.h>
#include <stdint.h>
+#include <netinet/in.h>
struct gsm_network;
struct msgb;
@@ -170,7 +171,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;
@@ -189,8 +190,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];