Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /* Copyright (c) Meta Platforms, Inc. and affiliates. */
0003 
0004 #include <linux/bpf.h>
0005 #include <bpf/bpf_helpers.h>
0006 
0007 int var6 = 6;
0008 
0009 struct {
0010     __uint(type, BPF_MAP_TYPE_HASH);
0011     __type(key, __u32);
0012     __type(value, __u32);
0013     __uint(max_entries, 16);
0014 } map2 SEC(".maps");
0015 
0016 char LICENSE[] SEC("license") = "GPL";