mirror of
https://passt.top/passt
synced 2025-05-21 08:45:36 +02:00
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> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
e7ac995217
commit
377b666dc9
3 changed files with 5 additions and 5 deletions
2
passt.c
2
passt.c
|
@ -365,7 +365,7 @@ loop:
|
|||
tcp_timer_handler(&c, ref);
|
||||
break;
|
||||
case EPOLL_TYPE_UDP:
|
||||
udp_sock_handler(&c, ref, eventmask, &now);
|
||||
udp_buf_sock_handler(&c, ref, eventmask, &now);
|
||||
break;
|
||||
case EPOLL_TYPE_PING:
|
||||
icmp_sock_handler(&c, ref);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue