libosmogb  1.4.0.160-7619
Osmocom Gb library
gprs_ns2_vc_bind Struct Reference

Structure repesenting a bind instance. More...

#include <gprs_ns2_internal.h>

Data Fields

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
 
enum gprs_ns2_vc_mode vc_mode
 if VCs use reset/block/unblock method. 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...
 

Detailed Description

Structure repesenting a bind instance.

E.g. IPv4 listen port.

Field Documentation

◆ 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(), and gprs_ns2_ip_bind().

◆ free_vc

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

free the vc priv data

Referenced by gprs_ns2_free_nsvc(), gprs_ns2_frgre_bind(), and gprs_ns2_ip_bind().

◆ list

struct llist_head gprs_ns2_vc_bind::list

◆ nsi

struct gprs_ns2_inst* gprs_ns2_vc_bind::nsi

◆ nsvc

◆ priv

◆ send_vc

◆ vc_mode

enum gprs_ns2_vc_mode gprs_ns2_vc_bind::vc_mode

if VCs use reset/block/unblock method.

IP shall not use this

Referenced by gprs_ns2_bind_set_mode(), ns2_create_vc(), and ns2_vc_alloc().


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