ebpf-for-windows/include/linux/bpf.h

32 строки
599 B
C

// Copyright (c) Microsoft Corporation
// // SPDX-License-Identifier: MIT
#pragma once
// This file is needed since bpf.h includes it.
// It should be thought of as platform/bpf.h not Linux per se.
#include "ebpf_program_types.h"
#include "ebpf_api.h"
#include "ebpf_structs.h"
#define LIBBPF_API
#include "libbpf_common.h"
#undef LIBBPF_DEPRECATED
#define LIBBPF_DEPRECATED(x)
typedef int32_t __s32;
typedef uint8_t __u8;
typedef uint32_t __u32;
typedef uint64_t __u64;
typedef uint32_t pid_t;
enum bpf_func_id
{
BPF_FUNC_ID_UNKNOWN
};
enum bpf_stats_type
{
BPF_STATS_TYPE_UNKNOWN
};