libosmo-sigtran 2.0.0.50-b59d
Osmocom SIGTRAN library
ss7_route_table.h
Go to the documentation of this file.
1#pragma once
2
3#include <stdint.h>
4#include <osmocom/core/linuxlist.h>
5
6/***********************************************************************
7 * SS7 Routing Tables
8 ***********************************************************************/
9
11
14 struct llist_head list;
18 struct llist_head routes;
19
20 struct {
21 char *name;
23 } cfg;
24};
25
31
32struct osmo_ss7_route *
34struct osmo_ss7_route *
36 uint32_t mask);
37
uint32_t dpc
Definition: m3ua.h:1
void ss7_route_table_del_routes_by_as(struct osmo_ss7_route_table *rtbl, struct osmo_ss7_as *as)
Definition: osmo_ss7_route_table.c:138
void ss7_route_table_del_routes_by_linkset(struct osmo_ss7_route_table *rtbl, struct osmo_ss7_linkset *lset)
Definition: osmo_ss7_route_table.c:127
struct osmo_ss7_route * ss7_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.
Definition: osmo_ss7_route_table.c:107
void ss7_route_table_destroy(struct osmo_ss7_route_table *rtbl)
Definition: osmo_ss7_route_table.c:77
struct osmo_ss7_route_table * ss7_route_table_find_or_create(struct osmo_ss7_instance *inst, const char *name)
Definition: osmo_ss7_route_table.c:65
struct osmo_ss7_route_table * ss7_route_table_find(struct osmo_ss7_instance *inst, const char *name)
Definition: osmo_ss7_route_table.c:53
struct osmo_ss7_route * ss7_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.
Definition: osmo_ss7_route_table.c:87
Definition: ss7_as.h:31
Definition: ss7_instance.h:20
Definition: ss7_linkset.h:13
Definition: ss7_route_table.h:12
struct llist_head routes
list of osmo_ss7_route
Definition: ss7_route_table.h:18
struct osmo_ss7_route_table::@31 cfg
struct llist_head list
member in list of routing tables
Definition: ss7_route_table.h:14
struct osmo_ss7_instance * inst
osmo_ss7_instance to which we belong
Definition: ss7_route_table.h:16
char * description
Definition: ss7_route_table.h:22
char * name
Definition: ss7_route_table.h:21
Definition: ss7_route.h:17
struct osmo_ss7_as * as
pointer to Application Server
Definition: ss7_route.h:27
uint32_t mask
Definition: ss7_route.h:33