libosmogb  0.12.0.47-7c74
Osmocom Gb library
gprs_bssgp_util.c File Reference

GPRS BSSGP protocol implementation as per 3GPP TS 08.18. More...

#include <errno.h>
#include <stdint.h>
#include <osmocom/core/msgb.h>
#include <osmocom/core/byteswap.h>
#include <osmocom/gsm/tlv.h>
#include <osmocom/core/talloc.h>
#include <osmocom/gprs/gprs_bssgp.h>
#include <osmocom/gprs/gprs_ns.h>
#include "common_vty.h"

Functions

const char * bssgp_cause_str (enum gprs_bssgp_cause cause)
 
const char * bssgp_pdu_str (enum bssgp_pdu_type pdu)
 
struct msgbbssgp_msgb_alloc (void)
 
struct msgbbssgp_msgb_copy (const struct msgb *msg, const char *name)
 
int bssgp_tx_simple_bvci (uint8_t pdu_type, uint16_t nsei, uint16_t bvci, uint16_t ns_bvci)
 
int bssgp_tx_status (uint8_t cause, uint16_t *bvci, struct msgb *orig_msg)
 

Variables

struct gprs_ns_instbssgp_nsi
 
static const struct value_string bssgp_cause_strings []
 
static const struct value_string bssgp_pdu_strings []
 

Detailed Description

GPRS BSSGP protocol implementation as per 3GPP TS 08.18.

Function Documentation

◆ bssgp_cause_str()

◆ bssgp_msgb_alloc()

◆ bssgp_msgb_copy()

◆ bssgp_pdu_str()

const char* bssgp_pdu_str ( enum bssgp_pdu_type  pdu)

◆ bssgp_tx_simple_bvci()

int bssgp_tx_simple_bvci ( uint8_t  pdu_type,
uint16_t  nsei,
uint16_t  bvci,
uint16_t  ns_bvci 
)

◆ bssgp_tx_status()

Variable Documentation

◆ bssgp_cause_strings

const struct value_string bssgp_cause_strings[]
static

◆ bssgp_nsi

◆ bssgp_pdu_strings

const struct value_string bssgp_pdu_strings[]
static