1 # OpenGGSN - Gateway GPRS Support Node
2 # Copyright (C) 2002, 2003, 2004 Mondru AB.
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.
9 # Use "gengetopt --conf-parser < cmdline.ggo"
10 # to generate cmdline.c and cmdline.h
12 option "debug" d "Run in debug mode" flag off
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
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
22 option "contexts" - "Number of contexts" int default="1" no
23 option "timelimit" - "Exit after timelimit seconds" int default="0" no
25 option "gtpversion" - "GTP version to use" int default="1" no
26 option "apn" a "Access point name" string default="internet" no
27 option "selmode" - "Selection mode" int default="0x01" no
28 option "imsi" i "IMSI" string default="240010123456789" no
29 option "nsapi" - "NSAPI" int default="0" no
30 option "msisdn" m "Mobile Station ISDN number" string default="46702123456" no
31 option "qos" q "Requested quality of service" int default="0x0b921f" no
32 option "charging" - "Charging characteristics" int default="0x0800" no
33 option "uid" u "Login user ID" string default="mig" no
34 option "pwd" p "Login password" string default="hemmelig" no
36 option "createif" - "Create local network interface" flag off
37 option "net" n "Network address for local interface" string no
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
42 option "pinghost" - "Ping remote host" string no
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
46 option "pingquiet" - "Do not print ping packet info" flag off