diff options
author | Toke Høiland-Jørgensen <toke@toke.dk> | 2018-06-25 14:25:02 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-06-27 11:01:03 +0200 |
commit | 1e54ad251a93a524f1a2950b1d65bc7437c57a53 (patch) | |
tree | 603c318ae2766a28976e694cf7a966002375777e /net/ipv6/ndisc.c | |
parent | 22adedd304668f0a2001284ddf225b49e9c05c64 (diff) | |
download | linux-1e54ad251a93a524f1a2950b1d65bc7437c57a53.tar.gz linux-1e54ad251a93a524f1a2950b1d65bc7437c57a53.tar.bz2 linux-1e54ad251a93a524f1a2950b1d65bc7437c57a53.zip |
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 <jakub.kicinski@netronome.com>
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'net/ipv6/ndisc.c')
0 files changed, 0 insertions, 0 deletions