opam-version: "2.0"
maintainer: "Magnus Skjegstad <magnus@skjegstad.com>"
authors: "Magnus Skjegstad <magnus@skjegstad.com>"
homepage: "https://github.com/MagnusS/mirage-vnetif"
bug-reports: "https://github.com/MagnusS/mirage-vnetif/issues/"
dev-repo: "git+https://github.com/MagnusS/mirage-vnetif.git"
license: "ISC"

build: ["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%"]

depends: [
  "ocaml"
  "ocamlfind" {build}
  "ocamlbuild" {build}
  "topkg" {build}
  "lwt"
  "mirage-time-lwt" {>= "1.0.0"}
  "mirage-clock-lwt" {>= "1.2.0"}
  "mirage-net-lwt" {>= "1.0.0" & < "2.0.0"}
  "cstruct"
  "ipaddr" {< "3.0.0"}
  "io-page"
  "mirage-profile"
  "duration"
  "result"
]
tags: "org:mirage"
synopsis: "Virtual network interface and software switch for Mirage."
description: """
Provides the module Vnetif which can be used as a replacement for the
regular Netif implementation in Xen and Unix. Stacks built using
Vnetif are connected to a software switch that allows the stacks to
communicate as if they were connected to the same LAN."""
url {
  src: "https://github.com/MagnusS/mirage-vnetif/archive/v0.3.1.tar.gz"
  checksum: "md5=ce9ab7056db768bc888b6a7e615c5bf8"
}
