libosmo-trx 1.8.0.50-7f5e
Osmocom TRX protocol (TRXC/TRXD) library
osmo_trxd_parse_state Struct Reference

Parser state, keeping cross-PDU context for TRXDv2 batches. More...

#include <trxd.h>

Data Fields

uint8_t pdu_ver
 PDU version (parsed from the first PDU) More...
 
unsigned int num_pdus
 number of PDUs parsed so far More...
 
uint32_t fn
 TDMA fn of the first PDU (v2 batches omit it later) More...
 

Detailed Description

Parser state, keeping cross-PDU context for TRXDv2 batches.

Initialize with osmo_trxd_parse_state_init() before parsing each datagram.

Field Documentation

◆ fn

uint32_t osmo_trxd_parse_state::fn

TDMA fn of the first PDU (v2 batches omit it later)

Referenced by trxd_burst_ind_parse_v2(), and trxd_burst_req_parse_v2().

◆ num_pdus

unsigned int osmo_trxd_parse_state::num_pdus

◆ pdu_ver

uint8_t osmo_trxd_parse_state::pdu_ver

PDU version (parsed from the first PDU)

Referenced by osmo_trxd_burst_ind_parse(), and osmo_trxd_burst_req_parse().


The documentation for this struct was generated from the following file: