From d4e118a7a059a9d675d0d8a8ea75fdc88f43afb7 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Wed, 3 Mar 2010 14:24:05 +0100 Subject: Rename 'layer2' program to 'layer23' program --- src/host/layer23/include/osmocom/rslms.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/host/layer23/include/osmocom/rslms.h (limited to 'src/host/layer23/include/osmocom/rslms.h') diff --git a/src/host/layer23/include/osmocom/rslms.h b/src/host/layer23/include/osmocom/rslms.h new file mode 100644 index 0000000..7327c11 --- /dev/null +++ b/src/host/layer23/include/osmocom/rslms.h @@ -0,0 +1,23 @@ +#ifndef _OSMOCOM_RSLMS_H +#define _OSMOCOM_RSLMS_H + +#include +#include + +/* From L3 into RSLMS (direction -> L2) */ + +/* Send a 'simple' RLL request to L2 */ +int rslms_tx_rll_req(struct osmocom_ms *ms, uint8_t msg_type, + uint8_t chan_nr, uint8_t link_id); + +/* Send a RLL request (including L3 info) to L2 */ +int rslms_tx_rll_req_l3(struct osmocom_ms *ms, uint8_t msg_type, + uint8_t chan_nr, uint8_t link_id, struct msgb *msg); + + +/* From L2 into RSLMS (direction -> L3) */ + +/* input function that L2 calls when sending messages up to L3 */ +int rslms_sendmsg(struct msgb *msg, struct osmocom_ms *ms); + +#endif /* _OSMOCOM_RSLMS_H */ -- cgit v1.2.3-55-g7522