aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2020-10-09 15:14:19 +0000
committerGordon Bergling <gbe@FreeBSD.org>2020-10-09 15:14:19 +0000
commit812b09037daa73a977753d6ee88e6f0dad35acb2 (patch)
tree23dd3deb47b727bda3ce6ebe61ac913837e0810b /tools
parenteff4c46e284364f9c8e64bebb648e8a90a609fd1 (diff)
downloadsrc-812b09037daa73a977753d6ee88e6f0dad35acb2.tar.gz
src-812b09037daa73a977753d6ee88e6f0dad35acb2.zip
Fix a few mandoc issues
- whitespace at end of input line - skipping paragraph macro: Pp at the end of Sh - new sentence, new line - consider using OS macro: Fx - AUTHORS section without An macro - skipping paragraph macro: Pp before Ss
Notes
Notes: svn path=/head/; revision=366575
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/ether_reflect/ether_reflect.126
-rw-r--r--tools/tools/vimage/vimage.839
2 files changed, 34 insertions, 31 deletions
diff --git a/tools/tools/ether_reflect/ether_reflect.1 b/tools/tools/ether_reflect/ether_reflect.1
index 421136b5d2b3..95fe60f762aa 100644
--- a/tools/tools/ether_reflect/ether_reflect.1
+++ b/tools/tools/ether_reflect/ether_reflect.1
@@ -45,11 +45,13 @@ command implements a simple ethernet packet reflector using the
.Xr PCAP 3
library and
.Xr bpf 4 ,
-the Berkeley Packet Filter. The program is useful primarily to test
-the low level round trip time of packets through an Ethernet interface
-and/or a switch. Network protocols, such as IP, and the network stack
-in general are never invoked, only the device driver that implements
-the particular interface is executed. As the
+the Berkeley Packet Filter.
+The program is useful primarily to test the low level round trip time
+of packets through an Ethernet interface and/or a switch.
+Network protocols, such as IP, and the network stack in general are never
+invoked, only the device driver that implements the particular interface
+is executed.
+As the
.Nm
command uses the
.Xr bpf 4
@@ -67,13 +69,14 @@ ether type for driver testing.
.It Fl i Ar interface
Network interface, which can be found with ifconfig(1).
.It Fl t Ar timeout
-The time, in milliseconds, to wait for a packet. Lower times decrease
-latency at the cost of CPU.
+The time, in milliseconds, to wait for a packet.
+Lower times decrease latency at the cost of CPU.
.It Fl p
-Set the device into promiscuous mode before testing. This is not
-usually necessary.
+Set the device into promiscuous mode before testing.
+This is not usually necessary.
.It Fl d
-Debug output. Print various small pieces of debug information.
+Debug output.
+Print various small pieces of debug information.
.El
.Sh EXAMPLES
The following is an example of a typical usage
@@ -84,7 +87,8 @@ command:
.Dl "ether_reflect -i em0 -t 1"
.Pp
Reflect all test packets, those with an ether type of 0x8822, which
-are seen on ineterface em0. The timeout is 1 millisecond.
+are seen on ineterface em0.
+The timeout is 1 millisecond.
.Pp
.Dl "ether_reflect -i em0 -a 00:00:00:aa:bb:cc -t 1"
.Pp
diff --git a/tools/tools/vimage/vimage.8 b/tools/tools/vimage/vimage.8
index 3ceb069b2940..accb9d6400bb 100644
--- a/tools/tools/vimage/vimage.8
+++ b/tools/tools/vimage/vimage.8
@@ -65,20 +65,17 @@ and
.
.Ss Overview
A virtual image or vimage is a jail with its own independent network
-stack instance. Every process, socket and network interface present
-in the system is always attached to one, and only one, virtual network
-stack instance (vnet).
-During system bootup sequence a default vnet
-is created to which all the configured interfaces and user processes
-are initially attached.
-Assuming that enough system resources are
-are available, a user with sufficient privileges can create and manage
-a hierarchy of subordinated virtual images.
+stack instance.
+Every process, socket and network interface present in the system is always
+attached to one, and only one, virtual network stack instance (vnet).
+During system bootup sequence a default vnet is created to which all the configured
+interfaces and user processes are initially attached.
+Assuming that enough system resources are are available, a user with sufficient
+privileges can create and manage a hierarchy of subordinated virtual images.
The
.Nm
command allows for creation, deletion and monitoring of virtual images,
-as well as for execution of arbitrary processes in a targeted virtual
-image.
+as well as for execution of arbitrary processes in a targeted virtual image.
.Ss Invocation
If invoked with no modifiers, the
.Nm
@@ -109,12 +106,13 @@ using the same syntax as with the -c form of the command.
Delete the virtual image
.Ar vname .
No processes and/or sockets should exist in the target virtual image
-in order for the delete request to succeed. Non-loopback interfaces
-residing in the target virtual image will be reassigned to the virtual
-image's parent.
+in order for the delete request to succeed.
+Non-loopback interfaces residing in the target virtual image
+will be reassigned to the virtual image's parent.
.It Fl l
-List the properties and statistics for virtual images one level
-below the current one in the hierarchy. If an optional argument
+List the properties and statistics for virtual images one level below
+the current one in the hierarchy.
+If an optional argument
.Ar vname
is provided, only the information regarding the target virtual image
.Ar vname
@@ -183,11 +181,12 @@ command exits 0 on success, and >0 if an error occurs.
.Xr jls 8
.Sh HISTORY
Network stack virtualization framework first appeared as a patchset
-against the FreeBSD 4.7 kernel in 2002, and was maintained outside
-of the main FreeBSD tree.
+against the
+.Fx 4.7
+kernel in 2002, and was maintained outside of the main FreeBSD tree.
As a result of a project sponsored by the FreeBSD Foundation and
-Stiching NLNet, integrated virtualized network stack first appeared
-in FreeBSD 8.0.
+Stiching NLNet, integrated virtualized network stack first appeared in
+.Fx 8.0 .
.Sh AUTHORS
.An Marko Zec Aq Mt zec@fer.hr
.Sh BUGS