diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-03-25 07:33:20 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-03-25 07:33:20 +0000 |
commit | 3bf2241fd28c36e8c548e1b99fa0eaae9a77f131 (patch) | |
tree | 820e6eed6d0e96d04f902c2e783ac1666e74e5c0 /cpukit/libnetworking/sys | |
parent | 2007-03-25 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-3bf2241fd28c36e8c548e1b99fa0eaae9a77f131.tar.bz2 |
Cosmetics from FreeBSD.
Diffstat (limited to 'cpukit/libnetworking/sys')
-rw-r--r-- | cpukit/libnetworking/sys/socketvar.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpukit/libnetworking/sys/socketvar.h b/cpukit/libnetworking/sys/socketvar.h index f05f791a7a..5fc3228bd6 100644 --- a/cpukit/libnetworking/sys/socketvar.h +++ b/cpukit/libnetworking/sys/socketvar.h @@ -38,12 +38,15 @@ #include <sys/queue.h> /* for TAILQ macros */ #include <sys/select.h> /* for struct selinfo */ + /* * Kernel structure per socket. * Contains send and receive buffer queues, * handle on protocol and pointer to protocol * private data and error information. */ +typedef u_quad_t so_gen_t; + struct socket { short so_type; /* generic type, see socket.h */ short so_options; /* from socket call, see socket.h */ @@ -77,7 +80,7 @@ struct socket { /* * Variables for socket buffering. */ - struct sockbuf { + struct sockbuf { u_int sb_cc; /* actual chars in buffer */ u_int sb_hiwat; /* max actual char count */ u_int sb_mbcnt; /* chars of mbufs used */ |