Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
IPProtocol ( ) : SharpPcap.Packets.Util |
public static ExtractVersion ( int lLen, byte packetBytes ) : IPPacket.IPVersions | ||
lLen | int | |
packetBytes | byte | |
Результат | 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. /// |
Результат | int |
public static getDescription ( int code ) : System.String | ||
code | int | the code associated with the message. /// |
Результат | System.String |