Write IPv4 and IPv6 with a small 'v'.

This commit is contained in:
peter 2005-02-22 16:53:11 +00:00
parent 7cbebc44aa
commit 0f31823d7c
12 changed files with 45 additions and 44 deletions

View File

@ -52,24 +52,24 @@ iscript An integer field, whose default is set by the invocation
script to invoke, followed by any number of arguments to pass
to the script.
req-iscript A required iscript field.
ipv4 A simple entry field for IPV4 address types. The only
ipv4 A simple entry field for IPv4 address types. The only
optional argument is an initial value for the field.
req-ipv4 A required IPV4 entry field. This is the same as the IPV4
req-ipv4 A required IPv4 entry field. This is the same as the IPv4
entry field except that the user must enter a value to proceed.
ipv4script An ipv4script is an IPV4 entry field, whose initial value is
ipv4script An ipv4script is an IPv4 entry field, whose initial value is
filled in by a script that is run during the form generation.
The arguments are: the name of the script to run, and any
optional arguments the user wishes to pass to the script.
req-ipv4script A required IPV4 script generated entry field.
ipv6 A simple entry field for IPV6 address types. The only
req-ipv4script A required IPv4 script generated entry field.
ipv6 A simple entry field for IPv6 address types. The only
optional argument is an initial value for the field.
req-ipv6 A required IPV6 entry field. This is the same as the IPV6
req-ipv6 A required IPv6 entry field. This is the same as the IPv6
entry field except that the user must enter a value to proceed.
ipv6script An ipv6script is an IPV6 entry field, whose initial value is
ipv6script An ipv6script is an IPv6 entry field, whose initial value is
filled in by a script that is run during the form generation.
The arguments are: the name of the script to run, and any
optional arguments the user wishes to pass to the script.
req-ipv6script A required IPV6 script generated entry field.
req-ipv6script A required IPv6 script generated entry field.
If a description consists of the keyword BLANK, no description will be
@ -94,4 +94,4 @@ $1 = "fooshi-1.3"
$2 = "audio"
$3 = "yes"
$NetBSD: help,v 1.4 2001/06/12 15:17:13 wiz Exp $
$NetBSD: help,v 1.5 2005/02/22 16:53:11 peter Exp $

View File

@ -1,3 +1,4 @@
# $NetBSD: form,v 1.2 2005/02/22 16:53:11 peter Exp $
req-entry:40 Hostname
req-ipv4: IPV4 address
req-ipv4: IPv4 address
entry:40 Optional Aliases (space separated)

View File

@ -1,3 +1,4 @@
# $NetBSD: form,v 1.2 2005/02/22 16:53:11 peter Exp $
req-entry:40 Hostname
req-ipv6: IPV6 address
req-ipv6: IPv6 address
entry:40 Optional Aliases (space separated)

View File

@ -1,16 +1,14 @@
Add an IPV4 host entry:
You may add a new IPV4 entry to your /etc/hosts file with this form.
Add an IPv4 host entry:
You may add a new IPv4 entry to your /etc/hosts file with this form.
Add an IPV6 host entry:
You may add a new IPV6 entry to your /etc/hosts file with this form.
Add an IPv6 host entry:
You may add a new IPv6 entry to your /etc/hosts file with this form.
Modify an IPV4 host entry:
You can modify an existing IPV4 entry in your /etc/hosts file with this form.
Modify an IPv4 host entry:
You can modify an existing IPv4 entry in your /etc/hosts file with this form.
Modify an IPV6 host entry:
You can modify an existing IPV6 entry in your /etc/hosts file with this form.
Modify an IPv6 host entry:
You can modify an existing IPv6 entry in your /etc/hosts file with this form.
Delete host entries:
Using this form, you can permanently delete an entry in your /etc/hosts file.
$NetBSD: help,v 1.1 2001/04/25 03:43:30 garbled Exp $

View File

@ -1,7 +1,7 @@
#$NetBSD: index,v 1.1 2001/04/25 03:43:30 garbled Exp $
addhost addhost Add an IPV4 host entry
addv6host addv6host Add an IPV6 host entry
modhost modhost Modify an IPV4 host entry
modv6host modv6host Modify an IPV6 host entry
# $NetBSD: index,v 1.2 2005/02/22 16:53:11 peter Exp $
addhost addhost Add an IPv4 host entry
addv6host addv6host Add an IPv6 host entry
modhost modhost Modify an IPv4 host entry
modv6host modv6host Modify an IPv6 host entry
delhost delhost Delete host entries

