The following table lists entry points, other DDI functions, and data structures that are part of the GLDv3 network device driver framework.
Table 19–1 GLDv3 Interfaces
Interface Name |
Description |
---|---|
Required Entry Points |
|
Retrieve network statistics from the driver. See GLDv3 Network Statistics. |
|
Start a driver instance. The GLDv3 framework invokes the start entry point before any operation is attempted. |
|
Stop a driver instance. The MAC layer invokes the stop entry point before the device is detached. |
|
Change the promiscuous mode of the device driver instance. |
|
Add or remove a multicast address. |
|
Set the primary unicast address. The device must start passing back through mac_rx() the packets with a destination MAC address that matches the new unicast address. See Receive Data Path for information about mac_rx(). |
|
Send one or more packets. See Transmit Data Path. |
|
Optional Entry Points |
|
Optional ioctl driver interface. This facility is intended to be used only for debugging purposes. |
|
Retrieve capabilities. See GLDv3 Capabilities. |
|
Set a property value. See GLDv3 Properties. |
|
Get a property value. See GLDv3 Properties. |
|
Get information about a property. See GLDv3 Properties. |
|
Data Structures |
|
Registration information. See GLDv3 MAC Registration Data Structures. |
|
Driver callbacks. See GLDv3 MAC Registration Data Structures. |
|
LSO metadata. See Large Segment (or Send) Offload. |
|
LSO metadata for TCP/IPv4. See Large Segment (or Send) Offload. |
|
MAC Registration Functions |
|
Allocate a new mac_register structure. See GLDv3 MAC Registration. |
|
Free a mac_register structure. |
|
Register with the MAC layer. |
|
Unregister from the MAC layer. |
|
Initialize the driver's dev_ops(9S) structure. |
|
Release the driver's dev_ops structure. |
|
Data Transfer Functions |
|
Pass up received packets. See Receive Data Path. |
|
TX resources are available. See GLDv3 State Change Notifications. |
|
Link state has changed. |
|
Retrieve hardware checksum information. See Hardware Checksum Offload and Transmit Data Path. |
|
Attach hardware checksum information. See Hardware Checksum Offload and Receive Data Path. |
|
Retrieve LSO information. See Large Segment (or Send) Offload. |
|
Properties Functions |
|
Set the permission of a property. See GLDv3 Properties. |
|
mac_prop_info_set_default_uint8(9F), mac_prop_info_set_default_str(9F), mac_prop_info_set_default_link_flowctrl(9F) |
Set a property value. |
Set a property values range. |