libosmogb
0.12.0.47-7c74
Osmocom Gb library
|
Structure representing a single NS-VC. More...
#include <gprs_ns.h>
Data Fields | |
struct llist_head | list |
list of NS-VCs within NS Instance More... | |
struct gprs_ns_inst * | nsi |
pointer to NS Instance More... | |
uint16_t | nsei |
uint16_t | nsvci |
end-to-end significance More... | |
uint32_t | state |
uniquely identifies NS-VC at SGSN More... | |
uint32_t | remote_state |
struct osmo_timer_list | timer |
enum nsvc_timer_mode | timer_mode |
struct timeval | timer_started |
int | alive_retries |
unsigned int | remote_end_is_sgsn:1 |
unsigned int | persistent:1 |
unsigned int | nsvci_is_valid:1 |
struct rate_ctr_group * | ctrg |
struct osmo_stat_item_group * | statg |
enum gprs_ns_ll | ll |
which link-layer are we based on? More... | |
union { | |
struct { | |
struct sockaddr_in bts_addr | |
} ip | |
struct { | |
struct sockaddr_in bts_addr | |
} frgre | |
}; | |
make sure to always keep bts_addr as first struct member to not break the assumption that those structs are similar More... | |
Structure representing a single NS-VC.
union { ... } |
make sure to always keep bts_addr as first struct member to not break the assumption that those structs are similar
int gprs_nsvc::alive_retries |
Referenced by gprs_ns_timer_cb().
struct sockaddr_in gprs_nsvc::bts_addr |
struct rate_ctr_group* gprs_nsvc::ctrg |
Referenced by dump_nse(), gprs_ns_rx_block(), gprs_ns_timer_cb(), gprs_ns_tx(), gprs_ns_tx_block(), gprs_nsvc_create(), and gprs_nsvc_delete().
struct { ... } gprs_nsvc::frgre |
Referenced by config_write_ns(), DEFUN(), gprs_ns_frgre_sendmsg(), gprs_ns_ll_clear(), gprs_ns_ll_copy(), and gprs_ns_ll_str().
struct { ... } gprs_nsvc::ip |
struct llist_head gprs_nsvc::list |
list of NS-VCs within NS Instance
Referenced by gprs_active_nsvc_by_nsei(), gprs_ns_close(), gprs_ns_instantiate(), gprs_nsvc_by_nsei(), gprs_nsvc_by_nsvci(), gprs_nsvc_create(), gprs_nsvc_delete(), and nsvc_by_rem_addr().
enum gprs_ns_ll gprs_nsvc::ll |
which link-layer are we based on?
Referenced by config_write_ns(), DEFUN(), dump_nse(), gprs_ns_ll_clear(), gprs_ns_ll_copy(), gprs_ns_ll_str(), gprs_ns_rcvmsg(), and gprs_ns_tx().
uint16_t gprs_nsvc::nsei |
Referenced by config_write_ns(), DEFUN(), dump_nse(), gprs_active_nsvc_by_nsei(), gprs_ns_nsip_connect(), gprs_ns_rx_block(), gprs_ns_rx_status(), gprs_ns_timer_cb(), gprs_ns_tx_alive(), gprs_ns_tx_alive_ack(), gprs_ns_tx_block(), gprs_ns_tx_reset(), gprs_ns_tx_reset_ack(), gprs_ns_tx_status(), gprs_ns_tx_unblock(), gprs_ns_vc_create(), gprs_nsvc_by_nsei(), gprs_nsvc_reset(), gprs_nsvc_state_append(), ns_set_state_with_log(), and nsvc_start_timer().
struct gprs_ns_inst* gprs_nsvc::nsi |
pointer to NS Instance
Referenced by dump_nse(), gprs_ns_frgre_sendmsg(), gprs_ns_rx_unitdata(), gprs_ns_timer_cb(), gprs_ns_vty_init(), gprs_nsvc_create(), nsip_sendmsg(), and nsvc_start_timer().
uint16_t gprs_nsvc::nsvci |
end-to-end significance
Referenced by config_write_ns(), DEFUN(), dump_nse(), gprs_ns_tx_alive(), gprs_ns_tx_alive_ack(), gprs_ns_tx_block(), gprs_ns_tx_reset(), gprs_ns_tx_reset_ack(), gprs_ns_tx_status(), gprs_ns_tx_unblock(), gprs_ns_vc_create(), gprs_nsvc_by_nsvci(), gprs_nsvc_create(), gprs_nsvc_state_append(), and ns_set_state_with_log().
unsigned int gprs_nsvc::nsvci_is_valid |
Referenced by gprs_ns_instantiate(), gprs_ns_vc_create(), and gprs_nsvc_create().
unsigned int gprs_nsvc::persistent |
Referenced by config_write_ns(), DEFUN(), and dump_nse().
unsigned int gprs_nsvc::remote_end_is_sgsn |
Referenced by config_write_ns(), DEFUN(), dump_nse(), gprs_ns_nsip_connect(), and gprs_nsvc_state_append().
uint32_t gprs_nsvc::remote_state |
Referenced by dump_nse(), gprs_nsvc_state_append(), and ns_set_state_with_log().
uint32_t gprs_nsvc::state |
uniquely identifies NS-VC at SGSN
Referenced by dump_nse(), gprs_active_nsvc_by_nsei(), gprs_ns_rx_unitdata(), gprs_ns_timer_cb(), gprs_nsvc_state_append(), and ns_set_state_with_log().
struct osmo_stat_item_group* gprs_nsvc::statg |
Referenced by dump_nse(), gprs_nsvc_create(), and gprs_nsvc_delete().
struct osmo_timer_list gprs_nsvc::timer |
Referenced by gprs_nsvc_create(), gprs_nsvc_delete(), and nsvc_start_timer().
enum nsvc_timer_mode gprs_nsvc::timer_mode |
Referenced by gprs_ns_timer_cb(), and nsvc_start_timer().
struct timeval gprs_nsvc::timer_started |
Referenced by nsvc_start_timer(), and nsvc_timer_elapsed_ms().