Harald Welte | 632e843 | 2017-09-05 18:12:14 +0200 | [diff] [blame] | 1 | # OsmoGGSN - 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 | # |
Harald Welte | f621498 | 2017-09-24 10:23:24 +0800 | [diff] [blame] | 9 | # Use |
| 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 |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 14 | # to generate cmdline.c and cmdline.h |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 15 | |
Harald Welte | 7e1175f | 2017-09-24 10:53:53 +0800 | [diff] [blame] | 16 | package "sgsnemu" |
| 17 | |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 18 | option "debug" d "Run in debug mode" flag off |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 19 | |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 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 |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 23 | |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 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 |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 27 | |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 28 | option "contexts" - "Number of contexts" int default="1" no |
| 29 | option "timelimit" - "Exit after timelimit seconds" int default="0" no |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 30 | |
jjako | 193e8b1 | 2003-11-10 12:31:41 +0000 | [diff] [blame] | 31 | option "gtpversion" - "GTP version to use" int default="1" no |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 32 | option "apn" a "Access point name" string default="internet" no |
jjako | 1a51df7 | 2004-07-20 08:30:21 +0000 | [diff] [blame] | 33 | option "selmode" - "Selection mode" int default="0x01" no |
Harald Welte | 1d94585 | 2017-09-24 08:51:02 +0800 | [diff] [blame] | 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" |
Harald Welte | b6fc227 | 2017-09-24 08:53:58 +0800 | [diff] [blame] | 36 | option "rai" - "Routing Area Information" string default="02509946241207" no typestr="MCC.MNC.LAC.RAC" |
Harald Welte | 1d94585 | 2017-09-24 08:51:02 +0800 | [diff] [blame] | 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 |
Harald Welte | 7c20148 | 2017-09-24 08:56:14 +0800 | [diff] [blame] | 39 | option "norecovery" - "Do not send recovery" flag off |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 40 | option "imsi" i "IMSI" string default="240010123456789" no |
jjako | 193e8b1 | 2003-11-10 12:31:41 +0000 | [diff] [blame] | 41 | option "nsapi" - "NSAPI" int default="0" no |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 42 | option "msisdn" m "Mobile Station ISDN number" string default="46702123456" no |
Harald Welte | 05ac095 | 2017-09-24 08:41:14 +0800 | [diff] [blame] | 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 |
jjako | 7e051d3 | 2004-05-27 20:06:36 +0000 | [diff] [blame] | 48 | option "charging" - "Charging characteristics" int default="0x0800" no |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 49 | option "uid" u "Login user ID" string default="mig" no |
| 50 | option "pwd" p "Login password" string default="hemmelig" no |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 51 | |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 52 | option "createif" - "Create local network interface" flag off |
Harald Welte | ea0c26a | 2017-10-10 08:54:04 +0800 | [diff] [blame] | 53 | option "net" n "Network address for local interface" string dependon="createif" no |
| 54 | option "defaultroute" - "Create default route" flag dependon="createif" off |
| 55 | option "ipup" - "Script to run after link-up" string dependon="createif" no |
| 56 | option "ipdown" - "Script to run after link-down" string dependon="createif" no |
Harald Welte | 73abc38 | 2017-10-10 08:50:11 +0800 | [diff] [blame] | 57 | option "tun-device" - "Name of the local network interface" string dependon="createif" no |
jjako | 5da6845 | 2003-01-28 16:08:47 +0000 | [diff] [blame] | 58 | |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 59 | option "pinghost" - "Ping remote host" string no |
Harald Welte | ea0c26a | 2017-10-10 08:54:04 +0800 | [diff] [blame] | 60 | option "pingrate" - "Number of ping req per second" int default="1" dependon="pinghost" no |
| 61 | option "pingsize" - "Number of ping data bytes" int default="56" dependon="pinghost" no |
| 62 | option "pingcount" - "Number of ping req to send" int default="0" dependon="pinghost" no |
| 63 | option "pingquiet" - "Do not print ping packet info" flag dependon="pinghost" off |
| 64 | |
Harald Welte | fbb9c7f | 2017-09-24 11:50:20 +0800 | [diff] [blame] | 65 | option "no-tx-gpdu-seq" - "Don't transmit G-PDU sequence nums" flag off |
Harald Welte | 840a8e9 | 2017-09-24 18:12:40 +0800 | [diff] [blame] | 66 | option "pdp-type" t "PDP Type" string default="v4" no typestr="(v4|v6)" |