24#include <osmocom/core/prim.h>
34#define MTP_SIO(service, net_ind) (((net_ind & 0x3) << 6) | (service & 0xF))
57 struct osmo_prim_hdr
oph;
66#define msgb_mtp_prim(msg) ((struct osmo_mtp_prim *)(msg)->l1h)
char * osmo_mtp_prim_name(struct osmo_prim_hdr *oph)
osmo_mtp_prim_type
Definition: mtp_sap.h:27
@ OSMO_MTP_PRIM_RESUME
Definition: mtp_sap.h:30
@ OSMO_MTP_PRIM_TRANSFER
Definition: mtp_sap.h:28
@ OSMO_MTP_PRIM_PAUSE
Definition: mtp_sap.h:29
@ OSMO_MTP_PRIM_STATUS
Definition: mtp_sap.h:31
uint32_t affected_dpc
Definition: mtp_sap.h:44
struct osmo_mtp_status_param status
Definition: mtp_sap.h:62
struct osmo_mtp_resume_param resume
Definition: mtp_sap.h:61
union osmo_mtp_prim::@0 u
struct osmo_mtp_transfer_param transfer
Definition: mtp_sap.h:59
struct osmo_mtp_pause_param pause
Definition: mtp_sap.h:60
struct osmo_prim_hdr oph
Definition: mtp_sap.h:57
uint32_t affected_dpc
Definition: mtp_sap.h:48
uint32_t cause
Definition: mtp_sap.h:53
uint32_t affected_dpc
Definition: mtp_sap.h:52
uint32_t dpc
Definition: mtp_sap.h:38
uint32_t opc
Definition: mtp_sap.h:37
uint8_t sls
Definition: mtp_sap.h:39
uint8_t sio
Definition: mtp_sap.h:40