10 #include <satcat5/udp_core.h>
11 #include <satcat5/udp_dispatch.h>
17 #ifndef SATCAT5_UDP_BUFFSIZE
18 #define SATCAT5_UDP_BUFFSIZE 1600
21 #ifndef SATCAT5_UDP_PACKETS
22 #define SATCAT5_UDP_PACKETS 32
67 u8* txbuff,
unsigned txbytes,
unsigned txpkt,
68 u8* rxbuff,
unsigned rxbytes,
unsigned rxpkt);
83 u8 m_txbuff[SATCAT5_UDP_BUFFSIZE];
84 u8 m_rxbuff[SATCAT5_UDP_BUFFSIZE];
98 u8 m_rxbuff[SATCAT5_UDP_BUFFSIZE];
112 u8 m_txbuff[SATCAT5_UDP_BUFFSIZE];
Buffered I/O for sending and receiving messages over a network.
Inheritable container for a udp::Address.
void retry() override
If this Address is not in the ready() state, reattempt any steps required to do so,...
Dispatcher sorts incoming UDP messages by port index.
BufferedIO wrapper for two-way UDP communication.
void connect(const satcat5::udp::Addr &dstaddr, const satcat5::eth::MacAddr &dstmac, const satcat5::udp::Port &dstport, satcat5::udp::Port srcport=satcat5::udp::PORT_NONE, const satcat5::eth::VlanTag &vtag=satcat5::eth::VTAG_NONE)
Connect with manual address resolution.
void bind(const satcat5::udp::Port &port)
Listening mode only (no remote address).
void reconnect()
Retry automatic address resolution.
SocketCore with fixed-size transmit and receive buffers.
Socket(satcat5::udp::Dispatch *iface)
Connect this Socket to a network interface.
SocketCore with fixed-size receive buffer only.
SocketRx(satcat5::udp::Dispatch *iface)
Connect this Socket to a network interface.
SocketCore with fixed-size transmit buffer only.
SocketTx(satcat5::udp::Dispatch *iface)
Connect this Socket to a network interface.
Buffered wrappers for generic network communication.
An Ethernet MAC address (with serializable interface).
Header contents for an 802.1Q Virtual-LAN tag.
IPv4 address is a 32-bit unsigned integer.
UDP and TCP ports are both 16-bit unsigned integers.