diff options
author | julian <julian@FreeBSD.org> | 1999-11-01 10:00:40 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 1999-11-01 10:00:40 +0000 |
commit | 3127cac2f7f22981915fe2bcd980775447b99fba (patch) | |
tree | e51cd4a7d79e5013c4c1c3ac7c3d0f44842f89b6 /sys/netgraph/ng_iface.c | |
parent | 244fe162cc15cf5fc410c04d9cea91e1b8dbbf3c (diff) | |
download | FreeBSD-src-3127cac2f7f22981915fe2bcd980775447b99fba.zip FreeBSD-src-3127cac2f7f22981915fe2bcd980775447b99fba.tar.gz |
Add typedefs for node methods
Suggested by phk.
Diffstat (limited to 'sys/netgraph/ng_iface.c')
-rw-r--r-- | sys/netgraph/ng_iface.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/sys/netgraph/ng_iface.c b/sys/netgraph/ng_iface.c index d849be1..ee985b5 100644 --- a/sys/netgraph/ng_iface.c +++ b/sys/netgraph/ng_iface.c @@ -37,7 +37,7 @@ * Author: Archie Cobbs <archie@whistle.com> * * $FreeBSD$ - * $Whistle: ng_iface.c,v 1.31 1999/02/02 22:27:28 archie Exp $ + * $Whistle: ng_iface.c,v 1.33 1999/11/01 09:24:51 julian Exp $ */ /* @@ -180,13 +180,12 @@ static void ng_iface_print_ioctl(struct ifnet *ifp, int cmd, caddr_t data); #endif /* Netgraph methods */ -static int ng_iface_constructor(node_p *nodep); -static int ng_iface_rcvmsg(node_p node, struct ng_mesg *msg, - const char *retaddr, struct ng_mesg **resp); -static int ng_iface_rmnode(node_p node); -static int ng_iface_newhook(node_p node, hook_p hook, const char *name); -static int ng_iface_rcvdata(hook_p hook, struct mbuf *m, meta_p meta); -static int ng_iface_disconnect(hook_p hook); +static ng_constructor_t ng_iface_constructor; +static ng_rcvmsg_t ng_iface_rcvmsg; +static ng_shutdown_t ng_iface_rmnode; +static ng_newhook_t ng_iface_newhook; +static ng_rcvdata_t ng_iface_rcvdata; +static ng_disconnect_t ng_iface_disconnect; /* Helper stuff */ static iffam_p get_iffam_from_af(int af); |