summaryrefslogtreecommitdiffstats
path: root/sys/net/bpf.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-11-04 13:25:33 +0000
committerbde <bde@FreeBSD.org>1995-11-04 13:25:33 +0000
commit336a6f070b228b59f25b26ea4de3ac0ff1c7160f (patch)
tree6f35ae0e7caade790223565873d04a0f034c5822 /sys/net/bpf.h
parent246c28b0f93b97b2c3c8dd1984ec68e01343a509 (diff)
downloadFreeBSD-src-336a6f070b228b59f25b26ea4de3ac0ff1c7160f.zip
FreeBSD-src-336a6f070b228b59f25b26ea4de3ac0ff1c7160f.tar.gz
Moved prototypes for devswitch functions from conf.c and driver sources
to <machine/conf.h>. conf.h was mechanically generated by `grep ^d_ conf.c >conf.h'. This accounts for part of its ugliness. The prototypes should be moved back to the driver sources when the functions are staticalized.
Diffstat (limited to 'sys/net/bpf.h')
-rw-r--r--sys/net/bpf.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/net/bpf.h b/sys/net/bpf.h
index 8ac0ed0..2be8635 100644
--- a/sys/net/bpf.h
+++ b/sys/net/bpf.h
@@ -37,7 +37,7 @@
*
* @(#)bpf.h 8.1 (Berkeley) 6/10/93
*
- * $Id: bpf.h,v 1.5 1995/06/15 18:10:59 pst Exp $
+ * $Id: bpf.h,v 1.6 1995/09/08 11:08:55 bde Exp $
*/
#ifndef _NET_BPF_H_
@@ -239,12 +239,6 @@ struct bpf_insn {
#ifdef KERNEL
int bpf_validate __P((struct bpf_insn *, int));
-int bpfopen __P((dev_t, int, int, struct proc *));
-int bpfclose __P((dev_t, int, int, struct proc *));
-int bpfread __P((dev_t, struct uio *, int));
-int bpfwrite __P((dev_t, struct uio *, int));
-int bpfioctl __P((dev_t, int, caddr_t, int, struct proc *));
-int bpf_select __P((dev_t, int, struct proc *));
void bpf_tap __P((caddr_t, u_char *, u_int));
void bpf_mtap __P((caddr_t, struct mbuf *));
void bpfattach __P((caddr_t *, struct ifnet *, u_int, u_int));
OpenPOWER on IntegriCloud