diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2015-11-25 16:45:59 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2015-12-03 11:39:57 +0100 |
commit | 2c8b58139f3e3c29309dd6518f77a62414de560c (patch) | |
tree | 148c83d83fd92275a3988127ee8c887ed47cbb9d /openbsc/include | |
parent | 1aa0e47104d9529ecf448b81adb9ef6fb0a50c5f (diff) |
gtphub: cosmetic/prepare: rename expiry queues.
The expiry queues are already used for resolved GGSN addresses, and will
soon enlist tunnel structs. Hence the naming should be more general.
Sponsored-by: On-Waves ehi
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/gtphub.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openbsc/include/openbsc/gtphub.h b/openbsc/include/openbsc/gtphub.h index 07af039aa..f2130844a 100644 --- a/openbsc/include/openbsc/gtphub.h +++ b/openbsc/include/openbsc/gtphub.h @@ -329,8 +329,8 @@ int nr_map_empty(const struct nr_map *map); /* config */ -static const int GTPH_SEQ_MAPPING_EXPIRY_SECS = 30; /* TODO is there a spec for this? */ -static const int GTPH_TEI_MAPPING_EXPIRY_MINUTES = 6 * 60; /* TODO is there a spec for this? */ +static const int GTPH_EXPIRE_QUICKLY_SECS = 30; /* TODO is there a spec for this? */ +static const int GTPH_EXPIRE_SLOWLY_MINUTES = 6 * 60; /* TODO is there a spec for this? */ struct gtphub_cfg_addr { const char *addr_str; @@ -423,8 +423,8 @@ struct gtphub { struct llist_head resolved_ggsns; /* struct gtphub_resolved_ggsn */ struct osmo_timer_list gc_timer; - struct expiry expire_seq_maps; - struct expiry expire_tei_maps; + struct expiry expire_quickly; + struct expiry expire_slowly; uint16_t restart_counter; }; |