summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorceri <ceri@FreeBSD.org>2006-01-06 19:39:16 +0000
committerceri <ceri@FreeBSD.org>2006-01-06 19:39:16 +0000
commit4882287a5eab96e94b96d583e9a287e1fd4e4aed (patch)
tree609592ff4272d6f42f0202ae4aa31989a2a5a766 /lib
parent170b22254d46fd33c4a684276f37ca2d6aefb956 (diff)
downloadFreeBSD-src-4882287a5eab96e94b96d583e9a287e1fd4e4aed.zip
FreeBSD-src-4882287a5eab96e94b96d583e9a287e1fd4e4aed.tar.gz
o Document the possibility of putting 'b' in the flag field.
While we don't use the NC_BROADCAST value of nc_flag anywhere in the RPC code, it is parseable by getnetconfigent(3) from /etc/netconfig. o Clean up some "see below"'s that were cut and pasted from netconfig.h.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/rpc/netconfig.516
1 files changed, 11 insertions, 5 deletions
diff --git a/lib/libc/rpc/netconfig.5 b/lib/libc/rpc/netconfig.5
index 25738bc..df5e3d1 100644
--- a/lib/libc/rpc/netconfig.5
+++ b/lib/libc/rpc/netconfig.5
@@ -43,11 +43,17 @@ A raw connection.
.It Ar flags
This field is either blank (specified by
.Dq Li - ) ,
-or contains a
-.Dq Li v ,
-meaning visible to the
+or contains one or more of the following characters:
+.Bl -tag -width b -offset indent
+.It Sy b
+The network represented by this entry is broadcast capable.
+This flag is meaningless in
+.Fx .
+.It Sy v
+The entry is visible to, and will be returned by, the
.Xr getnetconfig 3
function.
+.El
.It Ar family
The protocol family of the transport.
This is currently one of:
@@ -107,8 +113,8 @@ the following format:
.Bd -literal
struct netconfig {
char *nc_netid; /* Network ID */
- unsigned long nc_semantics; /* Semantics (see below) */
- unsigned long nc_flag; /* Flags (see below) */
+ unsigned long nc_semantics; /* Semantics */
+ unsigned long nc_flag; /* Flags */
char *nc_protofmly; /* Protocol family */
char *nc_proto; /* Protocol name */
char *nc_device; /* Network device pathname (unused) */
OpenPOWER on IntegriCloud