Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

G1Packet.h File Reference

#include "Packet.h"

Go to the source code of this file.

Defines

#define AFX_G1PACKET_H__6B611C29_56C1_4E2A_AA72_249AB7BD76D0__INCLUDED_
#define G1_PACKET_PING   0x00
#define G1_PACKET_PONG   0x01
#define G1_PACKET_BYE   0x02
#define G1_PACKET_QUERY_ROUTE   0x30
#define G1_PACKET_VENDOR   0x31
#define G1_PACKET_VENDOR_APP   0x32
#define G1_PACKET_PUSH   0x40
#define G1_PACKET_QUERY   0x80
#define G1_PACKET_HIT   0x81
#define G1_PACKTYPE_UNKNOWN   0
#define G1_PACKTYPE_PING   1
#define G1_PACKTYPE_PONG   2
#define G1_PACKTYPE_BYE   3
#define G1_PACKTYPE_QUERY_ROUTE   4
#define G1_PACKTYPE_VENDOR   5
#define G1_PACKTYPE_PUSH   6
#define G1_PACKTYPE_QUERY   7
#define G1_PACKTYPE_HIT   8
#define G1_PACKTYPE_MAX   9
#define G1_QF_TAG   0x8000
#define G1_QF_FIREWALLED   0x4000
#define G1_QF_XML   0x2000
#define G1_QF_DYNAMIC   0x1000
#define G1_QF_BIN_HASH   0x800
#define G1_QF_OOB   0x400
#define G1_QHD_PUSH   0x01
#define G1_QHD_BAD   0x02
#define G1_QHD_BUSY   0x04
#define G1_QHD_STABLE   0x08
#define G1_QHD_SPEED   0x10
#define G1_QHD_GGEP   0x20
#define G1_QHD_MASK   0x3D
#define GGEP_MAGIC   0xC3


Define Documentation

#define AFX_G1PACKET_H__6B611C29_56C1_4E2A_AA72_249AB7BD76D0__INCLUDED_
 

Definition at line 27 of file G1Packet.h.

#define G1_PACKET_BYE   0x02
 

Definition at line 183 of file G1Packet.h.

Referenced by CG1Packet::GnutellaTypeToIndex(), and CG1Neighbour::OnPacket().

#define G1_PACKET_HIT   0x81
 

Definition at line 189 of file G1Packet.h.

Referenced by CLocalSearch::CreatePacketG1(), CG1Packet::GnutellaTypeToIndex(), CHostBrowser::OnPacket(), and CG1Neighbour::OnPacket().

#define G1_PACKET_PING   0x00
 

Definition at line 181 of file G1Packet.h.

Referenced by CG1Neighbour::CG1Neighbour(), CG1Packet::GnutellaTypeToIndex(), CG1Neighbour::OnPacket(), and CG1Neighbour::SendPing().

#define G1_PACKET_PONG   0x01
 

Definition at line 182 of file G1Packet.h.

Referenced by CG1Packet::GnutellaTypeToIndex(), CG1Neighbour::OnPacket(), CG1Neighbour::OnPing(), CHostCacheHost::ToG1Ping(), and CPongItem::ToPacket().

#define G1_PACKET_PUSH   0x40
 

Definition at line 187 of file G1Packet.h.

Referenced by CG1Packet::GnutellaTypeToIndex(), CG1Neighbour::OnPacket(), CG1Neighbour::SendG2Push(), and CNetwork::SendPush().

#define G1_PACKET_QUERY   0x80
 

Definition at line 188 of file G1Packet.h.

Referenced by CG1Packet::GnutellaTypeToIndex(), CG1Neighbour::OnPacket(), and CQuerySearch::ToG1Packet().

#define G1_PACKET_QUERY_ROUTE   0x30
 

Definition at line 184 of file G1Packet.h.

Referenced by CG1Packet::GnutellaTypeToIndex(), CG1Neighbour::OnPacket(), CQueryHashTable::PatchTo(), and CQueryHashTable::PatchToOldShareaza().

#define G1_PACKET_VENDOR   0x31
 

Definition at line 185 of file G1Packet.h.

Referenced by CG1Neighbour::CG1Neighbour(), CG1Packet::GnutellaTypeToIndex(), CG1Neighbour::OnPacket(), and CG1Neighbour::SendClusterAdvisor().

#define G1_PACKET_VENDOR_APP   0x32
 

Definition at line 186 of file G1Packet.h.

Referenced by CG1Packet::GnutellaTypeToIndex(), and CG1Neighbour::OnPacket().

#define G1_PACKTYPE_BYE   3
 

