Home
last modified time | relevance | path

Searched refs:hspkt (Results 1 – 4 of 4) sorted by relevance

/dports/www/srt/srt-1.4.4/srtcore/
H A Dcore.h517 …SRT_ATR_NODISCARD bool interpretSrtHandshake(const CHandShake& hs, const CPacket& hspkt, uint32_t*…
545 …void acceptAndRespond(const sockaddr_any& agent, const sockaddr_any& peer, const CPacket& hspkt, C…
550 … bool runAcceptHook(CUDT* acore, const sockaddr* peer, const CHandShake& hs, const CPacket& hspkt);
H A Dapi.h262 int newConnection(const SRTSOCKET listen, const sockaddr_any& peer, const CPacket& hspkt,
H A Dcore.cpp2387 const CPacket& hspkt, in interpretSrtHandshake() argument
2418 if (hspkt.getLength() <= CHandShake::m_iContentSize) in interpretSrtHandshake()
2440 uint32_t* p = reinterpret_cast<uint32_t*>(hspkt.m_pcData + CHandShake::m_iContentSize); in interpretSrtHandshake()
2441 …size_t size = hspkt.getLength() - CHandShake::m_iContentSize; // Due to previous cond check we … in interpretSrtHandshake()
2473 … int rescmd = processSrtMsg_HSREQ(begin + 1, bytelen, hspkt.m_iTimeStamp, HS_VERSION_SRT1); in interpretSrtHandshake()
2500 … int rescmd = processSrtMsg_HSRSP(begin + 1, bytelen, hspkt.m_iTimeStamp, HS_VERSION_SRT1); in interpretSrtHandshake()
5529 if (!interpretSrtHandshake(w_hs, hspkt, (kmdata), (&kmdatasize))) in acceptAndRespond()
11205 …:CUDT::runAcceptHook(CUDT *acore, const sockaddr* peer, const CHandShake& hs, const CPacket& hspkt) in runAcceptHook() argument
11226 …if (hspkt.getLength() > CHandShake::m_iContentSize + 4 && IsSet(ext_flags, CHandShake::HS_EXT_CONF… in runAcceptHook()
11228 uint32_t *begin = reinterpret_cast<uint32_t *>(hspkt.m_pcData + CHandShake::m_iContentSize); in runAcceptHook()
[all …]
H A Dapi.cpp480 …::CUDTUnited::newConnection(const SRTSOCKET listen, const sockaddr_any& peer, const CPacket& hspkt, in newConnection() argument
618 if (!ls->core().runAcceptHook(&ns->core(), peer.get(), w_hs, hspkt)) in newConnection()
631 ns->core().acceptAndRespond(ls->m_SelfAddr, peer, hspkt, (w_hs)); in newConnection()