summaryrefslogtreecommitdiffstats
path: root/sys/net/iso88025.h
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2003-03-15 22:52:23 +0000
committermdodd <mdodd@FreeBSD.org>2003-03-15 22:52:23 +0000
commit3f4c96a9a0b5b5749c4b86502c9e3d30025b4cc7 (patch)
treef27f662c9dbef2a33b267a27559de1c6a33dc84d /sys/net/iso88025.h
parent5ad71fcdc126b761aee7fd6be186e2e70a1030f5 (diff)
downloadFreeBSD-src-3f4c96a9a0b5b5749c4b86502c9e3d30025b4cc7.zip
FreeBSD-src-3f4c96a9a0b5b5749c4b86502c9e3d30025b4cc7.tar.gz
iso88025_ifattach() changes:
- Call if_attach(). - Conditionally call bpfattach() based on second function argument.
Diffstat (limited to 'sys/net/iso88025.h')
-rw-r--r--sys/net/iso88025.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/net/iso88025.h b/sys/net/iso88025.h
index 71f2238..f463647 100644
--- a/sys/net/iso88025.h
+++ b/sys/net/iso88025.h
@@ -131,7 +131,10 @@ struct iso88025_addr {
#define ISO88025_MAX_MTU 18000
#define ISO88025_DEFAULT_MTU 1500
-void iso88025_ifattach (struct ifnet *);
+#define ISO88025_BPF_UNSUPPORTED 0
+#define ISO88025_BPF_SUPPORTED 1
+
+void iso88025_ifattach (struct ifnet *, int);
void iso88025_ifdetach (struct ifnet *, int);
int iso88025_ioctl (struct ifnet *, int , caddr_t );
int iso88025_output (struct ifnet *, struct mbuf *, struct sockaddr *,
OpenPOWER on IntegriCloud