benilla-re systems structs docs

ClientLink::CmdXferInitiate

function · net · primitive

Address
0x5baf70 · 218 bytes, up to 0x5bb049
Signature
uint32_t __thiscall (ClientLink *this, CDataStore *message)
Meaning
Parses a transfer offer, a length-prefixed name, a u64 size and a 16-byte digest, and hands them to the link's owner
Confidence
verified, proof one
Finding
net/logonlink#file-transfer
Test
net::grunt_xfer_initiate

Finding: File transfer in net: logon link

The logon server can offer a file to download: 0x30 is a name length byte, the name, a u64 size and a 16-byte digest; 0x31 is a u16 length and that many data bytes. The client replies 0x32 to accept from the start, 0x33 and a u64 offset to resume, or 0x34 to cancel. The name length is one byte, so the test of it against 0x103 never fires; the 272-byte name buffer holds the 255 name bytes at most and the NUL.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 5

Calls and jumps by a bare address, from tables/calls.tsv.