home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / internet / socketfs_2 / H / Sockconsts < prev   
Text File  |  1997-09-07  |  4KB  |  107 lines

  1.  
  2. EINTR            *      4      ;Interrupted system call
  3. ENXIO            *      6      ;Device not configured
  4. EBADF            *      9      ;Bad descriptor
  5. ENOMEM           *     12      ;Cannot allocate memory
  6. EACCES           *     13      ;Permission denied
  7. EFAULT           *     14      ;Bad address
  8. EINVAL           *     22      ;Invalid argument
  9. EMFILE           *     24      ;Too many open files
  10. EPIPE            *     32      ;Broken pipe
  11. EWOULDBLOCK      *     35      ;Operation would block
  12. EINPROGRESS      *     36      ;Operation now in progress
  13. EALREADY         *     37      ;Operation already in progress
  14. EDESTADDRREQ     *     39      ;Destination address required
  15. EMSGSIZE         *     40      ;Message too long
  16. ENOPROTOOPT      *     42      ;Protocol not available
  17. EPROTONOSUPPORT  *     43      ;Protocol not supported
  18. ESOCKTNOSUPPORT  *     44      ;Socket type not supported
  19. EOPNOTSUPP       *     45      ;Operation not supported
  20. EPFNOSUPPORT     *     46      ;Protocol family not supported
  21. EAFNOSUPPORT     *     47      ;Address family not supported
  22. EADDRINUSE       *     48      ;Address already in use
  23. EADDRNOTAVAIL    *     49      ;Can't assign requested address
  24. ENETDOWN         *     50      ;Network is down
  25. ENETUNREACH      *     51      ;Network is unreachable
  26. ECONNABORTED     *     53      ;Software caused connection abort
  27. ECONNRESET       *     54      ;Connection reset by peer
  28. ENOBUFS          *     55      ;No buffer space available
  29. EISCONN          *     56      ;Socket is already connected
  30. ENOTCONN         *     57      ;Socket is not connected
  31. ETIMEDOUT        *     60      ;Operation timed out
  32. ECONNREFUSED     *     61      ;Connection refused
  33. EHOSTUNREACH     *     64      ;Host is down
  34. EHOSTUNREACH2    *      65      ;No route to host
  35.  
  36.  
  37. ;If you're wondering about the unuusal order of the
  38. ;the following constants. It's becuase I generated this
  39. ;file by cut and pasting from the FreeNet Docs, and
  40. ;the constants where orginally in two coloumns, which
  41. ;I had to unfold.
  42. ;
  43. ;Thanks to Tom Hughes for allowing distrinution of this file.
  44.  
  45. SOCK_STREAM      *          1
  46. SO_DEBUG         *         &0001
  47. SOCK_DGRAM       *         2
  48. SO_ACCEPTCONN    *         &0002
  49. SOCK_RAW         *         3
  50. SO_REUSEADDR     *         &0004
  51. SO_KEEPALIVE     *         &0008
  52. PF_INET          *         2
  53. SO_DONTROUTE     *         &0010
  54. SO_BROADCAST     *         &0020
  55. AF_INET          *         2
  56. SO_LINGER        *         &0080
  57. SO_OOBINLINE     *         &0100
  58. MSG_OOB          *         &01
  59. SO_SNDBUF        *         &1001
  60. MSG_PEEK         *         &02
  61. SO_RCVBUF        *         &1002
  62. MSG_EOR          *         &08
  63. SO_SNDLOWAT      *         &1003
  64. MSG_TRUNC        *         &10
  65. SO_RCVLOWAT      *         &1004
  66. MSG_WAITALL      *         &40
  67. SO_SNDTIMEO      *         &1005
  68. MSG_DONTWAIT     *         &80
  69. SO_RCVTIMEO      *         &1006
  70. SO_ERROR         *         &1007
  71. SOL_SOCKET       *         &FFFF
  72. SO_TYPE          *         &1008
  73.  
  74. IP_OPTIONS       *          1
  75. SIOCSIFADDR      *          &8020690C
  76. IP_HDRINCL       *          2
  77. OSIOCGIFADDR     *          &C020690D
  78. IP_TOS           *          3
  79. SIOCGIFADDR      *          &C0206921
  80. IP_TTL           *          4
  81. SIOCSIFDSTADDR   *          &8020690E
  82. OSIOCGIFDSTADDR  *          &C020690F
  83. TCP_NODELAY      *          1
  84. SIOCGIFDSTADDR   *          &C0206922
  85. TCP_MAXSEG       *          2
  86. SIOCSIFFLAGS     *          &80206910
  87. SIOCGIFFLAGS     *          &C0206911
  88. FIOSLEEPTW         *          &80046679
  89. OSIOCGIFBRDADDR  *          &C0206912
  90. FIOASYNC           *          &8004667D
  91. SIOCGIFBRDADDR   *          &C0206923
  92. FIONBIO            *          &8004667E
  93. SIOCSIFBRDADDR   *          &80206913
  94. FIONREAD           *          &4004667F
  95. OSIOCGIFCONF     *          &C0206914
  96. SIOCGIFCONF      *          &C0206924
  97. SIOCATMARK       *          &80047307
  98. OSIOCGIFNETMASK  *          &C0206915
  99. SIOCGIFNETMASK   *          &C0206925
  100. SIOCSIFNETMASK   *          &80206916
  101. SIOCGIFMETRIC    *          &C0206917
  102. SIOCSIFMETRIC    *          &80206918
  103. SIOCDIFADDR      *          &80206919
  104. SIOCAIFADDR      *          &80206920
  105.  
  106.         END
  107.