summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/netgraph.h
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2005-05-13 11:35:02 +0000
committerglebius <glebius@FreeBSD.org>2005-05-13 11:35:02 +0000
commitcbfa8be50b1ff837df58c0dd07675578a2fd5bc6 (patch)
treea319223fd4c84b9662f53f52fc519192a81f616e /sys/netgraph/netgraph.h
parent67a392cd252956828d37fc77abc33af097ddbba0 (diff)
downloadFreeBSD-src-cbfa8be50b1ff837df58c0dd07675578a2fd5bc6.zip
FreeBSD-src-cbfa8be50b1ff837df58c0dd07675578a2fd5bc6.tar.gz
Since there is no way to queue a function call to node, create
ng_queue_fn() - a queue version of ng_send_fn().
Diffstat (limited to 'sys/netgraph/netgraph.h')
-rw-r--r--sys/netgraph/netgraph.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netgraph/netgraph.h b/sys/netgraph/netgraph.h
index 415b5d4..c2d580f 100644
--- a/sys/netgraph/netgraph.h
+++ b/sys/netgraph/netgraph.h
@@ -1077,6 +1077,8 @@ int ng_rmtype(struct ng_type *tp);
int ng_snd_item(item_p item, int queue);
int ng_send_fn(node_p node, hook_p hook, ng_item_fn *fn,
void *arg1, int arg2);
+int ng_queue_fn(node_p node, hook_p hook, ng_item_fn *fn,
+ void *arg1, int arg2);
int ng_uncallout(struct callout *c, node_p node);
int ng_callout(struct callout *c, node_p node, hook_p hook, int ticks,
ng_item_fn *fn, void * arg1, int arg2);
OpenPOWER on IntegriCloud