#ifndef _GB_PROXY_H #define _GB_PROXY_H #include #include #include #include struct gbproxy_config { /* parsed from config file */ u_int16_t nsip_sgsn_nsei; /* misc */ struct gprs_ns_inst *nsi; }; extern struct gbproxy_config gbcfg; extern struct cmd_element show_gbproxy_cmd; /* gb_proxy_vty .c */ int gbproxy_vty_init(void); int gbproxy_parse_config(const char *config_file, struct gbproxy_config *cfg); /* gb_proxy.c */ /* Main input function for Gb proxy */ int gbprox_rcvmsg(struct msgb *msg, struct gprs_nsvc *nsvc, uint16_t ns_bvci); int gbprox_signal(unsigned int subsys, unsigned int signal, void *handler_data, void *signal_data); /* Reset all persistent NS-VC's */ int gbprox_reset_persistent_nsvcs(struct gprs_ns_inst *nsi); #endif