eBPF for Windows
Loading...
Searching...
No Matches
Deprecated List
Global BIND_PERMIT
Use BIND_PERMIT_SOFT instead for clarity about the permit behavior.
Global bpf_create_map (enum bpf_map_type map_type, int key_size, int value_size, int max_entries, __u32 map_flags)
Use bpf_map_create() instead.
Global bpf_create_map_in_map (enum bpf_map_type map_type, const char *name, int key_size, int inner_map_fd, int max_entries, __u32 map_flags)
Use bpf_map_create() instead.
Global bpf_create_map_xattr (const struct bpf_create_map_attr *create_attr)
Use bpf_map_create() instead.
Global bpf_load_program (enum bpf_prog_type type, const struct bpf_insn *insns, size_t insns_cnt, const char *license, __u32 kern_version, char *log_buf, size_t log_buf_sz)
Use bpf_prog_load() instead.
Global bpf_load_program_xattr (const struct bpf_load_program_attr *load_attr, char *log_buf, size_t log_buf_sz)
Use bpf_prog_load() instead.
Global bpf_map__next (const struct bpf_map *map, const struct bpf_object *obj)
Use bpf_object__next_map() instead.
Global bpf_map__prev (const struct bpf_map *map, const struct bpf_object *obj)
Use bpf_object__prev_map() instead.
Global bpf_object__load_xattr (struct bpf_object_load_attr *attr)
Use bpf_object__load() instead.
Global bpf_object__next (struct bpf_object *prev)
Track bpf_objects in application code instead.
Global bpf_object__unload (struct bpf_object *obj)
Use bpf_object__close() instead.
Global bpf_prog_load_deprecated (const char *file, enum bpf_prog_type type, struct bpf_object **pobj, int *prog_fd)
Use bpf_object__open() and bpf_object__load() instead.
Global bpf_program__get_type (const struct bpf_program *prog)
Use bpf_program__type() instead.
Global bpf_program__next (struct bpf_program *prog, const struct bpf_object *obj)
Use bpf_object__next_program() instead.
Global bpf_program__prev (struct bpf_program *prog, const struct bpf_object *obj)
Use bpf_object__prev_program() instead.
Global bpf_program__size (const struct bpf_program *prog)
Use bpf_program__insn_cnt() instead.
Global bpf_set_link_xdp_fd (int ifindex, int fd, __u32 flags)
Use bpf_xdp_attach() instead.
Global ebpf_perf_buffer__new (int map_fd, size_t page_cnt, perf_buffer_sample_fn sample_cb, perf_buffer_lost_fn lost_cb, void *ctx, const struct ebpf_perf_buffer_opts *opts) EBPF_NO_EXCEPT
Use perf_buffer__new() (or ebpf_perf_buffer__new() with flags set to 0) and consume records via perf_buffer__poll()/perf_buffer__consume().
Global ebpf_perf_buffer_flags
EBPF_PERFBUF_FLAG_AUTO_CALLBACK is deprecated. Prefer polling mode (flags = 0).
Global ebpf_perf_event_array_map_write (fd_t perf_event_array_map_fd, _In_reads_bytes_(data_length) const void *data, size_t data_length) EBPF_NO_EXCEPT
Use the polling-based perf buffer APIs (perf_buffer__new, perf_buffer__poll, perf_buffer__consume) and BPF helper output path instead.
Global ebpf_preprocess_map_delete_element_t )(void *binding_context, void *map_context, size_t key_size, _In_reads_opt_(key_size) const uint8_t *key, size_t value_size, _In_reads_(value_size) const uint8_t *value, uint32_t flags)
Use ebpf_postprocess_map_delete_element_t instead. This callback is invoked before the entry is removed from the hash table, under the per-bucket lock. New providers should use ebpf_postprocess_map_delete_element_t, which is invoked after the entry is removed from the hash table. A provider must register exactly one of preprocess_map_delete_element or postprocess_map_delete_element, not both.
Global ebpf_ring_buffer__new (int map_fd, ring_buffer_sample_fn sample_cb, void *ctx, const struct ebpf_ring_buffer_opts *opts) EBPF_NO_EXCEPT
Use ring_buffer__new() (or ebpf_ring_buffer__new() with flags set to 0) and consume records via ring_buffer__poll()/ring_buffer__consume().
Global ebpf_ring_buffer_flags
EBPF_RINGBUF_FLAG_AUTO_CALLBACK is deprecated. Prefer polling mode (flags = 0).
Global ebpf_ring_buffer_map_write (fd_t ring_buffer_map_fd, _In_reads_bytes_(data_length) const void *data, size_t data_length) EBPF_NO_EXCEPT
Use the polling-based ring buffer APIs (ring_buffer__new, ring_buffer__poll, ring_buffer__consume) and map producer helpers instead.