Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 265 Bytes

readme-sockops.md

File metadata and controls

15 lines (10 loc) · 265 Bytes

sockops test

make build

./bin/sockops 

other terminal 

# bpftool prog show | grep sock_ops
247: sock_ops  name program  tag ad371c5bdf7d84db  gpl

sock_ops已经挂载到内核,然后可以用bpftool attach到cgroup上。

参考 ebpf/sockops/test.md