-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #96 from hannesm/release
Release preparations
- Loading branch information
Showing
8 changed files
with
27 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
open Lwt.Infix | ||
open Mirage_protocols_lwt | ||
|
||
module Make(Dhcp_client : DHCP_CLIENT) (R : Mirage_random.C) (C : Mirage_clock.MCLOCK) (Ethif : ETHIF)(Arp : ARP) = struct | ||
module Make(Dhcp_client : DHCP_CLIENT) (R : Mirage_random.C) (C : Mirage_clock.MCLOCK) (E : ETHERNET) (Arp : ARP) = struct | ||
(* for now, just wrap a static ipv4 *) | ||
include Static_ipv4.Make(R)(C)(Ethif)(Arp) | ||
let connect dhcp clock ethif arp = | ||
include Static_ipv4.Make(R)(C)(E)(Arp) | ||
let connect dhcp clock ethernet arp = | ||
Lwt_stream.last_new dhcp >>= fun (config : ipv4_config) -> | ||
connect ~ip:config.address ~network:config.network ~gateway:config.gateway clock ethif arp | ||
connect ~ip:config.address ~network:config.network ~gateway:config.gateway clock ethernet arp | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
(library | ||
(name dhcp_client_mirage) | ||
(public_name charrua-client-mirage) | ||
(libraries charrua-client-lwt mirage-clock mirage-random mirage-time-lwt | ||
mirage-net-lwt mirage-protocols-lwt) | ||
(libraries charrua-client-lwt ipaddr mirage-clock mirage-random mirage-time-lwt | ||
mirage-net-lwt mirage-protocols-lwt logs) | ||
(wrapped false)) |