Property | Type | Description | |
---|---|---|---|
ipVersion | int |
Property | Type | Description | |
---|---|---|---|
_ipOffset | int |
Method | Description | |
---|---|---|
ComputeIPChecksum ( ) : int |
Same as
|
|
ComputeIPChecksum ( bool update ) : int |
Computes the IP checksum, optionally updating the IP checksum header.
|
|
IPv4Packet ( int lLen, byte bytes ) : System |
Create a new IP packet.
|
|
IPv4Packet ( int lLen, byte bytes, |
Create a new IP packet.
|
|
IsValidTransportLayerChecksum ( bool pseudoIPHeader ) : bool | ||
OnOffsetChanged ( ) : void |
should be overriden by upper classes
|
|
ToColoredString ( bool colored ) : System.String |
Generate string with contents describing this IP packet.
|
|
ToColoredVerboseString ( bool colored ) : System.String |
Convert this IP packet to a more verbose string.
|
|
ToString ( ) : System.String |
Convert this IP packet to a readable string.
|
Method | Description | |
---|---|---|
AttachPseudoIPHeader ( byte origHeader ) : byte[] | ||
SetChecksum ( int cs, int checkSumOffset ) : void |
Sets the IP header checksum.
|
|
SetTransportLayerChecksum ( int cs, int csPos ) : void |
protected AttachPseudoIPHeader ( byte origHeader ) : byte[] | ||
origHeader | byte | |
return | byte[] |
public ComputeIPChecksum ( bool update ) : int | ||
update | bool | Specifies whether or not to update the IP checksum /// header after computing the checksum. A value of true indicates /// the header should be updated, a value of false indicates it /// should not be updated. /// |
return | int |
public IPv4Packet ( int lLen, byte bytes ) : System | ||
lLen | int | |
bytes | byte | |
return | System |
public IPv4Packet ( int lLen, byte bytes, |
||
lLen | int | |
bytes | byte | |
tv | ||
return | System |
public IsValidTransportLayerChecksum ( bool pseudoIPHeader ) : bool | ||
pseudoIPHeader | bool | |
return | bool |
protected SetChecksum ( int cs, int checkSumOffset ) : void | ||
cs | int | |
checkSumOffset | int | |
return | void |
protected SetTransportLayerChecksum ( int cs, int csPos ) : void | ||
cs | int | |
csPos | int | |
return | void |
public ToColoredString ( bool colored ) : System.String | ||
colored | bool | whether or not the string should contain ansi /// color escape sequences. /// |
return | System.String |
public ToColoredVerboseString ( bool colored ) : System.String | ||
colored | bool | |
return | System.String |