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.
This commit is contained in:
Ceri Davies 2006-01-06 19:39:16 +00:00
parent 04dda605c5
commit 1e1e1fce56
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=154080

View file

@ -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) */