summaryrefslogtreecommitdiffstats
path: root/lib/libnetgraph/netgraph.3
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2000-06-21 23:01:07 +0000
committerarchie <archie@FreeBSD.org>2000-06-21 23:01:07 +0000
commit8bd069edd69b70e3312829e2c8fc645c8f38ab51 (patch)
treec6e999b0c61eb91c640ef60b4e3313eefbfad299 /lib/libnetgraph/netgraph.3
parent369e860f9ccf2363276633699acfd47eb38cd964 (diff)
downloadFreeBSD-src-8bd069edd69b70e3312829e2c8fc645c8f38ab51.zip
FreeBSD-src-8bd069edd69b70e3312829e2c8fc645c8f38ab51.tar.gz
- Make sure the message token returned by NgSendMsg() is non-negative
- Have NgSendAsciiMsg() return the same token as NgSendMsg() - Document that NgSendMsg() and NgSendAsciiMsg() return the token - Add MLINKS for the functions defined in netgraph(3)
Diffstat (limited to 'lib/libnetgraph/netgraph.3')
-rw-r--r--lib/libnetgraph/netgraph.35
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libnetgraph/netgraph.3 b/lib/libnetgraph/netgraph.3
index f5df174..67a0370 100644
--- a/lib/libnetgraph/netgraph.3
+++ b/lib/libnetgraph/netgraph.3
@@ -124,6 +124,8 @@ The
.Fa cmd ,
and argument data are defined by the header file corresponding
to the type of the node being addressed.
+The unique, non-negative token value chosen for use in the message
+header is returned. This value is typically used to associate replies.
.Pp
Use
.Fn NgSendMsgReply
@@ -147,6 +149,9 @@ string to the node in a
control message. The node returns a binary version of the
message, which is then sent back to the node just as with
.Fn NgSendMsg .
+As with
+.Fn NgSendMsg ,
+the message token value is returned.
Note that
.Tn ASCII
conversion may not be supported by all node types.
OpenPOWER on IntegriCloud