diff options
author | paul <paul@FreeBSD.org> | 1994-08-21 06:22:12 +0000 |
---|---|---|
committer | paul <paul@FreeBSD.org> | 1994-08-21 06:22:12 +0000 |
commit | 2f3d57ca817f531300bcacd718c8fda721ba7a6f (patch) | |
tree | 79cf3421dba8e1e5d4191cc4e2c15c57b312b496 /sys/netns | |
parent | bf2ae5d599a2f5a9f638828f93c045982405b000 (diff) | |
download | FreeBSD-src-2f3d57ca817f531300bcacd718c8fda721ba7a6f.zip FreeBSD-src-2f3d57ca817f531300bcacd718c8fda721ba7a6f.tar.gz |
Made idempotent.
Submitted by: paul
Diffstat (limited to 'sys/netns')
-rw-r--r-- | sys/netns/idp.h | 7 | ||||
-rw-r--r-- | sys/netns/idp_var.h | 7 | ||||
-rw-r--r-- | sys/netns/ns.h | 7 | ||||
-rw-r--r-- | sys/netns/ns_error.h | 7 | ||||
-rw-r--r-- | sys/netns/ns_if.h | 7 | ||||
-rw-r--r-- | sys/netns/ns_pcb.h | 7 | ||||
-rw-r--r-- | sys/netns/sp.h | 7 | ||||
-rw-r--r-- | sys/netns/spidp.h | 7 | ||||
-rw-r--r-- | sys/netns/spp_debug.h | 7 | ||||
-rw-r--r-- | sys/netns/spp_timer.h | 7 | ||||
-rw-r--r-- | sys/netns/spp_var.h | 7 |
11 files changed, 66 insertions, 11 deletions
diff --git a/sys/netns/idp.h b/sys/netns/idp.h index b3df648..96b8694 100644 --- a/sys/netns/idp.h +++ b/sys/netns/idp.h @@ -31,9 +31,12 @@ * SUCH DAMAGE. * * @(#)idp.h 8.1 (Berkeley) 6/10/93 - * $Id$ + * $Id: idp.h,v 1.2 1994/08/02 07:51:40 davidg Exp $ */ +#ifndef _NETNS_IDP_H_ +#define _NETNS_IDP_H_ + /* * Definitions for NS(tm) Internet Datagram Protocol */ @@ -45,3 +48,5 @@ struct idp { struct ns_addr idp_dna; /* Destination Network Address */ struct ns_addr idp_sna; /* Source Network Address */ }; + +#endif diff --git a/sys/netns/idp_var.h b/sys/netns/idp_var.h index c1e52ec..7ff3823 100644 --- a/sys/netns/idp_var.h +++ b/sys/netns/idp_var.h @@ -31,9 +31,12 @@ * SUCH DAMAGE. * * @(#)idp_var.h 8.1 (Berkeley) 6/10/93 - * $Id$ + * $Id: idp_var.h,v 1.2 1994/08/02 07:51:42 davidg Exp $ */ +#ifndef _NETNS_IDP_VAR_H_ +#define _NETNS_IDP_VAR_H_ + /* * IDP Kernel Structures and Variables */ @@ -48,3 +51,5 @@ struct idpstat { #ifdef KERNEL struct idpstat idpstat; #endif + +#endif diff --git a/sys/netns/ns.h b/sys/netns/ns.h index 69af051..527c695 100644 --- a/sys/netns/ns.h +++ b/sys/netns/ns.h @@ -31,9 +31,12 @@ * SUCH DAMAGE. * * @(#)ns.h 8.1 (Berkeley) 6/10/93 - * $Id$ + * $Id: ns.h,v 1.2 1994/08/02 07:51:44 davidg Exp $ */ +#ifndef _NETNS_NS_H_ +#define _NETNS_NS_H_ + /* * Constants and Structures defined by the Xerox Network Software * per "Internet Transport Protocols", XSIS 028112, December 1981 @@ -150,3 +153,5 @@ extern char *ns_ntoa __P((struct ns_addr)); __END_DECLS #endif + +#endif diff --git a/sys/netns/ns_error.h b/sys/netns/ns_error.h index 628de17..5e88b2c 100644 --- a/sys/netns/ns_error.h +++ b/sys/netns/ns_error.h @@ -31,9 +31,12 @@ * SUCH DAMAGE. * * @(#)ns_error.h 8.1 (Berkeley) 6/10/93 - * $Id$ + * $Id: ns_error.h,v 1.2 1994/08/02 07:51:47 davidg Exp $ */ +#ifndef _NETNS_NS_ERROR_H_ +#define _NETNS_NS_ERROR_H_ + /* * Xerox NS error messages */ @@ -89,3 +92,5 @@ struct ns_errstat { #ifdef KERNEL struct ns_errstat ns_errstat; #endif + +#endif diff --git a/sys/netns/ns_if.h b/sys/netns/ns_if.h index f4f9f64..3032a39b 100644 --- a/sys/netns/ns_if.h +++ b/sys/netns/ns_if.h @@ -31,9 +31,12 @@ * SUCH DAMAGE. * * @(#)ns_if.h 8.1 (Berkeley) 6/10/93 - * $Id$ + * $Id: ns_if.h,v 1.2 1994/08/02 07:51:48 davidg Exp $ */ +#ifndef _NETNS_NS_IF_H_ +#define _NETNS_NS_IF_H_ + /* * Interface address, xerox version. One of these structures * is allocated for each interface with an internet address. @@ -81,3 +84,5 @@ struct ns_ifaddr *ns_ifaddr; struct ns_ifaddr *ns_iaonnetof(); struct ifqueue nsintrq; /* XNS input packet queue */ #endif + +#endif diff --git a/sys/netns/ns_pcb.h b/sys/netns/ns_pcb.h index f63c31b..69bd331 100644 --- a/sys/netns/ns_pcb.h +++ b/sys/netns/ns_pcb.h @@ -31,9 +31,12 @@ * SUCH DAMAGE. * * @(#)ns_pcb.h 8.1 (Berkeley) 6/10/93 - * $Id$ + * $Id: ns_pcb.h,v 1.2 1994/08/02 07:51:53 davidg Exp $ */ +#ifndef _NETNS_NS_PCB_H_ +#define _NETNS_NS_PCB_H_ + /* * Ns protocol interface control block. */ @@ -79,3 +82,5 @@ struct nspcb { struct nspcb nspcb; /* head of list */ struct nspcb *ns_pcblookup(); #endif + +#endif diff --git a/sys/netns/sp.h b/sys/netns/sp.h index fb84740..78b9134 100644 --- a/sys/netns/sp.h +++ b/sys/netns/sp.h @@ -31,9 +31,12 @@ * SUCH DAMAGE. * * @(#)sp.h 8.1 (Berkeley) 6/10/93 - * $Id$ + * $Id: sp.h,v 1.2 1994/08/02 07:51:55 davidg Exp $ */ +#ifndef _NETNS_SP_H_ +#define _NETNS_SP_H_ + /* * Definitions for Xerox NS style sequenced packet protocol */ @@ -51,3 +54,5 @@ struct sphdr { u_short sp_ack; /* acknowledge number */ u_short sp_alo; /* allocation number */ }; + +#endif diff --git a/sys/netns/spidp.h b/sys/netns/spidp.h index 19c6bfa..5642f4a 100644 --- a/sys/netns/spidp.h +++ b/sys/netns/spidp.h @@ -31,9 +31,12 @@ * SUCH DAMAGE. * * @(#)spidp.h 8.1 (Berkeley) 6/10/93 - * $Id$ + * $Id: spidp.h,v 1.2 1994/08/02 07:51:56 davidg Exp $ */ +#ifndef _NETNS_SPIDP_H_ +#define _NETNS_SPIDP_H_ + /* * Definitions for NS(tm) Internet Datagram Protocol * containing a Sequenced Packet Protocol packet. @@ -61,3 +64,5 @@ struct spidp_q { #define si_seq si_s.sp_seq #define si_ack si_s.sp_ack #define si_alo si_s.sp_alo + +#endif diff --git a/sys/netns/spp_debug.h b/sys/netns/spp_debug.h index 6ad091d..51132e5 100644 --- a/sys/netns/spp_debug.h +++ b/sys/netns/spp_debug.h @@ -31,9 +31,12 @@ * SUCH DAMAGE. * * @(#)spp_debug.h 8.1 (Berkeley) 6/10/93 - * $Id$ + * $Id: spp_debug.h,v 1.2 1994/08/02 07:51:58 davidg Exp $ */ +#ifndef _NETNS_SPP_DEBUG_H_ +#define _NETNS_SPP_DEBUG_H_ + struct spp_debug { u_long sd_time; short sd_act; @@ -58,3 +61,5 @@ char *sanames[] = #define SPP_NDEBUG 100 struct spp_debug spp_debug[SPP_NDEBUG]; int spp_debx; + +#endif diff --git a/sys/netns/spp_timer.h b/sys/netns/spp_timer.h index 0a02fef..d480f20 100644 --- a/sys/netns/spp_timer.h +++ b/sys/netns/spp_timer.h @@ -31,9 +31,12 @@ * SUCH DAMAGE. * * @(#)spp_timer.h 8.1 (Berkeley) 6/10/93 - * $Id$ + * $Id: spp_timer.h,v 1.2 1994/08/02 07:51:59 davidg Exp $ */ +#ifndef _NETNS_SPP_TIMER_H_ +#define _NETNS_SPP_TIMER_H_ + /* * Definitions of the SPP timers. These timers are counted * down PR_SLOWHZ times a second. @@ -121,3 +124,5 @@ char *spptimers[] = #ifdef KERNEL extern int spp_backoff[]; #endif + +#endif diff --git a/sys/netns/spp_var.h b/sys/netns/spp_var.h index cc4fbf4..9814167 100644 --- a/sys/netns/spp_var.h +++ b/sys/netns/spp_var.h @@ -31,9 +31,12 @@ * SUCH DAMAGE. * * @(#)spp_var.h 8.1 (Berkeley) 6/10/93 - * $Id$ + * $Id: spp_var.h,v 1.2 1994/08/02 07:52:01 davidg Exp $ */ +#ifndef _NETNS_SPP_VAR_H_ +#define _NETNS_SPP_VAR_H_ + /* * Sp control block, one per connection */ @@ -214,3 +217,5 @@ short xnsCbug; #define SSEQ_GT(a,b) (((short)((a)-(b))) > 0) #define SSEQ_GEQ(a,b) (((short)((a)-(b))) >= 0) #endif + +#endif |