summaryrefslogtreecommitdiffstats
path: root/sys/netccitt
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netccitt')
-rw-r--r--sys/netccitt/ccitt_proto.c1
-rw-r--r--sys/netccitt/dll.h6
-rw-r--r--sys/netccitt/hd_debug.c1
-rw-r--r--sys/netccitt/hd_input.c1
-rw-r--r--sys/netccitt/hd_output.c1
-rw-r--r--sys/netccitt/hd_subr.c1
-rw-r--r--sys/netccitt/hd_timer.c1
-rw-r--r--sys/netccitt/hd_var.h6
-rw-r--r--sys/netccitt/hdlc.h6
-rw-r--r--sys/netccitt/if_x25subr.c1
-rw-r--r--sys/netccitt/llc_input.c1
-rw-r--r--sys/netccitt/llc_output.c1
-rw-r--r--sys/netccitt/llc_subr.c1
-rw-r--r--sys/netccitt/llc_timer.c1
-rw-r--r--sys/netccitt/llc_var.h6
-rw-r--r--sys/netccitt/pk.h6
-rw-r--r--sys/netccitt/pk_acct.c1
-rw-r--r--sys/netccitt/pk_debug.c1
-rw-r--r--sys/netccitt/pk_input.c1
-rw-r--r--sys/netccitt/pk_llcsubr.c1
-rw-r--r--sys/netccitt/pk_output.c1
-rw-r--r--sys/netccitt/pk_subr.c1
-rw-r--r--sys/netccitt/pk_timer.c1
-rw-r--r--sys/netccitt/pk_usrreq.c1
-rw-r--r--sys/netccitt/pk_var.h6
-rw-r--r--sys/netccitt/x25.h6
-rw-r--r--sys/netccitt/x25acct.h6
-rw-r--r--sys/netccitt/x25err.h5
28 files changed, 71 insertions, 1 deletions
diff --git a/sys/netccitt/ccitt_proto.c b/sys/netccitt/ccitt_proto.c
index d832fd3..6204dcd 100644
--- a/sys/netccitt/ccitt_proto.c
+++ b/sys/netccitt/ccitt_proto.c
@@ -36,6 +36,7 @@
* SUCH DAMAGE.
*
* @(#)ccitt_proto.c 8.1 (Berkeley) 6/10/93
+ * $Id$
*/
#include <sys/param.h>
diff --git a/sys/netccitt/dll.h b/sys/netccitt/dll.h
index 46ded88..c283918 100644
--- a/sys/netccitt/dll.h
+++ b/sys/netccitt/dll.h
@@ -33,8 +33,12 @@
* SUCH DAMAGE.
*
* @(#)dll.h 8.1 (Berkeley) 6/10/93
+ * $Id: dll.h,v 1.2 1994/08/02 07:46:56 davidg Exp $
*/
+#ifndef _NETCCITT_DLL_H_
+#define _NETCCITT_DLL_H_
+
/*
* We define the additional PRC_* codes in here
*/
@@ -81,3 +85,5 @@ struct dll_ctlinfo {
#define dlcti_pcb CTLIun.CTLI_DOWN.dctli_down_pcb
#define dlcti_rt CTLIun.CTLI_DOWN.dctli_down_rt
#define dlcti_conf CTLIun.CTLI_DOWN.dctli_down_llconf
+
+#endif
diff --git a/sys/netccitt/hd_debug.c b/sys/netccitt/hd_debug.c
index b8a45a3..058a21c 100644
--- a/sys/netccitt/hd_debug.c
+++ b/sys/netccitt/hd_debug.c
@@ -36,6 +36,7 @@
* SUCH DAMAGE.
*
* @(#)hd_debug.c 8.1 (Berkeley) 6/10/93
+ * $Id$
*/
#include <sys/param.h>
diff --git a/sys/netccitt/hd_input.c b/sys/netccitt/hd_input.c
index eb939d0..9bdab0b 100644
--- a/sys/netccitt/hd_input.c
+++ b/sys/netccitt/hd_input.c
@@ -36,6 +36,7 @@
* SUCH DAMAGE.
*
* @(#)hd_input.c 8.1 (Berkeley) 6/10/93
+ * $Id$
*/
#include <sys/param.h>
diff --git a/sys/netccitt/hd_output.c b/sys/netccitt/hd_output.c
index 05992e1..c1db5f0 100644
--- a/sys/netccitt/hd_output.c
+++ b/sys/netccitt/hd_output.c
@@ -36,6 +36,7 @@
* SUCH DAMAGE.
*
* @(#)hd_output.c 8.1 (Berkeley) 6/10/93
+ * $Id$
*/
#include <sys/param.h>
diff --git a/sys/netccitt/hd_subr.c b/sys/netccitt/hd_subr.c
index c75ab07..7d05127 100644
--- a/sys/netccitt/hd_subr.c
+++ b/sys/netccitt/hd_subr.c
@@ -36,6 +36,7 @@
* SUCH DAMAGE.
*
* @(#)hd_subr.c 8.1 (Berkeley) 6/10/93
+ * $Id$
*/
#include <sys/param.h>
diff --git a/sys/netccitt/hd_timer.c b/sys/netccitt/hd_timer.c
index a3bf12a..8b2ede4 100644
--- a/sys/netccitt/hd_timer.c
+++ b/sys/netccitt/hd_timer.c
@@ -36,6 +36,7 @@
* SUCH DAMAGE.
*
* @(#)hd_timer.c 8.1 (Berkeley) 6/10/93
+ * $Id$
*/
#include <sys/param.h>
diff --git a/sys/netccitt/hd_var.h b/sys/netccitt/hd_var.h
index 5fefe08..24679ac 100644
--- a/sys/netccitt/hd_var.h
+++ b/sys/netccitt/hd_var.h
@@ -36,8 +36,12 @@
* SUCH DAMAGE.
*
* @(#)hd_var.h 8.1 (Berkeley) 6/10/93
+ * $Id: hd_var.h,v 1.2 1994/08/02 07:47:10 davidg Exp $
*/
+#ifndef _NETCCITT_HD_VAR_H_
+#define _NETCCITT_HD_VAR_H_
+
/*
*
* hdlc control block
@@ -105,3 +109,5 @@ int hd_t1; /* timer T1 value */
int hd_t3; /* RR send timer */
int hd_n2; /* frame retransmission limit */
#endif
+
+#endif
diff --git a/sys/netccitt/hdlc.h b/sys/netccitt/hdlc.h
index 60cf7ad..f7fd793 100644
--- a/sys/netccitt/hdlc.h
+++ b/sys/netccitt/hdlc.h
@@ -36,8 +36,12 @@
* SUCH DAMAGE.
*
* @(#)hdlc.h 8.1 (Berkeley) 6/10/93
+ * $Id: hdlc.h,v 1.2 1994/08/02 07:47:12 davidg Exp $
*/
+#ifndef _NETCCITT_HDLC_H_
+#define _NETCCITT_HDLC_H_
+
#ifndef ORDER4
#define FALSE 0
#define TRUE 1
@@ -154,3 +158,5 @@ struct Hdlc_frame {
bool range_check ();
bool valid_nr ();
struct mbuf *hd_remove ();
+
+#endif
diff --git a/sys/netccitt/if_x25subr.c b/sys/netccitt/if_x25subr.c
index 6f00496..68812f4 100644
--- a/sys/netccitt/if_x25subr.c
+++ b/sys/netccitt/if_x25subr.c
@@ -31,6 +31,7 @@
* SUCH DAMAGE.
*
* @(#)if_x25subr.c 8.1 (Berkeley) 6/10/93
+ * $Id$
*/
#include <sys/param.h>
diff --git a/sys/netccitt/llc_input.c b/sys/netccitt/llc_input.c
index 7a01973..94400c1 100644
--- a/sys/netccitt/llc_input.c
+++ b/sys/netccitt/llc_input.c
@@ -37,6 +37,7 @@
* SUCH DAMAGE.
*
* @(#)llc_input.c 8.1 (Berkeley) 6/10/93
+ * $Id$
*/
#include <sys/param.h>
diff --git a/sys/netccitt/llc_output.c b/sys/netccitt/llc_output.c
index 98d0328..aacba3d 100644
--- a/sys/netccitt/llc_output.c
+++ b/sys/netccitt/llc_output.c
@@ -37,6 +37,7 @@
* SUCH DAMAGE.
*
* @(#)llc_output.c 8.1 (Berkeley) 6/10/93
+ * $Id$
*/
#include <sys/param.h>
diff --git a/sys/netccitt/llc_subr.c b/sys/netccitt/llc_subr.c
index 46848fd..dd604a3 100644
--- a/sys/netccitt/llc_subr.c
+++ b/sys/netccitt/llc_subr.c
@@ -37,6 +37,7 @@
* SUCH DAMAGE.
*
* @(#)llc_subr.c 8.1 (Berkeley) 6/10/93
+ * $Id$
*/
#include <sys/param.h>
diff --git a/sys/netccitt/llc_timer.c b/sys/netccitt/llc_timer.c
index 0aecd08..06d3cf3 100644
--- a/sys/netccitt/llc_timer.c
+++ b/sys/netccitt/llc_timer.c
@@ -37,6 +37,7 @@
* SUCH DAMAGE.
*
* @(#)llc_timer.c 8.1 (Berkeley) 6/10/93
+ * $Id$
*/
#include <sys/param.h>
diff --git a/sys/netccitt/llc_var.h b/sys/netccitt/llc_var.h
index a27db52..f5452c1 100644
--- a/sys/netccitt/llc_var.h
+++ b/sys/netccitt/llc_var.h
@@ -37,8 +37,12 @@
* SUCH DAMAGE.
*
* @(#)llc_var.h 8.1 (Berkeley) 6/10/93
+ * $Id: llc_var.h,v 1.2 1994/08/02 07:47:25 davidg Exp $
*/
+#ifndef _NETCCITT_LLC_VAR_H_
+#define _NETCCITT_LLC_VAR_H_
+
#ifdef __STDC__
/*
* Forward structure declarations for function prototypes [sic].
@@ -656,4 +660,4 @@ int x25_llcglue __P((int, struct sockaddr *));
#endif
-
+#endif
diff --git a/sys/netccitt/pk.h b/sys/netccitt/pk.h
index 528e0a6..a1f8ebb 100644
--- a/sys/netccitt/pk.h
+++ b/sys/netccitt/pk.h
@@ -36,8 +36,12 @@
* SUCH DAMAGE.
*
* @(#)pk.h 8.1 (Berkeley) 6/10/93
+ * $Id: pk.h,v 1.2 1994/08/02 07:47:27 davidg Exp $
*/
+#ifndef _NETCCITT_PK_H_
+#define _NETCITT_PK_H_
+
/*
*
* X.25 Packet Level Definitions:
@@ -205,3 +209,5 @@ struct mbuf *pk_template ();
#define DTE_PRETENDDTE 0x0020
#define MAXRESTARTCOLLISIONS 10
+
+#endif
diff --git a/sys/netccitt/pk_acct.c b/sys/netccitt/pk_acct.c
index fccd875..e05cf69 100644
--- a/sys/netccitt/pk_acct.c
+++ b/sys/netccitt/pk_acct.c
@@ -36,6 +36,7 @@
* SUCH DAMAGE.
*
* @(#)pk_acct.c 8.1 (Berkeley) 6/10/93
+ * $Id$
*/
#include <sys/param.h>
diff --git a/sys/netccitt/pk_debug.c b/sys/netccitt/pk_debug.c
index b510355..338d167 100644
--- a/sys/netccitt/pk_debug.c
+++ b/sys/netccitt/pk_debug.c
@@ -36,6 +36,7 @@
* SUCH DAMAGE.
*
* @(#)pk_debug.c 8.1 (Berkeley) 6/10/93
+ * $Id$
*/
#include <sys/param.h>
diff --git a/sys/netccitt/pk_input.c b/sys/netccitt/pk_input.c
index 1f8f0bc..0438b84 100644
--- a/sys/netccitt/pk_input.c
+++ b/sys/netccitt/pk_input.c
@@ -39,6 +39,7 @@
* SUCH DAMAGE.
*
* @(#)pk_input.c 8.1 (Berkeley) 6/10/93
+ * $Id$
*/
#include <sys/param.h>
diff --git a/sys/netccitt/pk_llcsubr.c b/sys/netccitt/pk_llcsubr.c
index d8cc501..7269fb2 100644
--- a/sys/netccitt/pk_llcsubr.c
+++ b/sys/netccitt/pk_llcsubr.c
@@ -37,6 +37,7 @@
* SUCH DAMAGE.
*
* @(#)pk_llcsubr.c 8.1 (Berkeley) 6/10/93
+ * $Id$
*/
#include <sys/param.h>
diff --git a/sys/netccitt/pk_output.c b/sys/netccitt/pk_output.c
index ccc02a4..95b6026 100644
--- a/sys/netccitt/pk_output.c
+++ b/sys/netccitt/pk_output.c
@@ -39,6 +39,7 @@
* SUCH DAMAGE.
*
* @(#)pk_output.c 8.1 (Berkeley) 6/10/93
+ * $Id$
*/
#include <sys/param.h>
diff --git a/sys/netccitt/pk_subr.c b/sys/netccitt/pk_subr.c
index 44c43b6..ffbc857 100644
--- a/sys/netccitt/pk_subr.c
+++ b/sys/netccitt/pk_subr.c
@@ -39,6 +39,7 @@
* SUCH DAMAGE.
*
* @(#)pk_subr.c 8.1 (Berkeley) 6/10/93
+ * $Id$
*/
#include <sys/param.h>
diff --git a/sys/netccitt/pk_timer.c b/sys/netccitt/pk_timer.c
index 52c1860..4b7db0a 100644
--- a/sys/netccitt/pk_timer.c
+++ b/sys/netccitt/pk_timer.c
@@ -39,6 +39,7 @@
* SUCH DAMAGE.
*
* @(#)pk_timer.c 8.1 (Berkeley) 6/10/93
+ * $Id$
*/
#include <sys/param.h>
diff --git a/sys/netccitt/pk_usrreq.c b/sys/netccitt/pk_usrreq.c
index d0dc42c..1d1c0e7 100644
--- a/sys/netccitt/pk_usrreq.c
+++ b/sys/netccitt/pk_usrreq.c
@@ -39,6 +39,7 @@
* SUCH DAMAGE.
*
* @(#)pk_usrreq.c 8.1 (Berkeley) 6/10/93
+ * $Id$
*/
#include <sys/param.h>
diff --git a/sys/netccitt/pk_var.h b/sys/netccitt/pk_var.h
index beda05d..1690d2a 100644
--- a/sys/netccitt/pk_var.h
+++ b/sys/netccitt/pk_var.h
@@ -39,8 +39,12 @@
* SUCH DAMAGE.
*
* @(#)pk_var.h 8.1 (Berkeley) 6/10/93
+ * $Id: pk_var.h,v 1.2 1994/08/02 07:47:48 davidg Exp $
*/
+#ifndef _NETCCITT_PK_VAR_H_
+#define _NETCCITT_PK_VAR_H_
+
/*
*
* X.25 Logical Channel Descriptor
@@ -229,3 +233,5 @@ struct pklcd *pk_attach();
extern char *pk_name[], *pk_state[];
int pk_t20, pk_t21, pk_t22, pk_t23;
#endif
+
+#endif
diff --git a/sys/netccitt/x25.h b/sys/netccitt/x25.h
index e86af39..2d4a4f6 100644
--- a/sys/netccitt/x25.h
+++ b/sys/netccitt/x25.h
@@ -38,8 +38,12 @@
* SUCH DAMAGE.
*
* @(#)x25.h 8.1 (Berkeley) 6/10/93
+ * $Id: x25.h,v 1.2 1994/08/02 07:47:50 davidg Exp $
*/
+#ifndef _NETCCITT_X25_H_
+#define _NETCCITT_X25_H_
+
#ifdef KERNEL
#define PRC_IFUP 3
#define PRC_LINKUP 4
@@ -155,3 +159,5 @@ struct ifreq_x25 {
#define SIOCSIFCONF_X25 _IOW('i', 12, struct ifreq_x25) /* set ifnet config */
#define SIOCGIFCONF_X25 _IOWR('i',13, struct ifreq_x25) /* get ifnet config */
#endif
+
+#endif
diff --git a/sys/netccitt/x25acct.h b/sys/netccitt/x25acct.h
index 71f3fd8..a5ecdd2 100644
--- a/sys/netccitt/x25acct.h
+++ b/sys/netccitt/x25acct.h
@@ -36,8 +36,12 @@
* SUCH DAMAGE.
*
* @(#)x25acct.h 8.1 (Berkeley) 6/10/93
+ * $Id: x25acct.h,v 1.2 1994/08/02 07:47:52 davidg Exp $
*/
+#ifndef _NETCCITT_X25ACCT_H_
+#define _NETCCITT_X25ACCT_H_
+
/*
* Format of X.25 accounting record written
* to X25ACCTF whenever a circuit is closed.
@@ -68,3 +72,5 @@ struct x25acct {
long x25acct_txcnt; /* packets transmitted */
long x25acct_rxcnt; /* packets received */
};
+
+#endif
diff --git a/sys/netccitt/x25err.h b/sys/netccitt/x25err.h
index 44d5490..1ee8e69 100644
--- a/sys/netccitt/x25err.h
+++ b/sys/netccitt/x25err.h
@@ -36,8 +36,12 @@
* SUCH DAMAGE.
*
* @(#)x25err.h 8.1 (Berkeley) 6/10/93
+ * $Id: x25err.h,v 1.2 1994/08/02 07:47:53 davidg Exp $
*/
+#ifndef _NETCCITT_X25ERR_H_
+#define _NETCCITT_X25ERR_H_
+
/*
*
* X.25 Reset and Clear errors and diagnostics. These values are
@@ -62,3 +66,4 @@
#define EXCNCG 118 /* Clear: network congestion */
#define EXCNOB 119 /* Clear: not obtainable */
+#endif
OpenPOWER on IntegriCloud