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"
6doc: "https://mirage.github.io/mirage-tcpip/"
7authors: [
8 "Anil Madhavapeddy" "Balraj Singh" "Richard Mortier" "Nicolas Ojeda Bar"
9 "Thomas Gazagnaire" "Vincent Bernardoff" "Magnus Skjegstad" "Mindy Preston"
10 "Thomas Leonard" "David Scott" "Gabor Pali" "Hannes Mehnert" "Haris Rotsos"
11 "Kia" "Luke Dunstan" "Pablo Polvorin" "Tim Cuthbertson" "lnmx" "pqwy" ]
12license: "ISC"
13tags: ["org:mirage"]
14
15build: [
16 ["jbuilder" "subst" "-p" name] {dev}
17 ["env" "OPAM_PKG_CONFIG_PATH=%{prefix}%/lib/pkgconfig" "jbuilder" "build" "-p" name "-j" jobs]
18 ["env" "OPAM_PKG_CONFIG_PATH=%{prefix}%/lib/pkgconfig" "jbuilder" "runtest" "-p" name "-j" jobs] {with-test}
19]
20
21depopts: ["mirage-xen-ocaml"]
22
23depends: [
24 "ocaml" {>= "4.03.0"}
25 "jbuilder" {>= "1.0+beta10"}
26 "configurator" {build}
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.3.0"}
36 "mirage-protocols" {>= "1.4.0" & < "2.0.0"}
37 "mirage-protocols-lwt" {>= "1.4.0" & < "2.0.0"}
38 "mirage-time-lwt" {>= "1.0.0"}
39 "ipaddr" {>= "2.2.0" & < "3.0.0"}
40 "mirage-profile" {>= "0.5"}
41 "fmt" {>= "0.8.0"}
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" & < "1.4.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.5.0/tcpip-3.5.0.tbz"
107 checksum: [
108 "sha256=d8eb6e9658da170b9a50742007066cd76b360f6a5af7b75c9141b4ac59752cdc"
109 "md5=244a4bb5813a043e14876b477cb03424"
110 ]
111}