File Index
Files and directories
Sign in
FILE

priv_prog.c

File preview with syntax highlighting.

linux-6.19.14/tools/testing/selftests/bpf/progs/priv_prog.c C
 1// SPDX-License-Identifier: GPL-2.0
 2/* Copyright (c) 2023 Meta Platforms, Inc. and affiliates. */
 3
 4#include "vmlinux.h"
 5#include <bpf/bpf_helpers.h>
 6
 7char _license[] SEC("license") = "GPL";
 8
 9SEC("xdp")
10int xdp_prog1(struct xdp_md *xdp)
11{
12	return XDP_DROP;
13}
~/ Read-only file preview.