libosmo-sigtran 2.0.0.24-f2ff.202411052026
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);
uint32_t dpc
Definition: m3ua.h:1
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:95
void ss7_route_table_destroy(struct osmo_ss7_route_table *rtbl)
Definition: osmo_ss7_route_table.c:65
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:47
struct osmo_ss7_route_table * ss7_route_table_find(struct osmo_ss7_instance *inst, const char *name)
Definition: osmo_ss7_route_table.c:35
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:75
Definition: osmo_ss7.h:50
Definition: ss7_route_table.h:12
struct llist_head routes
list of osmo_ss7_route
Definition: ss7_route_table.h:18
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
struct osmo_ss7_route_table::@33 cfg
Definition: osmo_ss7.h:184
uint32_t mask
Definition: osmo_ss7.h:200