libosmogb
1.4.0.160-7619
Osmocom Gb library
|
Structure repesenting a NSE. More...
#include <gprs_ns2_internal.h>
Data Fields | |
uint16_t | nsei |
struct gprs_ns2_inst * | nsi |
entry back to ns2_inst More... | |
struct llist_head | list |
llist entry for gprs_ns2_inst More... | |
struct llist_head | nsvc |
llist head to hold all nsvc More... | |
bool | persistent |
true if this NSE was created by VTY or pcu socket) More... | |
bool | first |
true if this NSE wasn't yet alive at all. More... | |
bool | alive |
true if this NSE has at least one alive VC More... | |
struct osmo_fsm_inst * | bss_sns_fi |
Structure repesenting a NSE.
The BSS/PCU will only have a single NSE, while SGSN has one for each BSS/PCU
bool gprs_ns2_nse::alive |
true if this NSE has at least one alive VC
Referenced by ns2_nse_notify_unblocked(), and ns2_sns_free_nsvc().
struct osmo_fsm_inst* gprs_ns2_nse::bss_sns_fi |
bool gprs_ns2_nse::first |
true if this NSE wasn't yet alive at all.
Will be true after the first status ind with NS_AFF_CAUSE_RECOVERY
Referenced by gprs_ns2_create_nse(), ns2_nse_notify_unblocked(), and ns2_prim_status_ind().
struct llist_head gprs_ns2_nse::list |
llist entry for gprs_ns2_inst
Referenced by gprs_ns2_create_nse(), and gprs_ns2_free_nse().
uint16_t gprs_ns2_nse::nsei |
Referenced by dump_nse(), gprs_ns2_create_nse(), gprs_ns2_nse_by_nsei(), gprs_ns2_nse_nsei(), gprs_ns2_sns_rx(), gprs_ns2_vc_rx(), ns2_prim_status_ind(), ns2_sns_free_nsvc(), ns2_tx_alive(), ns2_tx_alive_ack(), ns2_tx_block(), ns2_tx_block_ack(), ns2_tx_reset(), ns2_tx_reset_ack(), ns2_tx_sns_ack(), ns2_tx_sns_config(), ns2_tx_sns_config_ack(), ns2_tx_sns_size(), ns2_tx_sns_size_ack(), ns2_tx_status(), ns2_tx_unblock(), and ns2_tx_unblock_ack().
struct gprs_ns2_inst* gprs_ns2_nse::nsi |
entry back to ns2_inst
Referenced by dump_ns(), gprs_ns2_create_nse(), gprs_ns2_free_nses(), gprs_ns2_nse_by_nsei(), ns2_prim_status_ind(), and ns2_sns_bss_fsm_start().
struct llist_head gprs_ns2_nse::nsvc |
llist head to hold all nsvc
Referenced by dump_nse(), gprs_ns2_create_nse(), gprs_ns2_free_nse(), gprs_ns2_nse_foreach_nsvc(), gprs_ns2_nsvc_by_nsvci(), gprs_ns2_nsvc_by_sockaddr_nse(), gprs_ns2_recv_prim(), gprs_ns2_sns_rx(), gprs_ns2_start_alive_all_nsvcs(), ns2_nse_notify_unblocked(), ns2_sns_free_nsvc(), and ns2_vc_alloc().
bool gprs_ns2_nse::persistent |
true if this NSE was created by VTY or pcu socket)
Referenced by gprs_ns2_vty_create(), and ns2_prim_status_ind().