mirror of
https://passt.top/passt
synced 2025-05-26 02:55:35 +02:00
udp: Rename UDP listening sockets
EPOLL_TYPE_UDP is now only used for "listening" sockets; long lived sockets which can initiate new flows. Rename to EPOLL_TYPE_UDP_LISTEN and associated functions to match. Along with that, remove the .orig field from union udp_listen_epoll_ref, since it is now always true. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
d29fa0856e
commit
882599e180
6 changed files with 23 additions and 28 deletions
2
passt.h
2
passt.h
|
@ -48,7 +48,7 @@ union epoll_ref {
|
|||
uint32_t flow;
|
||||
flow_sidx_t flowside;
|
||||
union tcp_listen_epoll_ref tcp_listen;
|
||||
union udp_epoll_ref udp;
|
||||
union udp_listen_epoll_ref udp;
|
||||
uint32_t data;
|
||||
int nsdir_fd;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue