solana_streamer

Module packet

Source
Expand description

The packet module defines data structures and methods to pull data from the network.

Structs§

Meta
Packet
PacketBatch

Constants§

NUM_PACKETS
PACKETS_PER_BATCH
PACKET_DATA_SIZE
Maximum over-the-wire size of a Transaction 1280 is IPv6 minimum MTU 40 bytes is the size of the IPv6 header 8 bytes is the size of the fragment header

Functions§

recv_from
send_to
to_packet_batches

Type Aliases§

PacketBatchRecycler