Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

mirage/mirage-flow-rawlink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mirage-flow-rawlink -- 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) ->
  ...