summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/progs/priv_freplace_prog.c
blob: ccf1b04010bae392e9f809d4b43b1a48d71f08e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// SPDX-License-Identifier: GPL-2.0
/* Copyright (c) 2025 Meta Platforms, Inc. and affiliates. */

#include "vmlinux.h"
#include <bpf/bpf_helpers.h>

char _license[] SEC("license") = "GPL";

SEC("freplace/xdp_prog1")
int new_xdp_prog2(struct xdp_md *xd)
{
	return XDP_DROP;
}