21#ifndef BACKENDS_EBPF_RUNTIME_EBPF_REGISTRY_H_
22#define BACKENDS_EBPF_RUNTIME_EBPF_REGISTRY_H_
26#define MAX_TABLE_NAME_LENGTH 256
39 unsigned int key_size;
40 unsigned int value_size;
41 unsigned int max_entries;
55int registry_delete_tbl(
const char *name);
61void registry_delete();
67struct bpf_table *registry_lookup_table(
const char *name);
73struct bpf_table *registry_lookup_table_id(
int tbl_id);
79int registry_get_id(
const char *name);
87int registry_update_table(
const char *name,
void *key,
void *value,
unsigned long long flags);
95int registry_update_table_id(
int tbl_id,
void *key,
void *value,
unsigned long long flags);
104int registry_delete_table_elem(
const char *name,
void *key);
113int registry_delete_table_elem_id(
int tbl_id,
void *key);
122void *registry_lookup_table_elem(
const char *name,
void *key);
131void *registry_lookup_table_elem_id(
int tbl_id,
void *key);
A helper structure used to describe attributes.
Definition ebpf_registry.h:36