Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudflare/xdpcap
/ types & classes
Types & classes
19 in github.com/cloudflare/xdpcap
⨍
Functions
93
◇
Types & classes
19
↓ 12 callers
TypeAlias
xdpAction
cmd/xdpcap/xdpaction.go:11
↓ 3 callers
TypeAlias
linkTypeFlag
cmd/xdpcap/flags.go:46
Struct
Hook
Hook represents an xdpcap hook point. This hook can be reused with several programs.
hook.go:15
TypeAlias
actionsFlag
cmd/xdpcap/flags.go:19
Class
bpf_map_def
* Definitions expected to be provided by the loader * newtools and libbpf support the same basic definitions */
testdata/xdp_hook.c:5
Enum
bpf_map_type
testdata/headers/linux/bpf.h:6
Struct
filter
filter represents a filter loaded into the kernel
cmd/xdpcap/filter.go:36
Struct
filterOpts
cmd/xdpcap/filter.go:26
Struct
flags
cmd/xdpcap/flags.go:170
Struct
metrics
cmd/xdpcap/program.go:24
Struct
packet
cmd/xdpcap/filter.go:16
Struct
program
program represents a filter program for a particular XDP action
cmd/xdpcap/program.go:40
TypeAlias
rawMetric
cmd/xdpcap/program.go:16
TypeAlias
rawMetrics
cmd/xdpcap/program.go:14
Enum
xdp_action
hook.h:29
Enum
xdp_action
User return codes for XDP prog type. * A valid XDP program must return one of these defined values. All other * return codes are reserved for future
testdata/headers/linux/bpf.h:38
Class
xdp_md
hook.h:29
Class
xdp_md
testdata/xdp_hook.c:28
Class
xdp_md
user accessible metadata for XDP packet hook * new fields must be added to the end of this structure */
testdata/headers/linux/bpf.h:49