package mirage-flow-rawlink

  1. Overview
  2. Docs
Expose rawlink interfaces as MirageOS flows

Install

Dune Dependency

Authors

Maintainers

Sources

mirage-flow-rawlink-1.0.0.tbz
sha256=e3a5dcefa70aca0444af61fc703438351168a0d43eca58c13f75fa5b2f67f8ab
md5=f3744a62ae1dcaead17b9442ec269f78

Description

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) ->
  ...

Tags

org:mirage

Published: 19 Jun 2017

README

mirage-flow-rawlink -- Expose rawlink interfaces as MirageOS flows

Allow to use rawlink interfaces as MirageOS flows.

An example:

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

Dependencies (6)

  1. lwt
  2. cstruct >= "3.0.2"
  3. rawlink >= "0.5" & < "1.0"
  4. mirage-flow-lwt >= "1.2.0"
  5. jbuilder >= "1.0+beta10"
  6. ocaml >= "4.02.0"

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.