aboutgitcodebugslistschat
path: root/tcp_internal.h
Commit message (Collapse)AuthorAgeFilesLines
* tcp: move buffers management functions to their own fileLaurent Vivier2024-06-131-0/+96
Move all the TCP parts using internal buffers to tcp_buf.c and keep generic TCP management functions in tcp.c. Add tcp_internal.h to export needed functions from tcp.c and tcp_buf.h from tcp_buf.c With this change we can use existing TCP functions with a different kind of memory storage as for instance the shared memory provided by the guest via vhost-user. Signed-off-by: Laurent Vivier <lvivier@redhat.com> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>