Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose Ipv4.Routing.No_route_to_destination_address. #166

Merged
merged 2 commits into from
Aug 11, 2015
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
2 changes: 0 additions & 2 deletions .travis-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ bash -ex .travis-opam.sh
export OPAMYES=1
eval `opam config env`

opam repo add mirage-dev https://github.com/mirage/mirage-dev.git

git clone git://github.com/mirage/mirage-www
cd mirage-www

Expand Down
5 changes: 5 additions & 0 deletions lib/ipv4.mli
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
*)

module Make (N:V1_LWT.ETHIF) (A: V1_LWT.ARP) : sig
module Routing : sig
(* this exception can be thrown by `write` or `writev` when the destination
IP address's link-layer address can't be found by ARP *)
exception No_route_to_destination_address of Ipaddr.V4.t
end
include V1_LWT.IPV4 with type ethif = N.t
val connect : ethif -> A.t -> [> `Ok of t | `Error of error ] Lwt.t
end