summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/progs/test_subskeleton_lib2.c
blob: 80238486b7cecc6efda92c9ab4bd30e205ee4be6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: GPL-2.0
/* Copyright (c) Meta Platforms, Inc. and affiliates. */

#include <linux/bpf.h>
#include <bpf/bpf_helpers.h>

int var6 = 6;

struct {
	__uint(type, BPF_MAP_TYPE_HASH);
	__type(key, __u32);
	__type(value, __u32);
	__uint(max_entries, 16);
} map2 SEC(".maps");

char LICENSE[] SEC("license") = "GPL";