Definition at line 195 of file G1Packet.h.

Referenced by CG1Packet::GnutellaTypeToIndex().

#define G1_PACKTYPE_HIT   8
 

Definition at line 200 of file G1Packet.h.

Referenced by CG1Packet::GnutellaTypeToIndex().

#define G1_PACKTYPE_MAX   9
 

Definition at line 201 of file G1Packet.h.

Referenced by CG1PacketBuffer::CG1PacketBuffer(), CG1PacketBuffer::Clear(), CG1PacketBuffer::GetPacketToSend(), CPacketWnd::OnContextMenu(), and CPacketWnd::OnCreate().

#define G1_PACKTYPE_PING   1
 

Definition at line 193 of file G1Packet.h.

Referenced by CG1Packet::GnutellaTypeToIndex().

#define G1_PACKTYPE_PONG   2
 

Definition at line 194 of file G1Packet.h.

Referenced by CG1Packet::GnutellaTypeToIndex().

#define G1_PACKTYPE_PUSH   6
 

Definition at line 198 of file G1Packet.h.

Referenced by CG1Packet::GnutellaTypeToIndex().

#define G1_PACKTYPE_QUERY   7
 

Definition at line 199 of file G1Packet.h.

Referenced by CG1Packet::GnutellaTypeToIndex().

#define G1_PACKTYPE_QUERY_ROUTE   4
 

Definition at line 196 of file G1Packet.h.

Referenced by CG1Packet::GnutellaTypeToIndex().

#define G1_PACKTYPE_UNKNOWN   0
 

Definition at line 192 of file G1Packet.h.

Referenced by CG1Packet::GnutellaTypeToIndex().

#define G1_PACKTYPE_VENDOR   5
 

Definition at line 197 of file G1Packet.h.

Referenced by CG1Packet::GnutellaTypeToIndex().

#define G1_QF_BIN_HASH   0x800
 

Definition at line 208 of file G1Packet.h.

Referenced by CQuerySearch::ToG1Packet().

#define G1_QF_DYNAMIC   0x1000
 

Definition at line 207 of file G1Packet.h.

Referenced by CQuerySearch::ToG1Packet().

#define G1_QF_FIREWALLED   0x4000
 

Definition at line 205 of file G1Packet.h.

Referenced by CQuerySearch::ReadG1Packet(), and CQuerySearch::ToG1Packet().

#define G1_QF_OOB   0x400
 

Definition at line 209 of file G1Packet.h.

#define G1_QF_TAG   0x8000
 

Definition at line 204 of file G1Packet.h.

Referenced by CQuerySearch::ReadG1Packet(), and CQuerySearch::ToG1Packet().

#define G1_QF_XML   0x2000
 

Definition at line 206 of file G1Packet.h.

Referenced by CQuerySearch::ReadG1Packet(), and CQuerySearch::ToG1Packet().

#define G1_QHD_BAD   0x02
 

Definition at line 213 of file G1Packet.h.

#define G1_QHD_BUSY   0x04
 

Definition at line 214 of file G1Packet.h.

Referenced by CQueryHit::ParseAttributes(), and CLocalSearch::WriteTrailerG1().

#define G1_QHD_GGEP   0x20
 

Definition at line 217 of file G1Packet.h.

Referenced by CQueryHit::FromPacket(), and CLocalSearch::WriteTrailerG1().

#define G1_QHD_MASK   0x3D
 

Definition at line 218 of file G1Packet.h.

#define G1_QHD_PUSH   0x01
 

Definition at line 212 of file G1Packet.h.

Referenced by CQueryHit::FromPacket(), CQueryHit::ParseAttributes(), and CLocalSearch::WriteTrailerG1().

#define G1_QHD_SPEED   0x10
 

Definition at line 216 of file G1Packet.h.

Referenced by CQueryHit::ParseAttributes(), and CLocalSearch::WriteTrailerG1().

#define G1_QHD_STABLE   0x08
 

Definition at line 215 of file G1Packet.h.

Referenced by CQueryHit::ParseAttributes(), and CLocalSearch::WriteTrailerG1().

#define GGEP_MAGIC   0xC3
 

Definition at line 221 of file G1Packet.h.

Referenced by CG1Neighbour::OnPing(), CG1Neighbour::OnPong(), CG1Neighbour::OnPush(), CQuerySearch::ReadG1Packet(), CQueryHit::ReadG1Packet(), CGGEPBlock::ReadInternal(), CGGEPBlock::Write(), and CLocalSearch::WriteTrailerG1().


Generated on Thu Dec 15 10:39:56 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2