Linux-6.18.2/tools/testing/selftests/bpf/progs/priv_prog.c
2025-12-23 20:06:59 +08:00

14 lines
258 B
C

// 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;
}