Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Releases: mirage/mirage-protocols

8.0.0

15 Dec 16:15
Compare
Choose a tag to compare

CHANGES:

  • Deprecate this package, the module types are now defined by arp (>= 3.0.0),
    ethernet (>= 3.0.0) and tcpip (>= 7.0.0) (#30 @hannesm)

7.0.0

14 Nov 23:30
Compare
Choose a tag to compare

CHANGES:

6.0.0

09 Nov 19:27
Compare
Choose a tag to compare

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

In #28 by @hannesm

v5.0.0

25 Nov 17:28
Compare
Choose a tag to compare

CHANGES:

  • Retire ipv4_config type and DHCP_CLIENT module type (#27 @hannesm)
  • Revise IP.mtu (used to be of type t -> int, now t -> dst:ipaddr -> int) to
    support dual stack (#27 @hannesm)
  • Revise ICMP.write, now has ?src:ipaddr (#27 @hannesm)
  • Revise UDP.write. now has ?src:ipaddr (#27 @hannesm)

v4.0.1

04 Nov 18:36
Compare
Choose a tag to compare

CHANGES:

  • provide deprecated Mirage_protocols_lwt for smooth transition (#25 @hannesm)

v4.0.0

24 Oct 10:50
03b1ef6
Compare
Choose a tag to compare

CHANGES:

  • remove mirage-protocols-lwt (#23 @hannesm)
  • specialise mirage-protocols to Lwt.t, Cstruct,t, Ipaddr.V4/V6.t, Macaddr.t (#23 @hannesm)
  • raise lower OCaml bound to 4.06.0 (#23 @hannesm)

v3.1.0

14 Oct 16:27
da6a077
Compare
Choose a tag to compare

CHANGES:

  • add polymorphic variant `Would_fragment to Ip.error (#20 @hannesm)
  • extend ICMP.write and UDP.write with optional ttl:int argument (#21 @phaer)
  • remove IP.set_ip (#20 @hannesm)

v3.0.0

08 Jul 08:06
Compare
Choose a tag to compare

CHANGES:

  • replace uipaddr with pp_ipaddr, since the only use is to print
    human-readable IP addresses (#18 @yomimono @linse)
  • port to dune from jbuilder (#17 @hannesm)

v2.0.0

24 Feb 14:22
Compare
Choose a tag to compare

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

v1.4.1

10 Jan 21:32
Compare
Choose a tag to compare

v1.4.1 2019-01-10

  • ipaddr3 compatibility