libosmogb 1.9.0.196-9975
Osmocom Gb library
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 More...
 
struct gprs_ns_instnsi
 pointer to NS Instance More...
 
uint16_t nsei
 
uint16_t nsvci
 end-to-end significance More...
 
uint32_t state
 uniquely identifies NS-VC at SGSN More...
 
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? More...
 
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 More...
 
uint8_t sig_weight
 signalling weight. More...
 
uint8_t data_weight
 signaling weight. More...
 

Detailed Description

Structure representing a single NS-VC.

Field Documentation

◆ 

union { ... } gprs_nsvc::@17

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().

◆ 

◆ 

◆ list

struct llist_head gprs_nsvc::list

list of NS-VCs within NS Instance

Referenced by gprs_ns_instantiate(), gprs_nsvc_create2(), and gprs_nsvc_delete().

◆ ll

enum gprs_ns_ll gprs_nsvc::ll

◆ nsei

◆ nsi

◆ nsvci

◆ nsvci_is_valid

unsigned int gprs_nsvc::nsvci_is_valid

◆ persistent

unsigned int gprs_nsvc::persistent

Referenced by config_write_ns(), DEFUN(), and dump_nse().

◆ remote_end_is_sgsn

unsigned int gprs_nsvc::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

uint32_t gprs_nsvc::state

◆ statg

struct osmo_stat_item_group* gprs_nsvc::statg

◆ timer

struct osmo_timer_list gprs_nsvc::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: