alpha
Login
or
Join now
gazagnaire.org
/
ocaml-dhcp
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
DHCP wire format, client and server in pure OCaml
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
ocaml-dhcp
/
test
/
eio
/
at
main
4 files
Thomas Gazagnaire
dhcp: follow RFC 2131 4.1 and 4.4.5
11d ago
be61946b
dune
dhcp: follow RFC 2131 4.1 and 4.4.5
1 week ago
test.ml
dhcp-eio: add a UDP DHCP client over Eio Now that the DORA client speaks DHCP messages rather than Ethernet frames, a host DHCP client is a byte shuttle: encode with Codec, send on a datagram socket, feed replies back to Client.incoming. It lands as its own opam package so the core dhcp library still links no eio, the way ssh and ssh-eio split. Eio 1.3 exposes no SO_BROADCAST on its datagram socket, so the socket is built with Unix and handed over with Eio_unix.Net.import_socket_datagram. The test drives the client against the in-tree server over real loopback sockets. Adding a second package to the project makes the test and fuzz stanzas name theirs.
2 months ago
test_dhcp_eio.ml
dhcp: follow RFC 2131 4.1 and 4.4.5
1 week ago
test_dhcp_eio.mli
dhcp-eio: add a UDP DHCP client over Eio Now that the DORA client speaks DHCP messages rather than Ethernet frames, a host DHCP client is a byte shuttle: encode with Codec, send on a datagram socket, feed replies back to Client.incoming. It lands as its own opam package so the core dhcp library still links no eio, the way ssh and ssh-eio split. Eio 1.3 exposes no SO_BROADCAST on its datagram socket, so the socket is built with Unix and handed over with Eio_unix.Net.import_socket_datagram. The test drives the client against the in-tree server over real loopback sockets. Adding a second package to the project makes the test and fuzz stanzas name theirs.
2 months ago