/contrib/vms/sockets-constants.ads

https://github.com/samueltardieu/adasockets · Ada · 84 lines · 79 code · 0 blank · 5 comment · 0 complexity · 3372b2b7efdbcd0e0bf7f53e8421cf17 MD5 · raw file

  1. -- This file has been generated automatically by
  2. -- CREATE_CONSTANTS_ADS.COM.
  3. --
  4. -- This file is part of adasockets port to OpenVMS
  5. --
  6. package sockets.constants is
  7. Tcp_Nodelay : constant := 16#0001#;
  8. Af_Inet : constant := 16#0002#;
  9. Af_Unix : constant := 16#0001#;
  10. Sock_Stream : constant := 16#0001#;
  11. Sock_Dgram : constant := 16#0002#;
  12. Eintr : constant := 16#0004#;
  13. Eagain : constant := 16#000B#;
  14. Ewouldblock : constant := 16#0023#;
  15. Einprogress : constant := 16#0024#;
  16. Ealready : constant := 16#0025#;
  17. Eisconn : constant := 16#0038#;
  18. Econnrefused : constant := 16#003D#;
  19. Fndelay : constant := -1;
  20. Fasync : constant := -1;
  21. Fioasync : constant := -2147195267;
  22. F_Getfl : constant := -1;
  23. F_Setfl : constant := -1;
  24. F_Setown : constant := -1;
  25. Fiossaioown : constant := -1;
  26. So_Rcvbuf : constant := 16#1002#;
  27. So_Reuseaddr : constant := 16#0004#;
  28. So_Reuseport : constant := 16#0200#;
  29. Sol_Socket : constant := 16#FFFF#;
  30. Sigterm : constant := 16#000F#;
  31. Sigkill : constant := 16#0009#;
  32. O_Rdonly : constant := -1;
  33. O_Wronly : constant := -1;
  34. O_Rdwr : constant := 16#0002#;
  35. Host_Not_Found : constant := 16#0001#;
  36. Try_Again : constant := 16#0002#;
  37. No_Recovery : constant := 16#0003#;
  38. No_Data : constant := 16#0004#;
  39. No_Address : constant := 16#0004#;
  40. Pollin : constant := 16#00C7#;
  41. Pollpri : constant := 16#0008#;
  42. Pollout : constant := 16#0300#;
  43. Pollerr : constant := -1;
  44. Pollhup : constant := 16#0010#;
  45. Pollnval : constant := -1;
  46. I_Setsig : constant := -1;
  47. S_Rdnorm : constant := -1;
  48. S_Wrnorm : constant := -1;
  49. Ipproto_Ip : constant := 16#0000#;
  50. Ip_Add_Membership : constant := 16#000C#;
  51. Ip_Multicast_Loop : constant := 16#000B#;
  52. Ip_Multicast_Ttl : constant := 16#000A#;
  53. Ip_Drop_Membership : constant := 16#000D#;
  54. O_Nonblock : constant := 16#20000#;
  55. Msg_Peek : constant := 16#0002#;
  56. Fionbio : constant := -2147195266;
  57. Fionread : constant := 16#4004667F#;
  58. So_Sndbuf : constant := 16#1001#;
  59. Af_Inet6 : constant := -1;
  60. Ai_Addrconfig : constant := -1;
  61. Ai_All : constant := -1;
  62. Ai_Canonname : constant := -1;
  63. Ai_Default : constant := -1;
  64. Ai_Mask : constant := -1;
  65. Ai_Numerichost : constant := -1;
  66. Ai_Passive : constant := -1;
  67. Ai_V4mapped : constant := -1;
  68. Ai_V4mapped_Cfg : constant := -1;
  69. Ni_Dgram : constant := -1;
  70. Ni_Maxhost : constant := -1;
  71. Ni_Maxserv : constant := -1;
  72. Ni_Namereqd : constant := -1;
  73. Ni_Nofqdn : constant := -1;
  74. Ni_Numerichost : constant := -1;
  75. Ni_Numericserv : constant := -1;
  76. Ni_Withscopeid : constant := -1;
  77. Ipproto_Ipv6 : constant := -1;
  78. Ipv6_Unicast_Hops : constant := -1;
  79. Ipv6_Multicast_If : constant := -1;
  80. Ipv6_Multicast_Hops : constant := -1;
  81. Ipv6_Multicast_Loop : constant := -1;
  82. Ipv6_Join_Group : constant := -1;
  83. Ipv6_Leave_Group : constant := -1;
  84. end sockets.constants;