Specifications

Conventionally, this is used as a pointer to private data,
pointing to a driver-dened and driver-allocated
per-instance data structure.
The following group of structure members must be set by the driver before calling
gld_register(), and should not thereafter be modied by the driver;
gld_register() can use or cache the values of some of these structure members, so
changes made by the driver after calling gld_register() might cause unpredicted
results.
gldm_reset Pointer to driver entry point; see gld(9E).
gldm_start Pointer to driver entry point; see gld(9E).
gldm_stop Pointer to driver entry point; see gld(9E).
gldm_set_mac_addr Pointer to driver entry point; see gld(9E).
gldm_set_multicast Pointer to driver entry point; see gld(9E).
gldm_set_promiscuous Pointer to driver entry point; see gld(9E).
gldm_send Pointer to driver entry point; see gld(9E).
gldm_intr Pointer to driver entry point; see gld(9E).
gldm_get_stats Pointer to driver entry point; see gld(9E).
gldm_ioctl Pointer to driver entry point; can be NULL; see gld(9E).
gldm_ident Pointer to a string containing a short description of the
device. It is used to identify the device in system
messages.
gldm_type The type of device the driver handles. The values
currently supported by GLD are DL_ETHER (IEEE 802.3
and Ethernet Bus), DL_TPR (IEEE 802.5 Token Passing
Ring), and DL_FDDI (ISO 9314-2 Fibre Distributed Data
Interface). This structure member must be correctly set
for GLD to function properly.
gldm_minpkt Minimum Service Data Unit size the minimum
packet size, not including the MAC header, that the
device will transmit. This can be zero if the
device-specic driver can handle any required
padding.
gldm_maxpkt Maximum Service Data Unit size the maximum size
of packet, not including the MAC header, that can be
transmitted by the device. For Ethernet, this number is
1500.
gld_mac_info(9S)
Data Structures for Drivers 55