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 >
C/C++ Source or Header  |  1988-07-15  |  945b  |  48 lines

  1. /*
  2. *  defines that are only applicable to the IBM PC/ PC-DOS environment
  3. *  other files will take this one's place for other machines
  4. */
  5.  
  6.  
  7. /*
  8. *  hardware address for Ethernet broadcast address (used for ARP)
  9. */
  10. #ifdef MASTERDEF
  11. unsigned char bseed[] = {0xff,0xff,0xff,0xff,0xff,0xff},
  12.     raw[17000];
  13. #else
  14. extern unsigned char bseed[],raw[];
  15. #endif
  16.  
  17. /*
  18. *  timing information is machine dependent
  19. */
  20. long n_clicks();
  21. #define time(A) n_clicks()
  22. #define movenbytes(A,B,C) movebytes((A),(B),(C))
  23.  
  24. /*
  25. *  timeout for response to ARP packet for Ethernet
  26. */
  27. /* was 15 */
  28. #define DLAYTIMEOUT 4
  29.  
  30. /*
  31. *  how often to poke a TCP connection to keep it alive and make
  32. *  sure other side hasn't crashed. (poke) in 1/18ths sec
  33. *  And, timeout interval
  34. */
  35. #define POKEINTERVAL 3000
  36. #define MAXRTO  100
  37. #define MINRTO  5
  38. #define ARPTO   20
  39. #define CACHETO 7000
  40. #define WAITTIME 35
  41. #define LASTTIME 4000
  42.  
  43.  
  44. #define CACHELEN 10
  45. #define MAXSEG 1024
  46. #define CREDIT 4096
  47.  
  48.