From b598c9d7d03e5e0d9bd30c48e0df5dc5afec4c27 Mon Sep 17 00:00:00 2001 From: Costin Lupu Date: Fri, 6 Dec 2019 15:23:45 +0200 Subject: [PATCH] patches: Add ipi_spec_dst field to struct in_pktinfo Signed-off-by: Costin Lupu Reviewed-by: Roxana Nicolescu --- ...de-lwip-sockets.h-Add-ipi_spec_dst-field-to.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 patches/0004-src-include-lwip-sockets.h-Add-ipi_spec_dst-field-to.patch diff --git a/patches/0004-src-include-lwip-sockets.h-Add-ipi_spec_dst-field-to.patch b/patches/0004-src-include-lwip-sockets.h-Add-ipi_spec_dst-field-to.patch new file mode 100644 index 0000000..f4661a8 --- /dev/null +++ b/patches/0004-src-include-lwip-sockets.h-Add-ipi_spec_dst-field-to.patch @@ -0,0 +1,12 @@ +diff --git a/src/include/lwip/sockets.h b/src/include/lwip/sockets.h +index ace9885..4e333ae 100644 +--- a/src/include/lwip/sockets.h ++++ b/src/include/lwip/sockets.h +@@ -327,6 +327,7 @@ typedef struct ip_mreq { + #if LWIP_IPV4 + struct in_pktinfo { + unsigned int ipi_ifindex; /* Interface index */ ++ struct in_addr ipi_spec_dst; /* Routing destination address */ + struct in_addr ipi_addr; /* Destination (from header) address */ + }; + #endif /* LWIP_IPV4 */ -- 2.39.5