C# 클래스 SharpPcap.Packets.IPProtocol

IPProtocol utility class.
파일 보기 프로젝트 열기: Zepheus/Fiesta_Utils 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

ExtractVersion() 공개 정적인 메소드

public static ExtractVersion ( int lLen, byte packetBytes ) : IPPacket.IPVersions
lLen int
packetBytes byte
리턴 IPPacket.IPVersions

extractProtocol() 공개 정적인 메소드

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.
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

getDescription() 공개 정적인 메소드

Fetch a protocol description.
public static getDescription ( int code ) : System.String
code int the code associated with the message. ///
리턴 System.String