View File

@ -1,4 +1,5 @@
# $NetBSD: form,v 1.2 2005/02/22 16:53:11 peter Exp $
req-escript:40,script2,2,@@@1@@@ Hostname
req-ipv4script:script2,1,@@@1@@@ IPV4 address
req-ipv4script:script2,1,@@@1@@@ IPv4 address
escript:40,script2,3,@@@1@@@ Optional Aliases (space separated)
invis:@@@1@@@

View File

@ -1,4 +1,4 @@
req-escript:40,script2,2,@@@1@@@ Hostname
req-ipv6script:script2,1,@@@1@@@ IPV6 address
req-ipv6script:script2,1,@@@1@@@ IPv6 address
escript:40,script2,3,@@@1@@@ Optional Aliases (space separated)
invis:@@@1@@@

View File

@ -1,6 +1,6 @@
List all network adapters:
This function will list all the network adapters present on your machine,
and show the status of them, such as the IPV4 address, and the up/down state
and show the status of them, such as the IPv4 address, and the up/down state
of the interface. It will also list some pseudo-drivers, such as ppp or
slip.
@ -9,4 +9,4 @@ This form will allow you to configure a network adapter for use. You can set
the IP address, and other options, as well as configure the adapter at
boot-time.
$NetBSD: help,v 1.1 2001/04/25 03:43:33 garbled Exp $
$NetBSD: help,v 1.2 2005/02/22 16:53:11 peter Exp $

View File

@ -1,13 +1,13 @@
# $NetBSD: form,v 1.1 2001/04/25 03:43:33 garbled Exp $
# $NetBSD: form,v 1.2 2005/02/22 16:53:11 peter Exp $
noedit:@@@1@@@ Changing interface:
list:both,now,boot Modify interface at boot-time, now, or both?
req-ipv4script:script2,4,@@@1@@@ Interface IPV4 Address
ipv4script:script2,n,@@@1@@@ Interface IPV4 Netmask
ipv4script:script2,b,@@@1@@@ Interface IPV4 Broadcast Address
req-ipv4script:script2,4,@@@1@@@ Interface IPv4 Address
ipv4script:script2,n,@@@1@@@ Interface IPv4 Netmask
ipv4script:script2,b,@@@1@@@ Interface IPv4 Broadcast Address
script:script2,m,@@@1@@@ Media Type
script:script2,o,@@@1@@@ Media Options
ipv6script:script2,6,@@@1@@@ Interface IPV6 Address
iscript:3,0,128,script2,pre,@@@1@@@ Interface IPV6 Prefix Length(netmask)
ipv6script:script2,6,@@@1@@@ Interface IPv6 Address
iscript:3,0,128,script2,pre,@@@1@@@ Interface IPv6 Prefix Length(netmask)
escript:32,script2,i,@@@1@@@ Interface Network-ID
#escript:15,script2,k,@@@1@@@ Interface Network-Key
multilist:link0,link1,link2 Interface link options

View File

@ -1,8 +1,8 @@
#!/bin/sh
# $NetBSD: script,v 1.2 2002/08/01 09:43:16 pooka Exp $
# $NetBSD: script,v 1.3 2005/02/22 16:53:11 peter Exp $
INTFS=`ifconfig -l | sed -e \
's/lo.//g;s/strip.//g;s/tun.//g;s/ipip.//g;s/eon.//g;s/gre.//g;s/gif.//g'`
echo "Intf# State Media IPV4 Addr. IPV6 Addr."
echo "Intf# State Media IPv4 Addr. IPv6 Addr."
echo "---------------------------------------------------------------------------"
(for i in $INTFS
do

View File

@ -1,5 +1,5 @@
Display the IPV4 routing table:
This function displays the current IPV4 routing table.
Display the IPv4 routing table:
This function displays the current IPv4 routing table.
Modify the IPV4 default route:
Modify the IPv4 default route:
This form allows you to change your default route.

View File

@ -1,3 +1,3 @@
# $NetBSD: index,v 1.1 2001/04/25 03:43:34 garbled Exp $
ipv4table ipv4table Display the IPV4 routing table
default defroute Modify the IPV4 default route
# $NetBSD: index,v 1.2 2005/02/22 16:53:11 peter Exp $
ipv4table ipv4table Display the IPv4 routing table
default defroute Modify the IPv4 default route