Harald Welte | 283c7fd | 2015-12-21 23:35:56 +0100 | [diff] [blame^] | 1 | #pragma once |
| 2 | |
| 3 | #include <stdint.h> |
| 4 | #include <unistd.h> |
| 5 | #include <stdlib.h> |
| 6 | #include <stdio.h> |
| 7 | #include <string.h> |
| 8 | |
| 9 | #include <osmocom/core/select.h> |
| 10 | #include <osmocom/core/prim.h> |
| 11 | #include <osmocom/core/talloc.h> |
| 12 | #include <osmocom/core/logging.h> |
| 13 | #include <osmocom/vty/logging.h> |
| 14 | |
| 15 | #include "sua.h" |
| 16 | #include "sccp_sap.h" |
| 17 | |
| 18 | |
| 19 | enum log_cat { |
| 20 | DMAIN, |
| 21 | DSUA, |
| 22 | DXUA, |
| 23 | }; |
| 24 | |
| 25 | extern const struct log_info test_log_info; |
| 26 | |
| 27 | int tx_unitdata(struct sua_link *link); |
| 28 | int tx_conn_req(struct sua_link *link, uint32_t conn_id); |
| 29 | |
| 30 | struct osmo_prim_hdr *make_conn_req(uint32_t conn_id); |
| 31 | struct osmo_prim_hdr *make_dt1_req(uint32_t conn_id, const uint8_t *data, unsigned int len); |