MCPcopy Create free account
hub / github.com/catboost/catboost / WriteAcksHeader

Function WriteAcksHeader

library/cpp/netliba/v12/udp_host_protocol.h:543–547  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

541 ///////////////////////////////////////////////////////////////////////////////
542
543 inline void WriteAcksHeader(char** packetBuffer, EUdpCmd cmd, const TConnection* connection, ui64 transferId) {
544 Y_ASSERT(IsAckCmd(cmd));
545 TOptionsVector opt;
546 WriteTransferPacketHeader(packetBuffer, cmd, connection, transferId, &opt);
547 }
548
549 inline bool ReadAckPacketHeader(const EUdpCmd cmd, const char** pktData, const char* pktEnd) {
550 Y_ASSERT(IsAckCmd(cmd));

Callers 3

SendAckResendNoShmemFunction · 0.85
AddAcksToPacketQueueFunction · 0.85

Calls 2

IsAckCmdFunction · 0.85

Tested by

no test coverage detected