os_socket.h File Reference

#include "ace/config-lite.h"
#include "ace/os_include/sys/os_uio.h"

Include dependency graph for os_socket.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

struct  msghdr
struct  msghdr

Defines

#define AF_ANY   (-1)
#define AF_UNSPEC   0
#define AF_LOCAL   1
#define AF_UNIX   AF_LOCAL
#define AF_INET   2
#define PF_INET   AF_INET
#define PF_LOCAL   AF_LOCAL
#define PF_UNIX   PF_LOCAL
#define AF_MAX   29
#define PF_UNSPEC   0
#define AF_SPIPE   (AF_MAX + 1)
#define AF_FILE   (AF_MAX + 2)
#define AF_DEV   (AF_MAX + 3)
#define AF_UPIPE   (AF_SPIPE)
#define MSG_OOB   0x1
#define MSG_PEEK   0x2
#define SOCK_STREAM   1
#define SOCK_DGRAM   2
#define SOCK_SEQPACKET   5
#define SOL_SOCKET   0xffff
#define SO_REUSEADDR   0x0004
#define SO_LINGER   0x0080
#define SO_SNDBUF   0x1001
#define SO_RCVBUF   0x1002
#define SO_BROADCAST   0x0020
#define SO_ERROR   0x1007
#define SCM_RIGHTS   0x01
#define ACE_ADDRESS_FAMILY_INET   AF_INET6
#define ACE_PROTOCOL_FAMILY_INET   PF_INET6
#define ACE_PROTOCOL_FAMILY_NETLINK   AF_NETLINK

Typedefs

typedef int ACE_SOCKET_LEN


Detailed Description

main sockets header

Id
os_socket.h 79332 2007-08-13 20:30:44Z sowayaa

Author:
Don Hinton <dhinton@dresystems.com>

This code was originally in various places including ace/OS.h.

Definition in file os_socket.h.


Define Documentation

#define ACE_ADDRESS_FAMILY_INET   AF_INET6
 

Definition at line 208 of file os_socket.h.

#define ACE_PROTOCOL_FAMILY_INET   PF_INET6
 

Definition at line 209 of file os_socket.h.

#define ACE_PROTOCOL_FAMILY_NETLINK   AF_NETLINK
 

Definition at line 245 of file os_socket.h.

#define AF_ANY   (-1)
 

Definition at line 105 of file os_socket.h.

Referenced by ACE_UNIX_Addr::set(), ACE_SPIPE_Addr::set(), ACE_INET_Addr::set(), ACE_FILE_Addr::set(), and ACE_DEV_Addr::set().

#define AF_DEV   (AF_MAX + 3)
 

Definition at line 148 of file os_socket.h.

Referenced by ACE_DEV_Addr::ACE_DEV_Addr(), and ACE_DEV_Addr::set().

#define AF_FILE   (AF_MAX + 2)
 

Definition at line 146 of file os_socket.h.

Referenced by ACE_FILE_Addr::ACE_FILE_Addr(), and ACE_FILE_Addr::set().

#define AF_INET   2
 

Definition at line 121 of file os_socket.h.

Referenced by ACE_INET_Addr::determine_type(), ACE::get_bcast_addr(), ACE::get_fqdn(), ACE::get_ip_interfaces(), get_ip_interfaces_win32(), ACE_OS::getipnodebyaddr(), ACE_OS::getipnodebyname(), ACE_OS::getmacaddress(), ACE_OS::getpeername(), ACE_OS::getsockname(), ACE_OS::inet_ntop(), ACE_OS::inet_pton(), ACE_SOCK_Dgram_Bcast::mk_broadcast(), ACE_INET_Addr::reset(), ACE_INET_Addr::set(), ACE_INET_Addr::set_addr(), ACE_INET_Addr::set_address(), ACE_SOCK_Dgram::set_nic(), ACE_SOCK_Dgram_Mcast::subscribe_ifs(), and ACE_SOCK_Dgram_Mcast::unsubscribe_ifs().

#define AF_LOCAL   1
 

Definition at line 113 of file os_socket.h.

#define AF_MAX   29
 

Definition at line 137 of file os_socket.h.

#define AF_SPIPE   (AF_MAX + 1)
 

Definition at line 144 of file os_socket.h.

Referenced by ACE_SPIPE_Addr::ACE_SPIPE_Addr(), ACE_SPIPE_Addr::set(), and ACE_SPIPE_Addr::set_addr().

#define AF_UNIX   AF_LOCAL
 

Definition at line 117 of file os_socket.h.

Referenced by ACE_UNIX_Addr::ACE_UNIX_Addr(), ACE_Pipe::open(), ACE_UNIX_Addr::set(), and ACE_UNIX_Addr::set_addr().

#define AF_UNSPEC   0
 

Definition at line 109 of file os_socket.h.

Referenced by ACE::count_interfaces(), ACE::get_ip_interfaces(), get_ip_interfaces_win32(), ACE_INET_Addr::set(), and ACE_SOCK_Dgram::set_nic().

#define AF_UPIPE   (AF_SPIPE)
 

Definition at line 149 of file os_socket.h.

#define MSG_OOB   0x1
 

