libosmo-sigtran 2.0.0.50-b59d
Osmocom SIGTRAN library
osmo_ss7_route_table.c File Reference
#include <osmocom/core/linuxlist.h>
#include <osmocom/core/logging.h>
#include <osmocom/sigtran/mtp_sap.h>
#include <osmocom/sigtran/osmo_ss7.h>
#include "ss7_route.h"
#include "ss7_route_table.h"
#include "ss7_internal.h"

Functions

static struct osmo_ss7_route_tabless7_route_table_alloc (struct osmo_ss7_instance *inst, const char *name)
 
struct osmo_ss7_route_tabless7_route_table_find (struct osmo_ss7_instance *inst, const char *name)
 
struct osmo_ss7_route_tabless7_route_table_find_or_create (struct osmo_ss7_instance *inst, const char *name)
 
void ss7_route_table_destroy (struct osmo_ss7_route_table *rtbl)
 
struct osmo_ss7_routess7_route_table_find_route_by_dpc (struct osmo_ss7_route_table *rtbl, uint32_t dpc)
 Find a SS7 route for given destination point code in given table. More...
 
struct osmo_ss7_routess7_route_table_find_route_by_dpc_mask (struct osmo_ss7_route_table *rtbl, uint32_t dpc, uint32_t mask)
 Find a SS7 route for given destination point code + mask in given table. More...
 
void ss7_route_table_del_routes_by_linkset (struct osmo_ss7_route_table *rtbl, struct osmo_ss7_linkset *lset)
 
void ss7_route_table_del_routes_by_as (struct osmo_ss7_route_table *rtbl, struct osmo_ss7_as *as)
 

Function Documentation

◆ ss7_route_table_alloc()

◆ ss7_route_table_del_routes_by_as()

void ss7_route_table_del_routes_by_as ( struct osmo_ss7_route_table rtbl,
struct osmo_ss7_as as 
)

◆ ss7_route_table_del_routes_by_linkset()

void ss7_route_table_del_routes_by_linkset ( struct osmo_ss7_route_table rtbl,
struct osmo_ss7_linkset lset 
)

◆ ss7_route_table_destroy()

void ss7_route_table_destroy ( struct osmo_ss7_route_table rtbl)

◆ ss7_route_table_find()

◆ ss7_route_table_find_or_create()

struct osmo_ss7_route_table * ss7_route_table_find_or_create ( struct osmo_ss7_instance inst,
const char *  name 
)

◆ ss7_route_table_find_route_by_dpc()

struct osmo_ss7_route * ss7_route_table_find_route_by_dpc ( struct osmo_ss7_route_table rtbl,
uint32_t  dpc 
)

◆ ss7_route_table_find_route_by_dpc_mask()