2024-12-24 15:46:35 +00:00
|
|
|
#include <linux/bpf.h>
|
|
|
|
#include <bpf/bpf_helpers.h>
|
|
|
|
|
|
|
|
SEC("xdp")
|
|
|
|
int xdp_drop(struct xdp_md *ctx) {
|
2024-12-24 20:34:28 +00:00
|
|
|
return XDP_PASS; // Drop all packets
|
2024-12-24 15:46:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
char LICENSE[] SEC("license") = "GPL";
|