diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-01-06 13:28:32 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-03-03 16:19:08 +0100 |
commit | ef3548c0a1027c47e06b7c14c79d8d141b449142 (patch) | |
tree | 9cc5137b77d771e31a3f2cf1c631843694095d4f /openbsc/src/osmo-cscn | |
parent | add09536925f82765a34f3f95cb5f047ef65a52f (diff) |
wip
Diffstat (limited to 'openbsc/src/osmo-cscn')
-rw-r--r-- | openbsc/src/osmo-cscn/cscn_main.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/openbsc/src/osmo-cscn/cscn_main.c b/openbsc/src/osmo-cscn/cscn_main.c index be7815d57..04435ecb9 100644 --- a/openbsc/src/osmo-cscn/cscn_main.c +++ b/openbsc/src/osmo-cscn/cscn_main.c @@ -57,6 +57,7 @@ #include <openbsc/ctrl.h> #include <openbsc/osmo_bsc_rf.h> #include <openbsc/smpp.h> +#include <osmocom/sigtran/sua.h> #include "../../bscconfig.h" @@ -250,6 +251,23 @@ static struct vty_app_info vty_info = { .is_config_node = bsc_vty_is_config_node, }; +int iu_cs_init(void *ctx) +{ + struct osmo_sua_user *user; + int rc; + + talloc_asn1_ctx = talloc_named_const(ctx, 1, "asn1"); + + osmo_sua_set_log_area(DSUA); + + user = osmo_sua_user_create(ctx, sccp_sap_up, ctx); + + rc = osmo_sua_server_listen(user, "127.0.0.2", 14001); + if (rc < 0) { + exit(1); + } +} + int main(int argc, char **argv) { int rc; |