ams::mitm::bsd::ReceivedPacket
ams::mitm::bsd::ReceivedPacket
Section titled “ams::mitm::bsd::ReceivedPacket”Received packet data with source information.
Stores a received ProxyData packet along with the source address for RecvFrom() calls. Fixed-size payload buffer so the enclosing ring queue can live inline inwith zero heap allocations per packet — LDN traffic on real Switch cannot afford an alloc+free cycle per datagram (100+ pkts/s) on top of the internet round-trip.
Members
Section titled “Members”Type: ryu_ldn::bsd::SockAddrIn
Source address.
Type: uint16_t
Payload length (<= PROXY_SOCKET_MAX_PAYLOAD)
Type: uint16_t
Alignment.
Type: uint8_t
Payload buffer.