MCPcopy Create free account
hub / github.com/amule-project/amule / GetUDPHeader

Method GetUDPHeader

src/Packet.cpp:235–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233}
234
235uint8_t* CPacket::GetUDPHeader() {
236 wxASSERT( !m_bSplitted );
237
238 memset(head, 0, 6);
239 UDP_Header_Struct* header = reinterpret_cast<UDP_Header_Struct*>(head);
240 header->eDonkeyID = prot;
241 header->command = opcode;
242
243 return head;
244}
245
246
247void CPacket::PackPacket()

Callers 2

SendControlDataMethod · 0.80
SendPacketMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected