-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #436 from hannesm/dune2
Migrate to dune 2.7 and add bisect runes
- Loading branch information
Showing
15 changed files
with
78 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
version = 0.15.0 | ||
disable = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
(lang dune 1.0) | ||
(lang dune 2.7) | ||
(name tcpip) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
(executables | ||
(names ping) | ||
(libraries cmdliner logs logs.fmt tcpip.icmpv4-socket)) | ||
(libraries cmdliner logs logs.fmt tcpip.icmpv4-socket tcpip.unix)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
(library | ||
(name tcpip_icmpv4) | ||
(public_name tcpip.icmpv4) | ||
(instrumentation | ||
(backend bisect_ppx)) | ||
(libraries mirage-protocols rresult logs tcpip mirage-profile tcpip.udp) | ||
(preprocess (pps ppx_cstruct)) | ||
(preprocess | ||
(pps ppx_cstruct)) | ||
(wrapped false)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
(library | ||
(name tcpip_ipv4) | ||
(public_name tcpip.ipv4) | ||
(libraries logs mirage-protocols ipaddr cstruct rresult tcpip | ||
tcpip.udp mirage-random mirage-clock randomconv lru) | ||
(preprocess (pps ppx_cstruct)) | ||
(instrumentation | ||
(backend bisect_ppx)) | ||
(libraries logs mirage-protocols ipaddr cstruct rresult tcpip tcpip.udp | ||
mirage-random mirage-clock randomconv lru) | ||
(preprocess | ||
(pps ppx_cstruct)) | ||
(wrapped false)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
(library | ||
(name tcpip_ipv6) | ||
(public_name tcpip.ipv6) | ||
(instrumentation | ||
(backend bisect_ppx)) | ||
(libraries logs mirage-protocols mirage-time mirage-net macaddr-cstruct | ||
mirage-clock duration ipaddr cstruct rresult mirage-random tcpip | ||
randomconv ethernet) | ||
(preprocess (pps ppx_cstruct)) | ||
(preprocess | ||
(pps ppx_cstruct)) | ||
(wrapped false)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
(library | ||
(name tcpip_stack_direct) | ||
(public_name tcpip.stack-direct) | ||
(libraries logs ipaddr lwt fmt mirage-time mirage-random | ||
mirage-protocols mirage-stack mirage-net ethernet)) | ||
(instrumentation | ||
(backend bisect_ppx)) | ||
(libraries logs ipaddr lwt fmt mirage-time mirage-random mirage-protocols | ||
mirage-stack mirage-net ethernet)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
(library | ||
(name tcp) | ||
(public_name tcpip.tcp) | ||
(instrumentation | ||
(backend bisect_ppx)) | ||
(libraries logs mirage-protocols ipaddr cstruct lwt-dllist rresult | ||
mirage-profile tcpip duration randomconv fmt mirage-time | ||
mirage-clock mirage-random) | ||
(preprocess (pps ppx_cstruct))) | ||
mirage-profile tcpip duration randomconv fmt mirage-time mirage-clock | ||
mirage-random) | ||
(preprocess | ||
(pps ppx_cstruct))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
(library | ||
(name tcpip_udpv4) | ||
(public_name tcpip.udp) | ||
(instrumentation | ||
(backend bisect_ppx)) | ||
(libraries mirage-protocols mirage-random rresult logs tcpip randomconv) | ||
(preprocess (pps ppx_cstruct)) | ||
(preprocess | ||
(pps ppx_cstruct)) | ||
(wrapped false)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,10 @@ | ||
(executables | ||
(names test) | ||
(libraries alcotest mirage-random-test lwt.unix logs | ||
logs.fmt mirage-profile mirage-flow mirage-vnetif mirage-clock-unix | ||
pcap-format duration mirage-random rresult mirage-protocols | ||
mirage-stack arp arp-mirage ethernet tcpip.ipv4 tcpip.tcp tcpip.udp | ||
tcpip.stack-direct tcpip.icmpv4 tcpip.udpv4-socket tcpip.tcpv4-socket | ||
tcpip.icmpv4-socket tcpip.stack-socket tcpip.ipv6 ipaddr-cstruct | ||
macaddr-cstruct tcpip.unix)) | ||
|
||
(alias | ||
(name runtest) | ||
(deps | ||
(:< test.exe)) | ||
(test | ||
(name test) | ||
(libraries alcotest mirage-random-test lwt.unix logs logs.fmt mirage-profile | ||
mirage-flow mirage-vnetif mirage-clock-unix pcap-format duration | ||
mirage-random rresult mirage-protocols mirage-stack arp arp-mirage | ||
ethernet tcpip.ipv4 tcpip.tcp tcpip.udp tcpip.stack-direct tcpip.icmpv4 | ||
tcpip.udpv4-socket tcpip.tcpv4-socket tcpip.icmpv4-socket | ||
tcpip.stack-socket tcpip.ipv6 ipaddr-cstruct macaddr-cstruct tcpip.unix) | ||
(action | ||
(run %{<} -q -e --color=always))) | ||
(run %{test} -q -e --color=always))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters