Shark_libs::tree_converter Namespace Reference


Functions

def print_tree
 Prints tree passed from wireshark.
def create_structures
 Creates python tree structures from wireshark C tree structure.
def into_peach_type
 Converts wireshark type into peach type.

Function Documentation

def Shark_libs::tree_converter::create_structures (   hf_datanode,
  parent 
)

Creates python tree structures from wireshark C tree structure.

Parameters:
hf_datanode Root node.
parent Parent node of new python tree structure.
Returns:
New python tree on success, None otherwise

def Shark_libs::tree_converter::into_peach_type (   wireshark_elem  ) 

Converts wireshark type into peach type.

Parameters:
wireshark_elem Element of C tree which type is to be converted.
Returns:
String representation of the type on success, None otherwise.

def Shark_libs::tree_converter::print_tree (   hf_datanode,
  level 
)

Prints tree passed from wireshark.

Parameters:
hf_datanode Root node.
level Current tree node depth.


Generated on Sat Sep 4 18:19:36 2010 for HotFuzz by  doxygen 1.5.8