eBPF for Windows
ebpf_program_attach_type_guids.h
Go to the documentation of this file.
1 // Copyright (c) Microsoft Corporation
2 // SPDX-License-Identifier: MIT
3 
4 #pragma once
5 
6 #include <stdbool.h>
7 #include <stdint.h>
8 #include "ebpf_windows.h"
9 
10 #ifdef __cplusplus
11 extern "C"
12 {
13 #endif
14  //
15  // Attach Types.
16  //
17 
18  __declspec(selectany) ebpf_attach_type_t EBPF_ATTACH_TYPE_UNSPECIFIED = {0};
19 
24  __declspec(selectany) ebpf_attach_type_t EBPF_ATTACH_TYPE_XDP = {
25  0x85e0d8ef, 0x579e, 0x4931, {0xb0, 0x72, 0x8e, 0xe2, 0x26, 0xbb, 0x2e, 0x9d}};
26 
31  __declspec(selectany) ebpf_attach_type_t EBPF_ATTACH_TYPE_BIND = {
32  0xb9707e04, 0x8127, 0x4c72, {0x83, 0x3e, 0x05, 0xb1, 0xfb, 0x43, 0x94, 0x96}};
33 
41  0xa82e37b1, 0xaee7, 0x11ec, {0x9a, 0x30, 0x18, 0x60, 0x24, 0x89, 0xbe, 0xee}};
42 
50  0xa82e37b2, 0xaee7, 0x11ec, {0x9a, 0x30, 0x18, 0x60, 0x24, 0x89, 0xbe, 0xee}};
51 
59  0xa82e37b3, 0xaee7, 0x11ec, {0x9a, 0x30, 0x18, 0x60, 0x24, 0x89, 0xbe, 0xee}};
60 
68  0xa82e37b4, 0xaee7, 0x11ec, {0x9a, 0x30, 0x18, 0x60, 0x24, 0x89, 0xbe, 0xee}};
69 
75  0x837d02cd, 0x3251, 0x4632, {0x8d, 0x94, 0x60, 0xd3, 0xb4, 0x57, 0x69, 0xf2}};
76 
81  __declspec(selectany) ebpf_attach_type_t EBPF_ATTACH_TYPE_SAMPLE = {
82  0xf788ef4b, 0x207d, 0x4dc3, {0x85, 0xcf, 0x0f, 0x2e, 0xa1, 0x07, 0x21, 0x3c}};
83 
84  //
85  // Program Types.
86  //
87 
89 
98  __declspec(selectany) ebpf_program_type_t EBPF_PROGRAM_TYPE_XDP = {
99  0xf1832a85, 0x85d5, 0x45b0, {0x98, 0xa0, 0x70, 0x69, 0xd6, 0x30, 0x13, 0xb0}};
100 
109  __declspec(selectany) ebpf_program_type_t EBPF_PROGRAM_TYPE_BIND = {
110  0x608c517c, 0x6c52, 0x4a26, {0xb6, 0x77, 0xbb, 0x1c, 0x34, 0x42, 0x5a, 0xdf}};
111 
123  0x92ec8e39, 0xaeec, 0x11ec, {0x9a, 0x30, 0x18, 0x60, 0x24, 0x89, 0xbe, 0xee}};
124 
130  0x43fb224d, 0x68f8, 0x46d6, {0xaa, 0x3f, 0xc8, 0x56, 0x51, 0x8c, 0xbb, 0x32}};
131 
138  0xf788ef4a, 0x207d, 0x4dc3, {0x85, 0xcf, 0x0f, 0x2e, 0xa1, 0x07, 0x21, 0x3c}};
139 
140 #ifdef __cplusplus
141 }
142 #endif
EBPF_ATTACH_TYPE_CGROUP_INET4_RECV_ACCEPT
ebpf_attach_type_t EBPF_ATTACH_TYPE_CGROUP_INET4_RECV_ACCEPT
The programs attached to the INET4_RECV_ACCEPT hook will get invoked for TCP accept() calls or for th...
Definition: ebpf_program_attach_type_guids.h:58
EBPF_PROGRAM_TYPE_XDP
ebpf_program_type_t EBPF_PROGRAM_TYPE_XDP
Program type for handling incoming packets as early as possible.
Definition: ebpf_program_attach_type_guids.h:98
EBPF_ATTACH_TYPE_CGROUP_INET4_CONNECT
ebpf_attach_type_t EBPF_ATTACH_TYPE_CGROUP_INET4_CONNECT
The programs attached to the INET4_CONNECT hook will be invoked for connect() calls on TCP or UDP soc...
Definition: ebpf_program_attach_type_guids.h:40
EBPF_ATTACH_TYPE_CGROUP_INET6_CONNECT
ebpf_attach_type_t EBPF_ATTACH_TYPE_CGROUP_INET6_CONNECT
The programs attached to the INET6_CONNECT hook will be invoked for connect() calls on TCP or UDP soc...
Definition: ebpf_program_attach_type_guids.h:49
EBPF_ATTACH_TYPE_XDP
ebpf_attach_type_t EBPF_ATTACH_TYPE_XDP
Attach type for handling incoming packets as early as possible.
Definition: ebpf_program_attach_type_guids.h:24
ebpf_windows.h
EBPF_PROGRAM_TYPE_SAMPLE
ebpf_program_type_t EBPF_PROGRAM_TYPE_SAMPLE
Program type for handling calls from the eBPF sample extension. Used for testing.
Definition: ebpf_program_attach_type_guids.h:137
EBPF_PROGRAM_TYPE_CGROUP_SOCK_ADDR
ebpf_program_type_t EBPF_PROGRAM_TYPE_CGROUP_SOCK_ADDR
Program type for handling various socket operations such as connect(), accept() etc.
Definition: ebpf_program_attach_type_guids.h:122
EBPF_PROGRAM_TYPE_BIND
ebpf_program_type_t EBPF_PROGRAM_TYPE_BIND
Program type for handling socket bind() requests.
Definition: ebpf_program_attach_type_guids.h:109
EBPF_ATTACH_TYPE_CGROUP_SOCK_OPS
ebpf_attach_type_t EBPF_ATTACH_TYPE_CGROUP_SOCK_OPS
Attach type for handling socket event notifications.
Definition: ebpf_program_attach_type_guids.h:74
ebpf_program_type_t
GUID ebpf_program_type_t
Definition: ebpf_windows.h:38
EBPF_ATTACH_TYPE_CGROUP_INET6_RECV_ACCEPT
ebpf_attach_type_t EBPF_ATTACH_TYPE_CGROUP_INET6_RECV_ACCEPT
The programs attached to the INET6_RECV_ACCEPT hook will get invoked for TCP accept() calls or for th...
Definition: ebpf_program_attach_type_guids.h:67
EBPF_PROGRAM_TYPE_UNSPECIFIED
ebpf_program_type_t EBPF_PROGRAM_TYPE_UNSPECIFIED
Definition: ebpf_program_attach_type_guids.h:88
EBPF_ATTACH_TYPE_SAMPLE
ebpf_attach_type_t EBPF_ATTACH_TYPE_SAMPLE
Attach type implemented by eBPF Sample Extension driver, used for testing.
Definition: ebpf_program_attach_type_guids.h:81
EBPF_ATTACH_TYPE_UNSPECIFIED
ebpf_attach_type_t EBPF_ATTACH_TYPE_UNSPECIFIED
Definition: ebpf_program_attach_type_guids.h:18
EBPF_ATTACH_TYPE_BIND
ebpf_attach_type_t EBPF_ATTACH_TYPE_BIND
Attach type for handling socket bind() requests.
Definition: ebpf_program_attach_type_guids.h:31
ebpf_attach_type_t
GUID ebpf_attach_type_t
Definition: ebpf_windows.h:39
EBPF_PROGRAM_TYPE_SOCK_OPS
ebpf_program_type_t EBPF_PROGRAM_TYPE_SOCK_OPS
Program type for handling socket event notifications.
Definition: ebpf_program_attach_type_guids.h:129