|
libosmogb
0.11.0.54.60f31
Osmocom Gb library
|
An instance of the NS protocol stack. More...
#include <gprs_ns.h>
Data Fields | |
| gprs_ns_cb_t * | cb |
| 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_nsvc * | unknown_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 | |
| } | 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... | |
An instance of the NS protocol stack.
| 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().
| int gprs_ns_inst::dscp |
Referenced by config_write_ns(), DEFUN(), and gprs_ns_nsip_listen().
| unsigned int gprs_ns_inst::enabled |
Referenced by config_write_ns(), DEFUN(), and gprs_ns_frgre_listen().
| struct osmo_fd gprs_ns_inst::fd |
Referenced by gprs_ns_close(), gprs_ns_frgre_listen(), gprs_ns_frgre_sendmsg(), gprs_ns_nsip_listen(), handle_rx_gre_ipv4(), and nsip_sendmsg().
| 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().
| struct llist_head gprs_ns_inst::gprs_nsvcs |
linked lists of all NSVC in this instance
Referenced by config_write_ns(), dump_ns(), gprs_active_nsvc_by_nsei(), gprs_ns_close(), gprs_ns_instantiate(), gprs_nsvc_by_nsei(), gprs_nsvc_by_nsvci(), gprs_nsvc_create(), and nsvc_by_rem_addr().
| uint32_t gprs_ns_inst::local_ip |
Referenced by config_write_ns(), DEFUN(), dump_ns(), gprs_ns_frgre_listen(), and gprs_ns_nsip_listen().
| uint16_t gprs_ns_inst::local_port |
Referenced by config_write_ns(), DEFUN(), dump_ns(), dump_nse(), and gprs_ns_nsip_listen().
| struct { ... } gprs_ns_inst::nsip |
NS-over-IP specific bits.
Referenced by config_write_ns(), DEFUN(), dump_ns(), dump_nse(), gprs_ns_close(), gprs_ns_nsip_listen(), and nsip_sendmsg().
| uint32_t gprs_ns_inst::remote_ip |
Referenced by gprs_ns_nsip_listen().
| uint16_t gprs_ns_inst::remote_port |
Referenced by gprs_ns_nsip_listen().
| uint16_t gprs_ns_inst::timeout[NS_TIMERS_COUNT] |
Referenced by config_write_ns(), DEFUN(), gprs_ns_instantiate(), gprs_ns_timer_cb(), and nsvc_start_timer().
| 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().