Definition at line 152 of file os_socket.h.

Referenced by ACE_SOCK_Stream::recv_urg(), ACE_SOCK_SEQPACK_Association::recv_urg(), ACE_SOCK_Stream::send_urg(), and ACE_SOCK_SEQPACK_Association::send_urg().

#define MSG_PEEK   0x2
 

Definition at line 156 of file os_socket.h.

Referenced by ACE_IOStream< STREAM >::eof(), ACE_Streambuf::get_one_byte(), ACE::handle_timed_complete(), ACE_SOCK_Dgram_SC< STREAM >::recv(), and ACE_OS::recvfrom().

#define PF_INET   AF_INET
 

Definition at line 125 of file os_socket.h.

Referenced by ACE_INET_Addr::get_addr_size(), ACE::get_handle(), ACE_INET_Addr::get_host_name_i(), ACE_INET_Addr::get_port_number(), ACE_OS::getmacaddress(), ACE_INET_Addr::ip_addr_pointer(), ACE_INET_Addr::ip_addr_size(), ACE::ipv4_enabled(), ACE_SOCK_SEQPACK_Acceptor::open(), ACE_SOCK_Dgram::open(), ACE_SOCK_CODgram::open(), ACE_SOCK_Acceptor::open(), ACE_MEM_Acceptor::open(), ACE_SOCK_SEQPACK_Acceptor::shared_open(), ACE_SOCK_Dgram::shared_open(), and ACE_SOCK_Acceptor::shared_open().

#define PF_LOCAL   AF_LOCAL
 

Definition at line 129 of file os_socket.h.

#define PF_UNIX   PF_LOCAL
 

Definition at line 133 of file os_socket.h.

Referenced by ACE_SOCK::open().

#define PF_UNSPEC   0
 

Definition at line 141 of file os_socket.h.

Referenced by ACE_SOCK_SEQPACK_Acceptor::open(), ACE_SOCK_Dgram::open(), ACE_SOCK_Acceptor::open(), and ACE_INET_Addr::set().

#define SCM_RIGHTS   0x01
 

Definition at line 200 of file os_socket.h.

#define SO_BROADCAST   0x0020
 

Definition at line 192 of file os_socket.h.

Referenced by ACE_SOCK_Dgram_Bcast::mk_broadcast().

#define SO_ERROR   0x1007
 

Definition at line 196 of file os_socket.h.

Referenced by ACE::handle_timed_complete().

#define SO_LINGER   0x0080
 

Definition at line 180 of file os_socket.h.

Referenced by ACE_SOCK_SEQPACK_Association::abort().

#define SO_RCVBUF   0x1002
 

Definition at line 188 of file os_socket.h.

Referenced by ACE_Pipe::open().

#define SO_REUSEADDR   0x0004
 

Definition at line 176 of file os_socket.h.

Referenced by ACE_TLI_Connector::connect(), ACE_TLI_Acceptor::open(), ACE_SOCK::open(), and ACE_OS::setsockopt().

#define SO_SNDBUF   0x1001
 

Definition at line 184 of file os_socket.h.

Referenced by ACE_Pipe::open().

#define SOCK_DGRAM   2
 

Definition at line 164 of file os_socket.h.

Referenced by ACE::get_handle(), get_ip_interfaces_win32(), ACE_OS::getmacaddress(), ip_check(), ACE_SOCK_Dgram_Mcast::open(), ACE_SOCK_Dgram::open(), and ACE_SOCK_CODgram::open().

#define SOCK_SEQPACKET   5
 

Definition at line 168 of file os_socket.h.

Referenced by ACE_SOCK_SEQPACK_Acceptor::open(), and ACE_SOCK_SEQPACK_Connector::shared_open().

#define SOCK_STREAM   1
 

Definition at line 160 of file os_socket.h.

Referenced by ACE::get_bcast_addr(), ACE_SOCK_SEQPACK_Acceptor::open(), ACE_SOCK_Acceptor::open(), ACE_Pipe::open(), ACE_SOCK_SEQPACK_Connector::shared_open(), and ACE_SOCK_Connector::shared_open().

#define SOL_SOCKET   0xffff
 

Definition at line 172 of file os_socket.h.

Referenced by ACE_SOCK_SEQPACK_Association::abort(), ACE_TLI_Connector::connect(), ACE::handle_timed_complete(), ACE_SOCK_Dgram_Bcast::mk_broadcast(), ACE_TLI_Acceptor::open(), ACE_SOCK::open(), ACE_Pipe::open(), ACE_SOCK_Dgram_Mcast::open_i(), and ACE_OS::setsockopt().


Typedef Documentation

typedef int ACE_SOCKET_LEN
 

Definition at line 239 of file os_socket.h.

Referenced by ACE_OS::accept(), ACE_OS::bind(), ACE_OS::connect(), ACE_OS::gethostbyaddr(), ACE_OS::gethostbyaddr_r(), ACE_OS::getpeername(), ACE_OS::getsockname(), ACE_OS::getsockopt(), and ACE_OS::recvfrom().


Generated on Sun Jan 27 12:39:31 2008 for ACE by doxygen 1.3.6