mirror of
https://github.com/soypat/lneto.git
synced 2026-09-10 08:39:30 +00:00
fixes for CI (#90)
This commit is contained in:
@@ -32,7 +32,7 @@ All examples include IPv4, ARP, ICMP, TCP and UDP functionality. Go and TinyGo d
|
|||||||
|
|
||||||
|
|
||||||
| Program | Extra Protocols | Packet capture printing | amd64 Go | WASM Go | amd64 TinyGo | WASM TinyGo | Pico TinyGo |
|
| Program | Extra Protocols | Packet capture printing | amd64 Go | WASM Go | amd64 TinyGo | WASM TinyGo | Pico TinyGo |
|
||||||
|---|---|---|---|---|---|---|---|
|
|---|:---:|:---:|---|---|---|---|---|
|
||||||
| [Lneto MWE](./examples/min-working-example/) | DNS,NTP,DHCP | ✅ | 3.8MB | 4.3MB | 1.3MB | 934kB | 181kB |
|
| [Lneto MWE](./examples/min-working-example/) | DNS,NTP,DHCP | ✅ | 3.8MB | 4.3MB | 1.3MB | 934kB | 181kB |
|
||||||
| [Gvisor MWE w/ go-net](./examples/_import_examples/gvisor-mwe/)| None | ❌ | 6.6MB | 7.5MB | DNC | DNC | DNC |
|
| [Gvisor MWE w/ go-net](./examples/_import_examples/gvisor-mwe/)| None | ❌ | 6.6MB | 7.5MB | DNC | DNC | DNC |
|
||||||
## `xcurl` example
|
## `xcurl` example
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ type NetworkDevice struct {
|
|||||||
recv func([]byte) (int, error)
|
recv func([]byte) (int, error)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (d *NetworkDevice) Transmit(buf []byte) error { return d.send(buf) }
|
func (d *NetworkDevice) Transmit(buf []byte) error { return d.send(buf) }
|
||||||
func (d *NetworkDevice) Receive(buf []byte) (int, error) { return d.recv(buf) }
|
func (d *NetworkDevice) Receive(buf []byte) (int, error) { return d.recv(buf) }
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
|
|||||||
Reference in New Issue
Block a user