eBPF for Windows
ebpf_core_structs.h
Go to the documentation of this file.
1 // Copyright (c) eBPF for Windows contributors
2 // SPDX-License-Identifier: MIT
3 #pragma once
4 
11 #include "ebpf_structs.h"
12 
13 #include <sal.h>
14 
15 #define EBPF_MAX_PIN_PATH_LENGTH 256
16 
20 typedef struct _ebpf_map_info
21 {
23  _Field_z_ char* pin_path;
25 
26 typedef intptr_t ebpf_handle_t;
27 extern __declspec(selectany) const ebpf_handle_t ebpf_handle_invalid = (ebpf_handle_t)-1;
28 
30 {
31  size_t producer;
32  size_t consumer;
intptr_t ebpf_handle_t
Definition: ebpf_api.h:26
const ebpf_handle_t ebpf_handle_invalid
struct _ebpf_ring_buffer_map_async_query_result ebpf_ring_buffer_map_async_query_result_t
intptr_t ebpf_handle_t
Definition: ebpf_core_structs.h:26
struct _ebpf_map_info ebpf_map_info_t
eBPF Map Information
This file contains eBPF definitions common to eBPF programs, core execution engine as well as eBPF AP...
eBPF Map Definition as it is stored in memory.
Definition: ebpf_structs.h:102
eBPF Map Information
Definition: ebpf_core_structs.h:21
ebpf_map_definition_in_memory_t definition
Definition: ebpf_core_structs.h:22
_Field_z_ char * pin_path
Definition: ebpf_core_structs.h:23
Definition: ebpf_core_structs.h:30
size_t producer
Definition: ebpf_core_structs.h:31
size_t consumer
Definition: ebpf_core_structs.h:32