blob: 1d0ea754253f15dd65e7dce5f629c3fd35ca637b [file] [log] [blame]
jjakoa7cd2492003-04-11 09:40:12 +00001# OpenGGSN - Gateway GPRS Support Node
2# Copyright (C) 2002, 2003 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#
jjakoa7cd2492003-04-11 09:40:12 +00009# The initial developer of the original code is
10# Jens Jakobsen <jj@openggsn.org>
jjako52c24142002-12-16 13:33:51 +000011#
jjakoa7cd2492003-04-11 09:40:12 +000012# Contributor(s):
13#
14#
15# Use "gengetopt --conf-parser < cmdline.ggo"
16# to generate cmdline.c and cmdline.h
jjako52c24142002-12-16 13:33:51 +000017
jjakoa7cd2492003-04-11 09:40:12 +000018option "debug" d "Run in debug mode" flag off
jjako52c24142002-12-16 13:33:51 +000019
jjakoa7cd2492003-04-11 09:40:12 +000020option "conf" c "Read configuration file" string no
21option "pidfile" - "Filename of process id file" string default="./sgsnemu.pid" no
22option "statedir" - "Directory of nonvolatile data" string default="./" no
jjako52c24142002-12-16 13:33:51 +000023
jjakoa7cd2492003-04-11 09:40:12 +000024option "dns" - "DNS Server to use" string no
25option "listen" l "Local interface" string no
26option "remote" r "Remote host" string no
jjako52c24142002-12-16 13:33:51 +000027
jjakoa7cd2492003-04-11 09:40:12 +000028option "contexts" - "Number of contexts" int default="1" no
29option "timelimit" - "Exit after timelimit seconds" int default="0" no
jjako52c24142002-12-16 13:33:51 +000030
jjako193e8b12003-11-10 12:31:41 +000031option "gtpversion" - "GTP version to use" int default="1" no
jjakoa7cd2492003-04-11 09:40:12 +000032option "apn" a "Access point name" string default="internet" no
33option "imsi" i "IMSI" string default="240010123456789" no
jjako193e8b12003-11-10 12:31:41 +000034option "nsapi" - "NSAPI" int default="0" no
jjakoa7cd2492003-04-11 09:40:12 +000035option "msisdn" m "Mobile Station ISDN number" string default="46702123456" no
36option "qos" q "Requested quality of service" int default="0x0b921f" no
37option "uid" u "Login user ID" string default="mig" no
38option "pwd" p "Login password" string default="hemmelig" no
jjako52c24142002-12-16 13:33:51 +000039
jjakoa7cd2492003-04-11 09:40:12 +000040option "createif" - "Create local network interface" flag off
jjako193e8b12003-11-10 12:31:41 +000041option "net" n "Network address for local interface" string no
jjakoa7cd2492003-04-11 09:40:12 +000042option "defaultroute" - "Create default route" flag off
43option "ipup" - "Script to run after link-up" string no
44option "ipdown" - "Script to run after link-down" string no
jjako5da68452003-01-28 16:08:47 +000045
jjakoa7cd2492003-04-11 09:40:12 +000046option "pinghost" - "Ping remote host" string no
47option "pingrate" - "Number of ping req per second" int default="1" no
48option "pingsize" - "Number of ping data bytes" int default="56" no
49option "pingcount" - "Number of ping req to send" int default="0" no
50option "pingquiet" - "Do not print ping packet info" flag off
jjako5da68452003-01-28 16:08:47 +000051