xref: /linux/tools/testing/selftests/bpf/progs/priv_freplace_prog.c (revision a34b0e4e21d6be3c3d620aa7f9dfbf0e9550c19e)
1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2025 Meta Platforms, Inc. and affiliates. */
3 
4 #include "vmlinux.h"
5 #include <bpf/bpf_helpers.h>
6 
7 char _license[] SEC("license") = "GPL";
8 
9 SEC("freplace/xdp_prog1")
10 int new_xdp_prog2(struct xdp_md *xd)
11 {
12 	return XDP_DROP;
13 }
14