libosmo-sigtran 2.1.0.10-c5bb
Osmocom SIGTRAN library
ss7_as.h File Reference
#include <stdint.h>
#include <osmocom/core/linuxlist.h>
#include <osmocom/core/fsm.h>
#include <osmocom/core/msgb.h>
#include <osmocom/core/tdef.h>
#include <osmocom/netif/stream.h>
#include <osmocom/sigtran/osmo_ss7.h>
#include "ss7_internal.h"

Go to the source code of this file.

Data Structures

struct  osmo_ss7_as
 

Macros

#define LOGPAS(as, subsys, level, fmt, args ...)    _LOGSS7((as)->inst, subsys, level, "as-%s: " fmt, (as)->cfg.name, ## args)
 

Enumerations

enum  osmo_ss7_as_patch_sccp_mode { OSMO_SS7_PATCH_NONE , OSMO_SS7_PATCH_BOTH }
 
enum  ss7_as_ctr { SS7_AS_CTR_RX_MSU_TOTAL , SS7_AS_CTR_TX_MSU_TOTAL }
 

Functions

unsigned int osmo_ss7_as_count_asp (const struct osmo_ss7_as *as)
 Determine amount of ASPs associated to an AS. More...
 

Macro Definition Documentation

◆ LOGPAS

#define LOGPAS (   as,
  subsys,
  level,
  fmt,
  args ... 
)     _LOGSS7((as)->inst, subsys, level, "as-%s: " fmt, (as)->cfg.name, ## args)

Enumeration Type Documentation

◆ osmo_ss7_as_patch_sccp_mode

Enumerator
OSMO_SS7_PATCH_NONE 
OSMO_SS7_PATCH_BOTH 

◆ ss7_as_ctr

enum ss7_as_ctr
Enumerator
SS7_AS_CTR_RX_MSU_TOTAL 
SS7_AS_CTR_TX_MSU_TOTAL 

Function Documentation

◆ osmo_ss7_as_count_asp()

unsigned int osmo_ss7_as_count_asp ( const struct osmo_ss7_as as)

Determine amount of ASPs associated to an AS.

Parameters
[in]asApplication Server.
Returns
number of ASPs associated to as

References osmo_ss7_as::asps, and osmo_ss7_as::cfg.

Referenced by xua_rkm_cleanup_dyn_as_for_asp().