This repository has been archived by the owner on May 8, 2024. It is now read-only.
Releases: mirage/mirage-protocols
Releases · mirage/mirage-protocols
8.0.0
7.0.0
6.0.0
CHANGES:
Simplify UDP and TCP module types to set the stage for an alternative TCP stack,
and allow TCP and UDP to hold the listeners internally (instead of hiding them
in a Mirage_stack.S.
- Revise UDP module type:
- removed type ipinput
- add a val listen : t -> port:int -> callback -> unit
- add a val unlisten : t -> port:int -> unit
- val input is now: t -> src:ipaddr -> dst:ipaddr -> Cstruct.t -> unit Lwt.t
- Revise TCP module type
- removed type ipinput
- removed type listener
- add a val listen : t -> port:int -> ?keepalive:Keepalive.t -> (flow -> unit Lwt.t) -> unit
- add a val unlisten : t -> port:int -> unit
- val input is now: t -> src:ipaddr -> dst:ipaddr -> Cstruct.t -> unit Lwt.t
v5.0.0
v4.0.1
v4.0.0
v3.1.0
v3.0.0
v2.0.0
CHANGES:
- Ethif/ETHIF renamed to Ethernet/ETHERNET (#16)
- Ethernet.proto defines a polymorphic variant of ethernet types (#15)
- Ip.proto defines a polymorphic variant of ip types (#15)
- Ethernet.writev is removed (#15)
- Ethernet.write expects an optional source mac address, a destination mac
address, a protocol, an optional size and a fill function. Ethernet writes
the Ethernet header to the buffer. (#15) - Ip.writev and Ip.checksum are removed (#15)
- Ip.write expects an optional fragment, ttl, src, and a size and fill function,
as well as a list of payload buffers. Size default to MTU. (#15) - migrated build system to dune