Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion lib/paf_mirage.ml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
module type S = sig
type stack

module TCP : Mirage_flow.S
module TCP : sig
include Mirage_flow.S

val dst : flow -> Ipaddr.t * int
end

module TLS : module type of Tls_mirage.Make (TCP)

Expand Down
6 changes: 5 additions & 1 deletion lib/paf_mirage.mli
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ module type S = sig
type stack
(** The type of the TCP/IP stack. *)

module TCP : Mirage_flow.S
module TCP : sig
include Mirage_flow.S

val dst : flow -> Ipaddr.t * int
end

module TLS : module type of Tls_mirage.Make (TCP)

Expand Down