1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (c) Meta Platforms, Inc. and affiliates. */ 3 4 #include <linux/bpf.h> 5 #include <bpf/bpf_helpers.h> 6 7 int var6 = 6; 8 9 struct { 10 __uint(type, BPF_MAP_TYPE_HASH); 11 __type(key, __u32); 12 __type(value, __u32); 13 __uint(max_entries, 16); 14 } map2 SEC(".maps"); 15 16 char LICENSE[] SEC("license") = "GPL"; 17
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.