Mdoc and grammar fixes.

Submitted by:	ru
This commit is contained in:
Gleb Smirnoff 2004-10-07 10:59:09 +00:00
parent 729df1bb28
commit 650c2669ee

View File

@ -98,8 +98,8 @@ struct route {
struct sockaddr ro_dst; struct sockaddr ro_dst;
struct rtentry *ro_rt; struct rtentry *ro_rt;
}; };
.Pp
.Ed .Ed
.Pp
Thus, this function can only be used for address families which are Thus, this function can only be used for address families which are
smaller than the default smaller than the default
.Dq Li "struct sockaddr" . .Dq Li "struct sockaddr" .
@ -134,13 +134,13 @@ argument, which lists the flags in the route which are to be
.Em ignored .Em ignored
(in most cases this is (in most cases this is
.Dv RTF_CLONING .Dv RTF_CLONING
flag) . flag).
Both Both
.Fn rtalloc .Fn rtalloc
and and
.Fn rtalloc_ign .Fn rtalloc_ign
functions return an unlocked functions return a pointer to an unlocked
.Ft "struct rtentry" . .Vt "struct rtentry" .
.Pp .Pp
The The
.Fn rtalloc1 .Fn rtalloc1
@ -173,15 +173,17 @@ The third argument,
.Fa flags , .Fa flags ,
is a set of flags to ignore, as in is a set of flags to ignore, as in
.Fn rtalloc_ign . .Fn rtalloc_ign .
The
.Fn rtalloc1 .Fn rtalloc1
returns a locked returns a pointer to a locked
.Ft "struct rtentry" . .Vt "struct rtentry" .
.Pp .Pp
The The
.Fn rtfree .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 . .Fn rtalloc1 .
.Pp .Pp
The
.Fn RTFREE .Fn RTFREE
macro is used to free unlocked route entries, previously allocated by macro is used to free unlocked route entries, previously allocated by
.Fn rtalloc .Fn rtalloc