libosmogb 1.9.0.192-1c24
Osmocom Gb library
gprs_ns_inst Struct Reference

An instance of the NS protocol stack. More...

#include <gprs_ns.h>

Data Fields

gprs_ns_cb_tcb
 callback to the user for incoming UNIT DATA IND More...
 
struct llist_head gprs_nsvcs
 linked lists of all NSVC in this instance More...
 
struct gprs_nsvcunknown_nsvc
 a NSVC object that's needed to deal with packets for unknown NSVC More...
 
uint16_t timeout [NS_TIMERS_COUNT]
 
struct {
   struct osmo_fd   fd
 
   uint32_t   local_ip
 
   uint16_t   local_port
 
   uint32_t   remote_ip
 
   uint16_t   remote_port
 
   int   dscp
 
   bool   use_reset_block_unblock
 IPA compatibility: NS-RESET/BLOCK/UNBLOCK even on IP-SNS. More...
 
nsip
 NS-over-IP specific bits. More...
 
struct {
   struct osmo_fd   fd
 
   uint32_t   local_ip
 
   unsigned int   enabled:1
 
frgre
 NS-over-FR-over-GRE-over-IP specific bits. More...
 
struct osmo_fsm_instbss_sns_fi
 

Detailed Description

An instance of the NS protocol stack.

Field Documentation

◆ bss_sns_fi

◆ cb

gprs_ns_cb_t* gprs_ns_inst::cb

callback to the user for incoming UNIT DATA IND

Referenced by gprs_ns_instantiate(), and gprs_ns_rx_unitdata().

◆ dscp

int gprs_ns_inst::dscp

◆ enabled

unsigned int gprs_ns_inst::enabled

◆ fd

◆ 

struct { ... } gprs_ns_inst::frgre

NS-over-FR-over-GRE-over-IP specific bits.

Referenced by config_write_ns(), DEFUN(), dump_ns(), gprs_ns_frgre_listen(), gprs_ns_frgre_sendmsg(), and handle_rx_gre_ipv4().

◆ gprs_nsvcs

◆ local_ip

◆ local_port

uint16_t gprs_ns_inst::local_port

◆ 

◆ remote_ip

uint32_t gprs_ns_inst::remote_ip

Referenced by gprs_ns_nsip_listen().

◆ remote_port

uint16_t gprs_ns_inst::remote_port

Referenced by gprs_ns_nsip_listen().

◆ timeout

◆ unknown_nsvc

struct gprs_nsvc* gprs_ns_inst::unknown_nsvc

a NSVC object that's needed to deal with packets for unknown NSVC

Referenced by dump_ns(), gprs_ns_close(), gprs_ns_instantiate(), and gprs_ns_rcvmsg().

◆ use_reset_block_unblock

bool gprs_ns_inst::use_reset_block_unblock

IPA compatibility: NS-RESET/BLOCK/UNBLOCK even on IP-SNS.

Referenced by config_write_ns(), DEFUN(), gprs_ns_instantiate(), gprs_ns_timer_cb(), and gprs_nsvc_create2().


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