9 lines
182 B
C
9 lines
182 B
C
#include <linux/bpf.h>
|
|
#include <bpf/bpf_helpers.h>
|
|
|
|
SEC("xdp")
|
|
int xdp_drop(struct xdp_md *ctx) {
|
|
return XDP_PASS; // Drop all packets
|
|
}
|
|
|
|
char LICENSE[] SEC("license") = "GPL";
|