aboutgitcodebugslistschat
path: root/udp.c
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2024-06-13 14:36:50 +0200
committerStefano Brivio <sbrivio@redhat.com>2024-06-13 15:45:19 +0200
commit9ecf7fedc5bd9cef6e3b90e67e8a21f5074cfea7 (patch)
treed5a0e348eae7dfeadbe8ff07198383e9284bfc8c /udp.c
parentfba2b544b6c60904ac1818fba44aa86772e40ebf (diff)
downloadpasst-9ecf7fedc5bd9cef6e3b90e67e8a21f5074cfea7.tar
passt-9ecf7fedc5bd9cef6e3b90e67e8a21f5074cfea7.tar.gz
passt-9ecf7fedc5bd9cef6e3b90e67e8a21f5074cfea7.tar.bz2
passt-9ecf7fedc5bd9cef6e3b90e67e8a21f5074cfea7.tar.lz
passt-9ecf7fedc5bd9cef6e3b90e67e8a21f5074cfea7.tar.xz
passt-9ecf7fedc5bd9cef6e3b90e67e8a21f5074cfea7.tar.zst
passt-9ecf7fedc5bd9cef6e3b90e67e8a21f5074cfea7.zip
tap: refactor packets handling functions
Consolidate pool_tap4() and pool_tap6() into tap_flush_pools(), and tap4_handler() and tap6_handler() into tap_handler(). Create a generic tap_add_packet() to consolidate packet addition logic and reduce code duplication. The purpose is to ease the export of these functions to use them with the vhost-user backend. Signed-off-by: Laurent Vivier <lvivier@redhat.com> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'udp.c')
0 files changed, 0 insertions, 0 deletions