aboutgitcodebugslistschat
path: root/icmp.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2023-08-11 15:12:23 +1000
committerStefano Brivio <sbrivio@redhat.com>2023-08-13 17:29:56 +0200
commitd850caab66190678d15b968052116e2570e9ffe1 (patch)
treeb505c3d8192617023cad3e83aad6cf5e128e07c6 /icmp.c
parent6a6735ece442298e000de43f5325842a442c263d (diff)
downloadpasst-d850caab66190678d15b968052116e2570e9ffe1.tar
passt-d850caab66190678d15b968052116e2570e9ffe1.tar.gz
passt-d850caab66190678d15b968052116e2570e9ffe1.tar.bz2
passt-d850caab66190678d15b968052116e2570e9ffe1.tar.lz
passt-d850caab66190678d15b968052116e2570e9ffe1.tar.xz
passt-d850caab66190678d15b968052116e2570e9ffe1.tar.zst
passt-d850caab66190678d15b968052116e2570e9ffe1.zip
epoll: Fold sock_handler into general switch on epoll event fd
When we process events from epoll_wait(), we check for a number of special cases before calling sock_handler() which then dispatches based on the protocol type of the socket in the event. Fold these cases together into a single switch on the fd type recorded in the epoll data field. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'icmp.c')
0 files changed, 0 insertions, 0 deletions