socket.h File Reference

Socket messages. More...

#include <ipc/net.h>

Go to the source code of this file.

Socket specific message parameters definitions

#define SOCKET_GET_ADDRESS_LENGTH(call)
 Returns the address length message parameter.
#define SOCKET_GET_BACKLOG(call)
 Returns the backlog message parameter.
#define SOCKET_GET_DATA_FRAGMENT_SIZE(call)
 Returns the data fragment size message parameter.
#define SOCKET_GET_DATA_FRAGMENTS(call)
 Returns the data fragments message parameter.
#define SOCKET_GET_FLAGS(call)
 Returns the flags message parameter.
#define SOCKET_GET_HEADER_SIZE(call)
 Returns the header size message parameter.
#define SOCKET_GET_NEW_SOCKET_ID(call)
 Returns the new socket identifier message parameter.
#define SOCKET_GET_OPT_LEVEL(call)
 Returns the option level message parameter.
#define SOCKET_GET_OPT_NAME(call)
 Returns the option name message parameter.
#define SOCKET_GET_READ_DATA_LENGTH(call)
 Returns the read data length message parameter.
#define SOCKET_GET_SOCKET_ID(call)
 Returns the socket identifier message parameter.
#define SOCKET_SET_ADDRESS_LENGTH(answer, value)
 Sets the address length in the message answer.
#define SOCKET_SET_DATA_FRAGMENT_SIZE(answer, value)
 Sets the data fragment size in the message answer.
#define SOCKET_SET_HEADER_SIZE(answer, value)
 Sets the header size in the message answer.
#define SOCKET_SET_READ_DATA_LENGTH(answer, value)
 Sets the read data length in the message answer.
#define SOCKET_SET_SOCKET_ID(answer, value)
 Sets the socket identifier in the message answer.

Enumerations

enum  socket_messages {
  NET_SOCKET = NET_SOCKET_FIRST, NET_SOCKET_BIND, NET_SOCKET_LISTEN, NET_SOCKET_ACCEPT,
  NET_SOCKET_CONNECT, NET_SOCKET_CLOSE, NET_SOCKET_SEND, NET_SOCKET_SENDTO,
  NET_SOCKET_RECV, NET_SOCKET_RECVFROM, NET_SOCKET_GETSOCKOPT, NET_SOCKET_SETSOCKOPT,
  NET_SOCKET_ACCEPTED, NET_SOCKET_RECEIVED, NET_SOCKET_DATA_FRAGMENT_SIZE
}
 Socket client messages. More...


Detailed Description

Socket messages.

Definition in file socket.h.


Generated on Thu Jun 2 07:45:53 2011 for HelenOS/USB by  doxygen 1.4.7