Linux Audio

Check our new training course

Loading...
v6.13.7
 1// SPDX-License-Identifier: GPL-2.0
 2#include <vmlinux.h>
 3#include <bpf/bpf_helpers.h>
 4#include "../bpf_testmod/bpf_testmod_kfunc.h"
 
 5
 6SEC("tc")
 7int kfunc_destructive_test(void)
 8{
 9	bpf_kfunc_call_test_destructive();
10	return 0;
11}
12
13char _license[] SEC("license") = "GPL";
v6.2
 1// SPDX-License-Identifier: GPL-2.0
 2#include <vmlinux.h>
 3#include <bpf/bpf_helpers.h>
 4
 5extern void bpf_kfunc_call_test_destructive(void) __ksym;
 6
 7SEC("tc")
 8int kfunc_destructive_test(void)
 9{
10	bpf_kfunc_call_test_destructive();
11	return 0;
12}
13
14char _license[] SEC("license") = "GPL";