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:
parent
04dda605c5
commit
1e1e1fce56
@ -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) */
|
||||
|
Loading…
x
Reference in New Issue
Block a user