summaryrefslogtreecommitdiffstats
path: root/sys/net/if_tun.h
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1996-02-06 18:51:28 +0000
committerwollman <wollman@FreeBSD.org>1996-02-06 18:51:28 +0000
commit25ee6cca2a6483ef8d489b2eb60f0fbe475a32f2 (patch)
treee789decafa3124e34fc14cb210cda149ccb87570 /sys/net/if_tun.h
parent2dfb2421458a36326af35171e59f21fbf98ab24f (diff)
downloadFreeBSD-src-25ee6cca2a6483ef8d489b2eb60f0fbe475a32f2.zip
FreeBSD-src-25ee6cca2a6483ef8d489b2eb60f0fbe475a32f2.tar.gz
Clean up Ethernet drivers:
- fill in and use ifp->if_softc - use if_bpf rather than private cookie variables - change bpf interface to take advantage of this - call ether_ifattach() directly from Ethernet drivers - delete kludge in if_attach() that did this indirectly
Diffstat (limited to 'sys/net/if_tun.h')
-rw-r--r--sys/net/if_tun.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/net/if_tun.h b/sys/net/if_tun.h
index b287636..abf184c 100644
--- a/sys/net/if_tun.h
+++ b/sys/net/if_tun.h
@@ -36,9 +36,6 @@ struct tun_softc {
int tun_pgrp; /* the process group - if any */
struct selinfo tun_rsel; /* read select */
struct selinfo tun_wsel; /* write select (not used) */
-#if NBPFILTER > 0
- caddr_t tun_bpf;
-#endif
};
/* Maximum packet size */
OpenPOWER on IntegriCloud