Свойство | Тип | Описание | |
---|---|---|---|
ipVersion | int |
Свойство | Тип | Описание | |
---|---|---|---|
_ipOffset | int |
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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 | |
Результат | 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. /// |
Результат | int |
public IPv4Packet ( int lLen, byte bytes ) : System | ||
lLen | int | |
bytes | byte | |
Результат | System |
public IPv4Packet ( int lLen, byte bytes, |
||
lLen | int | |
bytes | byte | |
tv | ||
Результат | System |
public IsValidTransportLayerChecksum ( bool pseudoIPHeader ) : bool | ||
pseudoIPHeader | bool | |
Результат | bool |
protected SetChecksum ( int cs, int checkSumOffset ) : void | ||
cs | int | |
checkSumOffset | int | |
Результат | void |
protected SetTransportLayerChecksum ( int cs, int csPos ) : void | ||
cs | int | |
csPos | int | |
Результат | void |
public ToColoredString ( bool colored ) : System.String | ||
colored | bool | whether or not the string should contain ansi /// color escape sequences. /// |
Результат | System.String |
public ToColoredVerboseString ( bool colored ) : System.String | ||
colored | bool | |
Результат | System.String |