Documentation ¶
Overview ¶
package conntrack implements a conntrack plugin for Retina.
package conntrack provides the bpf code implementation for conntrack on Linux and the userspace garbage collector program for the conntrack map.
Index ¶
Constants ¶
View Source
const ( TCP_FIN = 0x01 // nolint:revive // Acceptable as flag TCP_SYN = 0x02 // nolint:revive // Acceptable as flag TCP_RST = 0x04 // nolint:revive // Acceptable as flag TCP_PSH = 0x08 // nolint:revive // Acceptable as flag TCP_ACK = 0x10 // nolint:revive // Acceptable as flag TCP_URG = 0x20 // nolint:revive // Acceptable as flag TCP_ECE = 0x40 // nolint:revive // Acceptable as flag TCP_CWR = 0x80 // nolint:revive // Acceptable as flag )
Define TCP flag constants
Variables ¶
This section is empty.
Functions ¶
func BuildDynamicHeaderPath ¶ added in v0.0.21
func BuildDynamicHeaderPath() string
Build dynamic header path
func GenerateDynamic ¶ added in v0.0.21
Generate dynamic header file for conntrack eBPF program.
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.