Home
last modified time | relevance | path

Searched refs:bpf_map_def (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Connectivity/staticlibs/native/bpf_headers/include/bpf/
Dbpf_map_def.h160 struct bpf_map_def { struct
218 _Static_assert(sizeof(((struct bpf_map_def *)0)->selinux_context) == 32, "must be 32 bytes"); argument
219 _Static_assert(sizeof(((struct bpf_map_def *)0)->pin_subdir) == 32, "must be 32 bytes");
222 _Static_assert(sizeof(struct bpf_map_def) == 120, "sizeof struct bpf_map_def != 120");
223 _Static_assert(__alignof__(struct bpf_map_def) == 4, "__alignof__ struct bpf_map_def != 4");
224 _Static_assert(_Alignof(struct bpf_map_def) == 4, "_Alignof struct bpf_map_def != 4");
Dbpf_helpers.h106 size_t _size_of_bpf_map_def SECTION("size_of_bpf_map_def") = sizeof(struct bpf_map_def); \
205 static void* (*bpf_map_lookup_elem_unsafe)(const struct bpf_map_def* map,
207 static int (*bpf_map_update_elem_unsafe)(const struct bpf_map_def* map, const void* key,
210 static int (*bpf_map_delete_elem_unsafe)(const struct bpf_map_def* map,
212 static int (*bpf_ringbuf_output_unsafe)(const struct bpf_map_def* ringbuf,
215 static void* (*bpf_ringbuf_reserve_unsafe)(const struct bpf_map_def* ringbuf,
242 const struct bpf_map_def SECTION("maps") the_map = { \
/packages/modules/Connectivity/bpf_progs/
Dbpf_net_helpers.h65 static int (*bpf_redirect_map)(const struct bpf_map_def* map, __u32 key,
/packages/modules/Connectivity/netbpfload/
Dloader.cpp562 const struct bpf_map_def& mapDef, const enum bpf_map_type type) { in mapMatchesExpectations()
622 vector<struct bpf_map_def> md; in createMaps()
638 size_t trimmedSize = std::min(sizeOfBpfMapDef, sizeof(struct bpf_map_def)); in createMaps()