aboutsummaryrefslogtreecommitdiffstats
path: root/src/sccp_helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sccp_helpers.c')
-rw-r--r--src/sccp_helpers.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sccp_helpers.c b/src/sccp_helpers.c
index 76a7c1c..2320fe5 100644
--- a/src/sccp_helpers.c
+++ b/src/sccp_helpers.c
@@ -44,6 +44,12 @@ void osmo_sccp_make_addr_pc_ssn(struct osmo_sccp_addr *addr, uint32_t pc, uint32
addr->pc = pc;
}
+void osmo_sccp_addr_set_ssn(struct osmo_sccp_addr *addr, uint32_t ssn)
+{
+ addr->presence |= OSMO_SCCP_ADDR_T_SSN;
+ addr->ssn = ssn;
+}
+
int osmo_sccp_tx_unitdata(struct osmo_sccp_user *scu,
const struct osmo_sccp_addr *calling_addr,
const struct osmo_sccp_addr *called_addr,