Свойство | Type | Description | |
---|---|---|---|
ipVersion | int |
Свойство | Type | Description | |
---|---|---|---|
_ipOffset | int |
Méthode | 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.
|
Méthode | 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 | |
Résultat | 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. /// |
Résultat | int |
public IPv4Packet ( int lLen, byte bytes ) : System | ||
lLen | int | |
bytes | byte | |
Résultat | System |
public IPv4Packet ( int lLen, byte bytes, |
||
lLen | int | |
bytes | byte | |
tv | ||
Résultat | System |
public IsValidTransportLayerChecksum ( bool pseudoIPHeader ) : bool | ||
pseudoIPHeader | bool | |
Résultat | bool |
protected SetChecksum ( int cs, int checkSumOffset ) : void | ||
cs | int | |
checkSumOffset | int | |
Résultat | void |
protected SetTransportLayerChecksum ( int cs, int csPos ) : void | ||
cs | int | |
csPos | int | |
Résultat | void |
public ToColoredString ( bool colored ) : System.String | ||
colored | bool | whether or not the string should contain ansi /// color escape sequences. /// |
Résultat | System.String |
public ToColoredVerboseString ( bool colored ) : System.String | ||
colored | bool | |
Résultat | System.String |