Méthode | Description | |
---|---|---|
ExtractVersion ( int lLen, byte packetBytes ) : IPPacket.IPVersions | ||
extractProtocol ( int lLen, byte packetBytes ) : int |
Extract the protocol code from packet data. The packet data must contain an IP datagram. The protocol code specifies what kind of information is contained in the data block of the ip datagram.
|
|
getDescription ( int code ) : System.String |
Fetch a protocol description.
|
Méthode | Description | |
---|---|---|
IPProtocol ( ) : SharpPcap.Packets.Util |
public static ExtractVersion ( int lLen, byte packetBytes ) : IPPacket.IPVersions | ||
lLen | int | |
packetBytes | byte | |
Résultat | IPPacket.IPVersions |
public static extractProtocol ( int lLen, byte packetBytes ) : int | ||
lLen | int | the length of the link-level header. /// |
packetBytes | byte | packet bytes, including the link-layer header. /// |
Résultat | int |
public static getDescription ( int code ) : System.String | ||
code | int | the code associated with the message. /// |
Résultat | System.String |