eBPF for Windows
Data Structures | Macros | Typedefs | Enumerations | Variables
ebpf_core_structs.h File Reference

This file contains eBPF definitions common to eBPF core libraries as well as the eBPF API library. More...

#include "ebpf_structs.h"
#include <sal.h>

Go to the source code of this file.

Data Structures

struct  _ebpf_map_info
 eBPF Map Information More...
 
struct  _ebpf_ring_buffer_map_async_query_result
 

Macros

#define EBPF_MAX_PIN_PATH_LENGTH   256
 

Typedefs

typedef struct _ebpf_map_info ebpf_map_info_t
 eBPF Map Information More...
 
typedef intptr_t ebpf_handle_t
 
typedef struct _ebpf_ring_buffer_map_async_query_result ebpf_ring_buffer_map_async_query_result_t
 
typedef enum _ebpf_object_type ebpf_object_type_t
 

Enumerations

enum  _ebpf_object_type { EBPF_OBJECT_UNKNOWN , EBPF_OBJECT_MAP , EBPF_OBJECT_LINK , EBPF_OBJECT_PROGRAM }
 

Variables

const ebpf_handle_t ebpf_handle_invalid = (ebpf_handle_t)-1
 

Detailed Description

This file contains eBPF definitions common to eBPF core libraries as well as the eBPF API library.

Macro Definition Documentation

◆ EBPF_MAX_PIN_PATH_LENGTH

#define EBPF_MAX_PIN_PATH_LENGTH   256

Typedef Documentation

◆ ebpf_handle_t

typedef intptr_t ebpf_handle_t

◆ ebpf_map_info_t

eBPF Map Information

◆ ebpf_object_type_t

◆ ebpf_ring_buffer_map_async_query_result_t

Enumeration Type Documentation

◆ _ebpf_object_type

Enumerator
EBPF_OBJECT_UNKNOWN 
EBPF_OBJECT_MAP 
EBPF_OBJECT_LINK 
EBPF_OBJECT_PROGRAM 

Variable Documentation

◆ ebpf_handle_invalid

const ebpf_handle_t ebpf_handle_invalid = (ebpf_handle_t)-1
extern