aboutgitcodebugslistschat
path: root/udp.h
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2024-01-12 15:41:18 +0100
committerLaurent Vivier <lvivier@redhat.com>2024-03-12 10:54:19 +0100
commit09381005966a7b8b21a6ebf6ceb53afcd2ceea5d (patch)
tree668fcaf24606f9182a5d6bb9dce544f039852c28 /udp.h
parent72cadf34ade064b512b67fe32f8d49f07255e383 (diff)
downloadpasst-09381005966a7b8b21a6ebf6ceb53afcd2ceea5d.tar
passt-09381005966a7b8b21a6ebf6ceb53afcd2ceea5d.tar.gz
passt-09381005966a7b8b21a6ebf6ceb53afcd2ceea5d.tar.bz2
passt-09381005966a7b8b21a6ebf6ceb53afcd2ceea5d.tar.lz
passt-09381005966a7b8b21a6ebf6ceb53afcd2ceea5d.tar.xz
passt-09381005966a7b8b21a6ebf6ceb53afcd2ceea5d.tar.zst
passt-09381005966a7b8b21a6ebf6ceb53afcd2ceea5d.zip
udp: rename udp_sock_handler() to udp_buf_sock_handler()
We are going to introduce a variant of the function to use vhost-user buffers rather than passt internal buffers. Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Diffstat (limited to 'udp.h')
-rw-r--r--udp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/udp.h b/udp.h
index 9976b62..5865def 100644
--- a/udp.h
+++ b/udp.h
@@ -9,7 +9,7 @@
#define UDP_TIMER_INTERVAL 1000 /* ms */
void udp_portmap_clear(void);
-void udp_sock_handler(const struct ctx *c, union epoll_ref ref, uint32_t events,
+void udp_buf_sock_handler(const struct ctx *c, union epoll_ref ref, uint32_t events,
const struct timespec *now);
int udp_tap_handler(struct ctx *c, uint8_t pif, sa_family_t af,
const void *saddr, const void *daddr,