Skip to content
Success

Changes

Summary

  1. sigtran: Add public APIs to manage struct osmo_ss7_user (details)
  2. sigtran: Make osmo_ss7_user struct private (details)
  3. sigtran: Make osmo_ss7_asp struct private (details)
  4. sigtran: Make osmo_ss7_asp_peer private (details)
  5. sigtran: Make osmo_ss7_instance struct private (details)
  6. sigtran: Make osmo_ss7_as struct private (details)
  7. cosmetic: osmo_ss7: Rearrange some contents (details)
  8. route_table: Split allocation code to its own function (details)
  9. Move code to delete routes by as/linkset to helper functions (details)
Commit 150b6f1bd3ab6e471b6e0d1a70c70d3e5f23d69f by Pau Espin Pedrol
sigtran: Add public APIs to manage struct osmo_ss7_user

Change-Id: I81b424239e9f7d4dc84bf167053f784ad2e8ca49
The file was modifiedtests/ss7/ss7_test.c
The file was modifiedTODO-RELEASE
The file was modifiedsrc/Makefile.am
The file was modifiedinclude/osmocom/sigtran/osmo_ss7.h
The file was modifiedsrc/sccp_user.c
The file was addedsrc/osmo_ss7_user.c
The file was modifiedsrc/sccp_internal.h
Commit 7b00af45ccebe653ad9fbb75743dbd82b3ddc56d by Pau Espin Pedrol
sigtran: Make osmo_ss7_user struct private

ss7_user objects are managed so far exclusively through libosmo-sigtran
internal upper layers (SCCP), hence make the struct as well as all its
APIs private.

API ss7_mtp_to_user() is also made private since that's only meant for
internal use from lower layers in the library.

Change-Id: I59d8f70aa81ba396159af40ffd7e8cc6c27cb864
The file was modifiedsrc/osmo_ss7_user.c
The file was modifiedtests/ss7/ss7_test.c
The file was modifiedsrc/osmo_ss7.c
The file was addedsrc/ss7_user.h
The file was modifiedsrc/Makefile.am
The file was modifiedinclude/osmocom/sigtran/osmo_ss7.h
The file was modifiedsrc/sccp_internal.h
The file was modifiedsrc/osmo_ss7_hmrt.c
Commit c4522afca9753eed5a5cd632771ebc633f6f92fa by Pau Espin Pedrol
sigtran: Make osmo_ss7_asp struct private

The object should only (and currently is only) be used throuh public
APIs using a pointer.

Change-Id: I5839b4dd04468af20d1836386dcc722e7a83ac5f
The file was modifiedsrc/osmo_ss7_asp.c
The file was modifiedsrc/Makefile.am
The file was modifiedsrc/ipa.c
The file was modifiedsrc/xua_asp_fsm.c
The file was modifiedsrc/xua_snm.c
The file was modifiedsrc/m3ua.c
The file was modifiedsrc/osmo_ss7_hmrt.c
The file was modifiedsrc/ss7_internal.h
The file was modifiedsrc/sua.c
The file was modifiedinclude/osmocom/sigtran/osmo_ss7.h
The file was addedsrc/ss7_asp.h
The file was modifiedsrc/osmo_ss7.c
The file was modifiedsrc/osmo_ss7_as.c
The file was modifiedsrc/osmo_ss7_vty.c
The file was modifiedsrc/osmo_ss7_xua_srv.c
The file was modifiedsrc/xua_rkm.c
The file was modifiedsrc/xua_as_fsm.c
The file was modifiedsrc/sccp_user.c
The file was modifiedsrc/xua_shared.c
The file was modifiedtests/ss7/ss7_test.c
The file was modifiedsrc/xua_default_lm_fsm.c
Commit f13e2c9923b7a5eec34c418d17515f318a5ed4cf by Pau Espin Pedrol
sigtran: Make osmo_ss7_asp_peer private

This struct object is only used internally so far, there's no need to
make it public.

