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.
10 # gengetopt --conf-parser < cmdline.ggo
11 # linux-2.6/scripts/Lindent cmdline.c
12 # linux-2.6/scripts/Lindent cmdline.h
13 # sed -i -e 's/int qose1_arg;/unsigned long long int qose1_arg;/' cmdline.h
14 # to generate cmdline.c and cmdline.h
18 option "debug" d "Run in debug mode" flag off
20 option "conf" c "Read configuration file" string no
21 option "pidfile" - "Filename of process id file" string default="./sgsnemu.pid" no
22 option "statedir" - "Directory of nonvolatile data" string default="./" no
24 option "dns" - "DNS Server to use" string no
25 option "listen" l "Local interface" string no
26 option "remote" r "Remote host" string no
28 option "contexts" - "Number of contexts" int default="1" no
29 option "timelimit" - "Exit after timelimit seconds" int default="0" no
31 option "gtpversion" - "GTP version to use" int default="1" no
32 option "apn" a "Access point name" string default="internet" no
33 option "selmode" - "Selection mode" int default="0x01" no
34 option "rattype" - "Radio Access Technology Type" int default="1" no typestr="1..5"
35 option "userloc" - "User Location Information" string default="02509946241207" no typestr="type.MCC.MNC.LAC.CIorSACorRAC"
36 option "rai" - "Routing Area Information" string default="02509946241207" no typestr="MCC.MNC.LAC.RAC"
37 option "mstz" - "MS Time Zone" string default="0" no typestr="sign.NbQuartersOfAnHour.DSTAdjustment"
38 option "imeisv" - "IMEI(SV) International Mobile Equipment Identity (and Software Version)" string default="2143658709214365" no
39 option "norecovery" - "Do not send recovery" flag off
40 option "imsi" i "IMSI" string default="240010123456789" no
41 option "nsapi" - "NSAPI" int default="0" no
42 option "msisdn" m "Mobile Station ISDN number" string default="46702123456" no
43 option "qos" q "Requested quality of service" int default="0x000b921f" no
44 option "qose1" - "Requested quality of service Extension 1" int default="0x9396404074f9ffff" no
45 option "qose2" - "Requested quality of service Extension 2" int default="0x11" no
46 option "qose3" - "Requested quality of service Extension 3" int default="0x0101" no
47 option "qose4" - "Requested quality of service Extension 4" int default="0x4040" no
48 option "charging" - "Charging characteristics" int default="0x0800" no
49 option "uid" u "Login user ID" string default="mig" no
50 option "pwd" p "Login password" string default="hemmelig" no
52 option "createif" - "Create local network interface" flag off
53 option "net" n "Network address for local interface" string no
54 option "defaultroute" - "Create default route" flag off
55 option "ipup" - "Script to run after link-up" string no
56 option "ipdown" - "Script to run after link-down" string no
58 option "pinghost" - "Ping remote host" string no
59 option "pingrate" - "Number of ping req per second" int default="1" no
60 option "pingsize" - "Number of ping data bytes" int default="56" no
61 option "pingcount" - "Number of ping req to send" int default="0" no
62 option "pingquiet" - "Do not print ping packet info" flag off