C# 클래스 Pcap.PcapWriter

상속: IDisposable
파일 보기 프로젝트 열기: vf1/serversockets 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void
Flush ( ) : void
PcapWriter ( Stream stream ) : System
Write ( byte bytes, Protocol protocol, IPEndPoint source, IPEndPoint destination ) : void
Write ( byte bytes, int offset, int length, Protocol protocol, IPEndPoint source, IPEndPoint destination ) : void
WriteComment ( string comment ) : void

비공개 메소드들

메소드 설명
CreateWritter ( ) : void
WriteChangesToStream ( ) : void
WriteEthernetHeader ( EtherType etherType ) : void
WriteGlobalHeader ( ) : void
WriteIpV4Header ( int length, bool tcpUdp, IPAddress source, IPAddress destination ) : void
WriteIpV6Header ( int length, bool tcpUdp, IPAddress source, IPAddress destination ) : void
WritePacketHeader ( int length ) : void
WriteTcpHeader ( int length, short sourcePort, short destinationPort ) : void
WriteTlsHeader ( int length ) : void
WriteUdpHeader ( int length, short sourcePort, short destinationPort ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

PcapWriter() 공개 메소드

public PcapWriter ( Stream stream ) : System
stream Stream
리턴 System

Write() 공개 메소드

public Write ( byte bytes, Protocol protocol, IPEndPoint source, IPEndPoint destination ) : void
bytes byte
protocol Protocol
source IPEndPoint
destination IPEndPoint
리턴 void

Write() 공개 메소드

public Write ( byte bytes, int offset, int length, Protocol protocol, IPEndPoint source, IPEndPoint destination ) : void
bytes byte
offset int
length int
protocol Protocol
source IPEndPoint
destination IPEndPoint
리턴 void

WriteComment() 공개 메소드

public WriteComment ( string comment ) : void
comment string
리턴 void