diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2024-07-18 15:26:53 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-07-19 18:34:01 +0200 |
commit | 882599e18008f2c08aa5b094bae06516f8219f3d (patch) | |
tree | 8313790dd7f1cd4c390d9769eee5df906b5571f2 /epoll_type.h | |
parent | d29fa0856e75816431e78552821ec77c59e25b3e (diff) | |
download | passt-882599e18008f2c08aa5b094bae06516f8219f3d.tar passt-882599e18008f2c08aa5b094bae06516f8219f3d.tar.gz passt-882599e18008f2c08aa5b094bae06516f8219f3d.tar.bz2 passt-882599e18008f2c08aa5b094bae06516f8219f3d.tar.lz passt-882599e18008f2c08aa5b094bae06516f8219f3d.tar.xz passt-882599e18008f2c08aa5b094bae06516f8219f3d.tar.zst passt-882599e18008f2c08aa5b094bae06516f8219f3d.zip |
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>
Diffstat (limited to 'epoll_type.h')
-rw-r--r-- | epoll_type.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epoll_type.h b/epoll_type.h index 7a752ed..0ad1efa 100644 --- a/epoll_type.h +++ b/epoll_type.h @@ -20,8 +20,8 @@ enum epoll_type { EPOLL_TYPE_TCP_LISTEN, /* timerfds used for TCP timers */ EPOLL_TYPE_TCP_TIMER, - /* UDP sockets */ - EPOLL_TYPE_UDP, + /* UDP "listening" sockets */ + EPOLL_TYPE_UDP_LISTEN, /* UDP socket for replies on a specific flow */ EPOLL_TYPE_UDP_REPLY, /* ICMP/ICMPv6 ping sockets */ |