summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_rfc1490.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_rfc1490.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_rfc1490.c')
-rw-r--r--sys/netgraph/ng_rfc1490.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/sys/netgraph/ng_rfc1490.c b/sys/netgraph/ng_rfc1490.c
index 6bbdc41..7f9ca5d 100644
--- a/sys/netgraph/ng_rfc1490.c
+++ b/sys/netgraph/ng_rfc1490.c
@@ -37,7 +37,7 @@
* Author: Julian Elischer <julian@whistle.com>
*
* $FreeBSD$
- * $Whistle: ng_rfc1490.c,v 1.19 1999/01/28 23:54:53 julian Exp $
+ * $Whistle: ng_rfc1490.c,v 1.22 1999/11/01 09:24:52 julian Exp $
*/
/*
@@ -89,13 +89,12 @@ struct private {
typedef struct private *priv_p;
/* Netgraph node methods */
-static int ng_rfc1490_constructor(node_p * nodep);
-static int ng_rfc1490_rcvmsg(node_p node, struct ng_mesg * msg,
- const char *retaddr, struct ng_mesg **resp);
-static int ng_rfc1490_rmnode(node_p node);
-static int ng_rfc1490_newhook(node_p node, hook_p hook, const char *name);
-static int ng_rfc1490_rcvdata(hook_p hook, struct mbuf *m, meta_p meta);
-static int ng_rfc1490_disconnect(hook_p hook);
+static ng_constructor_t ng_rfc1490_constructor;
+static ng_rcvmsg_t ng_rfc1490_rcvmsg;
+static ng_shutdown_t ng_rfc1490_rmnode;
+static ng_newhook_t ng_rfc1490_newhook;
+static ng_rcvdata_t ng_rfc1490_rcvdata;
+static ng_disconnect_t ng_rfc1490_disconnect;
/* Node type descriptor */
static struct ng_type typestruct = {
OpenPOWER on IntegriCloud