home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GRIPS 2: Government Rast…rocessing Software & Data
/
GRIPS_2.cdr
/
dos
/
ncsa_tel
/
tel_2_2_
/
source
/
pcdefs.h
< prev
next >
Wrap
C/C++ Source or Header
|
1988-07-15
|
945b
|
48 lines
/*
* defines that are only applicable to the IBM PC/ PC-DOS environment
* other files will take this one's place for other machines
*/
/*
* hardware address for Ethernet broadcast address (used for ARP)
*/
#ifdef MASTERDEF
unsigned char bseed[] = {0xff,0xff,0xff,0xff,0xff,0xff},
raw[17000];
#else
extern unsigned char bseed[],raw[];
#endif
/*
* timing information is machine dependent
*/
long n_clicks();
#define time(A) n_clicks()
#define movenbytes(A,B,C) movebytes((A),(B),(C))
/*
* timeout for response to ARP packet for Ethernet
*/
/* was 15 */
#define DLAYTIMEOUT 4
/*
* how often to poke a TCP connection to keep it alive and make
* sure other side hasn't crashed. (poke) in 1/18ths sec
* And, timeout interval
*/
#define POKEINTERVAL 3000
#define MAXRTO 100
#define MINRTO 5
#define ARPTO 20
#define CACHETO 7000
#define WAITTIME 35
#define LASTTIME 4000
#define CACHELEN 10
#define MAXSEG 1024
#define CREDIT 4096