Seastar
High performance C++ framework for concurrent servers
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Classes | Public Types | Public Member Functions | List of all members
seastar::net::tcp< InetTraits > Class Template Reference

Classes

class  connection
 
class  listener
 

Public Types

using ipaddr = typename InetTraits::address_type
 
using inet_type = typename InetTraits::inet_type
 
using connid = l4connid< InetTraits >
 
using connid_hash = typename connid::connid_hash
 

Public Member Functions

const inet_type & inet () const
 
 tcp (inet_type &inet)
 
void received (packet p, ipaddr from, ipaddr to)
 
bool forward (forward_hash &out_hash_data, packet &p, size_t off)
 
listener listen (uint16_t port, size_t queue_length=100)
 
connection connect (socket_address sa)
 
const net::hw_featureshw_features () const
 
future poll_tcb (ipaddr to, lw_shared_ptr< tcb > tcb)
 
void add_connected_tcb (lw_shared_ptr< tcb > tcbp, uint16_t local_port)
 

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