This repository has been archived by the owner on May 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
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 #11 from hannesm/less-types
remove netif and 'netif config types, also ip is no longer part of UDP/TCP
- Loading branch information
Showing
6 changed files
with
14 additions
and
30 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
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,19 @@ | ||
v1.2.0 2017-09-06 | ||
----------------- | ||
### v1.3.0 2018-09-15 | ||
|
||
- remove unused type `netif` and `'netif config` from V4 signature | ||
- remove `'netif stackv4_config` and `socket_stack_config` | ||
- adjust to mirage-protocols 1.4.0: remove `ip` from UDPV4 and TCPV4 | ||
|
||
### v1.2.0 2017-09-06 | ||
|
||
- add an optional argument ?keepalive to `listen_tcpv4` which allows TCP | ||
keepalives on accepted connections. | ||
- jbuilder is now a build dependency | ||
|
||
v1.1.0 2017-06-16 | ||
----------------- | ||
### v1.1.0 2017-06-16 | ||
|
||
- port to Jbuilder | ||
|
||
v1.0.0 2016-12-29 | ||
----------------- | ||
### v1.0.0 2016-12-29 | ||
|
||
- import V4 module type from mirage-types and mirage-types-lwt, where it was STACKV4 |
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,15 +1,6 @@ | ||
type 'netif stackv4_config = { | ||
name: string; | ||
interface: 'netif; | ||
} | ||
|
||
type socket_stack_config = | ||
Ipaddr.V4.t list | ||
|
||
module type V4 = sig | ||
include Mirage_stack.V4 | ||
with type 'a io = 'a Lwt.t | ||
and type 'a config = 'a stackv4_config | ||
and type ipv4addr = Ipaddr.V4.t | ||
and type buffer = Cstruct.t | ||
end |
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
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