osmo-gmr 0.2.104-2b98
Osmocom GMR-1
GMR-1 GSMtap helpers

Files

file  gsmtap.h
 Osmocom GMR-1 GSMtap helpers header.
 
file  gsmtap.c
 Osmocom GMR-1 GSMtap helpers header.
 

Functions

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. More...
 

Detailed Description

Function Documentation

◆ 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.

Parameters
[in]chan_typeType of channel (one of GSMTAP_GMR1_xxx)
[in]l2Packet of L2 data to encapsulate
[in]lenLength of the l2 data in bytes