networkd DMOD application module.
TODO: describe what this module does.
mkdir -p build
cd build
cmake ..
cmake --build .Pass -DDMOD_DIR=/path/to/local/dmod to build against a local dmod checkout
instead of fetching develop from GitHub.
make DMOD_MODE=DMOD_MODULE DMOD_DIR=/path/to/dmodTests are built automatically alongside the module (see tests/). Once built,
run them with ctest:
cd build
ctest --output-on-failurectest installs the test module's dependencies with dmf-get and then runs
it through dmod_loader. To run it manually instead:
export DMOD_DMF_DIR=$(pwd)/build/dmf
dmf-get install -d ${DMOD_DMF_DIR}/test_networkd-local.dmd -y
dmod_loader build/dmf/test_networkd.dmfThis application module can be loaded and executed using the DMOD loader:
dmod_loader /path/to/networkd.dmfnetworkd is loaded and executed through the DMOD loader - it does not
expose a callable module API of its own. See
docs/api-reference.md for its command-line
arguments and exit codes.
See the docs/ directory:
- api-reference.md - Command-line usage
View documentation using dmf-man networkd.
networkd/
├── docs/ # Documentation (markdown format)
├── src/
│ └── networkd.c
├── tests/
│ ├── CMakeLists.txt
│ └── networkd_test.c
├── CMakeLists.txt
├── Makefile
├── networkd.dmr
└── manifest.dmm
Patryk Kubiak
MIT