bpf.h (2843ba2ec75948e274d2c4f0a9390980e68a6461) | bpf.h (32e621e55496a0009f44fe4914cd4a23cade4984) |
---|---|
1/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ 2 3/* 4 * common eBPF ELF operations. 5 * 6 * Copyright (C) 2013-2015 Alexei Starovoitov <ast@kernel.org> 7 * Copyright (C) 2015 Wang Nan <wangnan0@huawei.com> 8 * Copyright (C) 2015 Huawei Inc. --- 12 unchanged lines hidden (view full) --- 21 * License along with this program; if not, see <http://www.gnu.org/licenses> 22 */ 23#ifndef __LIBBPF_BPF_H 24#define __LIBBPF_BPF_H 25 26#include <linux/bpf.h> 27#include <stdbool.h> 28#include <stddef.h> | 1/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ 2 3/* 4 * common eBPF ELF operations. 5 * 6 * Copyright (C) 2013-2015 Alexei Starovoitov <ast@kernel.org> 7 * Copyright (C) 2015 Wang Nan <wangnan0@huawei.com> 8 * Copyright (C) 2015 Huawei Inc. --- 12 unchanged lines hidden (view full) --- 21 * License along with this program; if not, see <http://www.gnu.org/licenses> 22 */ 23#ifndef __LIBBPF_BPF_H 24#define __LIBBPF_BPF_H 25 26#include <linux/bpf.h> 27#include <stdbool.h> 28#include <stddef.h> |
29#include <stdint.h> |
|
29 30#ifdef __cplusplus 31extern "C" { 32#endif 33 34#ifndef LIBBPF_API 35#define LIBBPF_API __attribute__((visibility("default"))) 36#endif --- 139 unchanged lines hidden --- | 30 31#ifdef __cplusplus 32extern "C" { 33#endif 34 35#ifndef LIBBPF_API 36#define LIBBPF_API __attribute__((visibility("default"))) 37#endif --- 139 unchanged lines hidden --- |