libosmogb  1.3.0.107-6370
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 { ... }

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

int gprs_nsvc::alive_retries

Referenced by gprs_ns_timer_cb().

struct sockaddr_in gprs_nsvc::bts_addr
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().

enum gprs_ns_ll gprs_nsvc::ll
unsigned int gprs_nsvc::nsvci_is_valid
unsigned int gprs_nsvc::persistent

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

unsigned int gprs_nsvc::remote_end_is_sgsn
uint32_t gprs_nsvc::remote_state
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().

uint32_t gprs_nsvc::state
struct osmo_stat_item_group* gprs_nsvc::statg
struct osmo_timer_list gprs_nsvc::timer
enum nsvc_timer_mode gprs_nsvc::timer_mode
struct timeval gprs_nsvc::timer_started

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