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

Function RequireResendNoShmem

library/cpp/netliba/v6/udp_client_server.cpp:648–654  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

646 }
647
648 static void RequireResendNoShmem(const TNetSocket& s, const sockaddr_in6& toAddress, int transferId, int attempt) {
649 char buf[100], *pktData = buf + UDP_LOW_LEVEL_HEADER_SIZE;
650 Write(&pktData, transferId);
651 Write(&pktData, (char)ACK_RESEND_NOSHMEM);
652 Write(&pktData, attempt);
653 s.SendTo(buf, (int)(pktData - buf), toAddress, FF_ALLOW_FRAG);
654 }
655
656 static void AckComplete(const TNetSocket& s, const sockaddr_in6& toAddress, int transferId, const TGUID& packetGuid, int packetId) {
657 char buf[100], *pktData = buf + UDP_LOW_LEVEL_HEADER_SIZE;

Callers 1

RecvCycleMethod · 0.85

Calls 2

WriteFunction · 0.70
SendToMethod · 0.45

Tested by

no test coverage detected