diff options
Diffstat (limited to 'openbsc/include/openbsc/sgsn.h')
-rw-r--r-- | openbsc/include/openbsc/sgsn.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/sgsn.h b/openbsc/include/openbsc/sgsn.h index 2dc53c13d..2c4378bca 100644 --- a/openbsc/include/openbsc/sgsn.h +++ b/openbsc/include/openbsc/sgsn.h @@ -12,10 +12,26 @@ struct sgsn_config { u_int32_t nsip_listen_ip; u_int16_t nsip_listen_port; + char *gtp_statedir; + struct sockaddr_in gtp_listenaddr; + /* misc */ struct gprs_ns_inst *nsi; }; +struct sgsn_instance { + char *config_file; + struct sgsn_config cfg; + /* File descriptor wrappers for LibGTP */ + struct bsc_fd gtp_fd0; + struct bsc_fd gtp_fd1c; + struct bsc_fd gtp_fd1u; + /* Timer for libGTP */ + struct timer_list gtp_timer; + /* GSN instance for libgtp */ + struct gsn_t *gsn; +}; + /* sgsn_vty.c */ |