diff options
author | Harald Welte <laforge@gnumonks.org> | 2015-12-25 15:33:41 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2015-12-25 15:33:41 +0100 |
commit | 3cfa450fdcc3cb9a47c05c3bc543cb493dd43b20 (patch) | |
tree | 9dbce9bd594296323d4cc0dba022a6ba2fdca55b /src/tests/ranap_common_cn.h | |
parent | 706213ac4bc9bee19ecd5d65c500a8996ea3ed45 (diff) |
Add new common RANAP parsing code for CN elements
Diffstat (limited to 'src/tests/ranap_common_cn.h')
-rw-r--r-- | src/tests/ranap_common_cn.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/tests/ranap_common_cn.h b/src/tests/ranap_common_cn.h new file mode 100644 index 0000000..38d2384 --- /dev/null +++ b/src/tests/ranap_common_cn.h @@ -0,0 +1,17 @@ +#pragma once + +#include <stdint.h> + +#include "ranap_common.h" +#include "ranap_ies_defs.h" + +/* call-back functions to be provided by actual core network node */ +int cn_ranap_handle_co(void *ctx, ranap_message *message); +int cn_ranap_handle_cl(void *ctx, ranap_message *message); + + +/* receive a connections-liess RANAP message */ +int cn_ranap_rx_cl(void *ctx, uint8_t *data, size_t len); + +/* receive a connection-oriented RANAP message */ +int cn_ranap_rx_co(void *ctx, uint8_t *data, size_t len); |