mirage-flow-rawlink

AuthorThomas Gazagnaire
LicenseISC
Homepagehttps://github.com/mirage/mirage-flow-rawlink
Issue Trackerhttps://github.com/mirage/mirage-flow-rawlink/issues
Tagorg:mirage
Maintainerthomas@gazagnaire.org
Dependencies
&cstruct>= 3.0.2
jbuilder>= 1.0+beta10
lwt
mirage-flow-lwt>= 1.2.0
rawlink>= 0.5
Availableocaml-version >= "4.02.0"
PublishedJun 19, 2017
Source [http] https://github.com/mirage/mirage-flow-rawlink/releases/download/1.0.0/mirage-flow-rawlink-1.0.0.tbz
f3744a62ae1dcaead17b9442ec269f78
StatisticsInstalled 2 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/mirage-flow-rawlink/mirage-flow-rawlink.1.0.0/opam

Expose rawlink interfaces as MirageOS flows

Allow to use rawlink interfaces as MirageOS flows.

docs

An example:

  Lwt_rawlink.open_link "eth0" >>= fun rawlink ->
  Mirage_flow_lwt.read rawlink >>= function
  | Ok (`Data buf) ->
  ...
No package is dependent