Commit 0e265747 authored by Martynas Pumputis's avatar Martynas Pumputis Committed by Daniel Borkmann
Browse files

bpf: sync BPF_FIB_LOOKUP flag changes with BPF uapi



Sync the changes to the flags made in "bpf: simplify definition of
BPF_FIB_LOOKUP related flags" with the BPF UAPI headers.

Doing in a separate commit to ease syncing of github/libbpf.

Signed-off-by: default avatarMartynas Pumputis <m@lambda.lt>
Acked-by: default avatarAndrii Nakryiko <andriin@fb.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
parent b1d6c15b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3378,8 +3378,8 @@ struct bpf_raw_tracepoint_args {
/* DIRECT:  Skip the FIB rules and go to FIB table associated with device
 * OUTPUT:  Do lookup from egress perspective; default is ingress
 */
#define BPF_FIB_LOOKUP_DIRECT  BIT(0)
#define BPF_FIB_LOOKUP_OUTPUT  BIT(1)
#define BPF_FIB_LOOKUP_DIRECT  (1U << 0)
#define BPF_FIB_LOOKUP_OUTPUT  (1U << 1)

enum {
	BPF_FIB_LKUP_RET_SUCCESS,      /* lookup successful */