osmo-bsc/openbsc/src/gprs
Neels Hofmeyr ba9e9f63bc gtphub: implement restart counter properly.
Force passing a restart counter, by adding such arg to gtphub_start() (test
suite is not affected by this).

In gtphub_main.c, add -r,--restart-file <path> and next_restart_count() to
maintain the counter file. While at it, tweak the cmdline help to unify the
formatting (mostly commas and a missing line break).

Send gtphub's own restart counter. So far, the sender's restart counter was
copied through, which would break as soon as more than one GSN would talk to
the same peer with differing restart counters.

Also fix the in-mem restart counter data type (one octet, not two).

Sponsored-by: On-Waves ehi
2015-12-03 11:40:15 +01:00
..
.gitignore update gitignore 2011-01-14 14:38:42 +01:00
Makefile.am gtphub: cosmetic: rename a file. 2015-12-03 11:39:30 +01:00
crc24.c misc: Remove sys/types.h includes from the files 2011-04-18 17:31:39 +02:00
gb_proxy.c gbproxy: Count more GSM 04.08 messages 2015-11-10 09:35:30 +01:00
gb_proxy_main.c stats: Enable stats for sgsn, gbproxy, nitb, bsc, nat 2015-11-02 16:01:27 +01:00
gb_proxy_patch.c gbproxy: Patch BSSGP P-TMSI in PAGING PS messages 2014-10-27 11:59:28 +01:00
gb_proxy_peer.c gbproxy: Count more GSM 04.08 messages 2015-11-10 09:35:30 +01:00
gb_proxy_tlli.c gbproxy: Reset TLLIs when the link_info is found by IMSI/P-TMSI 2014-12-02 09:00:09 +01:00
gb_proxy_vty.c gbproxy: Add quirk commands to allow upgrade from pre-release 2015-09-24 10:28:43 +02:00
gprs_gb_parse.c gprs: Move TLV parser functions to gprs_utils.c and rename them 2014-12-23 15:08:52 +01:00
gprs_gmm.c Use 'ROUTING AREA' consistently, not 'ROUTEING AREA' 2015-08-18 19:35:02 +02:00
gprs_gsup_client.c gsup/oap: add OAP to GSUP client. 2015-11-02 12:56:47 +01:00
gprs_gsup_messages.c libcommon: soak up three static functions. 2015-11-02 12:56:40 +01:00
gprs_llc.c LLC: Don't dispatch XID frames into GMM 2015-08-18 19:35:01 +02:00
gprs_llc_parse.c gprs: Separate LLC parsing from LLC state handling 2014-06-04 16:29:30 +02:00
gprs_llc_vty.c sgsn: Remove inactive LLME/MM after inactivity timeout 2015-01-26 08:51:50 +01:00
gprs_sgsn.c stats: Set class_id in rate_ctr group descriptions 2015-11-02 16:04:16 +01:00
gprs_sndcp.c sgsn: Prevent memory leak and double free 2014-10-10 17:43:40 +02:00
gprs_sndcp.h src: use namespace prefix osmo_timer* for timer functions 2011-05-06 12:11:06 +02:00
gprs_sndcp_vty.c gprs: Fix compiler warnings ini gprs_sndcp_vty.c 2014-04-04 12:49:38 +02:00
gprs_subscriber.c gsup/oap: add OAP to GSUP client. 2015-11-02 12:56:47 +01:00
gprs_utils.c gtphub: add first bits of GRX ares 2015-11-16 15:16:30 +01:00
gsm_04_08_gprs.c gprs: Move protocol value_strings to gsm_04_08_gprs.c 2015-01-18 18:13:06 +01:00
gtphub.c gtphub: implement restart counter properly. 2015-12-03 11:40:15 +01:00
gtphub_ares.c gtphub: track tunnels explicitly. 2015-12-03 11:40:03 +01:00
gtphub_main.c gtphub: implement restart counter properly. 2015-12-03 11:40:15 +01:00
gtphub_vty.c gtphub: track tunnels explicitly. 2015-12-03 11:40:03 +01:00
oap.c oap: implement initial OAP API. 2015-11-02 12:56:41 +01:00
oap_messages.c oap: implement initial OAP API. 2015-11-02 12:56:41 +01:00
osmo_sgsn.cfg [GPRS] SGSN: specify the local bind address in the config file 2010-06-02 23:18:40 +02:00
sgsn_ares.c sgsn: Check the return value of osmo_fd_register 2015-06-02 09:46:11 +02:00
sgsn_auth.c sgsn: Ensure 0-terminated imsi strings (Coverity) 2015-01-26 10:59:49 +01:00
sgsn_cdr.c sgsn: Extract the hlr Number into the mm context 2015-05-24 12:32:23 +08:00
sgsn_ctrl.c libctrl: Follow rename of controlif_setup -> ctrl_interface_setup 2014-08-21 15:34:28 +02:00
sgsn_libgtp.c sgsn: Fix pattern for too long msisdn 2015-10-12 11:06:34 +02:00
sgsn_main.c stats: Enable stats for sgsn, gbproxy, nitb, bsc, nat 2015-11-02 16:01:27 +01:00
sgsn_vty.c gtphub: add first bits of GRX ares 2015-11-16 15:16:30 +01:00