diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-04-11 18:51:58 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-04-13 18:05:13 +0200 |
commit | 8dec5a8ec554bbd56f4d3f45b6e1025d4c1ffb45 (patch) | |
tree | 51b311b14ee525e543e2f9c04c9beb9fd252b35b /include | |
parent | 2346850ae2ba4d6fa61a309fcfc55c5c4abe07b4 (diff) |
xua_rkm: Make dynamic registration of Routing Keys work
The existign xua_rkm code was merged a bit pre-maturely as it was not
properly tested. This adds a lot of fixes to make it work at all in the
first place, as well as the configurable option for fully dynamic
routing key management, where ASs and routing keys must not be
configured statically by administrative means, but clients (ASPs) can
simply come and register for whatever point code they want.
Change-Id: I79a070fa7b271b44995511f7b3ff7cc6beec8278
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/sigtran/osmo_ss7.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/osmocom/sigtran/osmo_ss7.h b/include/osmocom/sigtran/osmo_ss7.h index c3a81bb..49a8ca5 100644 --- a/include/osmocom/sigtran/osmo_ss7.h +++ b/include/osmocom/sigtran/osmo_ss7.h @@ -86,6 +86,7 @@ struct osmo_ss7_instance { /* capability PCs */ uint8_t network_indicator; struct osmo_ss7_pc_fmt pc_fmt; + bool permit_dyn_rkm_alloc; } cfg; }; @@ -276,6 +277,9 @@ struct osmo_ss7_as { /*! AS FSM */ struct osmo_fsm_inst *fi; + /*! Were we dynamically allocated by RKM? */ + bool rkm_dyn_allocated; + struct { char *name; char *description; |