mejedi / xdptrace

A tcpdump-like tool, attaches to XDP programs and traces packets as they traverse a tail-call based pipeline

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

xdptrace (prototype)

A tcpdump-like tool, attaches to XDP programs and traces packets as they traverse a tail-call based pipeline.

The tool depends on the tracee coperation. Specifically, cooperating XDP programs must define and invoke

int xdp_trace_entry__(struct xdp_md *ctx);
int xdp_trace_exit__(struct xdp_md *ctx, int res);

subprograms.

About

A tcpdump-like tool, attaches to XDP programs and traces packets as they traverse a tail-call based pipeline

License:GNU General Public License v2.0


Languages

Language:C 91.9%Language:CMake 8.1%