PacMap.Protocols.IPv4

Constructor

IPv4(byte[], Packet.Packet)

/// <summary>
/// Constructs IPv4 Class
/// </summary>
/// <param name="input">bytes array</param>
/// <param name="packet">packet frame</param>
IPv4(byte[] input, Packet.Packet packet)

Properties

bool AnyError

int CTL

/// <summary>
/// Get Packet Captured Length (true one)
/// </summary>
int CTL { get; }

string DestinationIP

/// <summary>
/// Get or Set Destination IP Address (Right Address)
/// </summary>
string DestinationIP { get; } { set; }

int DSCP

/// <summary>
/// Get Differentiated Services Code Point
/// </summary>
int DSCP { get; }

int ECN

/// <summary>
/// Get Explicit Congestion Notification
/// </summary>
int ECN { get; }

int FLAGS

/// <summary>
/// Get Flags
/// </summary>
int FLAGS { get; }

int FO

/// <summary>
/// Get Fragment offset
/// </summary>
int FO { get; }

int ID

/// <summary>
/// Get Identification
/// </summary>
int ID { get; }

int IHL

/// <summary>
/// Get Internal Header Length
/// </summary>
int IHL { get; }

string IP

/// <summary>
/// Get or Set Local IP Address
/// </summary>
string IP { get; } { set; }

bool IsHeaderCheckumCorrect

/// <summary>
/// Check Header Checksum is Correct
/// </summary>
bool IsHeaderCheckumCorrect { get; }

int OriginalHeaderChecksum

/// <summary>
/// Get Original Header Checksum
/// </summary>
int OriginalHeaderChecksum { get; }

ProtocolType Protocol

/// <summary>
/// Get Protocol Type
/// </summary>
ProtocolType Protocol { get; }

string RemoteIP

/// <summary>
/// Get or Set Remote IP Address
/// </summary>
string RemoteIP { get; } { set; }

string SourceIP

/// <summary>
/// Get or Set Source IP Address (Left Address)
/// </summary>
string SourceIP { get; } { set; }

int TL

/// <summary>
/// Get Packet Total Length (expected one)
/// </summary>
int TL { get; }

int TTL

/// <summary>
/// Get Time To Live
/// </summary>
int TTL { get; }

Methods

Instance

void Anonymize()

/// <summary>
/// Start AnonMapping Protocol
/// </summary>
void Anonymize()

object GetFullInformation()

/// <summary>
/// Get Full Packet Information for Advanced Packet Viewing
/// </summary>
/// <returns>Specialized Information Object</returns>
object GetFullInformation()

byte[] Save()

/// <summary>
/// Save Protocol to bytes array
/// </summary>
/// <returns>bytes array</returns>
byte[] Save()
 
assembly/protocols/ipv4.txt · Last modified: 2013/06/30 23:46 (external edit)     Back to top
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki Design by LouisWolf