libosmo-sigtran 2.2.1.4-74d0 Osmocom SIGTRAN library

Functions
mtp3_hmdt.c File Reference
`#include <osmocom/sigtran/protocol/m3ua.h>`
`#include <osmocom/sigtran/mtp_sap.h>`
`#include "ss7_instance.h"`
`#include "ss7_user.h"`
`#include "xua_internal.h"`
`#include "xua_msg.h"`

## Functions
static struct osmo_mtp_prim * | m3ua_to_xfer_ind (struct xua_msg *xua)
static int | deliver_to_mtp_user (const struct osmo_ss7_user *osu, struct xua_msg *xua)
int | mtp3_hmdt_message_for_distribution (struct osmo_ss7_instance *inst, struct xua_msg *xua)

## Function Documentation

## ◆ deliver_to_mtp_user()

static int deliver_to_mtp_user | ( | const struct osmo_ss7_user * | osu,
|  | struct xua_msg * | xua
| ) |  |
| static

References m3ua_to_xfer_ind(), xua_msg::mtp, ss7_user_mtp_sap_prim_up(), osmo_mtp_prim::transfer, osmo_mtp_prim::u, and xua_msg_free().

Referenced by mtp3_hmdt_message_for_distribution().

## ◆ m3ua_to_xfer_ind()

static struct osmo_mtp_prim * m3ua_to_xfer_ind | ( | struct xua_msg * | xua | ) |
| static

References xua_msg_part::dat, xua_msg_part::len, m3ua_dh_to_xfer_param(), M3UA_IEI_PROT_DATA, mtp_prim_xfer_ind_alloc(), NULL, osmo_mtp_prim::transfer, osmo_mtp_prim::u, and xua_msg_find_tag().

Referenced by deliver_to_mtp_user().

## ◆ mtp3_hmdt_message_for_distribution()

int mtp3_hmdt_message_for_distribution | ( | struct osmo_ss7_instance * | inst,
|  | struct xua_msg * | xua
| ) |  |

References data_hdr_from_m3ua(), deliver_to_mtp_user(), xua_msg::hdr, osmo_ss7_user::inst, LOGSS7, M3UA_MSGC_SNM, M3UA_MSGC_XFER, M3UA_XFER_DATA, xua_common_hdr::msg_class, xua_common_hdr::msg_type, osmo_ss7_user_find_by_si(), m3ua_data_hdr::si, and xua_msg_free().

Referenced by mtp3_hmdc_rx_from_l2(), and mtp3_rtpc_rx_msg_for_inaccessible_sp().