Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 #include <vmlinux.h>
0003 #include <bpf/bpf_helpers.h>
0004 
0005 extern void bpf_testmod_test_mod_kfunc(int i) __ksym;
0006 
0007 SEC("tc")
0008 int kfunc_call_fail(struct __sk_buff *ctx)
0009 {
0010     bpf_testmod_test_mod_kfunc(0);
0011     return 0;
0012 }
0013 
0014 char _license[] SEC("license") = "GPL";