summaryrefslogtreecommitdiffstats
path: root/README.rst
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-05-23 10:07:35 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-05-23 16:26:30 +0200
commit92219bc66ec721cd1e6028245a8b6b308db62ffb (patch)
treee3500cbc39438c3f27c26a114fa79f287e19aa48 /README.rst
parentlibbsd.txt: Move buildsets description (diff)
downloadrtems-libbsd-92219bc66ec721cd1e6028245a8b6b308db62ffb.tar.bz2
libbsd.txt: Move configuration of network tests
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index 8e584266..9aa424dc 100644
--- a/README.rst
+++ b/README.rst
@@ -249,6 +249,21 @@ a scheduler with thread pinning support is required. This is the case if you
use the default scheduler configuration. EPOCH(9) is a central synchronization
mechanism of the network stack.
+Configuration for Network Tests
+===============================
+
+If you need some other IP configuration for the network tests that use a fixed
+IP config you can copy ``config.inc`` to a location outside to the source tree and
+adapt it. Then use the option ``--net-test-config=NET_CONFIG`` to pass the file to
+Waf's configure command.
+
+.. code-block:: none
+
+ NET_CFG_SELF_IP = 10.0.0.2
+ NET_CFG_NETMASK = 255.255.0.0
+ NET_CFG_PEER_IP = 10.0.0.1
+ NET_CFG_GATEWAY_IP = 10.0.0.1
+
Qemu and Networking
===================