jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 1 | # OpenGGSN - Gateway GPRS Support Node |
jjako | 0fe0df0 | 2004-09-17 11:30:40 +0000 | [diff] [blame] | 2 | # Copyright (C) 2002, 2003, 2004 Mondru AB. |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 3 | # |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 4 | # The contents of this file may be used under the terms of the GNU |
| 5 | # General Public License Version 2, provided that the above copyright |
| 6 | # notice and this permission notice is included in all copies or |
| 7 | # substantial portions of the software. |
jjako | 0fe0df0 | 2004-09-17 11:30:40 +0000 | [diff] [blame] | 8 | # |
| 9 | # Use "gengetopt --conf-parser < cmdline.ggo" |
| 10 | # to generate cmdline.c and cmdline.h |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 11 | |
| 12 | option "fg" f "Run in foreground" flag off |
| 13 | option "debug" d "Run in debug mode" flag off |
| 14 | |
| 15 | option "conf" c "Read configuration file" string default="/etc/ggsn.conf" no |
| 16 | option "pidfile" - "Filename of process id file" string default="/var/run/ggsn.pid" no |
| 17 | option "statedir" - "Directory of nonvolatile data" string default="/var/lib/ggsn/" no |
| 18 | |
| 19 | option "listen" l "Local interface" string no |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 20 | option "net" n "Network" string default="192.168.0.0/24" no |
| 21 | option "ipup" - "Script to run after link-up" string no |
| 22 | option "ipdown" - "Script to run after link-down" string no |
| 23 | |
jjako | a7c3381 | 2003-04-11 11:51:39 +0000 | [diff] [blame] | 24 | option "dynip" - "Dynamic IP address pool" string no |
| 25 | option "statip" - "Static IP address pool" string no |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 26 | |
| 27 | option "pcodns1" - "PCO DNS Server 1" string default="0.0.0.0" no |
| 28 | option "pcodns2" - "PCO DNS Server 2" string default="0.0.0.0" no |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 29 | |
| 30 | option "timelimit" - "Exit after timelimit seconds" int default="0" no |
| 31 | |
| 32 | option "apn" a "Access point name" string default="internet" no |
| 33 | option "qos" q "Requested quality of service" int default="0x0b921f" no |
Holger Hans Peter Freyther | 9c0ff4f | 2014-03-23 10:07:26 +0100 | [diff] [blame] | 34 | option "logfile" - "Logfile for errors" string no |
Holger Hans Peter Freyther | c38bf64 | 2014-12-04 18:54:58 +0100 | [diff] [blame] | 35 | option "loglevel" - "Global log ldevel" string default="error" no |
Pablo Neira Ayuso | 4b075b6 | 2015-11-17 12:22:42 +0100 | [diff] [blame] | 36 | |
Pablo Neira Ayuso | d9d7be3 | 2016-05-10 18:43:12 +0200 | [diff] [blame] | 37 | option "gtp-linux" g "GTP linux kernel support" flag off |
Pablo Neira Ayuso | 4b075b6 | 2015-11-17 12:22:42 +0100 | [diff] [blame] | 38 | |