home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / NCSATELN / TEL23SRC.ZIP / INCLUDE / PCDEFS.H < prev    next >
Encoding:
C/C++ Source or Header  |  1991-01-27  |  1.1 KB  |  53 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. #ifndef PCDEFS_H
  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.     ltseed[]={0x00, 0x00, 0xff, 0x48, 0x00, 0x00},
  13. #ifdef _TURBOC_
  14.     raw[10000];
  15. #else
  16.     raw[17000];
  17. #endif
  18. #else
  19. extern unsigned char bseed[],ltseed[],raw[];
  20. #endif
  21.  
  22. /*
  23. *  timing information is machine dependent
  24. */
  25. #ifndef REALTIME
  26. #define time(A) n_clicks()
  27. #endif
  28. #define movenbytes(A,B,C) movebytes((A),(B),(C))
  29.  
  30. /*
  31. *  timeout for response to ARP packet for Ethernet
  32. */
  33. /* was 15 */
  34. #define DLAYTIMEOUT 4
  35. /*
  36. *  how often to poke a TCP connection to keep it alive and make
  37. *  sure other side hasn't crashed. (poke) in 1/18ths sec
  38. *  And, timeout interval
  39. */
  40. #define POKEINTERVAL 3000
  41. #define MAXRTO        100
  42. #define MINRTO             5
  43. #define ARPTO             20
  44. #define CACHETO      7000
  45. #define WAITTIME       35
  46. #define LASTTIME      4000
  47. #define CACHELEN        10
  48. #define MAXSEG          1024
  49. #define CREDIT          4096
  50.  
  51. #define PCDEFS_H
  52. #endif
  53.