[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT/LWIP PATCH v2 1/2] patches: Add ipi_spec_dst field to struct in_pktinfo


  • To: minios-devel@xxxxxxxxxxxxx
  • From: Costin Lupu <costin.lupu@xxxxxxxxx>
  • Date: Tue, 10 Dec 2019 12:55:47 +0200
  • Delivery-date: Tue, 10 Dec 2019 10:56:08 +0000
  • Ironport-sdr: GDLdNhQSCZvpMcO6ltdenNfeMkZHpcQwysLXR7NdH9XUDrK8r3oaJTJCyuzzldPiKqqU4wW+xV BAAb+xIEizdA==
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>

Signed-off-by: Costin Lupu <costin.lupu@xxxxxxxxx>
---
 ...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.20.1


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.