summaryrefslogtreecommitdiffstats
path: root/Src/osmocombb/src/host/layer23/include/osmocom/bb/misc/layer3.h
blob: bbf242d549b2b2fd41611335ca45b9e5667b5c56 (plain) (blame)
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 <osmocom/core/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