projects
/
platform
/
kernel
/
linux-rpi.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
selftests/bpf: Fix erroneous bitmask operation
[platform/kernel/linux-rpi.git]
/
tools
/
testing
/
selftests
/
bpf
/
progs
/
test_subskeleton_lib2.c
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";