gif_softc
static void gif_clear_cache(struct gif_softc *sc);
struct gif_softc *sc;
sc = kmalloc (sizeof(struct gif_softc), M_GIF, M_WAITOK | M_ZERO);
gifattach0(struct gif_softc *sc)
struct gif_softc *sc = ifp->if_softc;
gif_clear_cache(struct gif_softc *sc)
struct gif_softc *sc;
sc = (struct gif_softc *)arg;
struct gif_softc *sc = (struct gif_softc *)ifp;
struct gif_softc *sc = (struct gif_softc*)ifp;
struct gif_softc *sc = (struct gif_softc *)ifp;
struct gif_softc *sc2;
struct gif_softc *sc = (struct gif_softc *)ifp;
LIST_HEAD(, gif_softc) gif_softc_list;
LIST_ENTRY(gif_softc) gif_list; /* all gif's are linked */
void gifattach0 (struct gif_softc *);
#define IFP2NG(ifp) ((struct ng_node *)((struct gif_softc *)(ifp->if_softc))->gif_netgraph)
#define IFP2NG_SET(ifp, val) (((struct gif_softc *)(ifp->if_softc))->gif_netgraph = (val))
gif_validate4(const struct ip *ip, struct gif_softc *sc, struct ifnet *ifp)
struct gif_softc *sc;
sc = (struct gif_softc *)arg;
in_gif_attach(struct gif_softc *sc)
in_gif_detach(struct gif_softc *sc)
static int gif_validate4 (const struct ip *, struct gif_softc *,
struct gif_softc *sc = (struct gif_softc*)ifp;
struct gif_softc;
int in_gif_attach (struct gif_softc *);
int in_gif_detach (struct gif_softc *);
gif_validate6(const struct ip6_hdr *ip6, struct gif_softc *sc,
struct gif_softc *sc;
sc = (struct gif_softc *)arg;
in6_gif_attach(struct gif_softc *sc)
in6_gif_detach(struct gif_softc *sc)
static int gif_validate6(const struct ip6_hdr *, struct gif_softc *,
struct gif_softc *sc = (struct gif_softc*)ifp;
struct gif_softc;
int in6_gif_attach (struct gif_softc *);
int in6_gif_detach (struct gif_softc *);