Files
xdp-project-bpf-examples/pkt-loop-filter/Makefile
Toke Høiland-Jørgensen 070715cf1c Add pkt-loop-filter example
Add an example to filter looping packets on (for instance) a bond
interface, by recording the egress MAC+VLAN and dropping any packets that
come in on other (related) interfaces with the same MAC+VLAN.

Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
2022-05-20 14:53:14 +02:00

10 lines
208 B
Makefile

# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
USER_TARGETS += pkt-loop-filter
BPF_TARGETS += pkt-loop-filter.kern
EXTRA_DEPS := pkt-loop-filter.h
LIB_DIR = ../lib
include $(LIB_DIR)/common.mk