Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 
0003 #include <linux/bpf.h>
0004 #include <bpf/bpf_helpers.h>
0005 
0006 struct {
0007     __uint(type, BPF_MAP_TYPE_ARRAY);
0008     __uint(max_entries, 1);
0009     __type(key, __u32);
0010     __type(value, __u64);
0011     __uint(pinning, 2); /* invalid */
0012 } nopinmap3 SEC(".maps");
0013 
0014 char _license[] SEC("license") = "GPL";