Versions in this module Expand all Collapse all v0 v0.5.0 Mar 31, 2015 Changes in this version + const ERROR_STATUS + const MaxIpPortTupleRawSize + const MaxTcpTupleRawSize + const OK_STATUS + const TsLayout + func Bytes_Htohl(b []byte) uint32 + func Bytes_Ntohl(b []byte) uint32 + func Bytes_Ntohll(b []byte) uint64 + func Bytes_Ntohs(b []byte) uint16 + func DumpInCSVFormat(fields []string, rows [][]string) string + func Ipv4_Ntoa(ip uint32) string + func IsLoopback(ip_str string) (bool, error) + func LocalIpAddrs() ([]net.IP, error) + func LocalIpAddrsAsStrings(include_loopbacks bool) ([]string, error) + func ReadString(s []byte) (string, error) + type CmdlineTuple struct + Dst []byte + Src []byte + type Endpoint struct + Cmdline string + Ip string + Name string + Port uint16 + Proc string + type HashableIpPortTuple [MaxIpPortTupleRawSize]byte + type HashableTcpTuple [MaxTcpTupleRawSize]byte + type IpPortTuple struct + Dst_ip net.IP + Dst_port uint16 + Ip_length int + Src_ip net.IP + Src_port uint16 + func NewIpPortTuple(ip_length int, src_ip net.IP, src_port uint16, dst_ip net.IP, dst_port uint16) IpPortTuple + func (t *IpPortTuple) ComputeHashebles() + func (t *IpPortTuple) Hashable() HashableIpPortTuple + func (t *IpPortTuple) RevHashable() HashableIpPortTuple + func (t *IpPortTuple) String() string + type MapStr map[string]interface + func (m MapStr) EnsureCountField() error + func (m MapStr) EnsureTimestampField(now func() time.Time) error + func (m MapStr) Update(d MapStr) + func MapStrUnion(dict1 MapStr, dict2 MapStr) MapStr + type TcpTuple struct + Dst_ip net.IP + Dst_port uint16 + Ip_length int + Src_ip net.IP + Src_port uint16 + Stream_id uint32 + func TcpTupleFromIpPort(t *IpPortTuple, tcp_id uint32) TcpTuple + func (t *TcpTuple) ComputeHashebles() + func (t *TcpTuple) Hashable() HashableTcpTuple + func (t TcpTuple) IpPort() *IpPortTuple + func (t TcpTuple) String() string + type Time time.Time + func MustParseTime(timespec string) Time + func ParseTime(timespec string) (Time, error) + func (t *Time) UnmarshalJSON(data []byte) (err error) + func (t Time) MarshalJSON() ([]byte, error)