Home
last modified time | relevance | path

Searched refs:LIBBPF_API (Results 1 – 8 of 8) sorted by relevance

/external/libbpf/src/
Dlibbpf.h27 LIBBPF_API __u32 libbpf_major_version(void);
28 LIBBPF_API __u32 libbpf_minor_version(void);
29 LIBBPF_API const char *libbpf_version_string(void);
52 LIBBPF_API int libbpf_strerror(int err, char *buf, size_t size);
63 LIBBPF_API libbpf_print_fn_t libbpf_set_print(libbpf_print_fn_t fn);
153 LIBBPF_API struct bpf_object *bpf_object__open(const char *path);
165 LIBBPF_API struct bpf_object *
178 LIBBPF_API struct bpf_object *
184 LIBBPF_API struct bpf_object *
188 LIBBPF_API struct bpf_object *
[all …]
Dbtf.h38 LIBBPF_API void btf__free(struct btf *btf);
54 LIBBPF_API struct btf *btf__new(const void *data, __u32 size);
76 LIBBPF_API struct btf *btf__new_split(const void *data, __u32 size, struct btf *base_btf);
90 LIBBPF_API struct btf *btf__new_empty(void);
108 LIBBPF_API struct btf *btf__new_empty_split(struct btf *base_btf);
110 LIBBPF_API struct btf *btf__parse(const char *path, struct btf_ext **btf_ext);
111 LIBBPF_API struct btf *btf__parse_split(const char *path, struct btf *base_btf);
112 LIBBPF_API struct btf *btf__parse_elf(const char *path, struct btf_ext **btf_ext);
113 LIBBPF_API struct btf *btf__parse_elf_split(const char *path, struct btf *base_btf);
114 LIBBPF_API struct btf *btf__parse_raw(const char *path);
[all …]
Dbpf.h57 LIBBPF_API int bpf_map_create(enum bpf_map_type map_type,
83 LIBBPF_API int bpf_create_map_xattr(const struct bpf_create_map_attr *create_attr);
85 LIBBPF_API int bpf_create_map_node(enum bpf_map_type map_type, const char *name,
89 LIBBPF_API int bpf_create_map_name(enum bpf_map_type map_type, const char *name,
93 LIBBPF_API int bpf_create_map(enum bpf_map_type map_type, int key_size,
96 LIBBPF_API int bpf_create_map_in_map_node(enum bpf_map_type map_type,
101 LIBBPF_API int bpf_create_map_in_map(enum bpf_map_type map_type,
144 LIBBPF_API int bpf_prog_load(enum bpf_prog_type prog_type,
149 LIBBPF_API int bpf_prog_load_v0_6_0(enum bpf_prog_type prog_type,
204 LIBBPF_API int bpf_load_program_xattr(const struct bpf_load_program_attr *load_attr,
[all …]
Dlibbpf_legacy.h85 LIBBPF_API int libbpf_set_strict_mode(enum libbpf_strict_mode mode);
100 LIBBPF_API enum bpf_prog_type bpf_program__get_type(const struct bpf_program *prog);
101 LIBBPF_API enum bpf_attach_type bpf_program__get_expected_attach_type(const struct bpf_program *pro…
102 LIBBPF_API const char *bpf_map__get_pin_path(const struct bpf_map *map);
103 LIBBPF_API const void *btf__get_raw_data(const struct btf *btf, __u32 *size);
104 LIBBPF_API const void *btf_ext__get_raw_data(const struct btf_ext *btf_ext, __u32 *size);
Dxsk.h254 LIBBPF_API LIBBPF_DEPRECATED_SINCE(0, 7, "AF_XDP support deprecated and moved to libxdp")
256 LIBBPF_API LIBBPF_DEPRECATED_SINCE(0, 7, "AF_XDP support deprecated and moved to libxdp")
274 LIBBPF_API LIBBPF_DEPRECATED_SINCE(0, 7, "AF_XDP support deprecated and moved to libxdp")
276 LIBBPF_API LIBBPF_DEPRECATED_SINCE(0, 7, "AF_XDP support deprecated and moved to libxdp")
291 LIBBPF_API LIBBPF_DEPRECATED_SINCE(0, 7, "AF_XDP support deprecated and moved to libxdp")
297 LIBBPF_API LIBBPF_DEPRECATED_SINCE(0, 7, "AF_XDP support deprecated and moved to libxdp")
303 LIBBPF_API LIBBPF_DEPRECATED_SINCE(0, 7, "AF_XDP support deprecated and moved to libxdp")
309 LIBBPF_API LIBBPF_DEPRECATED_SINCE(0, 7, "AF_XDP support deprecated and moved to libxdp")
316 LIBBPF_API LIBBPF_DEPRECATED_SINCE(0, 7, "AF_XDP support deprecated and moved to libxdp")
327 LIBBPF_API LIBBPF_DEPRECATED_SINCE(0, 7, "AF_XDP support deprecated and moved to libxdp")
[all …]
Dlibbpf_common.h15 #ifndef LIBBPF_API
16 #define LIBBPF_API __attribute__((visibility("default"))) macro
Dlibbpf.c10209 LIBBPF_API struct bpf_link *
/external/libbpf/docs/
Dlibbpf_naming_convention.rst85 attributed with ``LIBBPF_API`` macro. For example:
89 LIBBPF_API int bpf_prog_get_fd_by_id(__u32 id);