diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-04-03 21:42:08 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-04-10 11:48:34 +0200 |
commit | d40b9f842bb58b393c8a32142296517e328520e4 (patch) | |
tree | 255d62937664fa8ac2ffcd203eb82ddb72878a6f /src/sccp_scrc.c | |
parent | c5204966bfbdaa729a4b61701b7d3a2f890976c3 (diff) |
SUA: Port to new osmo_ss7 and SCCP code
If we use the infrastructure provided by osmo_ss7 on the lower layer and
the SCCP SCRC, SCLC and SCOC code on the upper side, not much of the
original sua.c code remains. It looks much like the M3UA code now.
Change-Id: I193b74f58aa70c443ae17e78b5604246d6bc3f71
Diffstat (limited to 'src/sccp_scrc.c')
-rw-r--r-- | src/sccp_scrc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sccp_scrc.c b/src/sccp_scrc.c index 9bccc0a..0ab25cb 100644 --- a/src/sccp_scrc.c +++ b/src/sccp_scrc.c @@ -139,6 +139,8 @@ static int gen_mtp_transfer_req_xua(struct osmo_sccp_instance *inst, if (rt->dest.as) { struct osmo_ss7_as *as = rt->dest.as; switch (as->cfg.proto) { + case OSMO_SS7_ASP_PROT_SUA: + return sua_tx_xua_as(as, xua); case OSMO_SS7_ASP_PROT_M3UA: return sua2sccp_tx_m3ua(inst, xua); default: |