libosmogb
1.4.0.160-7619
Osmocom Gb library
|
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_inst * | nsi |
a pointer back to the nsi More... | |
struct gprs_ns2_vc_driver * | driver |
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... | |
Structure repesenting a bind instance.
E.g. IPv4 listen port.
struct gprs_ns2_vc_driver* gprs_ns2_vc_bind::driver |
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().
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().
struct llist_head gprs_ns2_vc_bind::list |
list entry in nsi
Referenced by DEFUN(), gprs_ns2_free_bind(), gprs_ns2_free_binds(), gprs_ns2_frgre_bind(), and gprs_ns2_ip_bind().
struct gprs_ns2_inst* gprs_ns2_vc_bind::nsi |
a pointer back to the nsi
Referenced by gprs_ns2_frgre_bind(), gprs_ns2_ip_bind(), gprs_ns2_ip_connect2(), gprs_ns2_ip_connect_sns(), ns2_create_vc(), and ns2_vc_alloc().
struct llist_head gprs_ns2_vc_bind::nsvc |
list of all VC
Referenced by dump_vty(), free_bind(), gprs_ns2_find_vc_by_dlci(), gprs_ns2_free_bind(), gprs_ns2_frgre_bind(), gprs_ns2_ip_bind(), gprs_ns2_nsvc_by_sockaddr_bind(), and ns2_vc_alloc().
void* gprs_ns2_vc_bind::priv |
driver private structure
Referenced by dump_vty(), free_bind(), frgre_sendmsg(), frgre_vc_sendmsg(), gprs_ns2_frgre_bind(), gprs_ns2_ip_bind(), gprs_ns2_ip_bind_set_dscp(), gprs_ns2_ip_bind_sockaddr(), gprs_ns2_ip_vc_equal(), gprs_ns2_ip_vc_local(), handle_rx_gre_ipv4(), handle_rx_gre_ipv6(), and nsip_sendmsg().
int(* gprs_ns2_vc_bind::send_vc) (struct gprs_ns2_vc *nsvc, struct msgb *msg) |
send a msg over a VC
Referenced by gprs_ns2_frgre_bind(), gprs_ns2_ip_bind(), ns2_tx_block(), ns2_tx_block_ack(), ns2_tx_reset(), ns2_tx_reset_ack(), ns2_tx_simple(), 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(), and ns2_tx_unit_data().
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().