Skip to content

Commit 0e26574

Browse files
brbborkmann
authored andcommitted
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: Martynas Pumputis <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
1 parent b1d6c15 commit 0e26574

File tree

1 file changed

+2
-2
lines changed
  • tools/include/uapi/linux

1 file changed

+2
-2
lines changed

tools/include/uapi/linux/bpf.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3378,8 +3378,8 @@ struct bpf_raw_tracepoint_args {
33783378
/* DIRECT: Skip the FIB rules and go to FIB table associated with device
33793379
* OUTPUT: Do lookup from egress perspective; default is ingress
33803380
*/
3381-
#define BPF_FIB_LOOKUP_DIRECT BIT(0)
3382-
#define BPF_FIB_LOOKUP_OUTPUT BIT(1)
3381+
#define BPF_FIB_LOOKUP_DIRECT (1U << 0)
3382+
#define BPF_FIB_LOOKUP_OUTPUT (1U << 1)
33833383

33843384
enum {
33853385
BPF_FIB_LKUP_RET_SUCCESS, /* lookup successful */

0 commit comments

Comments
 (0)