summaryrefslogtreecommitdiffstats
path: root/sys/net/if_gif.h
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2001-07-02 21:02:09 +0000
committerbrooks <brooks@FreeBSD.org>2001-07-02 21:02:09 +0000
commite7b9bc714f516674681231706c48e6aaa41c1d52 (patch)
treec356b4fb3bb3f0b8afdc188117e65b43ba086e89 /sys/net/if_gif.h
parent1e69f4eb2364d7e5da7ca1d7cb99c3e77599e36d (diff)
downloadFreeBSD-src-e7b9bc714f516674681231706c48e6aaa41c1d52.zip
FreeBSD-src-e7b9bc714f516674681231706c48e6aaa41c1d52.tar.gz
gif(4) and stf(4) modernization:
- Remove gif dependencies from stf. - Make gif and stf into modules - Make gif cloneable. PR: kern/27983 Reviewed by: ru, ume Obtained from: NetBSD MFC after: 1 week
Diffstat (limited to 'sys/net/if_gif.h')
-rw-r--r--sys/net/if_gif.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/if_gif.h b/sys/net/if_gif.h
index 3978e7b..b4bcb24 100644
--- a/sys/net/if_gif.h
+++ b/sys/net/if_gif.h
@@ -60,6 +60,8 @@ struct gif_softc {
int gif_flags;
const struct encaptab *encap_cookie4;
const struct encaptab *encap_cookie6;
+ struct resource *r_unit; /* resource allocated for this unit */
+ TAILQ_ENTRY(gif_softc) gif_link; /* all gif's are linked */
};
#define gif_ro gifsc_gifscr.gifscr_ro
OpenPOWER on IntegriCloud