Skip to content

Commit

Permalink
A few more docs
Browse files Browse the repository at this point in the history
  • Loading branch information
flub committed Dec 12, 2024
1 parent 9df63b6 commit 7399e75
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion iroh/src/magicsock/relay_actor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,10 @@ struct ActiveRelayHandle {

/// A packet to send over the relay.
///
/// This is nothing but a newtype, it should be constructed using [`PacketizeIter`].
/// This is nothing but a newtype, it should be constructed using [`PacketizeIter`]. This
/// is a packet of one or more datagrams, each prefixed with a u16-be length. This is what
/// the `Frame::SendPacket` of the `DerpCodec` transports and is produced by
/// [`PacketizeIter`] and transformed back into datagrams using [`PacketSplitIter`].
#[derive(Debug, PartialEq, Eq)]
struct RelaySendPacket {
node_id: NodeId,
Expand Down

0 comments on commit 7399e75

Please sign in to comment.