libosmo-sigtran 2.1.0.149-fef8
Osmocom SIGTRAN library
sccp_connection.h File Reference
#include <inttypes.h>
#include <osmocom/core/fsm.h>
#include <osmocom/sigtran/sccp_sap.h>

Go to the source code of this file.

Data Structures

struct  sccp_connection
 

Macros

#define _LOGPSCC(scc, subsys, level, fmt, args ...)
 
#define LOGPSCC(scc, level, fmt, args ...)    _LOGPSCC(scc, DLSCCP, level, fmt, ## args)
 

Functions

struct sccp_connectionsccp_conn_alloc (struct osmo_sccp_user *user, uint32_t conn_id)
 
void sccp_conn_free (struct sccp_connection *conn)
 
void sccp_conn_restart_tx_inact_timer (struct sccp_connection *conn)
 
void sccp_conn_restart_rx_inact_timer (struct sccp_connection *conn)
 
void sccp_conn_start_inact_timers (struct sccp_connection *conn)
 
void sccp_conn_stop_inact_timers (struct sccp_connection *conn)
 
void sccp_conn_start_rel_timer (struct sccp_connection *conn)
 
void sccp_conn_start_rep_rel_timer (struct sccp_connection *conn)
 
void sccp_conn_start_int_timer (struct sccp_connection *conn)
 
void sccp_conn_stop_release_timers (struct sccp_connection *conn)
 
void sccp_conn_start_connect_timer (struct sccp_connection *conn)
 
void sccp_conn_stop_connect_timer (struct sccp_connection *conn)
 
void sccp_conn_opt_data_send_cache (struct sccp_connection *conn, int exp_type, uint8_t msg_class)
 
int sccp_conn_xua_gen_encode_and_send (struct sccp_connection *conn, uint32_t event, const struct osmo_scu_prim *prim, int msg_type)
 
int sccp_conn_xua_gen_relre_and_send (struct sccp_connection *conn, uint32_t cause, struct osmo_scu_prim *prim)
 
void sccp_conn_scu_gen_encode_and_send (struct sccp_connection *conn, uint32_t event, struct xua_msg *xua, unsigned int primitive, enum osmo_prim_operation operation)
 

Macro Definition Documentation

◆ _LOGPSCC

#define _LOGPSCC (   scc,
  subsys,
  level,
  fmt,
  args ... 
)
Value:
_LOGPSCU((scc)->user, subsys, level, "CONN(%d,remPC=%u=%s) " fmt, \
(conn)->conn_id, (conn)->remote_pc, osmo_ss7_pointcode_print((conn)->inst->ss7, (conn)->remote_pc), ## args)
const char * osmo_ss7_pointcode_print(const struct osmo_ss7_instance *inst, uint32_t pc)
Definition: ss7_instance.c:583
#define _LOGPSCU(scu, subsys, level, fmt, args ...)
Definition: sccp_user.h:41

◆ LOGPSCC

#define LOGPSCC (   scc,
  level,
  fmt,
  args ... 
)     _LOGPSCC(scc, DLSCCP, level, fmt, ## args)

Function Documentation

◆ sccp_conn_alloc()

◆ sccp_conn_free()

◆ sccp_conn_opt_data_send_cache()

◆ sccp_conn_restart_rx_inact_timer()

void sccp_conn_restart_rx_inact_timer ( struct sccp_connection conn)

◆ sccp_conn_restart_tx_inact_timer()

void sccp_conn_restart_tx_inact_timer ( struct sccp_connection conn)

◆ sccp_conn_scu_gen_encode_and_send()

◆ sccp_conn_start_connect_timer()

void sccp_conn_start_connect_timer ( struct sccp_connection conn)

◆ sccp_conn_start_inact_timers()

void sccp_conn_start_inact_timers ( struct sccp_connection conn)

◆ sccp_conn_start_int_timer()

void sccp_conn_start_int_timer ( struct sccp_connection conn)

◆ sccp_conn_start_rel_timer()

void sccp_conn_start_rel_timer ( struct sccp_connection conn)

◆ sccp_conn_start_rep_rel_timer()

void sccp_conn_start_rep_rel_timer ( struct sccp_connection conn)

◆ sccp_conn_stop_connect_timer()

void sccp_conn_stop_connect_timer ( struct sccp_connection conn)

◆ sccp_conn_stop_inact_timers()

void sccp_conn_stop_inact_timers ( struct sccp_connection conn)

◆ sccp_conn_stop_release_timers()

void sccp_conn_stop_release_timers ( struct sccp_connection conn)

◆ sccp_conn_xua_gen_encode_and_send()

int sccp_conn_xua_gen_encode_and_send ( struct sccp_connection conn,
uint32_t  event,
const struct osmo_scu_prim prim,
int  msg_type 
)

◆ sccp_conn_xua_gen_relre_and_send()