Documentation ¶
Index ¶
- type KeyLogFileWriter
- type KeyLogPcapNGWriter
- type KeyLogWriter
- type PacketWriter
- type PcapNGWriter
- func (w *PcapNGWriter) AddDev(dev types.Device)
- func (w *PcapNGWriter) Close() error
- func (w *PcapNGWriter) Flush() error
- func (w *PcapNGWriter) WithNoBuffer() *PcapNGWriter
- func (w *PcapNGWriter) WithPcapFilter(filter string) *PcapNGWriter
- func (w *PcapNGWriter) Write(e *event.Packet) error
- func (w *PcapNGWriter) WriteTLSKeyLog(line string) error
- type PcapWriter
- type StdoutWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyLogFileWriter ¶ added in v0.23.0
type KeyLogFileWriter struct {
// contains filtered or unexported fields
}
func NewKeyLogFileWriter ¶ added in v0.23.0
func NewKeyLogFileWriter(fpath string) (*KeyLogFileWriter, error)
func (*KeyLogFileWriter) Close ¶ added in v0.23.0
func (k *KeyLogFileWriter) Close() error
func (*KeyLogFileWriter) Flush ¶ added in v0.23.0
func (k *KeyLogFileWriter) Flush() error
func (*KeyLogFileWriter) Write ¶ added in v0.23.0
func (k *KeyLogFileWriter) Write(line string) error
type KeyLogPcapNGWriter ¶ added in v0.23.0
type KeyLogPcapNGWriter struct {
// contains filtered or unexported fields
}
func NewKeyLogPcapNGWriter ¶ added in v0.23.0
func NewKeyLogPcapNGWriter(w *PcapNGWriter) *KeyLogPcapNGWriter
func (*KeyLogPcapNGWriter) Close ¶ added in v0.23.0
func (k *KeyLogPcapNGWriter) Close() error
func (*KeyLogPcapNGWriter) Flush ¶ added in v0.23.0
func (k *KeyLogPcapNGWriter) Flush() error
func (*KeyLogPcapNGWriter) Write ¶ added in v0.23.0
func (k *KeyLogPcapNGWriter) Write(line string) error
type KeyLogWriter ¶ added in v0.23.0
type PacketWriter ¶
type PcapNGWriter ¶
type PcapNGWriter struct {
// contains filtered or unexported fields
}
func NewPcapNGWriter ¶
func NewPcapNGWriter(pw *pcapgo.NgWriter, pcache *metadata.ProcessCache, interfaceIds map[string]int) *PcapNGWriter
func (*PcapNGWriter) AddDev ¶ added in v0.25.0
func (w *PcapNGWriter) AddDev(dev types.Device)
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
func (*PcapNGWriter) WithPcapFilter ¶ added in v0.25.0
func (w *PcapNGWriter) WithPcapFilter(filter string) *PcapNGWriter
func (*PcapNGWriter) WriteTLSKeyLog ¶ added in v0.23.0
func (w *PcapNGWriter) WriteTLSKeyLog(line string) error
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 TimestampNano bool DoNothing bool FormatStyle pktdump.FormatStyle DataStyle pktdump.ContentStyle // 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.