summaryrefslogtreecommitdiff
path: root/sys/netns/spp_var.h
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-03-04 08:20:36 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-03-04 08:20:36 +0000
commit92cdd22ea0b6e6726ed0f81d2d9acd458ee929e6 (patch)
treee70710a7096df97500809f354b7fe982ec043c8c /sys/netns/spp_var.h
parentadf1528ae6bd8dbe337c45c0a67cac4d76b1635f (diff)
From NetBSD: 960217 merge
Diffstat (limited to 'sys/netns/spp_var.h')
-rw-r--r--sys/netns/spp_var.h34
1 files changed, 31 insertions, 3 deletions
diff --git a/sys/netns/spp_var.h b/sys/netns/spp_var.h
index 51104d4f7d5..5710e737e94 100644
--- a/sys/netns/spp_var.h
+++ b/sys/netns/spp_var.h
@@ -1,4 +1,5 @@
-/* $NetBSD: spp_var.h,v 1.5 1995/03/26 20:36:23 jtc Exp $ */
+/* $OpenBSD: spp_var.h,v 1.2 1996/03/04 08:20:35 niklas Exp $ */
+/* $NetBSD: spp_var.h,v 1.6 1996/02/13 22:14:16 christos Exp $ */
/*
* Copyright (c) 1984, 1985, 1986, 1987, 1993
@@ -193,8 +194,35 @@ struct spp_istat spp_istat;
#endif
u_short spp_iss;
-extern struct sppcb *spp_close(), *spp_disconnect(),
- *spp_usrclosed(), *spp_timers(), *spp_drop();
+struct sppcb;
+struct spidp;
+
+/* spp_debug.c */
+void spp_trace __P((int, u_int, struct sppcb *, struct spidp *, int));
+
+/* spp_usrreq.c */
+void spp_init __P((void));
+void spp_input __P((struct mbuf *, ...));
+int spp_reass __P((struct sppcb *, struct spidp *));
+void *spp_ctlinput __P((int, struct sockaddr *, void *));
+void spp_quench __P((struct nspcb *));
+int spp_fixmtu __P((struct nspcb *));
+int spp_output __P((struct mbuf *, ...));
+void spp_setpersist __P((struct sppcb *));
+int spp_ctloutput __P((int, struct socket *, int, int, struct mbuf **));
+int spp_usrreq __P((struct socket *, int, struct mbuf *, struct mbuf *,
+ struct mbuf *));
+int spp_usrreq_sp __P((struct socket *, int, struct mbuf *, struct mbuf *,
+ struct mbuf *));
+void spp_template __P((struct sppcb *));
+struct sppcb *spp_close __P((struct sppcb *));
+struct sppcb *spp_usrclosed __P((struct sppcb *));
+struct sppcb *spp_disconnect __P((struct sppcb *));
+struct sppcb *spp_drop __P((struct sppcb *, int));
+void spp_abort __P((struct nspcb *));
+void spp_fasttimo __P((void));
+void spp_slowtimo __P((void));
+struct sppcb *spp_timers __P((struct sppcb *, long));
#endif
#define SPP_ISSINCR 128