4 #include <osmocom/core/msgb.h> 10 const uint8_t *
data,
unsigned int len);
18 uint32_t pc, uint32_t ssn);
23 uint32_t src_point_code,
24 uint32_t dst_point_code,
25 const uint8_t *
data,
unsigned int len);
30 const uint8_t *
data,
unsigned int len);
38 const uint8_t *
data,
unsigned int len);
49 uint32_t cause,
const uint8_t *
data,
size_t len);
57 const uint8_t *
data,
unsigned int len);
char * osmo_sccp_inst_addr_to_str_c(void *ctx, const struct osmo_sccp_instance *sccp, const struct osmo_sccp_addr *addr)
Definition: sccp_helpers.c:421
char * osmo_sccp_addr_to_str_c(void *ctx, const struct osmo_ss7_instance *ss7, const struct osmo_sccp_addr *addr)
Definition: sccp_helpers.c:381
Definition: sccp_internal.h:37
int osmo_sccp_tx_disconn_data(struct osmo_sccp_user *scu, uint32_t conn_id, const struct osmo_sccp_addr *resp_addr, uint32_t cause, const uint8_t *data, size_t len)
Definition: sccp_helpers.c:196
int osmo_sccp_tx_conn_resp_msg(struct osmo_sccp_user *scu, uint32_t conn_id, const struct osmo_sccp_addr *resp_addr, struct msgb *msg)
Definition: sccp_helpers.c:238
char * osmo_sccp_addr_dump(const struct osmo_sccp_addr *addr)
Definition: sccp_helpers.c:325
int osmo_sccp_tx_disconn(struct osmo_sccp_user *scu, uint32_t conn_id, const struct osmo_sccp_addr *resp_addr, uint32_t cause)
Definition: sccp_helpers.c:230
int osmo_sccp_addr_to_id_buf(char *buf, size_t buf_len, const struct osmo_ss7_instance *ss7, const struct osmo_sccp_addr *addr)
like osmo_sccp_addr_to_str_buf, but using only characters passing osmo_identifier_valid().
Definition: sccp_helpers.c:393
int osmo_sccp_tx_conn_resp(struct osmo_sccp_user *scu, uint32_t conn_id, const struct osmo_sccp_addr *resp_addr, const uint8_t *data, unsigned int len)
Definition: sccp_helpers.c:264
int osmo_sccp_inst_addr_to_str_buf(char *buf, size_t buf_len, const struct osmo_sccp_instance *sccp, const struct osmo_sccp_addr *addr)
Definition: sccp_helpers.c:415
Definition: sccp_internal.h:58
char * osmo_sccp_gt_dump(const struct osmo_sccp_gt *gt)
Definition: sccp_helpers.c:293
int osmo_sccp_tx_unitdata(struct osmo_sccp_user *scu, const struct osmo_sccp_addr *calling_addr, const struct osmo_sccp_addr *called_addr, const uint8_t *data, unsigned int len)
Definition: sccp_helpers.c:62
int osmo_sccp_tx_conn_req_msg(struct osmo_sccp_user *scu, uint32_t conn_id, const struct osmo_sccp_addr *calling_addr, const struct osmo_sccp_addr *called_addr, struct msgb *msg)
Definition: sccp_helpers.c:140
int osmo_sccp_tx_unitdata_msg(struct osmo_sccp_user *scu, const struct osmo_sccp_addr *calling_addr, const struct osmo_sccp_addr *called_addr, struct msgb *msg)
Definition: sccp_helpers.c:98
char * osmo_sccp_inst_addr_name(const struct osmo_sccp_instance *sccp, const struct osmo_sccp_addr *addr)
Definition: sccp_helpers.c:430
int osmo_sccp_tx_data_msg(struct osmo_sccp_user *scu, uint32_t conn_id, struct msgb *msg)
Definition: sccp_helpers.c:184
Definition: sccp_sap.h:183
Definition: sccp_sap.h:175
void osmo_sccp_make_addr_pc_ssn(struct osmo_sccp_addr *addr, uint32_t pc, uint32_t ssn)
Definition: sccp_helpers.c:46
char * osmo_sccp_addr_name(const struct osmo_ss7_instance *ss7, const struct osmo_sccp_addr *addr)
Definition: sccp_helpers.c:408
void osmo_sccp_addr_set_ssn(struct osmo_sccp_addr *addr, uint32_t ssn)
Definition: sccp_helpers.c:56
uint8_t data[0]
Definition: xua_types.h:72
char * osmo_sccp_addr_to_id_c(void *ctx, const struct osmo_ss7_instance *ss7, const struct osmo_sccp_addr *addr)
Definition: sccp_helpers.c:402
Definition: osmo_ss7.h:73
int osmo_sccp_addr_to_str_buf(char *buf, size_t buf_len, const struct osmo_ss7_instance *ss7, const struct osmo_sccp_addr *addr)
Definition: sccp_helpers.c:375
uint16_t len
Definition: xua_types.h:68
int osmo_sccp_tx_conn_req(struct osmo_sccp_user *scu, uint32_t conn_id, const struct osmo_sccp_addr *calling_addr, const struct osmo_sccp_addr *called_addr, const uint8_t *data, unsigned int len)
Definition: sccp_helpers.c:112
int osmo_sccp_tx_data(struct osmo_sccp_user *scu, uint32_t conn_id, const uint8_t *data, unsigned int len)
Definition: sccp_helpers.c:154
bool osmo_sccp_conn_id_exists(const struct osmo_sccp_instance *inst, uint32_t id)
Definition: sccp_scoc.c:445
int osmo_sccp_tx_unitdata_ranap(struct osmo_sccp_user *scu, uint32_t src_point_code, uint32_t dst_point_code, const uint8_t *data, unsigned int len)
Definition: sccp_helpers.c:83