Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PacketWriter ¶
type PcapNGWriter ¶
type PcapNGWriter struct {
// contains filtered or unexported fields
}
func NewPcapNGWriter ¶
func NewPcapNGWriter(pw *pcapgo.NgWriter, pcache *metadata.ProcessCache) *PcapNGWriter
func (*PcapNGWriter) Close ¶
func (w *PcapNGWriter) Close() error
func (*PcapNGWriter) Flush ¶
func (w *PcapNGWriter) Flush() error
func (*PcapNGWriter) WithNoBuffer ¶ added in v0.7.0
func (w *PcapNGWriter) WithNoBuffer() *PcapNGWriter
type PcapWriter ¶ added in v0.5.0
type PcapWriter struct {
// contains filtered or unexported fields
}
func NewPcapWriter ¶ added in v0.5.0
func NewPcapWriter(pw *pcapgo.Writer) *PcapWriter
func (*PcapWriter) Close ¶ added in v0.5.0
func (w *PcapWriter) Close() error
func (*PcapWriter) Flush ¶ added in v0.5.0
func (w *PcapWriter) Flush() error
type StdoutWriter ¶
type StdoutWriter struct { Decoder gopacket.Decoder OneLine bool PrintNumber bool NoTimestamp bool DoNothing bool FormatStyle pktdump.FormatStyle // contains filtered or unexported fields }
func NewStdoutWriter ¶
func NewStdoutWriter(writer io.Writer, pcache *metadata.ProcessCache) *StdoutWriter
func (*StdoutWriter) Close ¶
func (w *StdoutWriter) Close() error
func (*StdoutWriter) Flush ¶
func (w *StdoutWriter) Flush() error
Click to show internal directories.
Click to hide internal directories.