Skip to content

Changes

Started by upstream project gerrit-libosmo-sigtran #834
Started 21 hr ago
Queued 9.8 sec
Took 1 min 8 sec on build5-deb12build-ansible

Summary

  1. Refactor xua_layer_manager object (details)
Commit ae29343b261988db3ba595535ef7944c7a329982 by Pau Espin Pedrol
Refactor xua_layer_manager object

Several changes to improve separation of the LM object and its
lifecycle:
* Store in ss7_asp a pointer to a xua_layer_manager, which contains all
  implementation dependent information inside its priv pointer.
* Add a new free_func field to the xua_layer_manager struct in order to
  be able to free it without knowing how it was allocated.
* Get rid og the loglevel param, LOGL_DEBUG was always passed and that
  was actually an implementation specific detail of the default xua
  layer manager.
* get rid of struct lm_fsm_priv, it's not needed since it acutally only
  contain an asp pointer which can be passed directly as fi->priv.

Change-Id: Ia96ebf40444f46ad718d61befbecb523f267fd6c
The file was modifiedinclude/osmocom/sigtran/osmo_ss7.h
The file was modifiedsrc/ss7_asp.c
The file was modifiedsrc/ss7_asp.h
The file was modifiedsrc/xua_default_lm_fsm.c