Versions in this module Expand all Collapse all v0 v0.0.2 Nov 29, 2025 Changes in this version + func TcpFlagsToByte(flags ...TcpFlag) byte + type Config struct + Counters Counters + Exporter Exporter + NFTables NFTables + Version string + type Counter struct + Bytes uint64 + Dir string + DstAddr netip.Addr + DstPort uint16 + Label string + Packets uint64 + Protocol Protocol + SrcAddr netip.Addr + SrcPort uint16 + TcpFlags []TcpFlag + type Counters struct + Input []Counter + Output []Counter + type Exporter struct + Interval time.Duration + OTLP OTLP + type NFTables struct + ChainPriority int32 + Family TableFamily + TableName string + type OTLP struct + Endpoint string + Protocol OTLPProtocol + TLS *TLSConfig + type OTLPProtocol string + const OTLPProtocolGRPC + const OTLPProtocolHTTP + const OTLPProtocolStdout + func (p *OTLPProtocol) UnmarshalYAML(unmarshal func(interface{}) error) error + type Protocol uint8 + const ProtocolICMP + const ProtocolICMPv6 + const ProtocolTCP + const ProtocolUDP + func ProtocolFromString(s string) Protocol + func (p *Protocol) UnmarshalYAML(unmarshal func(interface{}) error) error + func (p Protocol) AsSlice() []byte + func (p Protocol) String() string + type TLSConfig struct + CAFile string + CertFile string + KeyFile string + type TableFamily uint8 + const TableFamilyIPv4 + const TableFamilyIPv6 + const TableFamilyInet + func TableFamilyFromString(s string) TableFamily + func (f *TableFamily) UnmarshalYAML(unmarshal func(interface{}) error) error + func (f TableFamily) String() string + type TcpFlag uint8 + const TcpFlagACK + const TcpFlagCWR + const TcpFlagECE + const TcpFlagFIN + const TcpFlagPSH + const TcpFlagRST + const TcpFlagSYN + const TcpFlagURG + func TcpFlagFromString(s string) TcpFlag + func TcpFlagsFromByte(b byte) []TcpFlag + func (f *TcpFlag) UnmarshalText(text []byte) error + func (f TcpFlag) String() string v0.0.1 Nov 29, 2025