libosmo-sigtran 2.1.0.49-23d1
Osmocom SIGTRAN library
ss7_combined_linkset.h File Reference
#include <stdint.h>
#include <osmocom/core/linuxlist.h>

Go to the source code of this file.

Data Structures

struct  osmo_ss7_esls_entry
 
struct  osmo_ss7_combined_linkset
 

Macros

#define NUM_EXT_SLS   128
 
#define LOGPCLSET(clset, subsys, level, fmt, args ...)
 

Typedefs

typedef uint8_t ext_sls_t
 

Functions

struct osmo_ss7_combined_linksetss7_combined_linkset_alloc (struct osmo_ss7_route_table *rtbl, uint32_t pc, uint32_t mask, uint32_t prio)
 
void ss7_combined_linkset_free (struct osmo_ss7_combined_linkset *clset)
 
struct osmo_ss7_linksetss7_combined_linkset_find_or_create (struct osmo_ss7_route_table *rtbl, uint32_t pc, uint32_t mask, uint32_t prio)
 
void ss7_combined_linkset_add_route (struct osmo_ss7_combined_linkset *clset, struct osmo_ss7_route *rt)
 
void ss7_combined_linkset_del_route (struct osmo_ss7_route *rt)
 
struct osmo_ss7_routess7_combined_linkset_lookup_route (struct osmo_ss7_combined_linkset *clset, const struct osmo_ss7_route_label *rtlabel)
 

Macro Definition Documentation

◆ LOGPCLSET

#define LOGPCLSET (   clset,
  subsys,
  level,
  fmt,
  args ... 
)
Value:
do { \
char _pc_str[MAX_PC_STR_LEN]; \
char _mask_str[MAX_PC_STR_LEN]; \
_LOGSS7((clset)->rtable->inst, subsys, level, \
"CombinedLinkset(dpc=%u=%s,mask=0x%x=%s,prio=%u) " fmt, \
(clset)->cfg.pc, osmo_ss7_pointcode_print_buf(_pc_str, MAX_PC_STR_LEN, (clset)->rtable->inst, (clset)->cfg.pc), \
(clset)->cfg.mask, osmo_ss7_pointcode_print_buf(_mask_str, MAX_PC_STR_LEN, (clset)->rtable->inst, (clset)->cfg.mask), \
(clset)->cfg.priority, ## args); \
} while (0)
const char * osmo_ss7_pointcode_print_buf(char *buf, size_t buf_len, const struct osmo_ss7_instance *inst, uint32_t pc)
Definition: osmo_ss7_instance.c:558
#define MAX_PC_STR_LEN
Definition: ss7_internal.h:12

◆ NUM_EXT_SLS

#define NUM_EXT_SLS   128

Typedef Documentation

◆ ext_sls_t

typedef uint8_t ext_sls_t

Function Documentation

◆ ss7_combined_linkset_add_route()

void ss7_combined_linkset_add_route ( struct osmo_ss7_combined_linkset clset,
struct osmo_ss7_route rt 
)

◆ ss7_combined_linkset_alloc()

◆ ss7_combined_linkset_del_route()

◆ ss7_combined_linkset_find_or_create()

struct osmo_ss7_linkset * ss7_combined_linkset_find_or_create ( struct osmo_ss7_route_table rtbl,
uint32_t  pc,
uint32_t  mask,
uint32_t  prio 
)

◆ ss7_combined_linkset_free()

void ss7_combined_linkset_free ( struct osmo_ss7_combined_linkset clset)

◆ ss7_combined_linkset_lookup_route()