]> xenbits.xensource.com Git - unikraft/libs/lwip.git/commitdiff
patches: Add ipi_spec_dst field to struct in_pktinfo
authorCostin Lupu <costin.lupu@cs.pub.ro>
Fri, 6 Dec 2019 13:23:45 +0000 (15:23 +0200)
committerCostin Lupu <costin.lup@gmail.com>
Tue, 10 Dec 2019 11:35:42 +0000 (13:35 +0200)
Signed-off-by: Costin Lupu <costin.lupu@cs.pub.ro>
Reviewed-by: Roxana Nicolescu <nicolescu.roxana1996@gmail.com>
patches/0004-src-include-lwip-sockets.h-Add-ipi_spec_dst-field-to.patch [new file with mode: 0644]

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 (file)
index 0000000..f4661a8
--- /dev/null
@@ -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\r
+ struct in_pktinfo {\r
+   unsigned int   ipi_ifindex;  /* Interface index */\r
++  struct in_addr ipi_spec_dst;        /* Routing destination address  */
+   struct in_addr ipi_addr;     /* Destination (from header) address */\r
+ };\r
+ #endif /* LWIP_IPV4 */\r