xref: /openbmc/linux/tools/testing/selftests/bpf/progs/test_xdp_link.c (revision 2634682fdffd9ba6e74b76be8aa91cf8b2e05c41)
1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2020 Facebook */
3 #include <linux/bpf.h>
4 #include <bpf/bpf_helpers.h>
5 
6 char LICENSE[] SEC("license") = "GPL";
7 
8 SEC("xdp/handler")
9 int xdp_handler(struct xdp_md *xdp)
10 {
11 	return 0;
12 }
13