MCPcopy Index your code
hub / github.com/cloudflare/xdpcap

github.com/cloudflare/xdpcap @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
112 symbols 380 edges 20 files 35 documented · 31%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Core symbols most depended-on inside this repo

parseFlags
called by 17
cmd/xdpcap/flags.go
Close
called by 16
hook.go
close
called by 9
cmd/xdpcap/filter.go
withOffsets
called by 8
cmd/bpfoff/main.go
String
called by 6
cmd/xdpcap/flags.go
addOffsets
called by 5
cmd/bpfoff/main.go
newFilterWithMap
called by 5
cmd/xdpcap/filter.go
parseAction
called by 5
cmd/xdpcap/xdpaction.go

Shape

Function 78
Method 15
Struct 7
TypeAlias 5
Class 4
Enum 3

Languages

Go91%
C++5%
C4%

Modules by API surface

cmd/xdpcap/flags_test.go15 symbols
cmd/xdpcap/filter_test.go14 symbols
cmd/xdpcap/flags.go13 symbols
cmd/xdpcap/filter.go10 symbols
cmd/bpfoff/main_test.go10 symbols
cmd/xdpcap/program.go7 symbols
cmd/bpfoff/main.go7 symbols
hook.go6 symbols
testdata/xdp_hook.c4 symbols
hook_test.go4 symbols
testdata/headers/linux/bpf.h3 symbols
hook.h3 symbols

For agents

$ claude mcp add xdpcap \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact