tinygo.org/x/drivers@v0.27.1-0.20240509133757-7dbca2a54349/netlink/README.md (about)

     1  ### Table of Contents
     2  
     3  - [Netlinker](#netlinker)
     4  
     5  ## Netlinker
     6  
     7  TinyGo's network device driver model comprises two Go interfaces: Netdever and
     8  Netlinker.  This README covers Netlinker.
     9  
    10  The Netlinker interface describes an L2 network interface.  A netlink is a
    11  concrete implementation of a Netlinker.  See [Netdev](../netdev/) for 
    12  the L4/L3 network interface.
    13  
    14  A netlink can:
    15  
    16  - Connect/disconnect device to/from network
    17  - Notify of network events (e.g. link UP/DOWN)
    18  - Send and receive Ethernet packets
    19  - Get/set device's hardware address (MAC address)