summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/netgraph.h
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2008-09-22 19:28:18 +0000
committerthompsa <thompsa@FreeBSD.org>2008-09-22 19:28:18 +0000
commita689a9e9146d06326e1194f1798a5000c749f7cd (patch)
tree744811d7ec07ee8c995cd5af46916302d7a5a182 /sys/netgraph/netgraph.h
parent1475e942ed4a544d79230d9b2774b0e79f9189cd (diff)
downloadFreeBSD-src-a689a9e9146d06326e1194f1798a5000c749f7cd.zip
FreeBSD-src-a689a9e9146d06326e1194f1798a5000c749f7cd.tar.gz
Add ng_rmnode_flags() so the caller can pass NG_QUEUE and have the node
destroyed asynchronously due to locking or other constraints. Reviewed by: julian
Diffstat (limited to 'sys/netgraph/netgraph.h')
-rw-r--r--sys/netgraph/netgraph.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netgraph/netgraph.h b/sys/netgraph/netgraph.h
index 70472d7..53fab56 100644
--- a/sys/netgraph/netgraph.h
+++ b/sys/netgraph/netgraph.h
@@ -1130,6 +1130,7 @@ item_p ng_package_msg(struct ng_mesg *msg, int flags);
item_p ng_package_msg_self(node_p here, hook_p hook, struct ng_mesg *msg);
void ng_replace_retaddr(node_p here, item_p item, ng_ID_t retaddr);
int ng_rmhook_self(hook_p hook); /* if a node wants to kill a hook */
+int ng_rmnode_flags(node_p here, int flags);
int ng_rmnode_self(node_p here); /* if a node wants to suicide */
int ng_rmtype(struct ng_type *tp);
int ng_snd_item(item_p item, int queue);
OpenPOWER on IntegriCloud