summaryrefslogtreecommitdiff
path: root/sys/netgraph/ng_source.c
diff options
context:
space:
mode:
authorHartmut Brandt <harti@FreeBSD.org>2004-01-26 14:14:09 +0000
committerHartmut Brandt <harti@FreeBSD.org>2004-01-26 14:14:09 +0000
commit4321c5077cc8722a0f4d82dc020da7c72a30db23 (patch)
tree271b9dccb50d1044fe60030f77dbac5f5c4de1f3 /sys/netgraph/ng_source.c
parent87e2c66a6a23792e3598990f8f258ca7f52af928 (diff)
Notes
Diffstat (limited to 'sys/netgraph/ng_source.c')
-rw-r--r--sys/netgraph/ng_source.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netgraph/ng_source.c b/sys/netgraph/ng_source.c
index 78525e89672d..303f814f8e6d 100644
--- a/sys/netgraph/ng_source.c
+++ b/sys/netgraph/ng_source.c
@@ -116,7 +116,7 @@ static ng_disconnect_t ng_source_disconnect;
/* Other functions */
static timeout_t ng_source_intr;
-static void ng_source_request_output_ifp (sc_p);
+static int ng_source_request_output_ifp (sc_p);
static void ng_source_clr_data (sc_p);
static void ng_source_start (sc_p);
static void ng_source_stop (sc_p);
@@ -194,7 +194,7 @@ static const struct ng_cmdlist ng_source_cmds[] = {
/* Netgraph type descriptor */
static struct ng_type ng_source_typestruct = {
- NG_VERSION,
+ NG_ABI_VERSION,
NG_SOURCE_NODE_TYPE,
NULL, /* module event handler */
ng_source_constructor,
@@ -445,7 +445,7 @@ ng_source_disconnect(hook_p hook)
* Ask out neighbour on the output hook side to send us it's interface
* information.
*/
-static void
+static int
ng_source_request_output_ifp(sc_p sc)
{
struct ng_mesg *msg;