+4
−0
samples/bpf/xdp_sample_pkts_kern.c
0 → 100644
+66
−0
samples/bpf/xdp_sample_pkts_user.c
0 → 100644
+169
−0
Loading
Gitlab 现已全面支持 git over ssh 与 git over https。通过 HTTPS 访问请配置带有 read_repository / write_repository 权限的 Personal access token。通过 SSH 端口访问请使用 22 端口或 13389 端口。如果使用CAS注册了账户但不知道密码,可以自行至设置中更改;如有其他问题,请发邮件至 service@cra.moe 寻求协助。
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>
CRA Git | Maintained and supported by SUSTech CRA and CCSE