diff options
author | glebius <glebius@FreeBSD.org> | 2005-08-30 09:44:54 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2005-08-30 09:44:54 +0000 |
commit | 37e64fd444cca4bb35a47f956fc4cb5ce547948f (patch) | |
tree | 2bd14095f27784fb6e96f4402c2e386ce845f0d4 /sys/netgraph/netgraph.h | |
parent | 84287f0a2b18888bfa31a63ba9ae0b7919ee0f90 (diff) | |
download | FreeBSD-src-37e64fd444cca4bb35a47f956fc4cb5ce547948f.zip FreeBSD-src-37e64fd444cca4bb35a47f956fc4cb5ce547948f.tar.gz |
Add ng_callout_ini_mtx() macro.
Diffstat (limited to 'sys/netgraph/netgraph.h')
-rw-r--r-- | sys/netgraph/netgraph.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netgraph/netgraph.h b/sys/netgraph/netgraph.h index d0dc8f5..dc33e1f 100644 --- a/sys/netgraph/netgraph.h +++ b/sys/netgraph/netgraph.h @@ -1087,6 +1087,7 @@ 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); #define ng_callout_init(c) callout_init(c, CALLOUT_MPSAFE) +#define ng_callout_init_mtx(c,mtx) callout_init_mtx(c, mtx, 0) /* Flags for netgraph functions. */ #define NG_NOFLAGS 0x00000000 /* no special options */ |