aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmo-bts/abis.h
blob: d5cf6348253832a2d94bf3cfa943689c2c66b7a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef _ABIS_H
#define _ABIS_H

#include <osmocom/core/select.h>
#include <osmocom/core/timer.h>

#include <osmo-bts/gsm_data.h>

enum abis_link_fsm_event {
	ABIS_LINK_EV_SIGN_LINK_OML_UP,
	ABIS_LINK_EV_SIGN_LINK_DOWN, /* data: struct e1inp_line* of link going down */
	ABIS_LINK_EV_VTY_RM_ADDR, /* data: struct bsc_oml_host* being removed */
};

void abis_init(struct gsm_bts *bts);
int abis_open(struct gsm_bts *bts, char *model_name);



int abis_oml_sendmsg(struct msgb *msg);
int abis_bts_rsl_sendmsg(struct msgb *msg);

uint32_t get_signlink_remote_ip(struct e1inp_sign_link *link);

#endif /* _ABIS_H */