Program type for handling calls from the eBPF sample extension. Used for testing.
eBPF program prototype: see the eBPF sample extension.
Attach type(s): BPF_ATTACH_TYPE_SAMPLE
diff --git a/ebpf__structs_8h_source.html b/ebpf__structs_8h_source.html
index b9371037ed..e15870f9cb 100644
--- a/ebpf__structs_8h_source.html
+++ b/ebpf__structs_8h_source.html
@@ -228,138 +228,143 @@
-
-
+
-
-
- 233 #define XDP_FLAGS_REPLACE 0x01
-
-
-
-
-
-
-
-
-
-
-
-
- 246 static const char* const _ebpf_link_display_names[] = {
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ 243 #define XDP_FLAGS_REPLACE 0x01
+
+
+
+
+
+
+
+
+
+
+
+
+ 256 static const char* const _ebpf_link_display_names[] = {
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 317 #pragma warning(push)
- 318 #pragma warning(disable : 4201)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 349 #define BPF_OBJ_NAME_LEN 64
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 372 #define BPF_NOEXIST 0x1
- 373 #define BPF_EXIST 0x2
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 333 #pragma warning(push)
+ 334 #pragma warning(disable : 4201)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 365 #define BPF_OBJ_NAME_LEN 64
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 388 #define BPF_NOEXIST 0x1
+ 389 #define BPF_EXIST 0x2
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
bpf_prog_type Definition: ebpf_structs.h:173
@ BPF_PROG_TYPE_XDP Program type for handling incoming packets as early as possible. Definition: ebpf_structs.h:184
@ BPF_PROG_TYPE_BIND Program type for handling socket bind() requests. Definition: ebpf_structs.h:194
@ BPF_PROG_TYPE_CGROUP_SOCK_ADDR Program type for handling various socket operations such as connect(), accept() etc. Definition: ebpf_structs.h:208
@ BPF_PROG_TYPE_UNSPEC Unspecified program type. Definition: ebpf_structs.h:174
+@ BPF_PROG_TYPE_XDP_TEST Program type for handling incoming packets as early as possible. Definition: ebpf_structs.h:229
@ BPF_PROG_TYPE_SOCK_OPS Program type for handling various socket event notifications such as connection established etc. Definition: ebpf_structs.h:219
-@ BPF_PROG_TYPE_SAMPLE Program type for handling calls from the eBPF sample extension. Used for testing. Definition: ebpf_structs.h:228
+@ BPF_PROG_TYPE_SAMPLE Program type for handling calls from the eBPF sample extension. Used for testing. Definition: ebpf_structs.h:238
enum ebpf_map_option ebpf_map_option_t
-bpf_link_type Definition: ebpf_structs.h:239
-@ BPF_LINK_TYPE_UNSPEC Unspecified link type. Definition: ebpf_structs.h:240
-@ BPF_LINK_TYPE_PLAIN No union members are used in bpf_link_info. Definition: ebpf_structs.h:241
-@ BPF_LINK_TYPE_CGROUP cgroup struct is present in bpf_link_info. Definition: ebpf_structs.h:242
-@ BPF_LINK_TYPE_XDP xdp struct is present in bpf_link_info. Definition: ebpf_structs.h:243
-enum bpf_prog_type bpf_prog_type_t Definition: ebpf_structs.h:231
+bpf_link_type Definition: ebpf_structs.h:249
+@ BPF_LINK_TYPE_UNSPEC Unspecified link type. Definition: ebpf_structs.h:250
+@ BPF_LINK_TYPE_PLAIN No union members are used in bpf_link_info. Definition: ebpf_structs.h:251
+@ BPF_LINK_TYPE_CGROUP cgroup struct is present in bpf_link_info. Definition: ebpf_structs.h:252
+@ BPF_LINK_TYPE_XDP xdp struct is present in bpf_link_info. Definition: ebpf_structs.h:253
+enum bpf_prog_type bpf_prog_type_t Definition: ebpf_structs.h:241
enum bpf_map_type ebpf_map_type_t
#define BPF_ENUM_TO_STRING(X) Definition: ebpf_structs.h:25
struct _ebpf_map_definition_in_memory ebpf_map_definition_in_memory_t eBPF Map Definition as it is stored in memory.
@@ -390,20 +395,21 @@
@ BPF_FUNC_get_current_logon_id bpf_get_current_logon_id Definition: ebpf_structs.h:167
@ BPF_FUNC_map_push_elem bpf_map_push_elem Definition: ebpf_structs.h:163
@ BPF_FUNC_get_current_pid_tgid bpf_get_current_pid_tgid Definition: ebpf_structs.h:166
-bpf_attach_type Definition: ebpf_structs.h:252
-@ BPF_XDP Attach type for handling incoming packets as early as possible. Definition: ebpf_structs.h:259
-@ BPF_CGROUP_INET6_CONNECT Attach type for handling IPv6 TCP connect() or UDP send to a unique remote address/port tuple. Definition: ebpf_structs.h:279
-@ BPF_ATTACH_TYPE_UNSPEC Unspecified attach type. Definition: ebpf_structs.h:253
-@ __MAX_BPF_ATTACH_TYPE Definition: ebpf_structs.h:307
-@ BPF_ATTACH_TYPE_BIND Attach type for handling socket bind() requests. Definition: ebpf_structs.h:265
-@ BPF_CGROUP_INET6_RECV_ACCEPT Attach type for handling IPv6 TCP accept() or on receiving the first unicast UDP packet from a unique... Definition: ebpf_structs.h:293
-@ BPF_ATTACH_TYPE_SAMPLE Attach type implemented by eBPF Sample Extension driver, used for testing. Definition: ebpf_structs.h:305
-@ BPF_CGROUP_SOCK_OPS Attach type for handling various socket event notifications. Definition: ebpf_structs.h:299
-@ BPF_CGROUP_INET4_RECV_ACCEPT Attach type for handling IPv4 TCP accept() or on receiving the first unicast UDP packet from a unique... Definition: ebpf_structs.h:286
-@ BPF_CGROUP_INET4_CONNECT Attach type for handling IPv4 TCP connect() or UDP send to a unique remote address/port tuple. Definition: ebpf_structs.h:272
+bpf_attach_type Definition: ebpf_structs.h:262
+@ BPF_XDP Attach type for handling incoming packets as early as possible. Definition: ebpf_structs.h:269
+@ BPF_CGROUP_INET6_CONNECT Attach type for handling IPv6 TCP connect() or UDP send to a unique remote address/port tuple. Definition: ebpf_structs.h:289
+@ BPF_ATTACH_TYPE_UNSPEC Unspecified attach type. Definition: ebpf_structs.h:263
+@ __MAX_BPF_ATTACH_TYPE Definition: ebpf_structs.h:323
+@ BPF_ATTACH_TYPE_BIND Attach type for handling socket bind() requests. Definition: ebpf_structs.h:275
+@ BPF_XDP_TEST Attach type for handling incoming packets as early as possible. Definition: ebpf_structs.h:321
+@ BPF_CGROUP_INET6_RECV_ACCEPT Attach type for handling IPv6 TCP accept() or on receiving the first unicast UDP packet from a unique... Definition: ebpf_structs.h:303
+@ BPF_ATTACH_TYPE_SAMPLE Attach type implemented by eBPF Sample Extension driver, used for testing. Definition: ebpf_structs.h:315
+@ BPF_CGROUP_SOCK_OPS Attach type for handling various socket event notifications. Definition: ebpf_structs.h:309
+@ BPF_CGROUP_INET4_RECV_ACCEPT Attach type for handling IPv4 TCP accept() or on receiving the first unicast UDP packet from a unique... Definition: ebpf_structs.h:296
+@ BPF_CGROUP_INET4_CONNECT Attach type for handling IPv4 TCP connect() or UDP send to a unique remote address/port tuple. Definition: ebpf_structs.h:282
struct _ebpf_map_definition_in_file ebpf_map_definition_in_file_t eBPF Map Definition as it appears in the maps section of an ELF file.
-#define BPF_OBJ_NAME_LEN Definition: ebpf_structs.h:349
-enum bpf_attach_type bpf_attach_type_t Definition: ebpf_structs.h:310
+#define BPF_OBJ_NAME_LEN Definition: ebpf_structs.h:365
+enum bpf_attach_type bpf_attach_type_t Definition: ebpf_structs.h:326
ebpf_map_option Definition: ebpf_structs.h:84
@ EBPF_ANY Create a new element or update an existing element. Definition: ebpf_structs.h:85
@ EBPF_EXIST Update an existing element. Definition: ebpf_structs.h:87
@@ -442,38 +448,38 @@
uint32_t max_entries Maximum number of entries allowed in the map. Definition: ebpf_structs.h:116
ebpf_pin_type_t pinning Definition: ebpf_structs.h:118
uint32_t value_size Size in bytes of a map value. Definition: ebpf_structs.h:115
-eBPF link information. This structure can be retrieved by calling bpf_obj_get_info_by_fd on a link fd... Definition: ebpf_structs.h:325
+eBPF link information. This structure can be retrieved by calling bpf_obj_get_info_by_fd on a link fd... Definition: ebpf_structs.h:341
struct bpf_link_info::@24::@26 xdp
-ebpf_program_type_t program_type_uuid Program type UUID. Definition: ebpf_structs.h:331
-uint8_t attach_data Definition: ebpf_structs.h:342
-ebpf_id_t prog_id Program ID. Definition: ebpf_structs.h:327
-enum bpf_attach_type attach_type Attach type. Definition: ebpf_structs.h:329
-uint32_t ifindex Definition: ebpf_structs.h:336
-enum bpf_link_type type Link type. Definition: ebpf_structs.h:328
-ebpf_attach_type_t attach_type_uuid Attach type UUID. Definition: ebpf_structs.h:330
-uint64_t cgroup_id Definition: ebpf_structs.h:340
-ebpf_id_t id Link ID. Definition: ebpf_structs.h:326
+ebpf_program_type_t program_type_uuid Program type UUID. Definition: ebpf_structs.h:347
+uint8_t attach_data Definition: ebpf_structs.h:358
+ebpf_id_t prog_id Program ID. Definition: ebpf_structs.h:343
+enum bpf_attach_type attach_type Attach type. Definition: ebpf_structs.h:345
+uint32_t ifindex Definition: ebpf_structs.h:352
+enum bpf_link_type type Link type. Definition: ebpf_structs.h:344
+ebpf_attach_type_t attach_type_uuid Attach type UUID. Definition: ebpf_structs.h:346
+uint64_t cgroup_id Definition: ebpf_structs.h:356
+ebpf_id_t id Link ID. Definition: ebpf_structs.h:342
struct bpf_link_info::@24::@27 cgroup
-eBPF map information. This structure can be retrieved by calling bpf_obj_get_info_by_fd on a map fd. Definition: ebpf_structs.h:356
-uint32_t max_entries Maximum number of entries allowed in the map. Definition: ebpf_structs.h:362
-char name[BPF_OBJ_NAME_LEN] Null-terminated map name. Definition: ebpf_structs.h:363
-ebpf_map_type_t type Type of map. Definition: ebpf_structs.h:359
-uint32_t key_size Size in bytes of a map key. Definition: ebpf_structs.h:360
-ebpf_id_t id Map ID. Definition: ebpf_structs.h:358
-uint32_t map_flags Map flags. Definition: ebpf_structs.h:364
-uint32_t pinned_path_count Number of pinned paths. Definition: ebpf_structs.h:368
-uint32_t value_size Size in bytes of a map value. Definition: ebpf_structs.h:361
-ebpf_id_t inner_map_id ID of inner map template. Definition: ebpf_structs.h:367
-eBPF program information. This structure can be retrieved by calling bpf_obj_get_info_by_fd on a prog... Definition: ebpf_structs.h:380
-ebpf_attach_type_t attach_type_uuid Attach type UUID. Definition: ebpf_structs.h:390
-uint32_t pinned_path_count Number of pinned paths. Definition: ebpf_structs.h:391
-uint32_t link_count Number of attached links. Definition: ebpf_structs.h:392
-enum bpf_prog_type type Program type, if a cross-platform type. Definition: ebpf_structs.h:383
-char name[BPF_OBJ_NAME_LEN] Null-terminated program name. Definition: ebpf_structs.h:386
-uintptr_t map_ids Pointer to caller-allocated array to fill map IDs into. Definition: ebpf_structs.h:385
-uint32_t nr_map_ids Number of maps associated with this program. Definition: ebpf_structs.h:384
-ebpf_id_t id Program ID. Definition: ebpf_structs.h:382
-ebpf_program_type_t type_uuid Program type UUID. Definition: ebpf_structs.h:389
+eBPF map information. This structure can be retrieved by calling bpf_obj_get_info_by_fd on a map fd. Definition: ebpf_structs.h:372
+uint32_t max_entries Maximum number of entries allowed in the map. Definition: ebpf_structs.h:378
+char name[BPF_OBJ_NAME_LEN] Null-terminated map name. Definition: ebpf_structs.h:379
+ebpf_map_type_t type Type of map. Definition: ebpf_structs.h:375
+uint32_t key_size Size in bytes of a map key. Definition: ebpf_structs.h:376
+ebpf_id_t id Map ID. Definition: ebpf_structs.h:374
+uint32_t map_flags Map flags. Definition: ebpf_structs.h:380
+uint32_t pinned_path_count Number of pinned paths. Definition: ebpf_structs.h:384
+uint32_t value_size Size in bytes of a map value. Definition: ebpf_structs.h:377
+ebpf_id_t inner_map_id ID of inner map template. Definition: ebpf_structs.h:383
+eBPF program information. This structure can be retrieved by calling bpf_obj_get_info_by_fd on a prog... Definition: ebpf_structs.h:396
+ebpf_attach_type_t attach_type_uuid Attach type UUID. Definition: ebpf_structs.h:406
+uint32_t pinned_path_count Number of pinned paths. Definition: ebpf_structs.h:407
+uint32_t link_count Number of attached links. Definition: ebpf_structs.h:408
+enum bpf_prog_type type Program type, if a cross-platform type. Definition: ebpf_structs.h:399
+char name[BPF_OBJ_NAME_LEN] Null-terminated program name. Definition: ebpf_structs.h:402
+uintptr_t map_ids Pointer to caller-allocated array to fill map IDs into. Definition: ebpf_structs.h:401
+uint32_t nr_map_ids Number of maps associated with this program. Definition: ebpf_structs.h:400
+ebpf_id_t id Program ID. Definition: ebpf_structs.h:398
+ebpf_program_type_t type_uuid Program type UUID. Definition: ebpf_structs.h:405
|