Seastar
High performance C++ framework for concurrent servers
|
Public Types | |
using | clock_type = lowres_clock |
using | address_type = ipv4_address |
using | proto_type = uint16_t |
Public Member Functions | |
ipv4 (interface *netif) | |
void | set_host_address (ipv4_address ip) |
ipv4_address | host_address () const |
void | set_gw_address (ipv4_address ip) |
ipv4_address | gw_address () const |
void | set_netmask_address (ipv4_address ip) |
ipv4_address | netmask_address () const |
interface * | netif () const |
void | set_packet_filter (ip_packet_filter *) |
ip_packet_filter * | packet_filter () const |
void | send (ipv4_address to, ip_protocol_num proto_num, packet p, ethernet_address e_dst) |
tcp< ipv4_traits > & | get_tcp () |
ipv4_udp & | get_udp () |
void | register_l4 (proto_type id, ip_protocol *handler) |
const net::hw_features & | hw_features () const |
void | learn (ethernet_address l2, ipv4_address l3) |
void | register_packet_provider (ipv4_traits::packet_provider_type &&func) |
future< ethernet_address > | get_l2_dst_address (ipv4_address to) |
Static Public Member Functions | |
static address_type | broadcast_address () |
static proto_type | arp_protocol_type () |
static bool | needs_frag (packet &p, ip_protocol_num proto_num, net::hw_features hw_features) |