aboutsummaryrefslogtreecommitdiffstats
path: root/ggsn/ggsn.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-09-24 11:43:17 +0800
committerHarald Welte <laforge@gnumonks.org>2017-09-24 23:10:01 +0800
commit93fed3bc510563e7d88cadafa7eada2ae4182213 (patch)
tree74219144de97b894c8890e3de80c4adec9c0d769 /ggsn/ggsn.h
parent3c1cce245e6ed1746c0eacc6208b884871186d3d (diff)
ggsn: Add per-APN VTY configuration option on G-PDU sequence numbers
This per-APN vty option determines if we are transmitting GTP sequence numbers in downlink G-PDU messages. This behavior is optional as per GTP spec. The default behavior is "true", like before this change. Related: OS#2519 Change-Id: Ibf0de261f83951309b01b4feae998b6656c77664
Diffstat (limited to 'ggsn/ggsn.h')
-rw-r--r--ggsn/ggsn.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ggsn/ggsn.h b/ggsn/ggsn.h
index 42f8e1c..c0774c4 100644
--- a/ggsn/ggsn.h
+++ b/ggsn/ggsn.h
@@ -63,6 +63,8 @@ struct apn_ctx {
enum apn_gtpu_mode gtpu_mode;
/* administratively shut-down (true) or not (false) */
bool shutdown;
+ /* transmit G-PDU sequeence numbers (true) or not (false) */
+ bool tx_gpdu_seq;
} cfg;
/* corresponding tun device */