Change-Id: I6729cc599af3a799d89bc0514d223c84f2233a4b
The file was modifiedsrc/osmo_ss7_asp.c
The file was modifiedinclude/osmocom/sigtran/osmo_ss7.h
The file was addedsrc/ss7_asp_peer.h
The file was modifiedsrc/ss7_internal.h
The file was modifiedsrc/osmo_ss7_xua_srv.c
The file was modifiedsrc/osmo_ss7_asp_peer.c
The file was modifiedsrc/Makefile.am
The file was modifiedsrc/ss7_asp.h
The file was modifiedsrc/osmo_ss7_vty.c
The file was modifiedsrc/sccp_user.c
Commit ede32ba516ae3de77883330b9e5315b9f2c200b9 by Pau Espin Pedrol
sigtran: Make osmo_ss7_instance struct private

Change-Id: I4562fe21535c5aa468ac0e3831d505bf08b336ec
The file was modifiedsrc/sccp_scoc.c
The file was modifiedTODO-RELEASE
The file was modifiedsrc/sccp_vty.c
The file was modifiedsrc/Makefile.am
The file was modifiedsrc/osmo_ss7.c
The file was addedsrc/osmo_ss7_instance.c
The file was addedsrc/ss7_instance.h
The file was modifiedinclude/osmocom/sigtran/osmo_ss7.h
The file was modifiedsrc/sccp_scrc.c
The file was modifiedsrc/ss7_internal.h
Commit d3bc04c0fd5c5d3649e2308f2f4db515c2c8ea2c by Pau Espin Pedrol
sigtran: Make osmo_ss7_as struct private

Change-Id: I8c6513e6d2c152e853270fa5b488b606a3d18b14
The file was modifiedsrc/osmo_ss7_as.c
The file was modifiedsrc/osmo_ss7_hmrt.c
The file was modifiedsrc/ss7_internal.h
The file was modifiedsrc/osmo_ss7_instance.c
The file was modifiedsrc/ipa.c
The file was modifiedsrc/osmo_ss7_route.c
The file was modifiedsrc/osmo_ss7_asp.c
The file was modifiedsrc/osmo_ss7_vty.c
The file was modifiedsrc/xua_default_lm_fsm.c
The file was modifiedtests/ss7/ss7_test.c
The file was modifiedinclude/osmocom/sigtran/osmo_ss7.h
The file was modifiedsrc/xua_as_fsm.c
The file was modifiedsrc/xua_asp_fsm.c
The file was modifiedsrc/xua_shared.c
The file was modifiedsrc/sccp_user.c
The file was modifiedsrc/sua.c
The file was modifiedsrc/sccp_scrc.c
The file was modifiedsrc/m3ua.c
The file was modifiedsrc/osmo_ss7.c
The file was modifiedsrc/Makefile.am
The file was modifiedsrc/xua_snm.c
The file was modifiedsrc/xua_rkm.c
The file was addedsrc/ss7_as.h
Commit 39e5388e202ac2e59aa6f5c0e852bbb711f062fa by Pau Espin Pedrol
cosmetic: osmo_ss7: Rearrange some contents

* Create sections for Routing Key, AS Traffic Mode, ASP Protocol which
  have their own enum/struct and set of APIs acting upon them.
* Move osmo_ss7_asp_disconnect() to its ASP section (was in AS section).

Change-Id: I592db59e27fa7b401d1281921e38817772308c00
The file was modifiedinclude/osmocom/sigtran/osmo_ss7.h
Commit ab88e407a42f47c535039a74b6bcea9db027b8c6 by Pau Espin Pedrol
route_table: Split allocation code to its own function

Change-Id: Id081d6de14be84b05ed38f3f8211ba91e675cff0
The file was modifiedsrc/osmo_ss7_route_table.c
Commit b59de83122feaf82817cb7af68c9eebdea0c136f by Pau Espin Pedrol
Move code to delete routes by as/linkset to helper functions

This really fits into a helper function, allowig for further reuse in
the future and removing complexity from other code functions.
It also makes the logic independent on the implementation of the routing
table.

Change-Id: Ic36fd6a0466cc0338132f2e34eb7c916115c9d4a
The file was modifiedsrc/ss7_route_table.h
The file was modifiedsrc/osmo_ss7_route_table.c
The file was modifiedsrc/osmo_ss7_linkset.c
The file was modifiedsrc/osmo_ss7_as.c