Seastar
High performance C++ framework for concurrent servers
Classes | Public Types | Public Member Functions | List of all members
seastar::net::l3_protocol Class Reference

Classes

struct  l3packet
 

Public Types

using packet_provider_type = std::function< std::optional< l3packet >()>
 

Public Member Functions

 l3_protocol (interface *netif, eth_protocol_num proto_num, packet_provider_type func)
 
future receive (std::function< future<>(packet, ethernet_address)> rx_fn, std::function< bool(forward_hash &, packet &, size_t)> forward)
 

Class Documentation

◆ seastar::net::l3_protocol::l3packet

struct seastar::net::l3_protocol::l3packet
Class Members
packet p
eth_protocol_num proto_num
ethernet_address to

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