s_bot_control Struct Reference

Collaboration diagram for s_bot_control:

Collaboration graph
[legend]
List of all members.

Detailed Description

Stores control packet.

Author:
VooDooMan
Version:
1
Date:
2004

Definition at line 264 of file botnet.cpp.

Public Member Functions

void flip_header ()
void flip_rest ()
void hard_clear ()
 s_bot_control ()

Public Attributes

uint32 control
 ID of control command.
MSVC_ALIGN1 union s_bot_control::u_control_data control_data
 Data of control.
uint32 packet_type
 This must be PACKET_TYPE_CONTROL.
uint32 size
 Used for decompressing.
uint32 supported_proto_version
 Highest supported protocol.

Classes

union  u_control_data
 Data of control. More...


Constructor & Destructor Documentation

s_bot_control::s_bot_control  )  [inline]
 

Definition at line 315 of file botnet.cpp.

00316     {
00317         memset(this,0,sizeof(*this));
00318     }


Member Function Documentation

void s_bot_control::flip_header  )  [inline]
 

Definition at line 320 of file botnet.cpp.

References byteReverse().

Referenced by botnet_receive(), and botnet_send_control().

00321     {
00322         byteReverse((unsigned char*)this,4);
00323     }

Here is the call graph for this function:

void s_bot_control::flip_rest  )  [inline]
 

Definition at line 324 of file botnet.cpp.

Referenced by botnet_receive(), and botnet_send_control().

00325     {
00326     }

void s_bot_control::hard_clear  )  [inline]
 

Definition at line 328 of file botnet.cpp.

Referenced by botnet_link(), botnet_loop(), and botnet_receive().

00329     {
00330         memset(this,0,sizeof(*this));
00331     }


Member Data Documentation

uint32 s_bot_control::control
 

ID of control command.

Definition at line 273 of file botnet.cpp.

Referenced by botnet_loop(), and botnet_send_control().

MSVC_ALIGN1 union s_bot_control::u_control_data s_bot_control::control_data
 

Data of control.

Author:
VooDooMan
Version:
1
Date:
2005

Referenced by botnet_receive(), and botnet_send_control().

uint32 s_bot_control::packet_type
 

This must be PACKET_TYPE_CONTROL.

Definition at line 270 of file botnet.cpp.

Referenced by botnet_loop(), botnet_receive(), and botnet_send_control().

uint32 s_bot_control::size
 

Used for decompressing.

Definition at line 271 of file botnet.cpp.

Referenced by botnet_receive(), and botnet_send_control().

uint32 s_bot_control::supported_proto_version
 

Highest supported protocol.

Definition at line 272 of file botnet.cpp.

Referenced by botnet_loop().


The documentation for this struct was generated from the following file:
Generated on Sun Jul 10 05:45:46 2005 for VooDoo cIRCle by doxygen 1.4.3

Hosted by SourceForge.net Logo