aboutgitcodebugslistschat
path: root/Makefile
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2024-02-28 12:52:00 +1100
committerStefano Brivio <sbrivio@redhat.com>2024-02-29 06:23:49 +0100
commit2a6f8bcca77ae7391a8943a3791be2fbb98a918b (patch)
tree9bcead16830db4d915f1cdb16556e3e7801211bd /Makefile
parent90f1d3b3546eba0e454d227c24b391e184ac092c (diff)
downloadpasst-2a6f8bcca77ae7391a8943a3791be2fbb98a918b.tar
passt-2a6f8bcca77ae7391a8943a3791be2fbb98a918b.tar.gz
passt-2a6f8bcca77ae7391a8943a3791be2fbb98a918b.tar.bz2
passt-2a6f8bcca77ae7391a8943a3791be2fbb98a918b.tar.lz
passt-2a6f8bcca77ae7391a8943a3791be2fbb98a918b.tar.xz
passt-2a6f8bcca77ae7391a8943a3791be2fbb98a918b.tar.zst
passt-2a6f8bcca77ae7391a8943a3791be2fbb98a918b.zip
iov: add some functions to manage iovec
Introduce functions to copy to/from a buffer from/to an iovec array, to compute data length in in bytes of an iovec and to copy memory from an iovec to another. iov_from_buf(), iov_to_buf(), iov_size(), iov_copy(). Signed-off-by: Laurent Vivier <lvivier@redhat.com> Message-ID: <20240217150725.661467-2-lvivier@redhat.com> [dwg: Small changes to suppress cppcheck warnings] Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 75f49dc..7b3a7ef 100644
--- a/Makefile
+++ b/Makefile
@@ -45,16 +45,16 @@ FLAGS += -DVERSION=\"$(VERSION)\"
FLAGS += -DDUAL_STACK_SOCKETS=$(DUAL_STACK_SOCKETS)
PASST_SRCS = arch.c arp.c checksum.c conf.c dhcp.c dhcpv6.c flow.c icmp.c \
- igmp.c isolation.c lineread.c log.c mld.c ndp.c netlink.c packet.c \
- passt.c pasta.c pcap.c pif.c port_fwd.c tap.c tcp.c tcp_splice.c udp.c \
- util.c
+ igmp.c iov.c isolation.c lineread.c log.c mld.c ndp.c netlink.c \
+ packet.c passt.c pasta.c pcap.c pif.c port_fwd.c tap.c tcp.c \
+ tcp_splice.c udp.c util.c
QRAP_SRCS = qrap.c
SRCS = $(PASST_SRCS) $(QRAP_SRCS)
MANPAGES = passt.1 pasta.1 qrap.1
PASST_HEADERS = arch.h arp.h checksum.h conf.h dhcp.h dhcpv6.h flow.h \
- flow_table.h icmp.h inany.h isolation.h lineread.h log.h ndp.h \
+ flow_table.h icmp.h inany.h iov.h isolation.h lineread.h log.h ndp.h \
netlink.h packet.h passt.h pasta.h pcap.h pif.h port_fwd.h siphash.h \
tap.h tcp.h tcp_conn.h tcp_splice.h udp.h util.h
HEADERS = $(PASST_HEADERS) seccomp.h