diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-04-03 16:55:23 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-04-10 10:41:16 +0200 |
commit | 34ed4e5a20a016b3b35e1b3317ec91cbb1732247 (patch) | |
tree | fe3b6a5725c4dd2a64176670ed1d966a4d4400fe | |
parent | fe8991f8647a16f4472f22d4c429a4dbcee67981 (diff) |
xua_msg: Add MTP routing label to 'struct xua_msg'
Higher-layer protocols (particularly SCCP) require knowledge on the
MTP-level routing label of a message. Let's add this to the common
header of 'struct xua_msg' to communicate it across layer boundaries.
Change-Id: I31a6388ac999e02ad779619adb54bbf4040672c9
-rw-r--r-- | include/osmocom/sigtran/xua_msg.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/sigtran/xua_msg.h b/include/osmocom/sigtran/xua_msg.h index 18b9e49..33eb1b0 100644 --- a/include/osmocom/sigtran/xua_msg.h +++ b/include/osmocom/sigtran/xua_msg.h @@ -20,6 +20,7 @@ #include "xua_types.h" #include <osmocom/core/linuxlist.h> +#include <osmocom/sigtran/mtp_sap.h> #define XUA_HDR(class, type) ((struct xua_common_hdr) { .spare = 0, .msg_class = (class), .msg_type = (type) }) @@ -29,6 +30,7 @@ struct osmo_sccp_gt; struct xua_msg { struct xua_common_hdr hdr; + struct osmo_mtp_transfer_param mtp; struct llist_head headers; }; |