aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmocom')
-rw-r--r--include/osmocom/sigtran/osmo_ss7.h3
-rw-r--r--include/osmocom/sigtran/protocol/m3ua.h6
2 files changed, 9 insertions, 0 deletions
diff --git a/include/osmocom/sigtran/osmo_ss7.h b/include/osmocom/sigtran/osmo_ss7.h
index 7918a51..d765ae0 100644
--- a/include/osmocom/sigtran/osmo_ss7.h
+++ b/include/osmocom/sigtran/osmo_ss7.h
@@ -406,3 +406,6 @@ osmo_sccp_simple_server_add_clnt(struct osmo_sccp_instance *inst,
const char *name, uint32_t pc,
int local_port, int remote_port,
const char *remote_ip);
+
+enum osmo_ss7_as_traffic_mode osmo_ss7_tmode_from_xua(uint32_t in);
+int osmo_ss7_tmode_to_xua(enum osmo_ss7_as_traffic_mode tmod);
diff --git a/include/osmocom/sigtran/protocol/m3ua.h b/include/osmocom/sigtran/protocol/m3ua.h
index d4dc1fe..c10808c 100644
--- a/include/osmocom/sigtran/protocol/m3ua.h
+++ b/include/osmocom/sigtran/protocol/m3ua.h
@@ -145,3 +145,9 @@ enum m3ua_error_code {
M3UA_ERR_INVAL_ROUT_CTX = 0x19,
M3UA_ERR_NO_CONFGD_AS_FOR_ASP = 0x1a,
};
+
+enum m3ua_traffic_mode {
+ M3UA_TMOD_OVERRIDE = 1,
+ M3UA_TMOD_LOADSHARE = 2,
+ M3UA_TMOD_BCAST = 3,
+};