libosmo-sigtran 2.2.1
Osmocom SIGTRAN library
Loading...
Searching...
No Matches
tcap_trans_tracking.c File Reference
#include <stdint.h>
#include <osmocom/core/msgb.h>
#include <osmocom/sigtran/osmo_ss7.h>
#include <osmocom/sigtran/sccp_sap.h>
#include "ss7_asp.h"
#include "ss7_as.h"
#include "tcap_trans_tracking.h"

Functions

static void entry_update_tstamp (struct tcap_trans_track_entry *entry)
static uint64_t gen_hash (uint32_t tid, uint8_t ssn, uint32_t pc)
static uint64_t gen_hash_addr (uint32_t tid, const struct osmo_sccp_addr *addr)
static void trans_sccp_addr_cpy (struct osmo_sccp_addr *dst, const struct osmo_sccp_addr *src)
struct tcap_trans_track_entrytcap_trans_track_entry_create (struct osmo_ss7_as *as, struct osmo_ss7_asp *asp, const struct osmo_sccp_addr *own_addr, const uint32_t *own_tid, const struct osmo_sccp_addr *peer_addr, const uint32_t *peer_tid)
void tcap_trans_track_entry_free (struct tcap_trans_track_entry *entry)
struct tcap_trans_track_entrytcap_trans_track_entry_find (struct osmo_ss7_as *as, const struct osmo_sccp_addr *own_addr, const uint32_t *own_tid, const struct osmo_sccp_addr *peer_addr, const uint32_t *peer_tid)
struct tcap_trans_track_entrytcap_trans_track_begin (struct osmo_ss7_as *as, struct osmo_ss7_asp *asp, const struct osmo_sccp_addr *own_addr, const uint32_t *own_tid, const struct osmo_sccp_addr *peer_addr, const uint32_t *peer_tid)
struct osmo_ss7_asptcap_trans_track_continue (struct osmo_ss7_as *as, const struct osmo_sccp_addr *own_addr, const uint32_t *own_tid, const struct osmo_sccp_addr *peer_addr, const uint32_t *peer_tid)
struct osmo_ss7_asptcap_trans_track_end (struct osmo_ss7_as *as, const struct osmo_sccp_addr *own_addr, const uint32_t *own_tid, const struct osmo_sccp_addr *peer_addr, const uint32_t *peer_tid)
int tcap_trans_track_garbage_collect (struct osmo_ss7_as *as)
static void tcap_trans_track_garbage_collect_cb (void *data)
void tcap_trans_track_garbage_collect_start (struct osmo_ss7_as *as)
void tcap_trans_track_garbage_collect_stop (struct osmo_ss7_as *as)
int tcap_trans_track_entries_free_by_asp (struct osmo_ss7_as *as, struct osmo_ss7_asp *asp)
int tcap_trans_track_entries_free_all (struct osmo_ss7_as *as)

Function Documentation

◆ entry_update_tstamp()

void entry_update_tstamp ( struct tcap_trans_track_entry * entry)
inlinestatic

◆ gen_hash()

uint64_t gen_hash ( uint32_t tid,
uint8_t ssn,
uint32_t pc )
inlinestatic

References pc, and ssn.

Referenced by gen_hash_addr().

◆ gen_hash_addr()

◆ tcap_trans_track_begin()

◆ tcap_trans_track_continue()

◆ tcap_trans_track_end()

◆ tcap_trans_track_entries_free_all()

◆ tcap_trans_track_entries_free_by_asp()

◆ tcap_trans_track_entry_create()

◆ tcap_trans_track_entry_find()

◆ tcap_trans_track_entry_free()

◆ tcap_trans_track_garbage_collect()

◆ tcap_trans_track_garbage_collect_cb()

void tcap_trans_track_garbage_collect_cb ( void * data)
static

◆ tcap_trans_track_garbage_collect_start()

void tcap_trans_track_garbage_collect_start ( struct osmo_ss7_as * as)

◆ tcap_trans_track_garbage_collect_stop()

void tcap_trans_track_garbage_collect_stop ( struct osmo_ss7_as * as)

Referenced by tcap_disable().

◆ trans_sccp_addr_cpy()

void trans_sccp_addr_cpy ( struct osmo_sccp_addr * dst,
const struct osmo_sccp_addr * src )
static