aboutsummaryrefslogtreecommitdiffstats
path: root/src/sccp_sap.c
AgeCommit message (Collapse)AuthorFilesLines
2023-04-05add two value_string[]s related to N-PCSTATENeels Hofmeyr1-0/+16
Related: SYS#6319 Change-Id: I873ea30e8f64280487769668c748c67ce4ff4023
2023-02-22fixup for: add osmo_scu_prim_name_c() / _buf()Neels Hofmeyr1-7/+7
I would like to tweak the names for the recently added functions, so that they are more clear -- quickly before we release it or anyone uses these. Depends: libosmocore I9f43428af654a5674ac3035fe4db1394aac7a7af Related: I4c1998fd7fee7282d107846dae2cff4b5ceb3a7b Change-Id: If381f537ab91af1feef7f0e51921217f27e18e6a
2023-02-18add osmo_scu_prim_name_c() / _buf()Neels Hofmeyr1-4/+19
Add non-legacy string functions for osmo_scu_prim_name in the form of _buf() and _c() signatures. So far there is only osmo_scu_prim_name() using a static buffer. Implement that using osmo_scu_prim_name_buf(). Change-Id: I4c1998fd7fee7282d107846dae2cff4b5ceb3a7b
2022-08-21[cosmetic] sccp_scoc.c: constify function parametersMax1-1/+1
Related: OS#5579 Change-Id: I398e3efa3e097de8907617cfdf363e1d3b96f666
2021-02-07sccp_sap: Fix string for N-PCSTATE primitiveHarald Welte1-1/+1
Change-Id: Ib42f46661e27b1730badc3647ca2e021e93021b7
2017-11-13Add SPDX-License-Identifier + missing copyright statementsHarald Welte1-0/+2
Change-Id: I113232bbeaa7a835871df7f9b883ba573d8a2534
2017-09-03sccp_sap.h: Fix SSN for BSSAP and BSSAP-LEHarald Welte1-2/+3
* BSSAP is 254 on both MSC and BSC side: Add missing define * BSSAP-LE (LCS Extension) has 250/251, adjust name to add -LE suffix Change-Id: Iccec75cfc0cf16bd717a9bd4606d1e772c332ccc
2017-08-09add osmo_sccp_addr_name() and three value_string[]sNeels Hofmeyr1-0/+47
osmo_sccp_addr_dump() just prints the raw values. In osmo_sccp_addr_name(), use osmo_ss7_pointcode_print() and newly added RI, SSN and GT value_string[] to print more human readable log output. Change-Id: Ie1aedd7894acd69ddc887cd65a8a0df4b888838c
2017-04-13Add a default layer manager using RKM to register PC with SGHarald Welte1-5/+37
This "default layer manager" can optionally be used by a xUA ASP. It will handle the xUA Layer Manager (xlm) primitives and use them to behave as follows: * bring the ASP into state "INACTIVE" * see if the SG can match our connection (based on IP address + port information) to a statically configured ASP configuration with associated AS(s). If yes, it will send us a NOTIFY message with AS-INACTIVE. * if the above doesn't work, try to dynamically register a routing key using RKM for the point code that was locally confiured on the ASP/client. If that works, the SG will now have created ASP and AS objects as well as a routing key and be able to serve us, sending the NOTIFY with the AS-INACTIVE state. * After either of the two above, we will attempt to transition into ASP-ACTIVE. The SG should send us an AS-ACTIVE notification in return * if anything fails, abort and disconnect the SCTP connection, restart related FSMs and start from scratch Change-Id: I78d4623dd213b5c59007a026a6cc3cfe5c04af50
2017-04-10sccp_sap license header was missingHarald Welte1-0/+19
Change-Id: I442634ca74d9c4cd386726a9d6b933a12f45afc5
2015-12-22Import SUA (SCCP User Adaptation) and SCCP User SAPHarald Welte1-0/+36
... this code originates from the osmo-iuh repository, but is now part of a new shared libosmo-sigtran.so library generated in this repository.