Seastar
High performance C++ framework for concurrent servers
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
seastar::net::posix_network_stack Class Reference
Inheritance diagram for seastar::net::posix_network_stack:
seastar::network_stack seastar::net::posix_ap_network_stack

Public Member Functions

 posix_network_stack (boost::program_options::variables_map opts, std::pmr::polymorphic_allocator< char > *allocator=memory::malloc_allocator)
 
virtual server_socket listen (socket_address sa, listen_options opts) override
 
virtual ::seastar::socket socket () override
 
virtual net::udp_channel make_udp_channel (const socket_address &) override
 
virtual bool has_per_core_namespace () override
 
bool supports_ipv6 () const override
 
std::vector< network_interfacenetwork_interfaces () override
 
future< connected_socketconnect (socket_address sa, socket_address={}, transport proto=transport::TCP)
 
virtual future initialize ()
 

Static Public Member Functions

static future< std::unique_ptr< network_stack > > create (boost::program_options::variables_map opts, std::pmr::polymorphic_allocator< char > *allocator=memory::malloc_allocator)
 

Protected Attributes

std::pmr::polymorphic_allocator< char > * _allocator
 

Member Function Documentation

◆ network_interfaces()

std::vector<network_interface> seastar::net::posix_network_stack::network_interfaces ( )
overridevirtual

Returns available network interfaces. This represents a snapshot of interfaces available at call time, hence the return by value.

Reimplemented from seastar::network_stack.


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