Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsApplicationPacketTraced ¶
func IsApplicationPacketTraced(direction TracingDirection) bool
IsApplicationPacketTraced checks if application
func IsNetworkPacketTraced ¶
func IsNetworkPacketTraced(direction TracingDirection) bool
IsNetworkPacketTraced checks if network mode packet tracign is enabled
Types ¶
type PacketEvent ¶
type PacketEvent string
PacketEvent is string for our packet decision
const ( PacketDropped PacketEvent = "Dropped" PacketReceived PacketEvent = "Received" PacketSent PacketEvent = "Transmitted" )
Enum for all packetevents
type TracingDirection ¶
type TracingDirection int
TracingDirection is used to configure the direction for which we want to trace packets
const ( Disabled TracingDirection = 0 NetworkOnly TracingDirection = 1 ApplicationOnly TracingDirection = 2 Invalid TracingDirection = 4 )
TracingDirection enum all possible states
Click to show internal directories.
Click to hide internal directories.