osmo-gmr: include/osmocom/gmr1/gsmtap.h Source File

osmo-gmr 0.2.104-2b98 Osmocom GMR-1

gsmtap.h
Go to the documentation of this file.
1/* GMR-1 GSMtap helpers */
2
3/* (C) 2011-2019 by Sylvain Munaut <tnt@246tNt.com>
4 * All Rights Reserved
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU Affero General Public License as published by
8 * the Free Software Foundation; either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU Affero General Public License for more details.
15 *
16 * You should have received a copy of the GNU Affero General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20#ifndef __OSMO_GMR1_GSMTAP_H__
21#define __OSMO_GMR1_GSMTAP_H__
22
31#include <stdint.h>
32
33struct msgb;
34
35
36struct msgb *gmr1_gsmtap_makemsg(
37 uint8_t chan_type, uint32_t fn, uint8_t tn,
38 const uint8_t *l2, int len);
39
40
43#endif /* __OSMO_GMR1_GSMTAP_H__ */
gmr1_gsmtap_makemsg
struct msgb * gmr1_gsmtap_makemsg(uint8_t chan_type, uint32_t fn, uint8_t tn, const uint8_t *l2, int len)
Helper to build GSM tap message with GMR-1 payload.
Definition: gsmtap.c:44
msgb
msgb::len
uint16_t len