Linux Audio

Check our new training course

Loading...
v6.13.7
 1// SPDX-License-Identifier: GPL-2.0
 2
 3#define KBUILD_MODNAME "xdp_dummy"
 4#include <linux/bpf.h>
 5#include <bpf/bpf_helpers.h>
 6
 7SEC("xdp")
 8int xdp_dummy_prog(struct xdp_md *ctx)
 9{
10	return XDP_PASS;
11}
12
13char _license[] SEC("license") = "GPL";
v6.8
 1// SPDX-License-Identifier: GPL-2.0
 2
 3#define KBUILD_MODNAME "xdp_dummy"
 4#include <linux/bpf.h>
 5#include <bpf/bpf_helpers.h>
 6
 7SEC("xdp")
 8int xdp_dummy_prog(struct xdp_md *ctx)
 9{
10	return XDP_PASS;
11}
12
13char _license[] SEC("license") = "GPL";