aboutgitcodebugslistschat
path: root/contrib
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2025-04-04 21:15:39 +1100
committerStefano Brivio <sbrivio@redhat.com>2025-04-07 21:43:53 +0200
commit159beefa36a09fc36cc9669fd536926d84c7c342 (patch)
treed66d71c41d1fbbd23c3ffd02e038b8d77f17f95b /contrib
parentfd844a90bce0274d2488370ed7fadd850b6a0294 (diff)
downloadpasst-159beefa36a09fc36cc9669fd536926d84c7c342.tar
passt-159beefa36a09fc36cc9669fd536926d84c7c342.tar.gz
passt-159beefa36a09fc36cc9669fd536926d84c7c342.tar.bz2
passt-159beefa36a09fc36cc9669fd536926d84c7c342.tar.lz
passt-159beefa36a09fc36cc9669fd536926d84c7c342.tar.xz
passt-159beefa36a09fc36cc9669fd536926d84c7c342.tar.zst
passt-159beefa36a09fc36cc9669fd536926d84c7c342.zip
udp_flow: Take pif and port as explicit parameters to udp_flow_from_sock()
Currently udp_flow_from_sock() is only used when receiving a datagram from a "listening" socket. It takes the listening socket's epoll reference to get the interface and port on which the datagram arrived. We have some upcoming cases where we want to use this in different contexts, so make it take the pif and port as direct parameters instead. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> [sbrivio: Drop @ref from comment to udp_flow_from_sock()] Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions