diff options
author | Harald Welte <laforge@osmocom.org> | 2019-10-22 20:24:14 +0200 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2019-11-05 20:50:26 +0000 |
commit | ebd2fc60461763e756e5a6c3176a33f3fa005282 (patch) | |
tree | e92825f86065ed3f06024456e34624e2eb97600a /include | |
parent | 907121b85d50283a7e08eede27fd5d7bb112b89b (diff) |
M3UA: Reject ASP activation + RKM registration for incompatible traffic-mode
If the AS is e.g. configured as broadcast, then individual ASPs cannot
be activated in loadshare or override. Everyone must agree.
Change-Id: Ic73410fbc88d50710202453f759fa132ce14db4c
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/sigtran/osmo_ss7.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/osmocom/sigtran/osmo_ss7.h b/include/osmocom/sigtran/osmo_ss7.h index 4f20d81..04058c2 100644 --- a/include/osmocom/sigtran/osmo_ss7.h +++ b/include/osmocom/sigtran/osmo_ss7.h @@ -316,7 +316,7 @@ struct osmo_ss7_as { enum osmo_ss7_as_traffic_mode mode; /* traffic mode was configured by VTY / config file */ bool mode_set_by_vty; - /* traffic mode was configured by RKM (routing key management) or ASPAC */ + /* traffic mode was configured by RKM (routing key management) or first ASPAC */ bool mode_set_by_peer; uint32_t recovery_timeout_msec; uint8_t qos_class; @@ -346,6 +346,7 @@ int osmo_ss7_as_del_asp(struct osmo_ss7_as *as, const char *asp_name); void osmo_ss7_as_destroy(struct osmo_ss7_as *as); bool osmo_ss7_as_has_asp(struct osmo_ss7_as *as, struct osmo_ss7_asp *asp); +bool osmo_ss7_as_tmode_compatible_xua(struct osmo_ss7_as *as, uint32_t m3ua_tmt); void osmo_ss7_asp_disconnect(struct osmo_ss7_asp *asp); |