eBPF for Windows
Macros | Typedefs | Functions
bpf_helpers_platform.h File Reference

This file contains platform specific defines used by eBPF programs. More...

#include <stdbool.h>
#include <stdint.h>

Go to the source code of this file.

Macros

#define bpf_map   _ebpf_map_definition_in_file
 

Typedefs

typedef int32_t __s32
 
typedef int64_t __s64
 
typedef uint16_t __be16
 
typedef uint16_t __u16
 
typedef uint32_t __be32
 
typedef uint32_t __u32
 
typedef uint32_t __wsum
 
typedef uint64_t __u64
 

Functions

const bool __ebpf_for_windows_tag __attribute__ ((section(".ebpf_for_windows")))
 

Detailed Description

This file contains platform specific defines used by eBPF programs.

Macro Definition Documentation

◆ bpf_map

#define bpf_map   _ebpf_map_definition_in_file

Typedef Documentation

◆ __be16

typedef uint16_t __be16

◆ __be32

typedef uint32_t __be32

◆ __s32

typedef int32_t __s32

◆ __s64

typedef int64_t __s64

◆ __u16

typedef uint16_t __u16

◆ __u32

typedef uint32_t __u32

◆ __u64

typedef uint64_t __u64

◆ __wsum

typedef uint32_t __wsum

Function Documentation

◆ __attribute__()

const bool __ebpf_for_windows_tag __attribute__ ( (section(".ebpf_for_windows"))  )