Technical data

gld(7D) Devices SunOS 5.5
closed.
The DL_UNITDATA_REQ primitive is used to send data in a connectionless transfer.
Because this is an unacknowledgedservice, there is no guarantee of delivery. The mes-
sage consists of one M_PROTO message block followed by one or more M_DATA blocks
containing at least one byte of data.
The DL_PHYS_ADDR_REQ primitive returns the 6-octet Ethernet address currently asso-
ciated (attached) to the STREAM in theDL_PHYS_ADDR_ACK primitive. When using
style 2, this primitive is only valid following a successful DL_ATTACH_REQ.
The DL_SET_PHYS_ADDR_REQ primitive changesthe 6-octet Ethernet address currently
associated (attached) to this STREAM. The credentials of the process which originally
opened theSTREAM must be superuser or an EPERM error is returned in the
DL_ERROR_ACK. This primitive is destructive in that it affects all other current and
future STREAMS attached to this device. An M_ERROR is sent up all other STREAMS
attached to this device when this primitive on thisSTREAM is successful. Once changed,
all STREAMS subsequentlyopened and attached to this device will obtain this new physi-
cal address. The new physical address will remain in effect until this primitive is used to
change the physical address again or the system is rebooted, whichever occurs first.
The DL_UNITDATA_IND type is used when a packet is received and is to be passed
upstream. The packet is put into an M_PROTO message with the primitive set to
DL_UNITDATA_IND.
The interface betweenGLD and GLD-based drivers is an internal interface not currently
published for external use.
FILES /kernel/misc/gld loadable kernel module
SEE ALSO dlpi(7P), attach(9E), open(9E)
WARNINGS Contrary to the DLPI specification, GLD returns the device’s correct address length and
broadcast address in DL_INFO_ACK even before the device has been attached.
7D-122 modified 25 Aug 1995