You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are right - the library should be up to date, but the examples and README in this repo have not been updated to the latest version of MirageOS unfortunately. So the IP-stack now needs to be constructed differently, which mirage-tcpip is doing.
I'm in the process of cleaning up the documentation and examples, but it may take some time to update everything. Happy to merge PRs with fixes or updates :-) I'll leave this issue open to track it.
MagnusS
changed the title
Is this repo possibly outdated?
Outdated examples and documentation
Apr 30, 2020
Take a look into the dune file of the ipv4 part of the code in mirage-tcpip:
Its name is
tcpip_ipv4
, but sincewrapped = false
, the modules should be available by the filenames in the same folder as this dune file, rigth?I see no
ipv4.ml
file. However, this code uses it like this:where did
Ipv4
come from?This and the answer gave for me in https://discuss.ocaml.org/t/understanding-how-to-import-a-dune-module/5660 led me to believe that there was an
ipv4.ml
file in the past and therefore this repo is outdated.Another thing that led me believe this is this line:
I can't find
get_dest
anywhere inMirage_protocols
,Mirage-net
, neither in github code search, neither in google!The text was updated successfully, but these errors were encountered: