summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2004-10-07 10:59:09 +0000
committerglebius <glebius@FreeBSD.org>2004-10-07 10:59:09 +0000
commit7552c3e8f736094ca96bd989ae6119a18a7e3799 (patch)
treed136ebed43276c81f96e57579209e876e001065a /share
parent91593d1f675bfdafbb5502a5c5793e268a5994c0 (diff)
downloadFreeBSD-src-7552c3e8f736094ca96bd989ae6119a18a7e3799.zip
FreeBSD-src-7552c3e8f736094ca96bd989ae6119a18a7e3799.tar.gz
Mdoc and grammar fixes.
Submitted by: ru
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/rtalloc.916
1 files changed, 9 insertions, 7 deletions
diff --git a/share/man/man9/rtalloc.9 b/share/man/man9/rtalloc.9
index a5184da..f323b93 100644
--- a/share/man/man9/rtalloc.9
+++ b/share/man/man9/rtalloc.9
@@ -98,8 +98,8 @@ struct route {
struct sockaddr ro_dst;
struct rtentry *ro_rt;
};
-.Pp
.Ed
+.Pp
Thus, this function can only be used for address families which are
smaller than the default
.Dq Li "struct sockaddr" .
@@ -134,13 +134,13 @@ argument, which lists the flags in the route which are to be
.Em ignored
(in most cases this is
.Dv RTF_CLONING
-flag) .
+flag).
Both
.Fn rtalloc
and
.Fn rtalloc_ign
-functions return an unlocked
-.Ft "struct rtentry" .
+functions return a pointer to an unlocked
+.Vt "struct rtentry" .
.Pp
The
.Fn rtalloc1
@@ -173,15 +173,17 @@ The third argument,
.Fa flags ,
is a set of flags to ignore, as in
.Fn rtalloc_ign .
+The
.Fn rtalloc1
-returns a locked
-.Ft "struct rtentry" .
+returns a pointer to a locked
+.Vt "struct rtentry" .
.Pp
The
.Fn rtfree
-function frees a locked route entry, e.g. previously allocated by
+function frees a locked route entry, e.g. a previously allocated by
.Fn rtalloc1 .
.Pp
+The
.Fn RTFREE
macro is used to free unlocked route entries, previously allocated by
.Fn rtalloc
OpenPOWER on IntegriCloud