Versions in this module Expand all Collapse all v2 v2.4.0 Jul 11, 2022 Changes in this version + var FieldTypeMap = map[string]FieldType + func DeleteCachedFields() error + type Field struct + Name string + Type FieldType + type FieldType uint + const FT_ABSOLUTE_TIME + const FT_AX25 + const FT_BOOLEAN + const FT_BYTES + const FT_CHAR + const FT_DOUBLE + const FT_ETHER + const FT_EUI64 + const FT_FCWWN + const FT_FLOAT + const FT_FRAMENUM + const FT_GUID + const FT_IEEE_11073_FLOAT + const FT_IEEE_11073_SFLOAT + const FT_INT16 + const FT_INT24 + const FT_INT32 + const FT_INT40 + const FT_INT48 + const FT_INT56 + const FT_INT64 + const FT_INT8 + const FT_IPXNET + const FT_IPv4 + const FT_IPv6 + const FT_NONE + const FT_NUM_TYPES + const FT_OID + const FT_PCRE + const FT_PROTOCOL + const FT_RELATIVE_TIME + const FT_REL_OID + const FT_STRING + const FT_STRINGZ + const FT_STRINGZPAD + const FT_SYSTEM_ID + const FT_UINT16 + const FT_UINT24 + const FT_UINT32 + const FT_UINT40 + const FT_UINT48 + const FT_UINT56 + const FT_UINT64 + const FT_UINT8 + const FT_UINT_BYTES + const FT_UINT_STRING + const FT_VINES + func ParseFieldType(s string) (res FieldType, ok bool) + type FieldsAndProtos struct + Fields interface{} + Protocols map[string]struct{} + type IPrefixCompleter interface + Completions func(prefix string, cb IPrefixCompleterCallback) + type IPrefixCompleterCallback interface + Call func([]string) + type Protocol string + type TSharkFields struct + func New() *TSharkFields + func (t *TSharkFields) Completions(prefix string, cb IPrefixCompleterCallback) + func (t *TSharkFields) LookupField(name string) (bool, Field) + func (w *TSharkFields) Init() error + func (w *TSharkFields) InitNoCache() error