summaryrefslogtreecommitdiffstats
path: root/lib/libxdp/tests/xdp_pass.c
blob: 6b61a0085eca449c25f07e1b742461783c3569da (plain)
1
2
3
4
5
6
7
8
9
10
11
/* SPDX-License-Identifier: GPL-2.0 */
#include <linux/bpf.h>
#include <bpf/bpf_helpers.h>

SEC("xdp")
int xdp_pass(struct xdp_md *ctx)
{
        return XDP_PASS;
}

char _license[] SEC("license") = "GPL";