home *** CD-ROM | disk | FTP | other *** search
-
- /*
- * GLOBALS.C
- *
- * DNET (c)Copyright 1988, Matthew Dillon, All Rights Reserved.
- *
- * -restart/packet protocol
- * -dnet->amiga (DNET.READ)
- * -amiga->dnet (DNET.WRITE)
- */
-
- #include "dnet.h"
-
- int Enable_Abort;
-
- IOT Rto; /* Read-Timeout/reset */
- IOT Wto; /* Write-Timeout/retry */
- IOT Cto; /* 1 second CD check / idle line*/
- PKT Pkts[9]; /* data buffers for packets */
- PKT *RPak[4] = { Pkts+0,Pkts+1,Pkts+2,Pkts+3 };
- PKT *WPak[4] = { Pkts+4,Pkts+5,Pkts+6,Pkts+7 };
- PORT *DNetPort; /* Remote Command/Control in */
- PORT *IOSink; /* Return port for ALL IO */
- PORT *IPCPort; /* IPC software control port */
- CHAN Chan[MAXCHAN]; /* Channels */
- LIST TxList; /* For pending DNCMD_WRITE reqs. */
-
- ubyte Rto_act;
- ubyte Wto_act;
- ubyte Cto_act;
- ubyte Cd; /* Carrier Detect Status */
- ubyte Mode7 = 1;
- uword WChan; /* Read and Write channels */
- uword RChan;
- uword RPStart;
- uword WPStart;
- uword WPUsed;
- uword RState;
- uword Protocol; /* 0=none 1=xonxoff 2=7wire */
- short DDebug;
- short PDebug;
- ubyte Restart; /* Network restart mode */
- ubyte OnLine; /* Network online */
- ubyte Quit; /* Quit immediately */
- short AutoAnswer = 0; /* Security Enable */
- short DialOut = 1; /* Security Enable for DialOut */
- short AutoHangup = 0; /* On carrier lost (-a opt) */
- short Master8;
- short NetworkNum;
- short Getty; /* begun from a getty */
- ulong NumCon; /* # of connections currently active */
- /* in CHAN_ROPEN/LOPEN/OPEN/CLOSE */
- ulong WTimeoutVal;
- ulong RTimeoutVal;
- long Baud;
- long TOBaud;
- char *HostName = "";
-
- /*
- * Status Info
- */
-
- long BytesOut, PacketsOut, PacketsResent;
- long BytesIn , PacketsIn , PacketsNakd;
- long Packets6In, Packets7In, Packets8In;
- long Packets6Out, Packets7Out, Packets8Out;
- long GarbageIn;
-
-