summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/bb/misc/layer3.h
blob: 7d364e7adf4449f53565109a0dd494d9f3b07e58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef _OSMOCOM_L3_H
#define _OSMOCOM_L3_H

#include <osmocore/msgb.h>
#include <osmocom/bb/common/osmocom_data.h>

int gsm48_rx_ccch(struct msgb *msg, struct osmocom_ms *ms);
int gsm48_rx_dcch(struct msgb *msg, struct osmocom_ms *ms);
int gsm48_rx_bcch(struct msgb *msg, struct osmocom_ms *ms);

/* Initialize layer3 for the MS, hook it to L2 */
int layer3_init(struct osmocom_ms *ms);

/* Reset the 'aplication' state */
void layer3_app_reset(void);

#endif