Documentation ¶
Index ¶
- Constants
- Variables
- type Dns
- func (*Dns) Descriptor() ([]byte, []int)deprecated
- func (p *Dns) GetMsgtype() uint32
- func (x *Dns) GetQclass() uint32
- func (x *Dns) GetQname() []byte
- func (x *Dns) GetQtype() uint32
- func (x *Dns) GetRdata() [][]byte
- func (x *Dns) GetRrclass() uint32
- func (x *Dns) GetRrname() []byte
- func (x *Dns) GetRrttl() uint32
- func (x *Dns) GetRrtype() uint32
- func (x *Dns) GetSection() uint32
- func (p *Dns) GetVid() uint32
- func (*Dns) ProtoMessage()
- func (x *Dns) ProtoReflect() protoreflect.Message
- func (x *Dns) Reset()
- func (x *Dns) String() string
- type DnsObs
- func (*DnsObs) Descriptor() ([]byte, []int)deprecated
- func (x *DnsObs) GetGeoid() []byte
- func (d *DnsObs) GetMsgtype() uint32
- func (x *DnsObs) GetNsid() uint32
- func (x *DnsObs) GetQclass() uint32
- func (x *DnsObs) GetQname() []byte
- func (x *DnsObs) GetQtype() uint32
- func (x *DnsObs) GetQueryZone() []byte
- func (x *DnsObs) GetRcode() uint32
- func (x *DnsObs) GetResponse() []byte
- func (x *DnsObs) GetResponseIp() []byte
- func (x *DnsObs) GetTime() uint64
- func (d *DnsObs) GetVid() uint32
- func (*DnsObs) ProtoMessage()
- func (x *DnsObs) ProtoReflect() protoreflect.Message
- func (x *DnsObs) Reset()
- func (x *DnsObs) String() string
- type DnsQR
- func (*DnsQR) Descriptor() ([]byte, []int)deprecated
- func (x *DnsQR) GetIcmp() []byte
- func (x *DnsQR) GetId() uint32
- func (p *DnsQR) GetMsgtype() uint32
- func (x *DnsQR) GetProto() uint32
- func (x *DnsQR) GetQclass() uint32
- func (x *DnsQR) GetQname() []byte
- func (x *DnsQR) GetQtype() uint32
- func (x *DnsQR) GetQueryIp() []byte
- func (x *DnsQR) GetQueryPacket() [][]byte
- func (x *DnsQR) GetQueryPort() uint32
- func (x *DnsQR) GetQueryTimeNsec() []int32
- func (x *DnsQR) GetQueryTimeSec() []int64
- func (x *DnsQR) GetRcode() uint32
- func (x *DnsQR) GetResolverAddressZeroed() bool
- func (x *DnsQR) GetResponseIp() []byte
- func (x *DnsQR) GetResponsePacket() [][]byte
- func (x *DnsQR) GetResponsePort() uint32
- func (x *DnsQR) GetResponseTimeNsec() []int32
- func (x *DnsQR) GetResponseTimeSec() []int64
- func (x *DnsQR) GetTcp() []byte
- func (x *DnsQR) GetTimeout() float64
- func (x *DnsQR) GetType() DnsQR_DnsQRType
- func (x *DnsQR) GetUdpChecksum() DnsQR_UdpChecksum
- func (p *DnsQR) GetVid() uint32
- func (*DnsQR) ProtoMessage()
- func (x *DnsQR) ProtoReflect() protoreflect.Message
- func (x *DnsQR) Reset()
- func (x *DnsQR) String() string
- type DnsQRType
- type DnsQR_DnsQRType
- func (DnsQR_DnsQRType) Descriptor() protoreflect.EnumDescriptor
- func (x DnsQR_DnsQRType) Enum() *DnsQR_DnsQRType
- func (DnsQR_DnsQRType) EnumDescriptor() ([]byte, []int)deprecated
- func (x DnsQR_DnsQRType) Number() protoreflect.EnumNumber
- func (x DnsQR_DnsQRType) String() string
- func (DnsQR_DnsQRType) Type() protoreflect.EnumType
- func (x *DnsQR_DnsQRType) UnmarshalJSON(b []byte) errordeprecated
- type DnsQR_UdpChecksum
- func (DnsQR_UdpChecksum) Descriptor() protoreflect.EnumDescriptor
- func (x DnsQR_UdpChecksum) Enum() *DnsQR_UdpChecksum
- func (DnsQR_UdpChecksum) EnumDescriptor() ([]byte, []int)deprecated
- func (x DnsQR_UdpChecksum) Number() protoreflect.EnumNumber
- func (x DnsQR_UdpChecksum) String() string
- func (DnsQR_UdpChecksum) Type() protoreflect.EnumType
- func (x *DnsQR_UdpChecksum) UnmarshalJSON(b []byte) errordeprecated
- type Dnstap
- type Email
- func (*Email) Descriptor() ([]byte, []int)deprecated
- func (x *Email) GetBody() []byte
- func (x *Email) GetBodyurl() [][]byte
- func (x *Email) GetFrom() []byte
- func (x *Email) GetHeaders() []byte
- func (x *Email) GetHelo() []byte
- func (p *Email) GetMsgtype() uint32
- func (x *Email) GetRcpt() [][]byte
- func (x *Email) GetSrchost() []byte
- func (x *Email) GetSrcip() []byte
- func (x *Email) GetType() Email_EmailType
- func (p *Email) GetVid() uint32
- func (*Email) ProtoMessage()
- func (x *Email) ProtoReflect() protoreflect.Message
- func (x *Email) Reset()
- func (x *Email) String() string
- type EmailType
- type Email_EmailType
- func (Email_EmailType) Descriptor() protoreflect.EnumDescriptor
- func (x Email_EmailType) Enum() *Email_EmailType
- func (Email_EmailType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Email_EmailType) Number() protoreflect.EnumNumber
- func (x Email_EmailType) String() string
- func (Email_EmailType) Type() protoreflect.EnumType
- func (x *Email_EmailType) UnmarshalJSON(b []byte) errordeprecated
- type Encode
- func (*Encode) Descriptor() ([]byte, []int)deprecated
- func (p *Encode) GetMsgtype() uint32
- func (x *Encode) GetPayload() []byte
- func (x *Encode) GetType() Encode_EncodeType
- func (p *Encode) GetVid() uint32
- func (*Encode) ProtoMessage()
- func (x *Encode) ProtoReflect() protoreflect.Message
- func (x *Encode) Reset()
- func (x *Encode) String() string
- type EncodeType
- type Encode_EncodeType
- func (Encode_EncodeType) Descriptor() protoreflect.EnumDescriptor
- func (x Encode_EncodeType) Enum() *Encode_EncodeType
- func (Encode_EncodeType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Encode_EncodeType) Number() protoreflect.EnumNumber
- func (x Encode_EncodeType) String() string
- func (Encode_EncodeType) Type() protoreflect.EnumType
- func (x *Encode_EncodeType) UnmarshalJSON(b []byte) errordeprecated
- type Http
- func (*Http) Descriptor() ([]byte, []int)deprecated
- func (x *Http) GetDstip() []byte
- func (x *Http) GetDstport() uint32
- func (p *Http) GetMsgtype() uint32
- func (x *Http) GetP0FDetail() []byte
- func (x *Http) GetP0FDist() int32
- func (x *Http) GetP0FFw() uint32
- func (x *Http) GetP0FGenre() []byte
- func (x *Http) GetP0FLink() []byte
- func (x *Http) GetP0FMflags() uint32
- func (x *Http) GetP0FNat() uint32
- func (x *Http) GetP0FReal() uint32
- func (x *Http) GetP0FScore() int32
- func (x *Http) GetP0FTos() []byte
- func (x *Http) GetP0FUptime() int32
- func (x *Http) GetRequest() []byte
- func (x *Http) GetSrchost() []byte
- func (x *Http) GetSrcip() []byte
- func (x *Http) GetSrcport() uint32
- func (x *Http) GetType() Http_HttpType
- func (p *Http) GetVid() uint32
- func (*Http) ProtoMessage()
- func (x *Http) ProtoReflect() protoreflect.Message
- func (x *Http) Reset()
- func (x *Http) String() string
- type HttpType
- type Http_HttpType
- func (Http_HttpType) Descriptor() protoreflect.EnumDescriptor
- func (x Http_HttpType) Enum() *Http_HttpType
- func (Http_HttpType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Http_HttpType) Number() protoreflect.EnumNumber
- func (x Http_HttpType) String() string
- func (Http_HttpType) Type() protoreflect.EnumType
- func (x *Http_HttpType) UnmarshalJSON(b []byte) errordeprecated
- type IPConn
- func (*IPConn) Descriptor() ([]byte, []int)deprecated
- func (x *IPConn) GetDstip() []byte
- func (x *IPConn) GetDstport() uint32
- func (p *IPConn) GetMsgtype() uint32
- func (x *IPConn) GetProto() uint32
- func (x *IPConn) GetSrcip() []byte
- func (x *IPConn) GetSrcport() uint32
- func (p *IPConn) GetVid() uint32
- func (*IPConn) ProtoMessage()
- func (x *IPConn) ProtoReflect() protoreflect.Message
- func (x *IPConn) Reset()
- func (x *IPConn) String() string
- type LinkType
- type Linkpair
- func (*Linkpair) Descriptor() ([]byte, []int)deprecated
- func (x *Linkpair) GetDst() []byte
- func (x *Linkpair) GetHeaders() []byte
- func (p *Linkpair) GetMsgtype() uint32
- func (x *Linkpair) GetSrc() []byte
- func (x *Linkpair) GetType() Linkpair_Linktype
- func (p *Linkpair) GetVid() uint32
- func (*Linkpair) ProtoMessage()
- func (x *Linkpair) ProtoReflect() protoreflect.Message
- func (x *Linkpair) Reset()
- func (x *Linkpair) String() string
- type Linkpair_Linktype
- func (Linkpair_Linktype) Descriptor() protoreflect.EnumDescriptor
- func (x Linkpair_Linktype) Enum() *Linkpair_Linktype
- func (Linkpair_Linktype) EnumDescriptor() ([]byte, []int)deprecated
- func (x Linkpair_Linktype) Number() protoreflect.EnumNumber
- func (x Linkpair_Linktype) String() string
- func (Linkpair_Linktype) Type() protoreflect.EnumType
- func (x *Linkpair_Linktype) UnmarshalJSON(b []byte) errordeprecated
- type LogLine
- func (*LogLine) Descriptor() ([]byte, []int)deprecated
- func (x *LogLine) GetCategory() []byte
- func (x *LogLine) GetMessage() []byte
- func (p *LogLine) GetMsgtype() uint32
- func (p *LogLine) GetVid() uint32
- func (*LogLine) ProtoMessage()
- func (x *LogLine) ProtoReflect() protoreflect.Message
- func (x *LogLine) Reset()
- func (x *LogLine) String() string
- type Ncap
- func (*Ncap) Descriptor() ([]byte, []int)deprecated
- func (x *Ncap) GetDstip() []byte
- func (x *Ncap) GetLint0() uint32
- func (x *Ncap) GetLint1() uint32
- func (x *Ncap) GetLtype() Ncap_NcapLegacyType
- func (p *Ncap) GetMsgtype() uint32
- func (x *Ncap) GetPayload() []byte
- func (x *Ncap) GetSrcip() []byte
- func (x *Ncap) GetType() Ncap_NcapType
- func (p *Ncap) GetVid() uint32
- func (*Ncap) ProtoMessage()
- func (x *Ncap) ProtoReflect() protoreflect.Message
- func (x *Ncap) Reset()
- func (x *Ncap) String() string
- type NcapLegacyType
- type NcapType
- type Ncap_NcapLegacyType
- func (Ncap_NcapLegacyType) Descriptor() protoreflect.EnumDescriptor
- func (x Ncap_NcapLegacyType) Enum() *Ncap_NcapLegacyType
- func (Ncap_NcapLegacyType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Ncap_NcapLegacyType) Number() protoreflect.EnumNumber
- func (x Ncap_NcapLegacyType) String() string
- func (Ncap_NcapLegacyType) Type() protoreflect.EnumType
- func (x *Ncap_NcapLegacyType) UnmarshalJSON(b []byte) errordeprecated
- type Ncap_NcapType
- func (Ncap_NcapType) Descriptor() protoreflect.EnumDescriptor
- func (x Ncap_NcapType) Enum() *Ncap_NcapType
- func (Ncap_NcapType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Ncap_NcapType) Number() protoreflect.EnumNumber
- func (x Ncap_NcapType) String() string
- func (Ncap_NcapType) Type() protoreflect.EnumType
- func (x *Ncap_NcapType) UnmarshalJSON(b []byte) errordeprecated
- type Packet
- func (*Packet) Descriptor() ([]byte, []int)deprecated
- func (p *Packet) GetMsgtype() uint32
- func (x *Packet) GetPayload() []byte
- func (x *Packet) GetPayloadType() PacketType
- func (p *Packet) GetVid() uint32
- func (*Packet) ProtoMessage()
- func (x *Packet) ProtoReflect() protoreflect.Message
- func (x *Packet) Reset()
- func (x *Packet) String() string
- type PacketType
- func (PacketType) Descriptor() protoreflect.EnumDescriptor
- func (x PacketType) Enum() *PacketType
- func (PacketType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PacketType) Number() protoreflect.EnumNumber
- func (x PacketType) String() string
- func (PacketType) Type() protoreflect.EnumType
- func (x *PacketType) UnmarshalJSON(b []byte) errordeprecated
- type Pkt
- func (*Pkt) Descriptor() ([]byte, []int)deprecated
- func (x *Pkt) GetLenFrame() uint32
- func (p *Pkt) GetMsgtype() uint32
- func (x *Pkt) GetPayload() []byte
- func (p *Pkt) GetVid() uint32
- func (*Pkt) ProtoMessage()
- func (x *Pkt) ProtoReflect() protoreflect.Message
- func (x *Pkt) Reset()
- func (x *Pkt) String() string
- type UdpChecksum
- type Xml
- func (*Xml) Descriptor() ([]byte, []int)deprecated
- func (p *Xml) GetMsgtype() uint32
- func (p *Xml) GetVid() uint32
- func (x *Xml) GetXmlpayload() []byte
- func (x *Xml) GetXmltype() []byte
- func (*Xml) ProtoMessage()
- func (x *Xml) ProtoReflect() protoreflect.Message
- func (x *Xml) Reset()
- func (x *Xml) String() string
Constants ¶
const ( DnsQRType_UDP_INVALID = DnsQR_UDP_INVALID DnsQRType_UDP_QUERY_RESPONSE = DnsQR_UDP_QUERY_RESPONSE DnsQRType_UDP_UNANSWERED_QUERY = DnsQR_UDP_UNANSWERED_QUERY DnsQRType_UDP_UNSOLICITED_RESPONSE = DnsQR_UDP_UNSOLICITED_RESPONSE DnsQRType_TCP = DnsQR_TCP DnsQRType_ICMP = DnsQR_ICMP DnsQRType_UDP_QUERY_ONLY = DnsQR_UDP_QUERY_ONLY DnsQRType_UDP_RESPONSE_ONLY = DnsQR_UDP_RESPONSE_ONLY )
const ( UdpChecksum_ERROR = DnsQR_ERROR UdpChecksum_ABSENT = DnsQR_ABSENT UdpChecksum_INCORRECT = DnsQR_INCORRECT UdpChecksum_CORRECT = DnsQR_CORRECT )
const ( EmailType_unknown = Email_unknown EmailType_spamtrap = Email_spamtrap EmailType_rej_network = Email_rej_network EmailType_rej_content = Email_rej_content EmailType_rej_user = Email_rej_user )
const ( EncodeType_TEXT = Encode_TEXT EncodeType_JSON = Encode_JSON EncodeType_YAML = Encode_YAML EncodeType_MSGPACK = Encode_MSGPACK EncodeType_XML = Encode_XML )
const ( HttpType_unknown = Http_unknown HttpType_sinkhole = Http_sinkhole )
const ( Linktype_anchor = Linkpair_anchor Linktype_redirect = Linkpair_redirect )
const ( NcapType_IPV4 = Ncap_IPV4 NcapType_IPV6 = Ncap_IPV6 NcapType_Legacy = Ncap_Legacy )
const ( NcapLegacyType_Ncap_UDP = Ncap_UDP NcapLegacyType_Ncap_TCP = Ncap_TCP NcapLegacyType_Ncap_ICMP = Ncap_ICMP )
Variables ¶
var ( DnsQR_DnsQRType_name = map[int32]string{ 0: "UDP_INVALID", 1: "UDP_QUERY_RESPONSE", 2: "UDP_UNANSWERED_QUERY", 3: "UDP_UNSOLICITED_RESPONSE", 4: "TCP", 5: "ICMP", 6: "UDP_QUERY_ONLY", 7: "UDP_RESPONSE_ONLY", } DnsQR_DnsQRType_value = map[string]int32{ "UDP_INVALID": 0, "UDP_QUERY_RESPONSE": 1, "UDP_UNANSWERED_QUERY": 2, "UDP_UNSOLICITED_RESPONSE": 3, "TCP": 4, "ICMP": 5, "UDP_QUERY_ONLY": 6, "UDP_RESPONSE_ONLY": 7, } )
Enum value maps for DnsQR_DnsQRType.
var ( DnsQR_UdpChecksum_name = map[int32]string{ 0: "ERROR", 1: "ABSENT", 2: "INCORRECT", 3: "CORRECT", } DnsQR_UdpChecksum_value = map[string]int32{ "ERROR": 0, "ABSENT": 1, "INCORRECT": 2, "CORRECT": 3, } )
Enum value maps for DnsQR_UdpChecksum.
var ( Email_EmailType_name = map[int32]string{ 0: "unknown", 1: "spamtrap", 2: "rej_network", 3: "rej_content", 4: "rej_user", } Email_EmailType_value = map[string]int32{ "unknown": 0, "spamtrap": 1, "rej_network": 2, "rej_content": 3, "rej_user": 4, } )
Enum value maps for Email_EmailType.
var ( Encode_EncodeType_name = map[int32]string{ 0: "TEXT", 1: "JSON", 2: "YAML", 3: "MSGPACK", 4: "XML", } Encode_EncodeType_value = map[string]int32{ "TEXT": 0, "JSON": 1, "YAML": 2, "MSGPACK": 3, "XML": 4, } )
Enum value maps for Encode_EncodeType.
var ( Http_HttpType_name = map[int32]string{ 0: "unknown", 1: "sinkhole", } Http_HttpType_value = map[string]int32{ "unknown": 0, "sinkhole": 1, } )
Enum value maps for Http_HttpType.
var ( Linkpair_Linktype_name = map[int32]string{ 0: "anchor", 1: "redirect", } Linkpair_Linktype_value = map[string]int32{ "anchor": 0, "redirect": 1, } )
Enum value maps for Linkpair_Linktype.
var ( Ncap_NcapType_name = map[int32]string{ 0: "IPV4", 1: "IPV6", 2: "Legacy", } Ncap_NcapType_value = map[string]int32{ "IPV4": 0, "IPV6": 1, "Legacy": 2, } )
Enum value maps for Ncap_NcapType.
var ( Ncap_NcapLegacyType_name = map[int32]string{ 0: "UDP", 1: "TCP", 2: "ICMP", } Ncap_NcapLegacyType_value = map[string]int32{ "UDP": 0, "TCP": 1, "ICMP": 2, } )
Enum value maps for Ncap_NcapLegacyType.
var ( PacketType_name = map[int32]string{ 1: "IP", } PacketType_value = map[string]int32{ "IP": 1, } )
Enum value maps for PacketType.
var File_dns_proto protoreflect.FileDescriptor
var File_dnsobs_proto protoreflect.FileDescriptor
var File_dnsqr_proto protoreflect.FileDescriptor
var File_email_proto protoreflect.FileDescriptor
var File_encode_proto protoreflect.FileDescriptor
var File_http_proto protoreflect.FileDescriptor
var File_ipconn_proto protoreflect.FileDescriptor
var File_linkpair_proto protoreflect.FileDescriptor
var File_logline_proto protoreflect.FileDescriptor
var File_ncap_proto protoreflect.FileDescriptor
var File_packet_proto protoreflect.FileDescriptor
var File_pkt_proto protoreflect.FileDescriptor
var File_xml_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Dns ¶
type Dns struct { Section *uint32 `protobuf:"varint,6,opt,name=section" json:"section,omitempty"` Qname []byte `protobuf:"bytes,7,opt,name=qname" json:"qname,omitempty"` Qtype *uint32 `protobuf:"varint,8,opt,name=qtype" json:"qtype,omitempty"` Qclass *uint32 `protobuf:"varint,9,opt,name=qclass" json:"qclass,omitempty"` Rrname []byte `protobuf:"bytes,1,opt,name=rrname" json:"rrname,omitempty"` Rrtype *uint32 `protobuf:"varint,2,opt,name=rrtype" json:"rrtype,omitempty"` Rrclass *uint32 `protobuf:"varint,3,opt,name=rrclass" json:"rrclass,omitempty"` Rrttl *uint32 `protobuf:"varint,4,opt,name=rrttl" json:"rrttl,omitempty"` Rdata [][]byte `protobuf:"bytes,5,rep,name=rdata" json:"rdata,omitempty"` // contains filtered or unexported fields }
func (*Dns) Descriptor
deprecated
func (*Dns) GetMsgtype ¶
func (*Dns) GetRrclass ¶
func (*Dns) GetSection ¶
func (*Dns) ProtoMessage ¶
func (*Dns) ProtoMessage()
func (*Dns) ProtoReflect ¶
func (x *Dns) ProtoReflect() protoreflect.Message
type DnsObs ¶ added in v0.3.0
type DnsObs struct { Time *uint64 `protobuf:"varint,1,req,name=time" json:"time,omitempty"` // epoch seconds ResponseIp []byte `protobuf:"bytes,2,req,name=response_ip,json=responseIp" json:"response_ip,omitempty"` Qname []byte `protobuf:"bytes,3,req,name=qname" json:"qname,omitempty"` Qtype *uint32 `protobuf:"varint,4,req,name=qtype" json:"qtype,omitempty"` Qclass *uint32 `protobuf:"varint,5,req,name=qclass" json:"qclass,omitempty"` //usually IN (1), but not necessarily // NOERROR, NXDOMAIN, FORMERR, SERVFAIL + TIMEOUT Rcode *uint32 `protobuf:"varint,6,req,name=rcode" json:"rcode,omitempty"` // defanged DNS response data Response []byte `protobuf:"bytes,7,opt,name=response" json:"response,omitempty"` // From dnstap if available QueryZone []byte `protobuf:"bytes,8,opt,name=query_zone,json=queryZone" json:"query_zone,omitempty"` // sensor-provided geographic context Geoid []byte `protobuf:"bytes,9,opt,name=geoid" json:"geoid,omitempty"` // sensor-provided randomized NS identifier Nsid *uint32 `protobuf:"fixed32,10,opt,name=nsid" json:"nsid,omitempty"` // contains filtered or unexported fields }
func (*DnsObs) Descriptor
deprecated
added in
v0.3.0
func (*DnsObs) GetMsgtype ¶ added in v0.3.0
func (*DnsObs) GetQueryZone ¶ added in v0.3.0
func (*DnsObs) GetResponse ¶ added in v0.3.0
func (*DnsObs) GetResponseIp ¶ added in v0.3.0
func (*DnsObs) ProtoMessage ¶ added in v0.3.0
func (*DnsObs) ProtoMessage()
func (*DnsObs) ProtoReflect ¶ added in v0.3.0
func (x *DnsObs) ProtoReflect() protoreflect.Message
type DnsQR ¶
type DnsQR struct { Type *DnsQR_DnsQRType `protobuf:"varint,1,req,name=type,enum=nmsg.base.DnsQR_DnsQRType" json:"type,omitempty"` QueryIp []byte `protobuf:"bytes,2,req,name=query_ip,json=queryIp" json:"query_ip,omitempty"` ResponseIp []byte `protobuf:"bytes,3,req,name=response_ip,json=responseIp" json:"response_ip,omitempty"` Proto *uint32 `protobuf:"varint,4,req,name=proto" json:"proto,omitempty"` QueryPort *uint32 `protobuf:"varint,5,req,name=query_port,json=queryPort" json:"query_port,omitempty"` ResponsePort *uint32 `protobuf:"varint,6,req,name=response_port,json=responsePort" json:"response_port,omitempty"` Id *uint32 `protobuf:"varint,7,req,name=id" json:"id,omitempty"` Qname []byte `protobuf:"bytes,8,opt,name=qname" json:"qname,omitempty"` Qtype *uint32 `protobuf:"varint,9,opt,name=qtype" json:"qtype,omitempty"` Qclass *uint32 `protobuf:"varint,10,opt,name=qclass" json:"qclass,omitempty"` Rcode *uint32 `protobuf:"varint,11,opt,name=rcode" json:"rcode,omitempty"` QueryPacket [][]byte `protobuf:"bytes,12,rep,name=query_packet,json=queryPacket" json:"query_packet,omitempty"` QueryTimeSec []int64 `protobuf:"varint,13,rep,name=query_time_sec,json=queryTimeSec" json:"query_time_sec,omitempty"` QueryTimeNsec []int32 `protobuf:"fixed32,14,rep,name=query_time_nsec,json=queryTimeNsec" json:"query_time_nsec,omitempty"` ResponsePacket [][]byte `protobuf:"bytes,15,rep,name=response_packet,json=responsePacket" json:"response_packet,omitempty"` ResponseTimeSec []int64 `protobuf:"varint,16,rep,name=response_time_sec,json=responseTimeSec" json:"response_time_sec,omitempty"` ResponseTimeNsec []int32 `protobuf:"fixed32,17,rep,name=response_time_nsec,json=responseTimeNsec" json:"response_time_nsec,omitempty"` Tcp []byte `protobuf:"bytes,18,opt,name=tcp" json:"tcp,omitempty"` Icmp []byte `protobuf:"bytes,19,opt,name=icmp" json:"icmp,omitempty"` Timeout *float64 `protobuf:"fixed64,20,opt,name=timeout" json:"timeout,omitempty"` UdpChecksum *DnsQR_UdpChecksum `protobuf:"varint,21,opt,name=udp_checksum,json=udpChecksum,enum=nmsg.base.DnsQR_UdpChecksum" json:"udp_checksum,omitempty"` ResolverAddressZeroed *bool `protobuf:"varint,22,opt,name=resolver_address_zeroed,json=resolverAddressZeroed" json:"resolver_address_zeroed,omitempty"` // contains filtered or unexported fields }
func (*DnsQR) Descriptor
deprecated
func (*DnsQR) GetMsgtype ¶
func (*DnsQR) GetQueryIp ¶
func (*DnsQR) GetQueryPacket ¶
func (*DnsQR) GetQueryPort ¶
func (*DnsQR) GetQueryTimeNsec ¶
func (*DnsQR) GetQueryTimeSec ¶
func (*DnsQR) GetResolverAddressZeroed ¶
func (*DnsQR) GetResponseIp ¶
func (*DnsQR) GetResponsePacket ¶
func (*DnsQR) GetResponsePort ¶
func (*DnsQR) GetResponseTimeNsec ¶
func (*DnsQR) GetResponseTimeSec ¶
func (*DnsQR) GetTimeout ¶
func (*DnsQR) GetType ¶
func (x *DnsQR) GetType() DnsQR_DnsQRType
func (*DnsQR) GetUdpChecksum ¶
func (x *DnsQR) GetUdpChecksum() DnsQR_UdpChecksum
func (*DnsQR) ProtoMessage ¶
func (*DnsQR) ProtoMessage()
func (*DnsQR) ProtoReflect ¶
func (x *DnsQR) ProtoReflect() protoreflect.Message
type DnsQRType ¶
type DnsQRType = DnsQR_DnsQRType
type DnsQR_DnsQRType ¶
type DnsQR_DnsQRType int32
const ( DnsQR_UDP_INVALID DnsQR_DnsQRType = 0 DnsQR_UDP_QUERY_RESPONSE DnsQR_DnsQRType = 1 DnsQR_UDP_UNANSWERED_QUERY DnsQR_DnsQRType = 2 DnsQR_UDP_UNSOLICITED_RESPONSE DnsQR_DnsQRType = 3 DnsQR_TCP DnsQR_DnsQRType = 4 DnsQR_ICMP DnsQR_DnsQRType = 5 DnsQR_UDP_QUERY_ONLY DnsQR_DnsQRType = 6 DnsQR_UDP_RESPONSE_ONLY DnsQR_DnsQRType = 7 )
func (DnsQR_DnsQRType) Descriptor ¶
func (DnsQR_DnsQRType) Descriptor() protoreflect.EnumDescriptor
func (DnsQR_DnsQRType) Enum ¶
func (x DnsQR_DnsQRType) Enum() *DnsQR_DnsQRType
func (DnsQR_DnsQRType) EnumDescriptor
deprecated
func (DnsQR_DnsQRType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DnsQR_DnsQRType.Descriptor instead.
func (DnsQR_DnsQRType) Number ¶
func (x DnsQR_DnsQRType) Number() protoreflect.EnumNumber
func (DnsQR_DnsQRType) String ¶
func (x DnsQR_DnsQRType) String() string
func (DnsQR_DnsQRType) Type ¶
func (DnsQR_DnsQRType) Type() protoreflect.EnumType
func (*DnsQR_DnsQRType) UnmarshalJSON
deprecated
func (x *DnsQR_DnsQRType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type DnsQR_UdpChecksum ¶
type DnsQR_UdpChecksum int32
const ( DnsQR_ERROR DnsQR_UdpChecksum = 0 DnsQR_ABSENT DnsQR_UdpChecksum = 1 DnsQR_INCORRECT DnsQR_UdpChecksum = 2 DnsQR_CORRECT DnsQR_UdpChecksum = 3 )
func (DnsQR_UdpChecksum) Descriptor ¶
func (DnsQR_UdpChecksum) Descriptor() protoreflect.EnumDescriptor
func (DnsQR_UdpChecksum) Enum ¶
func (x DnsQR_UdpChecksum) Enum() *DnsQR_UdpChecksum
func (DnsQR_UdpChecksum) EnumDescriptor
deprecated
func (DnsQR_UdpChecksum) EnumDescriptor() ([]byte, []int)
Deprecated: Use DnsQR_UdpChecksum.Descriptor instead.
func (DnsQR_UdpChecksum) Number ¶
func (x DnsQR_UdpChecksum) Number() protoreflect.EnumNumber
func (DnsQR_UdpChecksum) String ¶
func (x DnsQR_UdpChecksum) String() string
func (DnsQR_UdpChecksum) Type ¶
func (DnsQR_UdpChecksum) Type() protoreflect.EnumType
func (*DnsQR_UdpChecksum) UnmarshalJSON
deprecated
func (x *DnsQR_UdpChecksum) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Email ¶
type Email struct { Type *Email_EmailType `protobuf:"varint,8,opt,name=type,enum=nmsg.base.Email_EmailType" json:"type,omitempty"` Headers []byte `protobuf:"bytes,2,opt,name=headers" json:"headers,omitempty"` Srcip []byte `protobuf:"bytes,3,opt,name=srcip" json:"srcip,omitempty"` Srchost []byte `protobuf:"bytes,4,opt,name=srchost" json:"srchost,omitempty"` Helo []byte `protobuf:"bytes,5,opt,name=helo" json:"helo,omitempty"` From []byte `protobuf:"bytes,6,opt,name=from" json:"from,omitempty"` Rcpt [][]byte `protobuf:"bytes,7,rep,name=rcpt" json:"rcpt,omitempty"` Bodyurl [][]byte `protobuf:"bytes,9,rep,name=bodyurl" json:"bodyurl,omitempty"` Body []byte `protobuf:"bytes,10,opt,name=body" json:"body,omitempty"` // contains filtered or unexported fields }
func (*Email) Descriptor
deprecated
func (*Email) GetBodyurl ¶
func (*Email) GetHeaders ¶
func (*Email) GetMsgtype ¶
func (*Email) GetSrchost ¶
func (*Email) GetType ¶
func (x *Email) GetType() Email_EmailType
func (*Email) ProtoMessage ¶
func (*Email) ProtoMessage()
func (*Email) ProtoReflect ¶
func (x *Email) ProtoReflect() protoreflect.Message
type EmailType ¶
type EmailType = Email_EmailType
type Email_EmailType ¶
type Email_EmailType int32
const ( Email_unknown Email_EmailType = 0 Email_spamtrap Email_EmailType = 1 Email_rej_network Email_EmailType = 2 Email_rej_content Email_EmailType = 3 Email_rej_user Email_EmailType = 4 )
func (Email_EmailType) Descriptor ¶
func (Email_EmailType) Descriptor() protoreflect.EnumDescriptor
func (Email_EmailType) Enum ¶
func (x Email_EmailType) Enum() *Email_EmailType
func (Email_EmailType) EnumDescriptor
deprecated
func (Email_EmailType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Email_EmailType.Descriptor instead.
func (Email_EmailType) Number ¶
func (x Email_EmailType) Number() protoreflect.EnumNumber
func (Email_EmailType) String ¶
func (x Email_EmailType) String() string
func (Email_EmailType) Type ¶
func (Email_EmailType) Type() protoreflect.EnumType
func (*Email_EmailType) UnmarshalJSON
deprecated
func (x *Email_EmailType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Encode ¶
type Encode struct { Type *Encode_EncodeType `protobuf:"varint,1,req,name=type,enum=nmsg.base.Encode_EncodeType" json:"type,omitempty"` Payload []byte `protobuf:"bytes,2,req,name=payload" json:"payload,omitempty"` // contains filtered or unexported fields }
func (*Encode) Descriptor
deprecated
func (*Encode) GetMsgtype ¶
func (*Encode) GetPayload ¶
func (*Encode) GetType ¶
func (x *Encode) GetType() Encode_EncodeType
func (*Encode) ProtoMessage ¶
func (*Encode) ProtoMessage()
func (*Encode) ProtoReflect ¶
func (x *Encode) ProtoReflect() protoreflect.Message
type EncodeType ¶
type EncodeType = Encode_EncodeType
type Encode_EncodeType ¶
type Encode_EncodeType int32
const ( Encode_TEXT Encode_EncodeType = 0 Encode_JSON Encode_EncodeType = 1 Encode_YAML Encode_EncodeType = 2 Encode_MSGPACK Encode_EncodeType = 3 Encode_XML Encode_EncodeType = 4 )
func (Encode_EncodeType) Descriptor ¶
func (Encode_EncodeType) Descriptor() protoreflect.EnumDescriptor
func (Encode_EncodeType) Enum ¶
func (x Encode_EncodeType) Enum() *Encode_EncodeType
func (Encode_EncodeType) EnumDescriptor
deprecated
func (Encode_EncodeType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Encode_EncodeType.Descriptor instead.
func (Encode_EncodeType) Number ¶
func (x Encode_EncodeType) Number() protoreflect.EnumNumber
func (Encode_EncodeType) String ¶
func (x Encode_EncodeType) String() string
func (Encode_EncodeType) Type ¶
func (Encode_EncodeType) Type() protoreflect.EnumType
func (*Encode_EncodeType) UnmarshalJSON
deprecated
func (x *Encode_EncodeType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Http ¶
type Http struct { Type *Http_HttpType `protobuf:"varint,1,req,name=type,enum=nmsg.base.Http_HttpType" json:"type,omitempty"` Srcip []byte `protobuf:"bytes,2,opt,name=srcip" json:"srcip,omitempty"` Srchost []byte `protobuf:"bytes,3,opt,name=srchost" json:"srchost,omitempty"` Srcport *uint32 `protobuf:"varint,4,opt,name=srcport" json:"srcport,omitempty"` Dstip []byte `protobuf:"bytes,5,opt,name=dstip" json:"dstip,omitempty"` Dstport *uint32 `protobuf:"varint,6,opt,name=dstport" json:"dstport,omitempty"` Request []byte `protobuf:"bytes,7,opt,name=request" json:"request,omitempty"` P0FGenre []byte `protobuf:"bytes,65,opt,name=p0f_genre,json=p0fGenre" json:"p0f_genre,omitempty"` P0FDetail []byte `protobuf:"bytes,66,opt,name=p0f_detail,json=p0fDetail" json:"p0f_detail,omitempty"` P0FDist *int32 `protobuf:"varint,67,opt,name=p0f_dist,json=p0fDist" json:"p0f_dist,omitempty"` P0FLink []byte `protobuf:"bytes,68,opt,name=p0f_link,json=p0fLink" json:"p0f_link,omitempty"` P0FTos []byte `protobuf:"bytes,69,opt,name=p0f_tos,json=p0fTos" json:"p0f_tos,omitempty"` P0FFw *uint32 `protobuf:"varint,70,opt,name=p0f_fw,json=p0fFw" json:"p0f_fw,omitempty"` P0FNat *uint32 `protobuf:"varint,71,opt,name=p0f_nat,json=p0fNat" json:"p0f_nat,omitempty"` P0FReal *uint32 `protobuf:"varint,72,opt,name=p0f_real,json=p0fReal" json:"p0f_real,omitempty"` P0FScore *int32 `protobuf:"varint,73,opt,name=p0f_score,json=p0fScore" json:"p0f_score,omitempty"` P0FMflags *uint32 `protobuf:"varint,74,opt,name=p0f_mflags,json=p0fMflags" json:"p0f_mflags,omitempty"` P0FUptime *int32 `protobuf:"varint,75,opt,name=p0f_uptime,json=p0fUptime" json:"p0f_uptime,omitempty"` // contains filtered or unexported fields }
func (*Http) Descriptor
deprecated
func (*Http) GetDstport ¶
func (*Http) GetMsgtype ¶
func (*Http) GetP0FDetail ¶
func (*Http) GetP0FDist ¶
func (*Http) GetP0FGenre ¶
func (*Http) GetP0FLink ¶
func (*Http) GetP0FMflags ¶
func (*Http) GetP0FReal ¶
func (*Http) GetP0FScore ¶
func (*Http) GetP0FUptime ¶
func (*Http) GetRequest ¶
func (*Http) GetSrchost ¶
func (*Http) GetSrcport ¶
func (*Http) GetType ¶
func (x *Http) GetType() Http_HttpType
func (*Http) ProtoMessage ¶
func (*Http) ProtoMessage()
func (*Http) ProtoReflect ¶
func (x *Http) ProtoReflect() protoreflect.Message
type HttpType ¶
type HttpType = Http_HttpType
type Http_HttpType ¶
type Http_HttpType int32
const ( Http_unknown Http_HttpType = 0 Http_sinkhole Http_HttpType = 1 )
func (Http_HttpType) Descriptor ¶
func (Http_HttpType) Descriptor() protoreflect.EnumDescriptor
func (Http_HttpType) Enum ¶
func (x Http_HttpType) Enum() *Http_HttpType
func (Http_HttpType) EnumDescriptor
deprecated
func (Http_HttpType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Http_HttpType.Descriptor instead.
func (Http_HttpType) Number ¶
func (x Http_HttpType) Number() protoreflect.EnumNumber
func (Http_HttpType) String ¶
func (x Http_HttpType) String() string
func (Http_HttpType) Type ¶
func (Http_HttpType) Type() protoreflect.EnumType
func (*Http_HttpType) UnmarshalJSON
deprecated
func (x *Http_HttpType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type IPConn ¶
type IPConn struct { Proto *uint32 `protobuf:"varint,1,opt,name=proto" json:"proto,omitempty"` Srcip []byte `protobuf:"bytes,2,opt,name=srcip" json:"srcip,omitempty"` Srcport *uint32 `protobuf:"varint,3,opt,name=srcport" json:"srcport,omitempty"` Dstip []byte `protobuf:"bytes,4,opt,name=dstip" json:"dstip,omitempty"` Dstport *uint32 `protobuf:"varint,5,opt,name=dstport" json:"dstport,omitempty"` // contains filtered or unexported fields }
func (*IPConn) Descriptor
deprecated
func (*IPConn) GetDstport ¶
func (*IPConn) GetMsgtype ¶
func (*IPConn) GetSrcport ¶
func (*IPConn) ProtoMessage ¶
func (*IPConn) ProtoMessage()
func (*IPConn) ProtoReflect ¶
func (x *IPConn) ProtoReflect() protoreflect.Message
type LinkType ¶
type LinkType = Linkpair_Linktype
type Linkpair ¶
type Linkpair struct { Type *Linkpair_Linktype `protobuf:"varint,1,req,name=type,enum=nmsg.base.Linkpair_Linktype" json:"type,omitempty"` Src []byte `protobuf:"bytes,2,req,name=src" json:"src,omitempty"` Dst []byte `protobuf:"bytes,3,req,name=dst" json:"dst,omitempty"` Headers []byte `protobuf:"bytes,5,opt,name=headers" json:"headers,omitempty"` // contains filtered or unexported fields }
func (*Linkpair) Descriptor
deprecated
func (*Linkpair) GetHeaders ¶
func (*Linkpair) GetMsgtype ¶
func (*Linkpair) GetType ¶
func (x *Linkpair) GetType() Linkpair_Linktype
func (*Linkpair) ProtoMessage ¶
func (*Linkpair) ProtoMessage()
func (*Linkpair) ProtoReflect ¶
func (x *Linkpair) ProtoReflect() protoreflect.Message
type Linkpair_Linktype ¶
type Linkpair_Linktype int32
const ( Linkpair_anchor Linkpair_Linktype = 0 Linkpair_redirect Linkpair_Linktype = 1 )
func (Linkpair_Linktype) Descriptor ¶
func (Linkpair_Linktype) Descriptor() protoreflect.EnumDescriptor
func (Linkpair_Linktype) Enum ¶
func (x Linkpair_Linktype) Enum() *Linkpair_Linktype
func (Linkpair_Linktype) EnumDescriptor
deprecated
func (Linkpair_Linktype) EnumDescriptor() ([]byte, []int)
Deprecated: Use Linkpair_Linktype.Descriptor instead.
func (Linkpair_Linktype) Number ¶
func (x Linkpair_Linktype) Number() protoreflect.EnumNumber
func (Linkpair_Linktype) String ¶
func (x Linkpair_Linktype) String() string
func (Linkpair_Linktype) Type ¶
func (Linkpair_Linktype) Type() protoreflect.EnumType
func (*Linkpair_Linktype) UnmarshalJSON
deprecated
func (x *Linkpair_Linktype) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type LogLine ¶
type LogLine struct { Category []byte `protobuf:"bytes,1,opt,name=category" json:"category,omitempty"` Message []byte `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` // contains filtered or unexported fields }
func (*LogLine) Descriptor
deprecated
func (*LogLine) GetCategory ¶
func (*LogLine) GetMessage ¶
func (*LogLine) GetMsgtype ¶
func (*LogLine) ProtoMessage ¶
func (*LogLine) ProtoMessage()
func (*LogLine) ProtoReflect ¶
func (x *LogLine) ProtoReflect() protoreflect.Message
type Ncap ¶
type Ncap struct { Type *Ncap_NcapType `protobuf:"varint,1,req,name=type,enum=nmsg.base.Ncap_NcapType" json:"type,omitempty"` Payload []byte `protobuf:"bytes,2,req,name=payload" json:"payload,omitempty"` // legacy NCAP fields Ltype *Ncap_NcapLegacyType `protobuf:"varint,3,opt,name=ltype,enum=nmsg.base.Ncap_NcapLegacyType" json:"ltype,omitempty"` Srcip []byte `protobuf:"bytes,4,opt,name=srcip" json:"srcip,omitempty"` Dstip []byte `protobuf:"bytes,5,opt,name=dstip" json:"dstip,omitempty"` Lint0 *uint32 `protobuf:"varint,6,opt,name=lint0" json:"lint0,omitempty"` Lint1 *uint32 `protobuf:"varint,7,opt,name=lint1" json:"lint1,omitempty"` // contains filtered or unexported fields }
func (*Ncap) Descriptor
deprecated
func (*Ncap) GetLtype ¶
func (x *Ncap) GetLtype() Ncap_NcapLegacyType
func (*Ncap) GetMsgtype ¶
func (*Ncap) GetPayload ¶
func (*Ncap) GetType ¶
func (x *Ncap) GetType() Ncap_NcapType
func (*Ncap) ProtoMessage ¶
func (*Ncap) ProtoMessage()
func (*Ncap) ProtoReflect ¶
func (x *Ncap) ProtoReflect() protoreflect.Message
type NcapLegacyType ¶
type NcapLegacyType = Ncap_NcapLegacyType
type NcapType ¶
type NcapType Ncap_NcapType
type Ncap_NcapLegacyType ¶
type Ncap_NcapLegacyType int32
const ( Ncap_UDP Ncap_NcapLegacyType = 0 Ncap_TCP Ncap_NcapLegacyType = 1 Ncap_ICMP Ncap_NcapLegacyType = 2 )
func (Ncap_NcapLegacyType) Descriptor ¶
func (Ncap_NcapLegacyType) Descriptor() protoreflect.EnumDescriptor
func (Ncap_NcapLegacyType) Enum ¶
func (x Ncap_NcapLegacyType) Enum() *Ncap_NcapLegacyType
func (Ncap_NcapLegacyType) EnumDescriptor
deprecated
func (Ncap_NcapLegacyType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Ncap_NcapLegacyType.Descriptor instead.
func (Ncap_NcapLegacyType) Number ¶
func (x Ncap_NcapLegacyType) Number() protoreflect.EnumNumber
func (Ncap_NcapLegacyType) String ¶
func (x Ncap_NcapLegacyType) String() string
func (Ncap_NcapLegacyType) Type ¶
func (Ncap_NcapLegacyType) Type() protoreflect.EnumType
func (*Ncap_NcapLegacyType) UnmarshalJSON
deprecated
func (x *Ncap_NcapLegacyType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Ncap_NcapType ¶
type Ncap_NcapType int32
const ( Ncap_IPV4 Ncap_NcapType = 0 Ncap_IPV6 Ncap_NcapType = 1 Ncap_Legacy Ncap_NcapType = 2 )
func (Ncap_NcapType) Descriptor ¶
func (Ncap_NcapType) Descriptor() protoreflect.EnumDescriptor
func (Ncap_NcapType) Enum ¶
func (x Ncap_NcapType) Enum() *Ncap_NcapType
func (Ncap_NcapType) EnumDescriptor
deprecated
func (Ncap_NcapType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Ncap_NcapType.Descriptor instead.
func (Ncap_NcapType) Number ¶
func (x Ncap_NcapType) Number() protoreflect.EnumNumber
func (Ncap_NcapType) String ¶
func (x Ncap_NcapType) String() string
func (Ncap_NcapType) Type ¶
func (Ncap_NcapType) Type() protoreflect.EnumType
func (*Ncap_NcapType) UnmarshalJSON
deprecated
func (x *Ncap_NcapType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Packet ¶
type Packet struct { PayloadType *PacketType `protobuf:"varint,1,req,name=payload_type,json=payloadType,enum=nmsg.base.PacketType" json:"payload_type,omitempty"` Payload []byte `protobuf:"bytes,2,req,name=payload" json:"payload,omitempty"` // contains filtered or unexported fields }
func (*Packet) Descriptor
deprecated
func (*Packet) GetMsgtype ¶
func (*Packet) GetPayload ¶
func (*Packet) GetPayloadType ¶
func (x *Packet) GetPayloadType() PacketType
func (*Packet) ProtoMessage ¶
func (*Packet) ProtoMessage()
func (*Packet) ProtoReflect ¶
func (x *Packet) ProtoReflect() protoreflect.Message
type PacketType ¶
type PacketType int32
const ( // An IPv4 or IPv6 packet. The packet begins immediately with the IP // header and contains the complete packet payload. Distinguishing between // IPv4 and IPv6 packets is done by examining the IP version field in the // IP header. PacketType_IP PacketType = 1 )
func (PacketType) Descriptor ¶
func (PacketType) Descriptor() protoreflect.EnumDescriptor
func (PacketType) Enum ¶
func (x PacketType) Enum() *PacketType
func (PacketType) EnumDescriptor
deprecated
func (PacketType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PacketType.Descriptor instead.
func (PacketType) Number ¶
func (x PacketType) Number() protoreflect.EnumNumber
func (PacketType) String ¶
func (x PacketType) String() string
func (PacketType) Type ¶
func (PacketType) Type() protoreflect.EnumType
func (*PacketType) UnmarshalJSON
deprecated
func (x *PacketType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Pkt ¶
type Pkt struct { Payload []byte `protobuf:"bytes,1,req,name=payload" json:"payload,omitempty"` LenFrame *uint32 `protobuf:"varint,2,opt,name=len_frame,json=lenFrame" json:"len_frame,omitempty"` // contains filtered or unexported fields }
func (*Pkt) Descriptor
deprecated
func (*Pkt) GetLenFrame ¶
func (*Pkt) GetMsgtype ¶
func (*Pkt) GetPayload ¶
func (*Pkt) ProtoMessage ¶
func (*Pkt) ProtoMessage()
func (*Pkt) ProtoReflect ¶
func (x *Pkt) ProtoReflect() protoreflect.Message
type UdpChecksum ¶
type UdpChecksum = DnsQR_UdpChecksum
type Xml ¶
type Xml struct { Xmltype []byte `protobuf:"bytes,1,req,name=xmltype" json:"xmltype,omitempty"` Xmlpayload []byte `protobuf:"bytes,2,req,name=xmlpayload" json:"xmlpayload,omitempty"` // contains filtered or unexported fields }
func (*Xml) Descriptor
deprecated
func (*Xml) GetMsgtype ¶
func (*Xml) GetXmlpayload ¶
func (*Xml) GetXmltype ¶
func (*Xml) ProtoMessage ¶
func (*Xml) ProtoMessage()
func (*Xml) ProtoReflect ¶
func (x *Xml) ProtoReflect() protoreflect.Message