linux/tools/testing/selftests/bpf/progs/priv_prog.c

14 lines
258 B
C
Raw Permalink Normal View History

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