| 1 | #cxx . . $ `<file>/include/osmocom/sigtran/sccp_helpers.h`/pragma once |
| 2 | |
| 3 | #include <unistd.h> |
| 4 | #include <osmocom/core/msgb.h> |
| 5 | #include <osmocom/sigtran/sccp_sap.h>cxx . . $ `<file>/include/osmocom/sigtran/sccp_sap.h`/ |
| 6 | |
| 7 | int osmo_sccp_tx_unitdatacxx . . $ osmo_sccp_tx_unitdata(7414115d5dc0e097).(struct osmo_sccp_usercxx . . $ osmo_sccp_user# *scu, |
| 8 | const struct osmo_sccp_addrcxx . . $ osmo_sccp_addr# *calling_addr, |
| 9 | const struct osmo_sccp_addrcxx . . $ osmo_sccp_addr# *called_addr, |
| 10 | const uint8_tcxx . . $ uint8_t# *data, unsigned int len); |
| 11 | |
| 12 | int osmo_sccp_tx_unitdata_msgcxx . . $ osmo_sccp_tx_unitdata_msg(ea9c5c2df641c723).(struct osmo_sccp_usercxx . . $ osmo_sccp_user# *scu, |
| 13 | const struct osmo_sccp_addrcxx . . $ osmo_sccp_addr# *calling_addr, |
| 14 | const struct osmo_sccp_addrcxx . . $ osmo_sccp_addr# *called_addr, |
| 15 | struct msgbcxx . . $ msgb# *msg); |
| 16 | |
| 17 | void osmo_sccp_make_addr_pc_ssncxx . . $ osmo_sccp_make_addr_pc_ssn(cb6c13248d77ef63).(struct osmo_sccp_addrcxx . . $ osmo_sccp_addr# *addr, |
| 18 | uint32_tcxx . . $ uint32_t# pc, uint32_tcxx . . $ uint32_t# ssn); |
| 19 | |
| 20 | void osmo_sccp_addr_set_ssncxx . . $ osmo_sccp_addr_set_ssn(8d0fa890d635e51e).(struct osmo_sccp_addrcxx . . $ osmo_sccp_addr# *addr, uint32_tcxx . . $ uint32_t# ssn); |
| 21 | |
| 22 | int osmo_sccp_tx_unitdata_ranapcxx . . $ osmo_sccp_tx_unitdata_ranap(ec74fc0b5e0de173).(struct osmo_sccp_usercxx . . $ osmo_sccp_user# *scu, |
| 23 | uint32_tcxx . . $ uint32_t# src_point_code, |
| 24 | uint32_tcxx . . $ uint32_t# dst_point_code, |
| 25 | const uint8_tcxx . . $ uint8_t# *data, unsigned int len); |
| 26 | |
| 27 | int osmo_sccp_tx_conn_reqcxx . . $ osmo_sccp_tx_conn_req(c30a9a9123a5eb0e).(struct osmo_sccp_usercxx . . $ osmo_sccp_user# *scu, uint32_tcxx . . $ uint32_t# conn_id, |
| 28 | const struct osmo_sccp_addrcxx . . $ osmo_sccp_addr# *calling_addr, |
| 29 | const struct osmo_sccp_addrcxx . . $ osmo_sccp_addr# *called_addr, |
| 30 | const uint8_tcxx . . $ uint8_t# *data, unsigned int len); |
| 31 | |
| 32 | int osmo_sccp_tx_conn_req_msgcxx . . $ osmo_sccp_tx_conn_req_msg(9de5a790cf06dd4).(struct osmo_sccp_usercxx . . $ osmo_sccp_user# *scu, uint32_tcxx . . $ uint32_t# conn_id, |
| 33 | const struct osmo_sccp_addrcxx . . $ osmo_sccp_addr# *calling_addr, |
| 34 | const struct osmo_sccp_addrcxx . . $ osmo_sccp_addr# *called_addr, |
| 35 | struct msgbcxx . . $ msgb# *msg); |
| 36 | |
| 37 | int osmo_sccp_tx_datacxx . . $ osmo_sccp_tx_data(948e718e368c3efc).(struct osmo_sccp_usercxx . . $ osmo_sccp_user# *scu, uint32_tcxx . . $ uint32_t# conn_id, |
| 38 | const uint8_tcxx . . $ uint8_t# *data, unsigned int len); |
| 39 | |
| 40 | int osmo_sccp_tx_data_msgcxx . . $ osmo_sccp_tx_data_msg(660ef6670cca3edb).(struct osmo_sccp_usercxx . . $ osmo_sccp_user# *scu, uint32_tcxx . . $ uint32_t# conn_id, |
| 41 | struct msgbcxx . . $ msgb# *msg); |
| 42 | |
| 43 | int osmo_sccp_tx_disconncxx . . $ osmo_sccp_tx_disconn(34ddf3b86dee06d3).(struct osmo_sccp_usercxx . . $ osmo_sccp_user# *scu, uint32_tcxx . . $ uint32_t# conn_id, |
| 44 | const struct osmo_sccp_addrcxx . . $ osmo_sccp_addr# *resp_addr, |
| 45 | uint32_tcxx . . $ uint32_t# cause); |
| 46 | |
| 47 | int osmo_sccp_tx_disconn_datacxx . . $ osmo_sccp_tx_disconn_data(dda1a907a6bfdae7).(struct osmo_sccp_usercxx . . $ osmo_sccp_user# *scu, uint32_tcxx . . $ uint32_t# conn_id, |
| 48 | const struct osmo_sccp_addrcxx . . $ osmo_sccp_addr# *resp_addr, |
| 49 | uint32_tcxx . . $ uint32_t# cause, const uint8_tcxx . . $ uint8_t# *data, size_t len); |
| 50 | |
| 51 | int osmo_sccp_tx_conn_resp_msgcxx . . $ osmo_sccp_tx_conn_resp_msg(8570c502e35990a2).(struct osmo_sccp_usercxx . . $ osmo_sccp_user# *scu, uint32_tcxx . . $ uint32_t# conn_id, |
| 52 | const struct osmo_sccp_addrcxx . . $ osmo_sccp_addr# *resp_addr, |
| 53 | struct msgbcxx . . $ msgb# *msg); |
| 54 | |
| 55 | int osmo_sccp_tx_conn_respcxx . . $ osmo_sccp_tx_conn_resp(94bde88466171de1).(struct osmo_sccp_usercxx . . $ osmo_sccp_user# *scu, uint32_tcxx . . $ uint32_t# conn_id, |
| 56 | const struct osmo_sccp_addrcxx . . $ osmo_sccp_addr# *resp_addr, |
| 57 | const uint8_tcxx . . $ uint8_t# *data, unsigned int len); |
| 58 | |
| 59 | char *osmo_sccp_gt_dumpcxx . . $ osmo_sccp_gt_dump(d5452e1476f60b19).(const struct osmo_sccp_gtcxx . . $ osmo_sccp_gt# *gt); |
| 60 | char *osmo_sccp_addr_dumpcxx . . $ osmo_sccp_addr_dump(f88442971aa8e11c).(const struct osmo_sccp_addrcxx . . $ osmo_sccp_addr# *addr); |
| 61 | |
| 62 | int osmo_sccp_inst_addr_to_str_bufcxx . . $ osmo_sccp_inst_addr_to_str_buf(77a00a93a6958467).(char *buf, size_t buf_len, const struct osmo_sccp_instancecxx . . $ osmo_sccp_instance# *sccp, |
| 63 | const struct osmo_sccp_addrcxx . . $ osmo_sccp_addr# *addr); |
| 64 | char *osmo_sccp_inst_addr_to_str_ccxx . . $ osmo_sccp_inst_addr_to_str_c(d227995837632abd).(void *ctx, const struct osmo_sccp_instancecxx . . $ osmo_sccp_instance# *sccp, |
| 65 | const struct osmo_sccp_addrcxx . . $ osmo_sccp_addr# *addr); |
| 66 | int osmo_sccp_addr_to_str_bufcxx . . $ osmo_sccp_addr_to_str_buf(bc6b0e78b27092d9).(char *buf, size_t buf_len, const struct osmo_ss7_instancecxx . . $ osmo_ss7_instance# *ss7, |
| 67 | const struct osmo_sccp_addrcxx . . $ osmo_sccp_addr# *addr); |
| 68 | char *osmo_sccp_addr_to_str_ccxx . . $ osmo_sccp_addr_to_str_c(b920ba67fac06e30).(void *ctx, const struct osmo_ss7_instancecxx . . $ osmo_ss7_instance# *ss7, const struct osmo_sccp_addrcxx . . $ osmo_sccp_addr# *addr); |
| 69 | |
| 70 | int osmo_sccp_addr_to_id_bufcxx . . $ osmo_sccp_addr_to_id_buf(bc6b0e78b27092d9).(char *buf, size_t buf_len, const struct osmo_ss7_instancecxx . . $ osmo_ss7_instance# *ss7, |
| 71 | const struct osmo_sccp_addrcxx . . $ osmo_sccp_addr# *addr); |
| 72 | char *osmo_sccp_addr_to_id_ccxx . . $ osmo_sccp_addr_to_id_c(b920ba67fac06e30).(void *ctx, const struct osmo_ss7_instancecxx . . $ osmo_ss7_instance# *ss7, const struct osmo_sccp_addrcxx . . $ osmo_sccp_addr# *addr); |
| 73 | |
| 74 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! osmo_sccp_conn_id_existscxx . . $ osmo_sccp_conn_id_exists(3f6e5d16f8928fdf).(const struct osmo_sccp_instancecxx . . $ osmo_sccp_instance# *inst, uint32_tcxx . . $ uint32_t# id); |
| 75 | |
| 76 | char *osmo_sccp_addr_namecxx . . $ osmo_sccp_addr_name(c20dfd15937737ac).(const struct osmo_ss7_instancecxx . . $ osmo_ss7_instance# *ss7, const struct osmo_sccp_addrcxx . . $ osmo_sccp_addr# *addr); |
| 77 | char *osmo_sccp_inst_addr_namecxx . . $ osmo_sccp_inst_addr_name(4747d74ff3414e39).(const struct osmo_sccp_instancecxx . . $ osmo_sccp_instance# *sccp, const struct osmo_sccp_addrcxx . . $ osmo_sccp_addr# *addr); |