4#include <osmocom/core/fsm.h>
5#include <osmocom/core/prim.h>
6#include <osmocom/core/linuxlist.h>
41#define _LOGPSCU(scu, subsys, level, fmt, args ...) \
42 _LOGPSCI((scu)->inst, subsys, level, "SCU(%s) " fmt, osmo_sccp_user_name(scu), ## args)
43#define LOGPSCU(scu, level, fmt, args ...) \
44 _LOGPSCU(scu, DLSCCP, level, fmt, ## args)
void sccp_user_free(struct osmo_sccp_user *scu)
Definition: sccp_user.c:84
int sccp_user_prim_up(struct osmo_sccp_user *scut, struct osmo_scu_prim *prim)
Send a SCCP User SAP Primitive up to the User.
Definition: sccp_user.c:119
struct osmo_sccp_user * sccp_user_alloc(struct osmo_sccp_instance *inst, const char *name, osmo_prim_cb prim_cb, uint16_t ssn, uint32_t pc)
Definition: sccp_user.c:52
Definition: sccp_instance.h:47
Definition: sccp_user.h:12
struct osmo_fsm_inst * as_fi
Definition: sccp_user.h:32
struct osmo_sccp_instance * inst
pointer back to SCCP instance
Definition: sccp_user.h:16
uint32_t pc
Definition: sccp_user.h:22
struct llist_head links
Definition: sccp_user.h:25
void * priv
Definition: sccp_user.h:29
uint16_t ssn
SSN and/or point code to which we are bound.
Definition: sccp_user.h:21
char * name
human-readable name of this user
Definition: sccp_user.h:18
osmo_prim_cb prim_cb
Definition: sccp_user.h:28
struct llist_head list
entry in list of sccp users of osmo_sccp_instance
Definition: sccp_user.h:14
Definition: sccp_sap.h:280