9 #include <satcat5/eth_chat.h>
10 #include <satcat5/eth_dispatch.h>
11 #include <satcat5/ip_dispatch.h>
12 #include <satcat5/ip_ping.h>
14 #include <satcat5/udp_dispatch.h>
54 {
return m_ip.ipaddr();}
56 {
return m_ip.macaddr();}
58 {
m_ip.set_ipaddr(addr);}
60 {
m_ip.set_ipaddr(addr);}
62 {
m_ip.set_macaddr(macaddr);}
Implemention of "net::Dispatch" for Ethernet frames.
Abstract API for reading byte-streams and packets.
Abstract API for writing byte-streams and packets.
Protocol handler and dispatch unit for Internet Protocol v4 (IPv4).
Automatic "ping" functionality using an ICMP dispatch object A simplified wrapper for basic "ping" fu...
All-in-one Internet Protocol stack with all basic services.
satcat5::ip::Dispatch m_ip
IPv4 and ICMP layer.
satcat5::ip::Table m_route
IPv4 routing table.
satcat5::ip::Ping m_ping
Ping+Arping utilities.
satcat5::udp::Dispatch m_udp
UDP layer.
void set_addr(const satcat5::ip::Addr &addr)
DEPRECATED.
satcat5::udp::ProtoEcho m_echo
Echo on UDP port 7.
satcat5::eth::Dispatch m_eth
Ethernet layer.
Stack(const satcat5::eth::MacAddr &local_mac, const satcat5::ip::Addr &local_ip, satcat5::io::Writeable *dst, satcat5::io::Readable *src, satcat5::util::TimeRef *timer=0)
Create a complete IPv4/UDP protocol stack.
Dispatcher sorts incoming UDP messages by port index.
Thin wrapper for echo of UDP/IP frames through udp::Dispatch.
The TimeRef API provides access to a monotonic time-counter.
An Ethernet MAC address (with serializable interface).
IPv4 address is a 32-bit unsigned integer.