diff options
author | brooks <brooks@FreeBSD.org> | 2001-09-26 23:50:17 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2001-09-26 23:50:17 +0000 |
commit | 375454f578bc844afecdc4726c1c0e71b42666b9 (patch) | |
tree | 88725114e0a34bf834a02b17a64b75614573d795 /sys/net/if_gif.h | |
parent | e8d737fac928d0d8d0832ffaa84c7e3fc8264d8a (diff) | |
download | FreeBSD-src-375454f578bc844afecdc4726c1c0e71b42666b9.zip FreeBSD-src-375454f578bc844afecdc4726c1c0e71b42666b9.tar.gz |
/home/brooks/ng_gif.message
Diffstat (limited to 'sys/net/if_gif.h')
-rw-r--r-- | sys/net/if_gif.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/net/if_gif.h b/sys/net/if_gif.h index 40626e2..fffad5f 100644 --- a/sys/net/if_gif.h +++ b/sys/net/if_gif.h @@ -47,6 +47,14 @@ struct encaptab; +extern void (*ng_gif_input_p)(struct ifnet *ifp, struct mbuf **mp, + int af); +extern void (*ng_gif_input_orphan_p)(struct ifnet *ifp, struct mbuf *m, + int af); +extern int (*ng_gif_output_p)(struct ifnet *ifp, struct mbuf **mp); +extern void (*ng_gif_attach_p)(struct ifnet *ifp); +extern void (*ng_gif_detach_p)(struct ifnet *ifp); + struct gif_softc { struct ifnet gif_if; /* common area - must be at the top */ struct sockaddr *gif_psrc; /* Physical src addr */ @@ -61,6 +69,7 @@ struct gif_softc { const struct encaptab *encap_cookie4; const struct encaptab *encap_cookie6; struct resource *r_unit; /* resource allocated for this unit */ + void *gif_netgraph; /* ng_gif(4) netgraph node info */ LIST_ENTRY(gif_softc) gif_link; /* all gif's are linked */ }; |