projects
/
lcr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gsm: Verify the MNCC_VERSION of the BSC/MS and close the socket on mismatch
[lcr.git]
/
mncc.h
diff --git
a/mncc.h
b/mncc.h
index
4b6d3a1
..
d543b54
100644
(file)
--- a/
mncc.h
+++ b/
mncc.h
@@
-62,6
+62,8
@@
#define GSM_TCH_FRAME_AMR 0x0303
#define GSM_BAD_FRAME 0x03ff
#define GSM_TCH_FRAME_AMR 0x0303
#define GSM_BAD_FRAME 0x03ff
+#define MNCC_SOCKET_HELLO 0x0400
+
#define GSM_MAX_FACILITY 128
#define GSM_MAX_SSVERSION 128
#define GSM_MAX_USERUSER 128
#define GSM_MAX_FACILITY 128
#define GSM_MAX_SSVERSION 128
#define GSM_MAX_USERUSER 128
@@
-326,3
+328,8
@@
struct gsm_mncc_rtp {
};
};
+#define MNCC_SOCK_VERSION 1
+struct gsm_mncc_hello {
+ u_int32_t msg_type;
+ u_int32_t version;
+};