aboutgitcodebugslistschat
path: root/doc/platform-requirements
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2026-06-16 11:09:35 +1000
committerStefano Brivio <sbrivio@redhat.com>2026-06-16 23:49:57 +0200
commit50e3dcc44074dea26ed8486f65aa02d1dc2291ec (patch)
treef05166a51e5e2ed51c1d9d660e3f34ce4419e58b /doc/platform-requirements
parentd5ef43da648dbd83db1feddd662cdb8e095b8c11 (diff)
downloadpasst-50e3dcc44074dea26ed8486f65aa02d1dc2291ec.tar
passt-50e3dcc44074dea26ed8486f65aa02d1dc2291ec.tar.gz
passt-50e3dcc44074dea26ed8486f65aa02d1dc2291ec.tar.bz2
passt-50e3dcc44074dea26ed8486f65aa02d1dc2291ec.tar.lz
passt-50e3dcc44074dea26ed8486f65aa02d1dc2291ec.tar.xz
passt-50e3dcc44074dea26ed8486f65aa02d1dc2291ec.tar.zst
passt-50e3dcc44074dea26ed8486f65aa02d1dc2291ec.zip
fwd, pif: Remove duplicated logic between tcp_listen() and udp_listen()
tcp_listen() and udp_listen() have only some simple logic around a call to pif_listen(), and it's basically identical in each case. If we move the common logic into pif_listen() we can then remove {tcp,udp}_listen() entirely, with their caller in fwd_sync_one() calling pif_listen() directly. We also move the logic converting from a protocol id to an epoll type from fwd_sync_one() into pif_listen(). It's a bit arbitrary, but seems slightly nicer that way. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'doc/platform-requirements')
0 files changed, 0 insertions, 0 deletions