Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1// SPDX-License-Identifier: GPL-2.0
2/* Copyright (c) 2026 Meta Platforms, Inc. and affiliates. */
3
4#include "vmlinux.h"
5#include <bpf/bpf_helpers.h>
6
7char _license[] SEC("license") = "GPL";
8
9__weak
10int token_ksym_subprog(void)
11{
12 return 0;
13}
14
15SEC("xdp")
16int xdp_main(struct xdp_md *xdp)
17{
18 return token_ksym_subprog();
19}