Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PacketBlob ¶
type PacketBlob struct { LayerType string `json:"type,omitempty"` Device string `json:"device,omitempty"` Payload string `json:"payload,omitempty"` FoundHTTP bool `json:"foundHTTP,omitempty"` // Ethernet options. SrcMAC string `json:"srcMAC,omitempty"` DstMAC string `json:"dstMAC,omitempty"` EthernetType layers.EthernetType `json:"ethernetType,omitempty"` // IPv4 options. SrcIP string `json:"srcIP,omitempty"` DstIP string `json:"dstIP,omitempty"` IPProtocol layers.IPProtocol `json:"ipProtocol,omitempty"` // TCP options. SrcPort string `json:"srcPort,omitempty"` DstPort string `json:"dstPort,omitempty"` SequenceNumber uint32 `json:"sequenceNumber,omitempty"` SYN bool `json:"syn,omitempty"` ACK bool `json:"ack,omitempty"` // Raw layer info. Layers interface{} `json:"layers,omitempty"` }
PacketBlob holds the object structure for a packet blob.
Click to show internal directories.
Click to hide internal directories.