Add tcpfilter example
This commit is contained in:
parent
066d9972cc
commit
6e8387a0a4
5 changed files with 58 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
SEC("xdp")
|
||||
int xdp_drop(struct xdp_md *ctx) {
|
||||
return XDP_DROP; // Drop all packets
|
||||
return XDP_PASS; // Drop all packets
|
||||
}
|
||||
|
||||
char LICENSE[] SEC("license") = "GPL";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue