summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-01-09 15:20:58 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-01-09 15:20:58 +0000
commitadefd3f66c76c76793d743833d6103268e711c97 (patch)
tree253de32d8705a5248c83e06b07a11d14d1cb8d3c
parent13403f7fd8dbea17ee49f8a7f01bbea87f7853ea (diff)
Notes
-rw-r--r--share/man/man4/netgraph.46
1 files changed, 2 insertions, 4 deletions
diff --git a/share/man/man4/netgraph.4 b/share/man/man4/netgraph.4
index 4f1b057c21ca..a74a1b040307 100644
--- a/share/man/man4/netgraph.4
+++ b/share/man/man4/netgraph.4
@@ -601,7 +601,7 @@ Structures are defined in
and
.Pa sys/netgraph/ng_message.h
(for message definitions also of interest to user programs).
-
+.Pp
The two basic object types that are of interest to node authors are
.Em nodes
and
@@ -609,7 +609,6 @@ and
These two objects have the following
properties that are also of interest to the node writers.
.Bl -tag -width xxx
-./.Bl -bullet -compact -offset 2n
.It struct ng_node
Node authors should always use the following typedef to declare
their pointers, and should never actually declare the structure.
@@ -619,7 +618,6 @@ typedef struct ng_node *node_p;
The following properties are associated with a node, and can be
accessed in the following manner:
.Bl -bullet -compact -offset 2n
-./.Bl -tag -width xxx
.Pp
.It
Validity
@@ -697,7 +695,6 @@ typedef struct ng_hook *hook_p;
The following properties are associated with a hook, and can be
accessed in the following manner:
.Bl -bullet -compact -offset 2n
-./.Bl -tag -width xxx
.Pp
.It
A node dependent opaque cookie.
@@ -755,6 +752,7 @@ a node, it is possible to traverse all the active hooks.
A current example of how to define a node can always be seen in
.Em sys/netgraph/ng_sample.c
and should be used as a starting point for new node writers.
+.El
.Sh Netgraph Message Structure
Control messages have the following structure:
.Bd -literal