this repo has no description
1opam-version: "2.0"
2maintainer: "anil@recoil.org"
3homepage: "https://github.com/mirage/mirage-tcpip"
4dev-repo: "git+https://github.com/mirage/mirage-tcpip.git"
5bug-reports: "https://github.com/mirage/mirage-tcpip/issues"
6authors: [
7 "Anil Madhavapeddy" "Balraj Singh" "Richard Mortier" "Nicolas Ojeda Bar"
8 "Thomas Gazagnaire" "Vincent Bernardoff" "Magnus Skjegstad" "Mindy Preston"
9 "Thomas Leonard" "David Scott" "Gabor Pali" "Hannes Mehnert" "Haris Rotsos"
10 "Kia" "Luke Dunstan" "Pablo Polvorin" "Tim Cuthbertson" "lnmx" "pqwy" ]
11license: "ISC"
12tags: ["org:mirage"]
13
14build: [
15 ["jbuilder" "subst" "-p" name] {dev}
16 ["env" "OPAM_PKG_CONFIG_PATH=%{prefix}%/lib/pkgconfig" "jbuilder" "build" "-p" name "-j" jobs]
17 ["env" "OPAM_PKG_CONFIG_PATH=%{prefix}%/lib/pkgconfig" "jbuilder" "runtest" "-p" name "-j" jobs] {with-test}
18]
19
20depopts: ["mirage-xen-ocaml"]
21
22depends: [
23 "ocaml" {>= "4.03.0"}
24 "jbuilder" {>= "1.0+beta10"}
25 "configurator" {build}
26 "ppx_cstruct"
27 "rresult" {>= "0.5.0"}
28 "cstruct" {>= "3.0.2"}
29 "cstruct-lwt"
30 "mirage-net" {>= "1.0.0" & < "2.0.0"}
31 "mirage-net-lwt" {>= "1.0.0" & < "2.0.0"}
32 "mirage-clock" {>= "1.2.0" & < "3.0.0"}
33 "mirage-random" {>= "1.0.0" & < "1.2.0"}
34 "mirage-clock-lwt" {>= "1.2.0"}
35 "mirage-stack-lwt" {>= "1.2.0" & < "1.3.0"}
36 "mirage-protocols" {>= "1.3.0" & < "1.4.0"}
37 "mirage-protocols-lwt" {>= "1.3.0" & < "1.4.0"}
38 "mirage-time-lwt" {>= "1.0.0"}
39 "ipaddr" {>= "2.2.0" & < "3.0.0"}
40 "mirage-profile" {>= "0.5"}
41 "fmt"
42 "lwt" {>= "3.0.0" & < "5.0.0"}
43 "logs" {>= "0.6.0"}
44 "duration"
45 "io-page-unix"
46 "randomconv" {< "0.2.0"}
47 "mirage-flow" {with-test & >= "1.2.0" & < "2.0.0"}
48 "mirage-vnetif" {with-test & >= "0.4.0"}
49 "alcotest" {with-test & >= "0.7.0"}
50 "pcap-format" {with-test}
51 "mirage-clock-unix" {with-test & >= "1.2.0" & < "2.0.0"}
52 "ocaml-migrate-parsetree" {< "2.0.0"}
53]
54synopsis: "An OCaml TCP/IP networking stack"
55description: """
56`mirage-tcpip` provides a networking stack for the [Mirage operating
57system](https://mirage.io). It provides implementations for the following module types
58(which correspond with the similarly-named protocols):
59
60* ETHERNET
61* ARP
62* IP (via the IPv4 and IPv6 modules)
63* ICMP
64* UDP
65* TCP
66
67## Implementations
68
69There are two implementations of the IP, ICMP, UDP, and TCP module types -
70the `socket` stack, and the `direct` stack.
71
72### The `socket` stack
73
74The `socket` stack uses socket calls to a traditional operating system to
75provide the functionality described in the module types.
76
77See the [`src/stack-unix/`](./src/stack-unix/) directory for the modules used as implementations of the
78`socket` stack.
79
80The `socket` stack is used for testing or other applications which do not
81expect to run as unikernels.
82
83### The `direct` stack
84
85The `direct` stack expects to write to a device implementing the `NETIF` module
86type defined for MirageOS.
87
88See the [`src/`](./src/) directory for the modules used as implementations of the
89`direct` stack, which is the expected stack for most MirageOS applications.
90
91The `direct` stack is the only usable set of implementations for
92applications which will run as unikernels on a hypervisor target.
93
94## Community
95
96* WWW: <https://mirage.io>
97* E-mail: <mirageos-devel@lists.xenproject.org>
98* Issues: <https://github.com/mirage/mirage-tcpip/issues>
99* API docs: <http://docs.mirage.io/tcpip/index.html>
100
101## License
102
103`mirage-tcpip` is distributed under the ISC license."""
104url {
105 src:
106 "https://github.com/mirage/mirage-tcpip/releases/download/v3.4.1/tcpip-3.4.1.tbz"
107 checksum: [
108 "sha256=7553df5fc7b1c969e76d8c8382f6e65ce95f47ad55aaf28969d248375371e1cf"
109 "md5=308a2972de7313b511e5de167882ba07"
110 ]
111}