mirror of
https://github.com/mirage/qubes-mirage-firewall.git
synced 2024-10-01 01:05:39 -04:00
16 lines
477 B
OCaml
16 lines
477 B
OCaml
|
(* Copyright (C) 2015, Thomas Leonard <thomas.leonard@unikernel.com>
|
||
|
See the README file for details. *)
|
||
|
|
||
|
(** Configuration for the "mirage" tool. *)
|
||
|
|
||
|
open Mirage
|
||
|
|
||
|
let main =
|
||
|
foreign
|
||
|
~libraries:["mirage-net-xen"; "tcpip.stack-direct"; "tcpip.xen"; "mirage-qubes"; "mirage-nat"]
|
||
|
~packages:["vchan"; "cstruct"; "tcpip"; "mirage-net-xen"; "mirage-qubes"; "mirage-nat"]
|
||
|
"Unikernel.Main" (clock @-> job)
|
||
|
|
||
|
let () =
|
||
|
register "qubes-firewall" [main $ default_clock]
|