summaryrefslogtreecommitdiff
path: root/sys/netnatm/natm.h
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>1997-10-11 01:32:09 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>1997-10-11 01:32:09 +0000
commit8f54a36a6de65c4753af43746e3c40fe506d8e93 (patch)
tree8b35f9b507f9d86f6a62c474cc7c190b1e2fde39 /sys/netnatm/natm.h
parente83f95146815c2b8bab31b4f08b190bc198bc86f (diff)
Keep the ifdef for NetBSD.
Diffstat (limited to 'sys/netnatm/natm.h')
-rw-r--r--sys/netnatm/natm.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/netnatm/natm.h b/sys/netnatm/natm.h
index 89b0b75662a..77aa048c3fe 100644
--- a/sys/netnatm/natm.h
+++ b/sys/netnatm/natm.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: natm.h,v 1.4 1997/10/11 01:21:17 angelos Exp $ */
+/* $OpenBSD: natm.h,v 1.5 1997/10/11 01:32:08 angelos Exp $ */
/*
*
@@ -138,8 +138,13 @@ void npcb_free __P((struct natmpcb *, int));
struct natmpcb *npcb_add __P((struct natmpcb *, struct ifnet *, int, int));
/* natm.c */
+#if defined(__NetBSD__)
+int natm_usrreq __P((struct socket *, int, struct mbuf *,
+ struct mbuf *, struct mbuf *, struct proc *));
+#elif defined(__OpenBSD__) || defined(FreeBSD)
int natm_usrreq __P((struct socket *, int, struct mbuf *,
struct mbuf *, struct mbuf *));
+#endif
int natm0_sysctl __P((int *, u_int, void *, size_t *, void *, size_t));
int natm5_sysctl __P((int *, u_int, void *, size_t *, void *, size_t));
void natmintr __P((void));