Reconstruct incoming ICMP headers for failed UDP connect and forward back to local peer. v2: - Added patch breaking out udp header creation from function tap_udp4_send(). - Updated the ICMP creation by using the new function. - Added logics to find correct flow, depending on origin. - All done after feedback from David Gibson. v3: - More changes after feedback from David Gibson. Jon Maloy (2): tap: break out building of udp header from tap_udp4_send function udp: create and send ICMPv4 to local peer when applicable tap.c | 36 ++++++++++++++----- tap.h | 7 ++++ udp.c | 96 +++++++++++++++++++++++++++++++++++++++++++------- udp_internal.h | 3 +- udp_vu.c | 4 +-- 5 files changed, 121 insertions(+), 25 deletions(-) -- 2.48.1