libosmogb 1.11.0.2-4150.202502212026
Osmocom Gb library
Loading...
Searching...
No Matches
gprs_nsvc Struct Reference

Structure representing a single NS-VC. More...

#include <gprs_ns.h>

Data Fields

struct llist_head list
 list of NS-VCs within NS Instance
 
struct gprs_ns_instnsi
 pointer to NS Instance
 
uint16_t nsei
 
uint16_t nsvci
 end-to-end significance
 
uint32_t state
 uniquely identifies NS-VC at SGSN
 
uint32_t remote_state
 
struct osmo_timer_list timer
 
enum nsvc_timer_mode timer_mode
 
struct timeval timer_started
 
int alive_retries
 
unsigned int remote_end_is_sgsn:1
 
unsigned int persistent:1
 
unsigned int nsvci_is_valid:1
 
struct rate_ctr_groupctrg
 
struct osmo_stat_item_groupstatg
 
enum gprs_ns_ll ll
 which link-layer are we based on?
 
union { 
 
   struct { 
 
      struct sockaddr_in   bts_addr 
 
   }   ip 
 
   struct { 
 
      struct sockaddr_in   bts_addr 
 
   }   frgre 
 
};  
 make sure to always keep bts_addr as first struct member to not break the assumption that those structs are similar
 
uint8_t sig_weight
 signalling weight.
 
uint8_t data_weight
 signaling weight.
 

Detailed Description

Structure representing a single NS-VC.

Field Documentation

◆ [union]

union { ... } gprs_nsvc

make sure to always keep bts_addr as first struct member to not break the assumption that those structs are similar

◆ alive_retries

int gprs_nsvc::alive_retries

Referenced by gprs_ns_timer_cb().

◆ bts_addr

◆ ctrg

◆ data_weight

uint8_t gprs_nsvc::data_weight

signaling weight.

0 = don't use for user data (BVCI != 0)

Referenced by create_missing_nsvcs(), do_sns_add(), do_sns_change_weight(), gprs_active_nsvc_by_nsei(), gprs_nsvc_create2(), and nsvc_is_not_used().

◆ [struct]

◆ [struct]

◆ list

◆ ll

◆ nsei

◆ nsi

◆ nsvci

◆ nsvci_is_valid

◆ persistent

unsigned int gprs_nsvc::persistent

◆ remote_end_is_sgsn

◆ remote_state

uint32_t gprs_nsvc::remote_state

◆ sig_weight

uint8_t gprs_nsvc::sig_weight

signalling weight.

0 = don't use for signalling (BVCI == 0)

Referenced by create_missing_nsvcs(), do_sns_add(), do_sns_change_weight(), gprs_active_nsvc_by_nsei(), gprs_nsvc_create2(), and nsvc_is_not_used().

◆ state

◆ statg

◆ timer

◆ timer_mode

enum nsvc_timer_mode gprs_nsvc::timer_mode

◆ timer_started

struct timeval gprs_nsvc::timer_started

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