[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Minios-devel] [UNIKRAFT/LWIP PATCH 2/2] Enable loopback interface
- To: minios-devel@xxxxxxxxxxxxx
- From: Costin Lupu <costin.lupu@xxxxxxxxx>
- Date: Thu, 12 Sep 2019 12:00:01 +0300
- Cc: felipe.huici@xxxxxxxxx, vlad_andrei.badoiu@xxxxxxxxxxxxxxx
- Delivery-date: Thu, 12 Sep 2019 09:00:24 +0000
- Ironport-phdr: 9a23:DY1SABSrbmb7zkI4zYggWb1bZNpsv+yvbD5Q0YIujvd0So/mwa6zZxeN2/xhgRfzUJnB7Loc0qyK6vumATFLucbJ8ChbNsAVDVld0YRetjdjKfbNMVf8Iv/uYn5yN+V5f3ghwUuGN1NIEt31fVzYry76xzcTHhLiKVg9fbytScbdgMutyu+95YDYbRlWizqhe7NyKwi9oRnMusUMjoZuN6g8xgHVrnZIdOha2WBlLk+Xkxrg+8u85pFu/zlOt/4768JMTaD2dLkkQLJFCzgrL3o779DxuxnZSguP6HocUmEInRdNHgPI8hL0UIrvvyXjruZy1zWUMsPwTbAvRDSt9LxrRwPyiCcGLDE27mfagdFtga1BoRKhoxt/w5PIYIyQKfFzcL/Rcc8cSGFcWMtaSi5PDZ6mb4YXD+QPI/tWoYf+qVUJrxS+CxKhCP/zxjJSmnP7x7E23/gnHArb3AIgBdUOsHHModjrM6cSSvy1zKjOzT7eaf1WxC/96JXVeR0mvf6MWqlwcdbQyUkpDQ/FikiQqZT4Pz6OyusNqHKX7/J9Ve20kWInsQZxryGpy8wxiYfJnpoYxk3L+Clk2oo4Jt21RFRlbdK6EpZcrS+XO5NrTs4tXm1koiU3x70ctZKlciUHxo4rywPQZvCZdYWD/wjtW/yLIThigXJoYLe/hxGv/ke+0uD8Tcy00EpSripCj9nMqmgB1xzN5ciDTftw5lmh2TOV2ADS7uFIO1w7lbHBJ545374/jYAfsV7EHiPumUX2irGZdlk89+S15Onrf6/qq5ycOoNulA3yLKYjltaxDOggNwgBRWmb+eCy1L35+k35Ra1HgeExkqnCrJDaJMIbqrS9Aw9IyoYj9g2yACu90NgChXkHMUlKdAidj4juI13OOuz3De+jg1Swlzdm3/XGPrznApXMKXjDi67tcqtj5E5C1gUzyctS55ZVCrEaPPLzQVX9tdPGAR8/KQC0xPznCNpl3IMERW2PGrOZML/VsVKQ6OIgPe2MZI4NuDnjMfQl5+PujX4lll8cZqSp24UYZ2y8Hvt8OEqVe2TjgsoZG2cQogU+VPDqiEGFUTNLeXayW7gz6SwjB428C4fMW5qtj6KA3CuhBZJZfH1JCleNEXf1bIiEQOsMaD+PLcN7iDMLSaOhR5U81RG2rwD20aBnLu2HshEf4Jfi0tly/KjfmA8/8RRwDt+ByCedQmcymXkHFBEs26Uqiktm1laFmYxlm+EQQddU/O9IVEE+KIbB5+dhTcjvUETbeYHaGx6dXty6DGRpHZoKyNgUbhMlFg==
- Ironport-sdr: k9Nc9UwC5JeCyf0UPA7ydpEAqdP9S8A/chahvhB9B86OhEXeg/dTe3EZfGOZP+GICeXAVCNv7M BEMbrPh2p39Q==
- List-id: Mini-os development list <minios-devel.lists.xenproject.org>
The loopback interface is used in many of the Python 3 unit tests.
Signed-off-by: Costin Lupu <costin.lupu@xxxxxxxxx>
---
Config.uk | 6 ++++++
include/lwipopts.h | 4 ++++
2 files changed, 10 insertions(+)
diff --git a/Config.uk b/Config.uk
index a0db41d..92df4d3 100644
--- a/Config.uk
+++ b/Config.uk
@@ -80,6 +80,12 @@ config LWIP_NETIF_STATUS_PRINT
help
Print netif status changes to standard console
+config LWIP_HAVE_LOOPIF
+ bool "Loopback interface"
+ default n
+ help
+ Enable loopback interface.
+
config LWIP_IPV4
bool "IPv4 support"
default y
diff --git a/include/lwipopts.h b/include/lwipopts.h
index 559223d..148028d 100644
--- a/include/lwipopts.h
+++ b/include/lwipopts.h
@@ -95,6 +95,10 @@ void sys_free(void *ptr);
#define LWIP_NETIF_EXT_STATUS_CALLBACK 0
#endif /* CONFIG_LWIP_NETIF_EXT_STATUS_CALLBACK */
+#if CONFIG_LWIP_HAVE_LOOPIF
+#define LWIP_HAVE_LOOPIF 1
+#endif
+
/**
* ARP options
*/
--
2.20.1
_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel
|