Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 
0003 #define KBUILD_MODNAME "xdp_dummy"
0004 #include <linux/bpf.h>
0005 #include <bpf/bpf_helpers.h>
0006 
0007 SEC("xdp")
0008 int xdp_dummy_prog(struct xdp_md *ctx)
0009 {
0010     return XDP_PASS;
0011 }
0012 
0013 char _license[] SEC("license") = "GPL";