mirror of
https://github.com/soypat/lneto.git
synced 2026-08-04 23:17:52 +00:00
813b7b5e57
* good code today * add netdev.Runner * round off APIs more * better interface method documentation * improve DHCP netstack API * add pico w netdev example * remove temp file * keep thinking about this. this is hard :/ * fix ci * small fixer * working dhcp * fix rebase API mismatches * begin adding espradio example * keep working on espradio, icmp not working * fix icmp by fixing dhcp
13 lines
302 B
Go
13 lines
302 B
Go
//go:build tinygo
|
|
|
|
package netdev
|
|
|
|
import _ "unsafe" // needed for go:linkname usage.
|
|
|
|
// UseNetdev is the dynamic linker function
|
|
// for inserting a networking stack into the
|
|
// standard library implementation in the TinyGo compiler.
|
|
//
|
|
//go:linkname UseNetdev net.useNetdev
|
|
func UseNetdev(dev GoNet)
|