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

adjustments for layering support, mainly changes to write#15

Merged
yomimono merged 3 commits intomirage:masterfrom
hannesm:layering
Feb 24, 2019
Merged

adjustments for layering support, mainly changes to write#15
yomimono merged 3 commits intomirage:masterfrom
hannesm:layering

Conversation

@hannesm
Copy link
Copy Markdown
Member

@hannesm hannesm commented Feb 9, 2019

No description provided.

- add Ethif.proto and Ip.proto
- remove ETHIF.writev
- ETHIF.write takes destination, protocol, size, and a fill function

- remove IP.allocate_frame, IP.writev, IP.checksum
- IP.write takes fragment, ttl, size, and a fill function (as well as payloads)
@hannesm hannesm mentioned this pull request Feb 20, 2019
6 tasks
@yomimono yomimono merged commit 133c554 into mirage:master Feb 24, 2019
hannesm added a commit to hannesm/opam-repository that referenced this pull request Feb 24, 2019
CHANGES:

- Ethif/ETHIF renamed to Ethernet/ETHERNET (mirage/mirage-protocols#16)
- Ethernet.proto defines a polymorphic variant of ethernet types (mirage/mirage-protocols#15)
- Ip.proto defines a polymorphic variant of ip types (mirage/mirage-protocols#15)
- Ethernet.writev is removed (mirage/mirage-protocols#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. (mirage/mirage-protocols#15)
- Ip.writev and Ip.checksum are removed (mirage/mirage-protocols#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. (mirage/mirage-protocols#15)
- migrated build system to dune
hannesm added a commit to hannesm/opam-repository that referenced this pull request Feb 24, 2019
CHANGES:

- Ethif/ETHIF renamed to Ethernet/ETHERNET (mirage/mirage-protocols#16)
- Ethernet.proto defines a polymorphic variant of ethernet types (mirage/mirage-protocols#15)
- Ip.proto defines a polymorphic variant of ip types (mirage/mirage-protocols#15)
- Ethernet.writev is removed (mirage/mirage-protocols#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. (mirage/mirage-protocols#15)
- Ip.writev and Ip.checksum are removed (mirage/mirage-protocols#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. (mirage/mirage-protocols#15)
- migrated build system to dune
hannesm added a commit to hannesm/opam-repository that referenced this pull request Feb 24, 2019
CHANGES:

- Ethif/ETHIF renamed to Ethernet/ETHERNET (mirage/mirage-protocols#16)
- Ethernet.proto defines a polymorphic variant of ethernet types (mirage/mirage-protocols#15)
- Ip.proto defines a polymorphic variant of ip types (mirage/mirage-protocols#15)
- Ethernet.writev is removed (mirage/mirage-protocols#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. (mirage/mirage-protocols#15)
- Ip.writev and Ip.checksum are removed (mirage/mirage-protocols#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. (mirage/mirage-protocols#15)
- migrated build system to dune
@hannesm hannesm deleted the layering branch October 30, 2019 13:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants