#define BPF_MAP_TYPE_HASH 1
typedef unsigned char u8;
typedef unsigned short u16;
typedef unsigned int u32;
#define SEC(NAME) __attribute__((section(NAME), used))
struct bpf_map_def {
u32 type;
u32 key_size;
u32 value_size;
u32 max_entries;
u32 map_flags;
};
SEC(".maps")
struct bpf_map_def thresholds = {
.type = BPF_MAP_TYPE_HASH,
.key_size = sizeof(u8),
.value_size = sizeof(u16),
.max_entries = 256,
};
SEC("fentry/vfs_read")
int sieve_vfs_read(void *ctx) {
return 0;
}
SEC("license")
char _license[] = "GPL";