Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetManagerInstance ¶
func GetManagerInstance() *filtersManager
Types ¶
type NetstateEvent ¶
type NetstateEvent struct { NetNs uint32 PID uint32 TS uint64 Comm [16]byte // SrcAddr is the local address. SrcAddr net.IP // DstAddr is the remote address. DstAddr net.IP // Last state is the state transition - should probably be changed to somthing more useful LastState uint16 // Last state is the state transition - should probably be changed to somthing more useful NewState uint16 // AddrFam is the address family, 2 is AF_INET (IPv4), 10 is AF_INET6 (IPv6). AddrFam uint32 // SrcPort is the local port (uint16 in C struct). // Note, network byte order is big-endian. SrcPort uint16 // DstPort is the remote port (uint16 in C struct). // Note, network byte order is big-endian. DstPort uint16 }
type NetstateFilter ¶
type NetstateFilter struct {
// contains filtered or unexported fields
}
func (*NetstateFilter) Close ¶
func (o *NetstateFilter) Close() error
func (*NetstateFilter) Events ¶
func (o *NetstateFilter) Events() <-chan *proto.Event
type OpenFileEvent ¶
type OpenFilesFilter ¶
type OpenFilesFilter struct {
// contains filtered or unexported fields
}
func (*OpenFilesFilter) Close ¶
func (o *OpenFilesFilter) Close() error
func (*OpenFilesFilter) Events ¶
func (o *OpenFilesFilter) Events() <-chan *proto.Event
type RenameEvent ¶
type RenameLinkFilter ¶
type RenameLinkFilter struct {
// contains filtered or unexported fields
}
func (*RenameLinkFilter) Close ¶
func (o *RenameLinkFilter) Close() error
func (*RenameLinkFilter) Events ¶
func (o *RenameLinkFilter) Events() <-chan *proto.Event
Click to show internal directories.
Click to hide internal directories.