blob: 87a5a2fd13519f54c419f78f0fd1772b888cdca8 [file] [log] [blame]
Harald Welteba43de42015-08-29 20:33:16 +02001#pragma once
2
3#include <osmocom/core/select.h>
4#include <osmocom/core/linuxlist.h>
5
6struct hnb_context {
7 /*! Entry in HNB-global list of HNB */
8 struct llist_head list;
9 /*! SCTP socket for Iuh to this specific HNB */
10 struct osmo_fd socket;
11
12 /*! copied from HNB-Identity-Info */
13 char identity[256];
14};
15
16struct ue_context {
17 struct llist_head list;
18 uint32_t context_id;
19};
20
21struct hnb_gw {
22 struct {
23 /*! SCTP port for Iuh listening */
24 uint16_t iuh_listen_port;
25 } config;
26 /*! SCTP listen socket for incoming connections */
27 struct osmo_fd listen_fd;
28 struct llist_head hnb_list;
29};