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 | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 8 | # |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 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 | |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 12 | option "debug" d "Run in debug mode" flag off |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 13 | |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 14 | option "conf" c "Read configuration file" string no |
| 15 | option "pidfile" - "Filename of process id file" string default="./sgsnemu.pid" no |
| 16 | option "statedir" - "Directory of nonvolatile data" string default="./" no |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 17 | |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 18 | option "dns" - "DNS Server to use" string no |
| 19 | option "listen" l "Local interface" string no |
| 20 | option "remote" r "Remote host" string no |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 21 | |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 22 | option "contexts" - "Number of contexts" int default="1" no |
| 23 | option "timelimit" - "Exit after timelimit seconds" int default="0" no |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 24 | |
jjako | 193e8b1 | 2003-11-10 12:31:41 +0000 | [diff] [blame] | 25 | option "gtpversion" - "GTP version to use" int default="1" no |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 26 | option "apn" a "Access point name" string default="internet" no |
jjako | 1a51df7 | 2004-07-20 08:30:21 +0000 | [diff] [blame] | 27 | option "selmode" - "Selection mode" int default="0x01" no |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 28 | option "imsi" i "IMSI" string default="240010123456789" no |
jjako | 193e8b1 | 2003-11-10 12:31:41 +0000 | [diff] [blame] | 29 | option "nsapi" - "NSAPI" int default="0" no |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 30 | option "msisdn" m "Mobile Station ISDN number" string default="46702123456" no |
| 31 | option "qos" q "Requested quality of service" int default="0x0b921f" no |
jjako | 7e051d3 | 2004-05-27 20:06:36 +0000 | [diff] [blame] | 32 | option "charging" - "Charging characteristics" int default="0x0800" no |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 33 | option "uid" u "Login user ID" string default="mig" no |
| 34 | option "pwd" p "Login password" string default="hemmelig" no |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 35 | |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 36 | option "createif" - "Create local network interface" flag off |
jjako | 193e8b1 | 2003-11-10 12:31:41 +0000 | [diff] [blame] | 37 | option "net" n "Network address for local interface" string no |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 38 | option "defaultroute" - "Create default route" flag off |
| 39 | option "ipup" - "Script to run after link-up" string no |
| 40 | option "ipdown" - "Script to run after link-down" string no |
jjako | 5da6845 | 2003-01-28 16:08:47 +0000 | [diff] [blame] | 41 | |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 42 | option "pinghost" - "Ping remote host" string no |
Harald Welte | f54a1f4 | 2010-05-04 11:08:38 +0200 | [diff] [blame] | 43 | option "pingrate" - "Number of ping req per second" unsigned int default="1" no |
| 44 | option "pingsize" - "Number of ping data bytes" unsigned int default="56" no |
| 45 | option "pingcount" - "Number of ping req to send" unsigned int default="0" no |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 46 | option "pingquiet" - "Do not print ping packet info" flag off |
jjako | 5da6845 | 2003-01-28 16:08:47 +0000 | [diff] [blame] | 47 | |