# Packages
No description provided by the author
# Functions
AddDNSInfo adds DNS information to the flow's metadata.
AddDropReason adds the drop reason to the flow's metadata.
AddPacketSize adds the packet size to the flow's metadata.
AddRetinaMetadata adds the RetinaMetadata to the flow's extensions field.
No description provided by the author
No description provided by the author
Add TSval/TSecr to the flow's metadata as TCP ID.
No description provided by the author
No description provided by the author
DNS Return code to string.
No description provided by the author
No description provided by the author
GetDefaultOutgoingLinks gets the outgoing interface by executing an equivalent to `ip route show default 0.0.0.0/0`.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
HostToNetShort converts a 16-bit integer from host to network byte order, aka "htons".
https://gist.github.com/ammario/649d4c0da650162efd404af23e25b86b.
No description provided by the author
IsAdvancedMetric is a helper function to determine if a name is an advanced metric.
No description provided by the author
No description provided by the author
Exponential backoff retry logic.
No description provided by the author
ToFlow returns a flow.Flow object.
Inspired by https://github.com/mauriciovasquezbernal/talks/blob/1f2080afe731949a033330c0adc290be8f3fc06d/2022-ebpf-training/2022-10-13/drop/main.go .
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Common Counters across os distributions (should these be asynch or synch) make sure IsMetric is updated if you add a new metric here.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Common Gauges across os distributions.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Additional Verdicts to be used for flow objects.
No description provided by the author
Additional Verdicts to be used for flow objects.
Additional Verdicts to be used for flow objects.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DNS labels.
No description provided by the author
Enum value maps for DNSType.
Enum value maps for DNSType.
Enum value maps for DropReason.
Enum value maps for DropReason.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Events types.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TCP Connection Statistic Names.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TCP Flags.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
todo move to attributes pkg?.
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
# Type aliases
No description provided by the author
Ref: pkg/plugin/dropreason/_cprog/drop_reason.h.