Files
linuxkit/projects/miragesdk/src
Thomas Gazagnaire f5716ce985 Split the DHCP client into three components communicating via named pipes
3 components:

- network: read eht0 and proxy only DHCP traffic
- engine: read DHCP traffic, handle DHCP client state machine, and call the
  host actuator to change the host config when a lease is obtained
  host system configuration.
- actuator: perform the acutall net syscalls, read and write host configuration
  files, etc

These three components can either be linked together in a single binary
(see src/dhcp-client/main.ml) or can be used as 3 binaries communicating
over cap-n-proto.

Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org>
2017-07-17 17:46:17 +02:00
..
2017-04-04 10:05:22 +02:00

SDK

To build and test the SDK, run:

$ make test

This will work on any OS.

DHCP client using MirageOS

To build the MirageOS DHCP client, run:

$ make dev

As this is using some BPF runes, this will work only on Linux. To debug/build on OSX, you can create a container and build from there:

make enter-dev
# now in the dev container
make dev

Documentation

See the general architecture document.