source: rtems/c/src/lib/libbsp/i386/ts_386ex/tools/network_ada/adasockets/sockets-constants.ads @ d333638

Last change on this file since d333638 was 1d4048b2, checked in by Joel Sherrill <joel.sherrill@…>, on 08/11/99 at 23:45:57

Patch from Tony R. Ambardar <tonya@…>:

I'm attaching a big patch for the ts_386ex BSP which adds and includes
the following:

1) Conversion to ELF format + minor code cleanups + documentation.

2) An Ada95 binding to FreeBSD sockets, based on Samuel Tardieu's

adasockets-0.1.3 package. This includes some sample applications.

3) Some Ada and C interfaces to add serial-port debugging to

programs. Comes with examples, too; the Ada one shows how
transparent adding the support can be. Note that Rosimildo sent me
the original C code.

The network stuff is not BSP specific, and could be added to your Ada
code collection. The debugging stuff is specific to the i386. Right
now, everything sits in my "tools" directory.

  • Property mode set to 100644
File size: 2.3 KB
Line 
1--  This package has been generated automatically on:
2--  Linux wasp 2.0.36 #1 Tue Dec 29 13:11:13 EST 1998 i586
3--  unknown
4--  Generation date: Fri Mar  5 00:03:14 PST 1999
5--  Any change you make here is likely to be lost !
6package Sockets.Constants is
7   Tcp_Nodelay          : constant := 16#0001#;
8   Af_Inet              : constant := 16#0002#;
9   Sock_Stream          : constant := 16#0001#;
10   Sock_Dgram           : constant := 16#0002#;
11   Eintr                : constant := 16#0004#;
12   Eagain               : constant := 16#000B#;
13   Ewouldblock          : constant := 16#000B#;
14   Einprogress          : constant := 16#0077#;
15   Ealready             : constant := 16#0078#;
16   Eisconn              : constant := 16#007F#;
17   Econnrefused         : constant := 16#006F#;
18   Fndelay              : constant := 16#0004#;
19   Fasync               : constant := 16#0040#;
20   F_Getfl              : constant := 16#0003#;
21   F_Setfl              : constant := 16#0004#;
22   F_Setown             : constant := 16#0006#;
23   So_Rcvbuf            : constant := 16#1002#;
24   So_Reuseaddr         : constant := 16#0004#;
25   Sol_Socket           : constant := 16#FFFF#;
26   Sigterm              : constant := 16#000F#;
27   Sigkill              : constant := 16#0009#;
28   O_Rdonly             : constant := 16#0000#;
29   O_Wronly             : constant := 16#0001#;
30   O_Rdwr               : constant := 16#0002#;
31   Host_Not_Found       : constant := 16#0001#;
32   Try_Again            : constant := 16#0002#;
33   No_Recovery          : constant := 16#0003#;
34   No_Data              : constant := 16#0004#;
35   No_Address           : constant := 16#0004#;
36   Pollin               : constant := 16#0001#;
37   Pollpri              : constant := 16#0002#;
38   Pollout              : constant := 16#0004#;
39   Pollerr              : constant := 16#0008#;
40   Pollhup              : constant := 16#0010#;
41   Pollnval             : constant := 16#0020#;
42   I_Setsig             : constant := -1;
43   S_Rdnorm             : constant := -1;
44   S_Wrnorm             : constant := -1;
45   Ipproto_Ip           : constant := 16#0000#;
46   Ip_Add_Membership    : constant := 16#000C#;
47   Ip_Multicast_Loop    : constant := 16#000B#;
48   Ip_Multicast_Ttl     : constant := 16#000A#;
49   Ip_Drop_Membership   : constant := 16#000D#;
50end Sockets.Constants;
Note: See TracBrowser for help on using the repository browser.