diff options
Diffstat (limited to 'openbsc/include/openbsc/sgsn.h')
-rw-r--r-- | openbsc/include/openbsc/sgsn.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/sgsn.h b/openbsc/include/openbsc/sgsn.h new file mode 100644 index 000000000..2dc53c13d --- /dev/null +++ b/openbsc/include/openbsc/sgsn.h @@ -0,0 +1,30 @@ +#ifndef _SGSN_H +#define _SGSN_H + +#include <sys/types.h> + +#include <osmocore/msgb.h> + +#include <openbsc/gprs_ns.h> + +struct sgsn_config { + /* parsed from config file */ + u_int32_t nsip_listen_ip; + u_int16_t nsip_listen_port; + + /* misc */ + struct gprs_ns_inst *nsi; +}; + + +/* sgsn_vty.c */ + +int sgsn_vty_init(void); +int sgsn_parse_config(const char *config_file, struct sgsn_config *cfg); + +/* sgsn.c */ + +/* Main input function for Gb proxy */ +int sgsn_rcvmsg(struct msgb *msg, struct gprs_nsvc *nsvc, uint16_t ns_bvci); + +#endif |