libosmogb 1.9.0.192-1c24
Osmocom Gb library
gprs_ns2_vc_bind Struct Reference

Structure repesenting a bind instance. More...

#include <gprs_ns2_internal.h>

Data Fields

const char * name
 unique name More...
 
struct llist_head list
 list entry in nsi More...
 
struct llist_head nsvc
 list of all VC More...
 
void * priv
 driver private structure More...
 
struct gprs_ns2_instnsi
 a pointer back to the nsi More...
 
struct gprs_ns2_vc_driverdriver
 
bool accept_ipaccess
 
bool accept_sns
 
int transfer_capability
 transfer capability in mbit More...
 
uint16_t mtu
 MTU of a NS PDU on this bind. More...
 
enum gprs_ns2_ll ll
 which link-layer are we based on? More...
 
int(* send_vc )(struct gprs_ns2_vc *nsvc, struct msgb *msg)
 send a msg over a VC More...
 
void(* free_vc )(struct gprs_ns2_vc *nsvc)
 free the vc priv data More...
 
void(* dump_vty )(const struct gprs_ns2_vc_bind *bind, struct vty *vty, bool stats)
 allow to show information for the vty More...
 
uint8_t sns_sig_weight
 the IP-SNS signalling weight when doing dynamic configuration More...
 
uint8_t sns_data_weight
 the IP-SNS data weight when doing dynamic configuration More...
 
struct osmo_stat_item_groupstatg
 
bool freed
 recursive anchor More...
 

Detailed Description

Structure repesenting a bind instance.

E.g. IPv4 listen port.

Field Documentation

◆ accept_ipaccess

bool gprs_ns2_vc_bind::accept_ipaccess

Referenced by DEFUN(), and ns2_create_vc().

◆ accept_sns

bool gprs_ns2_vc_bind::accept_sns

Referenced by DEFUN(), and ns2_create_vc_sns().

◆ driver

◆ dump_vty

void(* gprs_ns2_vc_bind::dump_vty) (const struct gprs_ns2_vc_bind *bind, struct vty *vty, bool stats)

allow to show information for the vty

Referenced by dump_bind(), gprs_ns2_fr_bind(), and gprs_ns2_ip_bind().

◆ free_vc

void(* gprs_ns2_vc_bind::free_vc) (struct gprs_ns2_vc *nsvc)

◆ freed

bool gprs_ns2_vc_bind::freed

recursive anchor

Referenced by gprs_ns2_free_bind().

◆ list

struct llist_head gprs_ns2_vc_bind::list

list entry in nsi

Referenced by gprs_ns2_free_bind(), and ns2_bind_alloc().

◆ ll

◆ mtu

uint16_t gprs_ns2_vc_bind::mtu

◆ name

const char* gprs_ns2_vc_bind::name

◆ nsi

◆ nsvc

◆ priv

◆ send_vc

int(* gprs_ns2_vc_bind::send_vc) (struct gprs_ns2_vc *nsvc, struct msgb *msg)

send a msg over a VC

Referenced by gprs_ns2_fr_bind(), gprs_ns2_frgre_bind(), gprs_ns2_ip_bind(), and ns_vc_tx().

◆ sns_data_weight

uint8_t gprs_ns2_vc_bind::sns_data_weight

◆ sns_sig_weight

uint8_t gprs_ns2_vc_bind::sns_sig_weight

◆ statg

◆ transfer_capability

int gprs_ns2_vc_bind::transfer_capability

transfer capability in mbit

Referenced by gprs_ns2_fr_bind(), gprs_ns2_frgre_bind(), gprs_ns2_ip_bind(), and ns2_count_transfer_cap().


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