mirror of
https://passt.top/passt
synced 2024-12-22 13:45:32 +00:00
1d807fc720
It's nice to be able to confirm connectivity using ICMP or ICMPv6 echo requests, and "ping" sockets on Linux (IPPROTO_ICMP datagram) allow us to do that without any special capability. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
14 lines
391 B
Makefile
14 lines
391 B
Makefile
CFLAGS += -Wall -Wextra -pedantic
|
|
|
|
all: passt qrap
|
|
|
|
passt: passt.c passt.h arp.c arp.h dhcp.c dhcp.h ndp.c ndp.h siphash.c siphash.h tap.c tap.h icmp.c icmp.h tcp.c tcp.h udp.c udp.h util.c util.h
|
|
$(CC) $(CFLAGS) passt.c arp.c dhcp.c ndp.c siphash.c tap.c icmp.c tcp.c udp.c util.c -o passt
|
|
|
|
qrap: qrap.c passt.h
|
|
$(CC) $(CFLAGS) qrap.c -o qrap
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
-${RM} passt *.o qrap
|