[MERGED] libosmo-sccp[master]: xua_msg: Add MTP routing label to 'struct xua_msg'

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Mon Apr 10 09:27:28 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: xua_msg: Add MTP routing label to 'struct xua_msg'
......................................................................


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
---
M include/osmocom/sigtran/xua_msg.h
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



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 xua_msg {
 	struct xua_common_hdr hdr;
+	struct osmo_mtp_transfer_param mtp;
 
 	struct llist_head headers;
 };

-- 
To view, visit https://gerrit.osmocom.org/2204
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I31a6388ac999e02ad779619adb54bbf4040672c9
Gerrit-PatchSet: 4
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list