libosmogb 1.9.0.192-1c24
Osmocom Gb library
gprs_msgb.h File Reference
#include <stdint.h>
#include <osmocom/core/logging.h>

Go to the source code of this file.

Data Structures

struct  libgb_msgb_cb
 the data structure stored in msgb->cb for libgb apps More...
 

Macros

#define LIBGB_MSGB_CB(__msgb)   ((struct libgb_msgb_cb *)&((__msgb)->cb[0]))
 
#define msgb_tlli(__x)   LIBGB_MSGB_CB(__x)->tlli
 
#define msgb_nsei(__x)   LIBGB_MSGB_CB(__x)->nsei
 
#define msgb_bvci(__x)   LIBGB_MSGB_CB(__x)->bvci
 
#define msgb_gmmh(__x)   (__x)->l3h
 
#define msgb_bssgph(__x)   LIBGB_MSGB_CB(__x)->bssgph
 
#define msgb_bssgp_len(__x)   ((__x)->tail - (uint8_t *)msgb_bssgph(__x))
 
#define msgb_bcid(__x)   LIBGB_MSGB_CB(__x)->bssgp_cell_id
 
#define msgb_llch(__x)   LIBGB_MSGB_CB(__x)->llch
 

Functions

struct libgb_msgb_cb __attribute__ ((packed, may_alias))
 
int gprs_log_filter_fn (const struct log_context *ctx, struct log_target *tar)
 

Variables

unsigned char * bssgph
 
unsigned char * llch
 
unsigned char * bssgp_cell_id
 Cell Identifier. More...
 
uint16_t nsei
 Identifiers of a BTS, equal to 'struct bssgp_bts_ctx'. More...
 
uint16_t bvci
 
uint32_t tlli
 Identifier of a MS (inside BTS), equal to 'struct sgsn_mm_ctx'. More...
 

Macro Definition Documentation

◆ LIBGB_MSGB_CB

#define LIBGB_MSGB_CB (   __msgb)    ((struct libgb_msgb_cb *)&((__msgb)->cb[0]))

◆ msgb_bcid

#define msgb_bcid (   __x)    LIBGB_MSGB_CB(__x)->bssgp_cell_id

◆ msgb_bssgp_len

#define msgb_bssgp_len (   __x)    ((__x)->tail - (uint8_t *)msgb_bssgph(__x))

◆ msgb_bssgph

#define msgb_bssgph (   __x)    LIBGB_MSGB_CB(__x)->bssgph

◆ msgb_bvci

#define msgb_bvci (   __x)    LIBGB_MSGB_CB(__x)->bvci

◆ msgb_gmmh

#define msgb_gmmh (   __x)    (__x)->l3h

◆ msgb_llch

#define msgb_llch (   __x)    LIBGB_MSGB_CB(__x)->llch

◆ msgb_nsei

#define msgb_nsei (   __x)    LIBGB_MSGB_CB(__x)->nsei

◆ msgb_tlli

#define msgb_tlli (   __x)    LIBGB_MSGB_CB(__x)->tlli

Function Documentation

◆ __attribute__()

struct libgb_msgb_cb __attribute__ ( (packed, may_alias)  )

◆ gprs_log_filter_fn()

Variable Documentation

◆ bssgp_cell_id

unsigned char* bssgp_cell_id

Cell Identifier.

◆ bssgph

unsigned char* bssgph

◆ bvci

◆ llch

unsigned char* llch

◆ nsei

uint16_t nsei

Identifiers of a BTS, equal to 'struct bssgp_bts_ctx'.

Referenced by _bvc_fsm_alloc(), bssgp2_enc_flush_ll(), bssgp2_nsi_tx_ptp(), bssgp2_nsi_tx_sig(), bssgp_bvc_fsm_alloc_ptp_bss(), bssgp_bvc_fsm_alloc_ptp_sgsn(), bssgp_bvc_fsm_alloc_sig_bss(), bssgp_bvc_fsm_alloc_sig_sgsn(), bssgp_fc_ms_init(), bssgp_parse_rim_pdu(), bssgp_rcvmsg(), bssgp_rx_bvc_block(), bssgp_rx_bvc_reset(), bssgp_rx_bvc_unblock(), bssgp_rx_llc_disc(), bssgp_rx_resume(), bssgp_rx_rim(), bssgp_rx_status(), bssgp_rx_suspend(), bssgp_tx_bvc_ptp_reset(), bssgp_tx_bvc_reset_ack_nsei_bvci(), bssgp_tx_bvc_reset_nsei_bvci(), bssgp_tx_dl_ud(), bssgp_tx_fc_bvc_ack(), bssgp_tx_paging(), bssgp_tx_resume(), bssgp_tx_resume_ack(), bssgp_tx_resume_nack(), bssgp_tx_rim(), bssgp_tx_rim_encoded(), bssgp_tx_simple_bvci(), bssgp_tx_suspend(), bssgp_tx_suspend_ack(), bssgp_tx_suspend_nack(), btsctx_alloc(), btsctx_by_bvci_nsei(), DEFUN(), gprs_active_nsvc_by_nsei(), gprs_ns2_create_nse(), gprs_ns2_create_nse2(), gprs_ns2_fr_connect2(), gprs_ns2_ip_connect2(), gprs_ns2_nse_by_nsei(), gprs_ns2_recv_prim(), gprs_ns_nsip_connect(), gprs_ns_nsip_connect_sns(), gprs_ns_rx_reset(), gprs_ns_rx_reset_ack(), gprs_ns_rx_sns(), gprs_ns_tx_reset(), gprs_ns_tx_reset_ack(), gprs_ns_tx_sns_ack(), gprs_ns_tx_sns_config(), gprs_ns_tx_sns_config_ack(), gprs_ns_tx_sns_size(), gprs_ns_tx_sns_size_ack(), gprs_ns_vc_create(), gprs_nsvc_by_nsei(), ns2_create_vc(), ns2_create_vc_sns(), ns2_nse_notify_unblocked(), ns2_sns_rx(), ns2_tx_reset(), ns2_tx_reset_ack(), ns2_tx_sns_ack(), ns2_tx_sns_config(), ns2_tx_sns_config_ack(), ns2_tx_sns_procedure(), ns2_tx_sns_size(), ns2_tx_sns_size_ack(), ns2_vc_rx(), reject_status_msg(), tx_bvc_reset_nsei_bvci(), vty_nse_alloc(), and vty_nse_by_nsei().

◆ tlli