svn commit: r357074 - head/share/man/man4
Nick Hibma
n_hibma at FreeBSD.org
Fri Jan 24 11:22:34 UTC 2020
Author: n_hibma
Date: Fri Jan 24 11:22:33 2020
New Revision: 357074
URL: https://svnweb.freebsd.org/changeset/base/357074
Log:
Fix a few spacing issues to make the page more readable.
Modified:
head/share/man/man4/netmap.4
Modified: head/share/man/man4/netmap.4
==============================================================================
--- head/share/man/man4/netmap.4 Fri Jan 24 07:48:11 2020 (r357073)
+++ head/share/man/man4/netmap.4 Fri Jan 24 11:22:33 2020 (r357074)
@@ -985,7 +985,7 @@ interfaces, as in
or even connect the NIC to the host stack using netmap
.Dl bridge -i netmap:ix0
.Ss USING THE NATIVE API
-The following code implements a traffic generator
+The following code implements a traffic generator:
.Pp
.Bd -literal -compact
#include <net/netmap_user.h>
@@ -1020,7 +1020,8 @@ void sender(void)
}
.Ed
.Ss HELPER FUNCTIONS
-A simple receiver can be implemented using the helper functions
+A simple receiver can be implemented using the helper functions:
+.Pp
.Bd -literal -compact
#define NETMAP_WITH_LIBS
#include <net/netmap_user.h>
@@ -1049,6 +1050,7 @@ it is possible to do packet forwarding between ports
swapping buffers.
The buffer from the transmit ring is used
to replenish the receive ring:
+.Pp
.Bd -literal -compact
uint32_t tmp;
struct netmap_slot *src, *dst;
More information about the svn-src-all
mailing list