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

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

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

SEC("xdp")
int xdp_prog1(struct xdp_md *xdp)
{
	return XDP_DROP;
}