summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_echo.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1999-11-01 10:00:40 +0000
committerjulian <julian@FreeBSD.org>1999-11-01 10:00:40 +0000
commit3127cac2f7f22981915fe2bcd980775447b99fba (patch)
treee51cd4a7d79e5013c4c1c3ac7c3d0f44842f89b6 /sys/netgraph/ng_echo.c
parent244fe162cc15cf5fc410c04d9cea91e1b8dbbf3c (diff)
downloadFreeBSD-src-3127cac2f7f22981915fe2bcd980775447b99fba.zip
FreeBSD-src-3127cac2f7f22981915fe2bcd980775447b99fba.tar.gz
Add typedefs for node methods
Suggested by phk.
Diffstat (limited to 'sys/netgraph/ng_echo.c')
-rw-r--r--sys/netgraph/ng_echo.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/netgraph/ng_echo.c b/sys/netgraph/ng_echo.c
index ed69f9c..a834659 100644
--- a/sys/netgraph/ng_echo.c
+++ b/sys/netgraph/ng_echo.c
@@ -37,7 +37,7 @@
* Author: Julian Elisher <julian@whistle.com>
*
* $FreeBSD$
- * $Whistle: ng_echo.c,v 1.11 1999/01/28 23:54:53 julian Exp $
+ * $Whistle: ng_echo.c,v 1.13 1999/11/01 09:24:51 julian Exp $
*/
/*
@@ -58,10 +58,9 @@
#include <netgraph/ng_echo.h>
/* Netgraph methods */
-static int nge_rcvmsg(node_p node, struct ng_mesg *msg,
- const char *retaddr, struct ng_mesg ** resp);
-static int nge_rcvdata(hook_p hook, struct mbuf *m, meta_p meta);
-static int nge_disconnect(hook_p hook);
+static ng_rcvmsg_t nge_rcvmsg;
+static ng_rcvdata_t nge_rcvdata;
+static ng_disconnect_t nge_disconnect;
/* Netgraph type */
static struct ng_type typestruct = {
OpenPOWER on IntegriCloud