#include "ace/config-lite.h"
#include "ace/os_include/sys/os_uio.h"
Include dependency graph for os_socket.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
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_INET |
#define | ACE_PROTOCOL_FAMILY_INET PF_INET |
#define | ACE_HAS_SOCK_BUF_SIZE_MAX_VALUE SSIZE_MAX |
Typedefs | |
typedef int | ACE_SOCKET_LEN |
This code was originally in various places including ace/OS.h.
Definition in file os_socket.h.
#define ACE_ADDRESS_FAMILY_INET AF_INET |
Definition at line 212 of file os_socket.h.
#define ACE_HAS_SOCK_BUF_SIZE_MAX_VALUE SSIZE_MAX |
#define ACE_PROTOCOL_FAMILY_INET PF_INET |
Definition at line 213 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) |
#define AF_FILE (AF_MAX + 2) |
#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(), 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::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(), 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 |
#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 |
#define SO_ERROR 0x1007 |
#define SO_LINGER 0x0080 |
#define SO_RCVBUF 0x1002 |
#define SO_REUSEADDR 0x0004 |
Definition at line 176 of file os_socket.h.
Referenced by ACE_SOCK::open(), and ACE_OS::setsockopt().
#define SO_SNDBUF 0x1001 |
#define SOCK_DGRAM 2 |
Definition at line 164 of file os_socket.h.
Referenced by ACE::get_handle(), ACE_OS::getmacaddress(), 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::handle_timed_complete(), ACE_SOCK_Dgram_Bcast::mk_broadcast(), ACE_SOCK::open(), ACE_Pipe::open(), ACE_SOCK_Dgram_Mcast::open_i(), and ACE_OS::setsockopt().
typedef int ACE_SOCKET_LEN |
Definition at line 243 of file os_socket.h.