mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-hnodeb.git
synced 2025-11-03 05:33:32 +00:00
Move Iuh code to its own module
The Iuh code will be further extended next to properly support reconnect, and hnb will also gain proper shutdown support soon. Change-Id: I6e94210ab06a34b70c61bb074c58d7b0f4ee75de
This commit is contained in:
@@ -36,18 +36,6 @@ enum {
|
||||
};
|
||||
extern const struct log_info hnb_log_info;
|
||||
|
||||
/* 25.467 Section 7.1 */
|
||||
#define IUH_DEFAULT_SCTP_PORT 29169
|
||||
#define RNA_DEFAULT_SCTP_PORT 25471
|
||||
|
||||
#define IUH_PPI_RUA 19
|
||||
#define IUH_PPI_HNBAP 20
|
||||
#define IUH_PPI_SABP 31
|
||||
#define IUH_PPI_RNA 42
|
||||
#define IUH_PPI_PUA 55
|
||||
|
||||
#define IUH_MSGB_SIZE 2048
|
||||
|
||||
struct hnb_chan {
|
||||
int is_ps;
|
||||
uint32_t conn_id;
|
||||
@@ -77,11 +65,9 @@ struct hnb {
|
||||
struct hnb_chan *chan;
|
||||
} cs;
|
||||
};
|
||||
|
||||
struct hnb *hnb_alloc(void *tall_ctx);
|
||||
void hnb_free(struct hnb *hnb);
|
||||
int hnb_connect(struct hnb *hnb);
|
||||
|
||||
int hnb_iuh_send(struct hnb *hnb, struct msgb *msg);
|
||||
|
||||
extern void *tall_hnb_ctx;
|
||||
extern struct hnb *g_hnb;
|
||||
|
||||
Reference in New Issue
Block a user