blob: 8142ec1a2fa6d4a7e271d38e5016cead78913185 [file] [log] [blame]
/* Generated by ./xlat/gen.sh from ./xlat/bpf_map_types.in; do not edit. */
#if !(defined(BPF_MAP_TYPE_UNSPEC) || (defined(HAVE_DECL_BPF_MAP_TYPE_UNSPEC) && HAVE_DECL_BPF_MAP_TYPE_UNSPEC))
# define BPF_MAP_TYPE_UNSPEC 0
#endif
#if !(defined(BPF_MAP_TYPE_HASH) || (defined(HAVE_DECL_BPF_MAP_TYPE_HASH) && HAVE_DECL_BPF_MAP_TYPE_HASH))
# define BPF_MAP_TYPE_HASH 1
#endif
#if !(defined(BPF_MAP_TYPE_ARRAY) || (defined(HAVE_DECL_BPF_MAP_TYPE_ARRAY) && HAVE_DECL_BPF_MAP_TYPE_ARRAY))
# define BPF_MAP_TYPE_ARRAY 2
#endif
#if !(defined(BPF_MAP_TYPE_PROG_ARRAY) || (defined(HAVE_DECL_BPF_MAP_TYPE_PROG_ARRAY) && HAVE_DECL_BPF_MAP_TYPE_PROG_ARRAY))
# define BPF_MAP_TYPE_PROG_ARRAY 3
#endif
#if !(defined(BPF_MAP_TYPE_PERF_EVENT_ARRAY) || (defined(HAVE_DECL_BPF_MAP_TYPE_PERF_EVENT_ARRAY) && HAVE_DECL_BPF_MAP_TYPE_PERF_EVENT_ARRAY))
# define BPF_MAP_TYPE_PERF_EVENT_ARRAY 4
#endif
#ifdef IN_MPERS
# error static const struct xlat bpf_map_types in mpers mode
#else
static
const struct xlat bpf_map_types[] = {
XLAT(BPF_MAP_TYPE_UNSPEC),
XLAT(BPF_MAP_TYPE_HASH),
XLAT(BPF_MAP_TYPE_ARRAY),
XLAT(BPF_MAP_TYPE_PROG_ARRAY),
XLAT(BPF_MAP_TYPE_PERF_EVENT_ARRAY),
XLAT_END
};
#endif /* !IN_MPERS */