mirror of
https://github.com/mirage/qubes-mirage-firewall.git
synced 2024-12-29 00:56:13 -05:00
12 lines
496 B
OCaml
12 lines
496 B
OCaml
(* Copyright (C) 2015, Thomas Leonard <thomas.leonard@unikernel.com>
|
|
See the README file for details. *)
|
|
|
|
(** Classify IP packets, apply rules and send as appropriate. *)
|
|
|
|
val ipv4_from_netvm : Router.t -> Cstruct.t -> unit Lwt.t
|
|
(** Handle a frame from the outside world (this module will validate the source IP). *)
|
|
|
|
val ipv4_from_client : Router.t -> Cstruct.t -> unit Lwt.t
|
|
(** Handle a frame from a client. Caller must check the source IP matches the client's
|
|
before calling this. *)
|