| 487 | /////////////////////////////////////////////////////////////////////////////// |
| 488 | |
| 489 | inline void WriteTransferPacketHeader(char** buf, const EUdpCmd cmd, const TConnection* connection, ui64 transferId, TOptionsVector* opt) { |
| 490 | Y_ASSERT(IsTransferCmd(cmd)); |
| 491 | Y_ASSERT(!connection->GetGuid().IsEmpty() && transferId); |
| 492 | const ui32 transferLower = opt->PacketOpt.EncodeTransferId(transferId); |
| 493 | |
| 494 | WriteInConnectionPacketHeader(buf, cmd, connection, opt); |
| 495 | Write(buf, transferLower); |
| 496 | } |
| 497 | |
| 498 | /////////////////////////////////////////////////////////////////////////////// |
| 499 |
no test coverage detected