1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-26 16:18:31 +00:00

Made idempotent.

Submitted by:	paul
This commit is contained in:
Paul Richards 1994-08-21 06:22:12 +00:00
parent 5f282528fa
commit 62c72b0ca9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2174
11 changed files with 66 additions and 11 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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