1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
#pragma once
#include <unistd.h>
#include <osmocom/core/msgb.h>
#include <osmocom/sigtran/sccp_sap.h>
#include <osmocom/sigtran/sua.h>
int osmo_sccp_tx_unitdata(struct osmo_sccp_link *link,
const struct osmo_sccp_addr *calling_addr,
const struct osmo_sccp_addr *called_addr,
uint8_t *data, unsigned int len);
int osmo_sccp_tx_unitdata_msg(struct osmo_sccp_link *link,
const struct osmo_sccp_addr *calling_addr,
const struct osmo_sccp_addr *called_addr,
struct msgb *msg);
void osmo_sccp_make_addr_pc_ssn(struct osmo_sccp_addr *addr,
uint32_t pc, uint32_t ssn);
int osmo_sccp_tx_unitdata_ranap(struct osmo_sccp_link *link,
uint32_t src_point_code,
uint32_t dst_point_code,
uint8_t *data, unsigned int len);
int osmo_sccp_tx_conn_req(struct osmo_sccp_link *link, uint32_t conn_id,
const struct osmo_sccp_addr *calling_addr,
const struct osmo_sccp_addr *called_addr,
uint8_t *data, unsigned int len);
int osmo_sccp_tx_conn_req_msg(struct osmo_sccp_link *link, uint32_t conn_id,
const struct osmo_sccp_addr *calling_addr,
const struct osmo_sccp_addr *called_addr,
struct msgb *msg);
int osmo_sccp_tx_data(struct osmo_sccp_link *link, uint32_t conn_id,
uint8_t *data, unsigned int len);
int osmo_sccp_tx_data_msg(struct osmo_sccp_link *link, uint32_t conn_id,
struct msgb *msg);
char *osmo_sccp_gt_dump(const struct osmo_sccp_gt *gt);
char *osmo_sccp_addr_dump(const struct osmo_sccp_addr *addr);
|