aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorToke Høiland-Jørgensen <[email protected]>2018-06-25 14:25:02 +0200
committerDaniel Borkmann <[email protected]>2018-06-27 11:01:03 +0200
commit1e54ad251a93a524f1a2950b1d65bc7437c57a53 (patch)
tree603c318ae2766a28976e694cf7a966002375777e /lib/test_overflow.c
parent22adedd304668f0a2001284ddf225b49e9c05c64 (diff)
samples/bpf: Add xdp_sample_pkts example
Add an example program showing how to sample packets from XDP using the perf event buffer. The example userspace program just prints the ethernet header for every packet sampled. Reviewed-by: Jakub Kicinski <[email protected]> Signed-off-by: Toke Høiland-Jørgensen <[email protected]> Acked-by: Song Liu <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions