d6a61f80b8
Test to validate the behavior of SO_REUSEPORT sockets that are created with both AF_INET and AF_INET6. See the commit prior to this for a description of this behavior. Signed-off-by: Craig Gallek <kraig@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
20 lines
377 B
Makefile
20 lines
377 B
Makefile
# Makefile for net selftests
|
|
|
|
CFLAGS = -Wall -O2 -g
|
|
|
|
CFLAGS += -I../../../../usr/include/
|
|
|
|
NET_PROGS = socket psock_fanout psock_tpacket reuseport_bpf reuseport_bpf_cpu reuseport_dualstack
|
|
|
|
all: $(NET_PROGS)
|
|
%: %.c
|
|
$(CC) $(CFLAGS) -o $@ $^
|
|
|
|
TEST_PROGS := run_netsocktests run_afpackettests test_bpf.sh
|
|
TEST_FILES := $(NET_PROGS)
|
|
|
|
include ../lib.mk
|
|
|
|
clean:
|
|
$(RM) $(NET_PROGS)
|