-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
move Tcpip_stack_socket to Tcpip_stack_socket.V4, provide Tcpip_stack_socket.V6; also dual direct stack and fixes #433
Conversation
ac95b40
to
663f5f8
Compare
travis is failing since this is an API-breaking change which needs updates to the mirage tool (there are some needed for #432 as well). i'd suggest to merge #432 and #433 (and an upcoming #434), cut a release (6.0.0 -- to avoid earlier mirage releases using the new, API-incompatible tcpip), and cut a mirage release (3.8.1). |
663f5f8
to
dea044b
Compare
c978861
to
a00400e
Compare
this now requires mirage/mirage-protocols#27 and mirage/mirage-stack#19, and fix some bugs:
|
561ec82
to
a00400e
Compare
moving forward, I first cut a 5.0.1 release (based on master, but reverting the API-breaking change of Ipv6.connect -- which mirage knows about). now we can figure the IPv6 out subsequently, break APIs and move to a 6.0.0 release. I pushed the 5.0.1 changes entry to master directly. |
9ae1f0c
to
890d978
Compare
now with |
75f0cca
to
9c59ea2
Compare
1bfb145
to
7e45588
Compare
provide Tcpip_stack_socket.V6 implementing Mirage_stack.V6
this has been changed in mirage-protocols 5.0.0 to allow dual stack
also set the same socket option to true in IPv6 only socket stack
this cleans up the interface (needs to be synced with the mirage tool)
The motivation is to unify the socket and direct stack configuration, and being able to reuse the same command line arguments.
7e45588
to
a04b6f7
Compare
dual stack: accept ipv4_only and ipv6_only arguments fix tests with revised API
Also, adapt the IP.mtu implementation to its interface: now ~dst:ipaddr is required. This allows the dual stack to provide appropriate numbers.
a04b6f7
to
8b84db2
Compare
CHANGES: * Dual IPv4 and IPv6 socket and direct stack support, now requires mirage-stack 2.2.0 and mirage-protocols 5.0.0 (mirage/mirage-tcpip#433 @hannesm) * The above change also unified arguments passed to connect functions which are API-breaking changes * IPv6 waits for timeout after sending neighbour advertisement (for duplicate address detection) * Remove Xen cross-compilation runes, with mirage-xen 6.0.0 they're provided by mirage-xen (mirage/mirage-tcpip#434 @hannesm) * Move to dune 2.7.0 (and bisect instrumentation if desired) (mirage/mirage-tcpip#436 @hannesm)
..continuing the #431 ride.. //cc @MagnusS