Made idempotent

This commit is contained in:
Paul Richards 1994-08-21 05:44:12 +00:00
parent 707f139edb
commit 2539bf7513
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2170
9 changed files with 52 additions and 10 deletions

View File

@ -33,9 +33,12 @@
* SUCH DAMAGE.
*
* @(#)dll.h 8.1 (Berkeley) 6/10/93
* $Id$
* $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
*/
@ -82,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

View File

@ -36,9 +36,12 @@
* SUCH DAMAGE.
*
* @(#)hd_var.h 8.1 (Berkeley) 6/10/93
* $Id$
* $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
@ -106,3 +109,5 @@ int hd_t1; /* timer T1 value */
int hd_t3; /* RR send timer */
int hd_n2; /* frame retransmission limit */
#endif
#endif

View File

@ -36,9 +36,12 @@
* SUCH DAMAGE.
*
* @(#)hdlc.h 8.1 (Berkeley) 6/10/93
* $Id$
* $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
@ -155,3 +158,5 @@ struct Hdlc_frame {
bool range_check ();
bool valid_nr ();
struct mbuf *hd_remove ();
#endif

View File

@ -37,9 +37,12 @@
* SUCH DAMAGE.
*
* @(#)llc_var.h 8.1 (Berkeley) 6/10/93
* $Id$
* $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].
@ -657,4 +660,4 @@ int x25_llcglue __P((int, struct sockaddr *));
#endif
#endif

View File

@ -36,9 +36,12 @@
* SUCH DAMAGE.
*
* @(#)pk.h 8.1 (Berkeley) 6/10/93
* $Id$
* $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:
@ -206,3 +209,5 @@ struct mbuf *pk_template ();
#define DTE_PRETENDDTE 0x0020
#define MAXRESTARTCOLLISIONS 10
#endif

View File

@ -39,9 +39,12 @@
* SUCH DAMAGE.
*
* @(#)pk_var.h 8.1 (Berkeley) 6/10/93
* $Id$
* $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
@ -230,3 +233,5 @@ struct pklcd *pk_attach();
extern char *pk_name[], *pk_state[];
int pk_t20, pk_t21, pk_t22, pk_t23;
#endif
#endif

View File

@ -38,9 +38,12 @@
* SUCH DAMAGE.
*
* @(#)x25.h 8.1 (Berkeley) 6/10/93
* $Id$
* $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
@ -156,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

View File

@ -36,9 +36,12 @@
* SUCH DAMAGE.
*
* @(#)x25acct.h 8.1 (Berkeley) 6/10/93
* $Id$
* $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.
@ -69,3 +72,5 @@ struct x25acct {
long x25acct_txcnt; /* packets transmitted */
long x25acct_rxcnt; /* packets received */
};
#endif

View File

@ -36,9 +36,12 @@
* SUCH DAMAGE.
*
* @(#)x25err.h 8.1 (Berkeley) 6/10/93
* $Id$
* $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
@ -63,3 +66,4 @@
#define EXCNCG 118 /* Clear: network congestion */
#define EXCNOB 119 /* Clear: not obtainable */
#endif