mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-03 14:37:46 +00:00
add more methods to Link interface
This commit is contained in:
@@ -58,7 +58,10 @@ type Link interface {
|
||||
//
|
||||
// [MAC address]: https://en.wikipedia.org/wiki/MAC_address
|
||||
HardwareAddr6() ([6]byte, error)
|
||||
// LinkStatus returns the state of the connection.
|
||||
LinkStatus() LinkStatus
|
||||
// MTU returns the maximum transmission unit size.
|
||||
MTU() int
|
||||
}
|
||||
|
||||
type EthLinkPoller interface {
|
||||
|
||||
Reference in New Issue
Block a user