blob: 0184775b13faa6993fb7c9eb09f2d113077a14ab [file] [log] [blame]
Harald Welte632e8432017-09-05 18:12:14 +02001# OsmoGGSN - Gateway GPRS Support Node
jjako0fe0df02004-09-17 11:30:40 +00002# Copyright (C) 2002, 2003, 2004 Mondru AB.
jjako52c24142002-12-16 13:33:51 +00003#
jjakoa7cd2492003-04-11 09:40:12 +00004# 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.
jjako52c24142002-12-16 13:33:51 +00008#
Harald Weltef6214982017-09-24 10:23:24 +08009# 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
jjakoa7cd2492003-04-11 09:40:12 +000014# to generate cmdline.c and cmdline.h
jjako52c24142002-12-16 13:33:51 +000015
jjakoa7cd2492003-04-11 09:40:12 +000016option "debug" d "Run in debug mode" flag off
jjako52c24142002-12-16 13:33:51 +000017
jjakoa7cd2492003-04-11 09:40:12 +000018option "conf" c "Read configuration file" string no
19option "pidfile" - "Filename of process id file" string default="./sgsnemu.pid" no
20option "statedir" - "Directory of nonvolatile data" string default="./" no
jjako52c24142002-12-16 13:33:51 +000021
jjakoa7cd2492003-04-11 09:40:12 +000022option "dns" - "DNS Server to use" string no
23option "listen" l "Local interface" string no
24option "remote" r "Remote host" string no
jjako52c24142002-12-16 13:33:51 +000025
jjakoa7cd2492003-04-11 09:40:12 +000026option "contexts" - "Number of contexts" int default="1" no
27option "timelimit" - "Exit after timelimit seconds" int default="0" no
jjako52c24142002-12-16 13:33:51 +000028
jjako193e8b12003-11-10 12:31:41 +000029option "gtpversion" - "GTP version to use" int default="1" no
jjakoa7cd2492003-04-11 09:40:12 +000030option "apn" a "Access point name" string default="internet" no
jjako1a51df72004-07-20 08:30:21 +000031option "selmode" - "Selection mode" int default="0x01" no
Harald Welte1d945852017-09-24 08:51:02 +080032option "rattype" - "Radio Access Technology Type" int default="1" no typestr="1..5"
33option "userloc" - "User Location Information" string default="02509946241207" no typestr="type.MCC.MNC.LAC.CIorSACorRAC"
Harald Welteb6fc2272017-09-24 08:53:58 +080034option "rai" - "Routing Area Information" string default="02509946241207" no typestr="MCC.MNC.LAC.RAC"
Harald Welte1d945852017-09-24 08:51:02 +080035option "mstz" - "MS Time Zone" string default="0" no typestr="sign.NbQuartersOfAnHour.DSTAdjustment"
36option "imeisv" - "IMEI(SV) International Mobile Equipment Identity (and Software Version)" string default="2143658709214365" no
Harald Welte7c201482017-09-24 08:56:14 +080037option "norecovery" - "Do not send recovery" flag off
jjakoa7cd2492003-04-11 09:40:12 +000038option "imsi" i "IMSI" string default="240010123456789" no
jjako193e8b12003-11-10 12:31:41 +000039option "nsapi" - "NSAPI" int default="0" no
jjakoa7cd2492003-04-11 09:40:12 +000040option "msisdn" m "Mobile Station ISDN number" string default="46702123456" no
Harald Welte05ac0952017-09-24 08:41:14 +080041option "qos" q "Requested quality of service" int default="0x000b921f" no
42option "qose1" - "Requested quality of service Extension 1" int default="0x9396404074f9ffff" no
43option "qose2" - "Requested quality of service Extension 2" int default="0x11" no
44option "qose3" - "Requested quality of service Extension 3" int default="0x0101" no
45option "qose4" - "Requested quality of service Extension 4" int default="0x4040" no
jjako7e051d32004-05-27 20:06:36 +000046option "charging" - "Charging characteristics" int default="0x0800" no
jjakoa7cd2492003-04-11 09:40:12 +000047option "uid" u "Login user ID" string default="mig" no
48option "pwd" p "Login password" string default="hemmelig" no
jjako52c24142002-12-16 13:33:51 +000049
jjakoa7cd2492003-04-11 09:40:12 +000050option "createif" - "Create local network interface" flag off
jjako193e8b12003-11-10 12:31:41 +000051option "net" n "Network address for local interface" string no
jjakoa7cd2492003-04-11 09:40:12 +000052option "defaultroute" - "Create default route" flag off
53option "ipup" - "Script to run after link-up" string no
54option "ipdown" - "Script to run after link-down" string no
jjako5da68452003-01-28 16:08:47 +000055
jjakoa7cd2492003-04-11 09:40:12 +000056option "pinghost" - "Ping remote host" string no
Harald Welte73d28c92017-09-24 08:34:36 +080057option "pingrate" - "Number of ping req per second" int default="1" no
58option "pingsize" - "Number of ping data bytes" int default="56" no
59option "pingcount" - "Number of ping req to send" int default="0" no
jjakoa7cd2492003-04-11 09:40:12 +000060option "pingquiet" - "Do not print ping packet info" flag off
jjako5da68452003-01-28 16:08:47 +000061