Documentation ¶
Index ¶
Constants ¶
View Source
const ( PCAP_DB = "flow_log" PCAP_TABLE = "l7_packet" )
View Source
const (
DefaultPcapPartition = ckdb.TimeFuncHour
)
Variables ¶
This section is empty.
Functions ¶
func GenPcapCKTable ¶
func PcapStoreColumns ¶
func ReleasePcapStore ¶
func ReleasePcapStore(l *PcapStore)
Types ¶
type PcapStore ¶
type PcapStore struct { Time uint32 StartTime int64 EndTime int64 FlowID uint64 VtapID uint16 PacketCount uint32 PacketBatch []byte AclGids []uint16 }
func AcquirePcapStore ¶
func AcquirePcapStore() *PcapStore
func (*PcapStore) WriteBlock ¶
type PcapWriter ¶
type PcapWriter struct {
// contains filtered or unexported fields
}
func NewPcapWriter ¶
func NewPcapWriter(config *config.Config) (*PcapWriter, error)
func (*PcapWriter) Write ¶
func (w *PcapWriter) Write(m interface{})
Click to show internal directories.
Click to hide internal directories.