High performance C++ framework for concurrent servers
Public Member Functions | Public Attributes | List of all members
seastar::socket_address Class Reference

Public Member Functions

 socket_address (const sockaddr_in &sa)
 socket_address (const sockaddr_in6 &sa)
 socket_address (uint16_t)
 socket_address (ipv4_addr)
 socket_address (const ipv6_addr &)
 socket_address (const net::inet_address &, uint16_t p=0)
::sockaddr & as_posix_sockaddr ()
::sockaddr_in & as_posix_sockaddr_in ()
::sockaddr_in6 & as_posix_sockaddr_in6 ()
const ::sockaddr & as_posix_sockaddr () const
const ::sockaddr_in & as_posix_sockaddr_in () const
const ::sockaddr_in6 & as_posix_sockaddr_in6 () const
 socket_address (uint32_t, uint16_t p=0)
net::inet_address addr () const
::in_port_t port () const
bool is_wildcard () const
bool operator== (const socket_address &) const
bool operator!= (const socket_address &a) const

Public Attributes

union {
::sockaddr_storage sas
::sockaddr sa
::sockaddr_in in
::sockaddr_in6 in6

The documentation for this class was generated from the following file: