1 /* Generated by ./xlat/gen.sh from ./xlat/bpf_map_update_elem_flags.in; do not edit. */ 2 #if !(defined(BPF_ANY) || (defined(HAVE_DECL_BPF_ANY) && HAVE_DECL_BPF_ANY)) 3 # define BPF_ANY 0 4 #endif 5 #if !(defined(BPF_NOEXIST) || (defined(HAVE_DECL_BPF_NOEXIST) && HAVE_DECL_BPF_NOEXIST)) 6 # define BPF_NOEXIST 1 7 #endif 8 #if !(defined(BPF_EXIST) || (defined(HAVE_DECL_BPF_EXIST) && HAVE_DECL_BPF_EXIST)) 9 # define BPF_EXIST 2 10 #endif 11 12 #ifdef IN_MPERS 13 14 # error static const struct xlat bpf_map_update_elem_flags in mpers mode 15 16 #else 17 18 static 19 const struct xlat bpf_map_update_elem_flags[] = { 20 XLAT(BPF_ANY), 21 XLAT(BPF_NOEXIST), 22 XLAT(BPF_EXIST), 23 XLAT_END 24 }; 25 26 #endif /* !IN_MPERS */ 27