libosmogb  1.4.0.160-7619
Osmocom Gb library
gprs_ns2_vc Struct Reference

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

#include <gprs_ns2_internal.h>

Data Fields

struct llist_head list
 list of NS-VCs within NSE More...
 
struct llist_head blist
 list of NS-VCs within bind, bind is the owner! More...
 
struct gprs_ns2_nsense
 pointer to NS Instance More...
 
struct gprs_ns2_vc_bindbind
 pointer to NS VL bind. More...
 
bool persistent
 true if this NS was created by VTY or pcu socket) More...
 
uint16_t nsvci
 uniquely identifies NS-VC if VC contains nsvci More...
 
uint8_t sig_weight
 signalling weight. More...
 
uint8_t data_weight
 signaling weight. More...
 
void * priv
 can be used by the bind/driver of the virtual circuit. More...
 
bool nsvci_is_valid
 
bool sns_only
 
struct rate_ctr_groupctrg
 
struct osmo_stat_item_groupstatg
 
enum gprs_ns_ll ll
 which link-layer are we based on? More...
 
enum gprs_ns2_vc_mode mode
 
struct osmo_fsm_instfi
 

Detailed Description

Structure representing a single NS-VC.

Field Documentation

◆ bind

◆ blist

struct llist_head gprs_ns2_vc::blist

list of NS-VCs within bind, bind is the owner!

Referenced by gprs_ns2_free_bind(), gprs_ns2_free_nsvc(), and ns2_vc_alloc().

◆ ctrg

struct rate_ctr_group* gprs_ns2_vc::ctrg

◆ data_weight

uint8_t gprs_ns2_vc::data_weight

signaling weight.

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

Referenced by create_missing_nsvcs(), do_sns_change_weight(), ns2_nsvc_create_ip4(), ns2_nsvc_create_ip6(), and ns2_vc_alloc().

◆ fi

◆ list

◆ ll

◆ mode

◆ nse

◆ nsvci

◆ nsvci_is_valid

bool gprs_ns2_vc::nsvci_is_valid

◆ persistent

bool gprs_ns2_vc::persistent

true if this NS was created by VTY or pcu socket)

Referenced by dump_nse(), and gprs_ns2_vty_create().

◆ priv

◆ sig_weight

uint8_t gprs_ns2_vc::sig_weight

signalling weight.

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

Referenced by create_missing_nsvcs(), do_sns_change_weight(), ns2_nsvc_create_ip4(), ns2_nsvc_create_ip6(), and ns2_vc_alloc().

◆ sns_only

bool gprs_ns2_vc::sns_only

◆ statg


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