aboutsummaryrefslogtreecommitdiff
path: root/sys/netgraph/netgraph.h
diff options
context:
space:
mode:
authorJake Burkholder <jake@FreeBSD.org>2000-05-26 02:09:24 +0000
committerJake Burkholder <jake@FreeBSD.org>2000-05-26 02:09:24 +0000
commite39756439c7255bc16ba14b7b991cb01ba1c93bd (patch)
tree112dfed9c5841280f457e0dca97e8de49e04ecd9 /sys/netgraph/netgraph.h
parent13c6acf19de074f64f9ff031a2e5e660c7957fd2 (diff)
downloadsrc-e39756439c7255bc16ba14b7b991cb01ba1c93bd.tar.gz
src-e39756439c7255bc16ba14b7b991cb01ba1c93bd.zip
Back out the previous change to the queue(3) interface.
It was not discussed and should probably not happen. Requested by: msmith and others
Notes
Notes: svn path=/head/; revision=60938
Diffstat (limited to 'sys/netgraph/netgraph.h')
-rw-r--r--sys/netgraph/netgraph.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/netgraph/netgraph.h b/sys/netgraph/netgraph.h
index 89e955f6b4c4..7b044095415a 100644
--- a/sys/netgraph/netgraph.h
+++ b/sys/netgraph/netgraph.h
@@ -61,7 +61,7 @@ struct ng_hook {
int refs; /* dont actually free this till 0 */
struct ng_hook *peer; /* the other end of this link */
struct ng_node *node; /* The node this hook is attached to */
- LIST_ENTRY(struct ng_hook) hooks; /* linked list of all hooks on node */
+ LIST_ENTRY(ng_hook) hooks; /* linked list of all hooks on node */
};
typedef struct ng_hook *hook_p;
@@ -81,9 +81,9 @@ struct ng_node {
int colour; /* for graph colouring algorithms */
void *private; /* node type dependant node ID */
ng_ID_t ID; /* Unique per node */
- LIST_HEAD(hooks, struct ng_hook) hooks; /* linked list of node hooks */
- LIST_ENTRY(struct ng_node) nodes; /* linked list of all nodes */
- LIST_ENTRY(struct ng_node) idnodes; /* ID hash collision list */
+ LIST_HEAD(hooks, ng_hook) hooks; /* linked list of node hooks */
+ LIST_ENTRY(ng_node) nodes; /* linked list of all nodes */
+ LIST_ENTRY(ng_node) idnodes; /* ID hash collision list */
};
typedef struct ng_node *node_p;
@@ -177,7 +177,7 @@ struct ng_type {
const struct ng_cmdlist *cmdlist; /* commands we can convert */
/* R/W data private to the base netgraph code DON'T TOUCH! */
- LIST_ENTRY(struct ng_type) types; /* linked list of all types */
+ LIST_ENTRY(ng_type) types; /* linked list of all types */
int refs; /* number of instances */
};