|
|
|
@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
EXTRA_DIST= include bypass_filter.c filter.c lb.c vlan_filter.c xdp_filter.c \
|
|
|
|
|
|
|
|
xdp_lb.c bpf_helpers.h hash_func01.h
|
|
|
|
|
|
|
|
|
|
|
|
if BUILD_EBPF
|
|
|
|
if BUILD_EBPF
|
|
|
|
|
|
|
|
|
|
|
|
# Maintaining a local copy of UAPI linux/bpf.h
|
|
|
|
# Maintaining a local copy of UAPI linux/bpf.h
|
|
|
|
@ -12,7 +15,6 @@ BPF_TARGETS += vlan_filter.bpf
|
|
|
|
|
|
|
|
|
|
|
|
all: $(BPF_TARGETS)
|
|
|
|
all: $(BPF_TARGETS)
|
|
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST= include bypass_filter.c filter.c lb.c vlan_filter.c xdp_filter.c xdp_lb.c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(BPF_TARGETS): %.bpf: %.c
|
|
|
|
$(BPF_TARGETS): %.bpf: %.c
|
|
|
|
# From C-code to LLVM-IR format suffix .ll (clang -S -emit-llvm)
|
|
|
|
# From C-code to LLVM-IR format suffix .ll (clang -S -emit-llvm)
|
|
|
|
|