trireme-lib: Index | Files

package packettracing

import ""


Package Files


func IsApplicationPacketTraced Uses

func IsApplicationPacketTraced(direction TracingDirection) bool

IsApplicationPacketTraced checks if application

func IsNetworkPacketTraced Uses

func IsNetworkPacketTraced(direction TracingDirection) bool

IsNetworkPacketTraced checks if network mode packet tracign is enabled

type PacketEvent Uses

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 Uses

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

Package packettracing is imported by 18 packages. Updated 2019-03-02. Refresh now. Tools for package owners.