DLinfo_req(3dlpi) DLinfo_req(3dlpi)
NAME
DLinfo_req - process DL_INFO_REQ primitive
SYNOPSIS
DLinfo_req(queue_t *q)
Parameters
q pointer to the write queue
DESCRIPTION
This function processes the DL_INFO_REQ primitive. The latter
is used (by the DLS user) to request operating information
about the Stream. This information is returned in a
DL_INFO_ACK message. If DLinfo_req() cannot allocate enough
memory for a reply the request is ignored. The fields of the
dl_info_ack_t structure are set using the values of the SAP
structure associated with the Stream. In particular, the
mac_type field of all SAPs is either DL_ETHER or DL_CSMACD
depending on type of the SAP and the service_mode is DL_CLDLS.
These values are defined in sys/dlpi.h. Before sending the
reply on the read queue, the state of the SAP associated with
the Stream is checked. If it is not DL_IDLE which indicates
that the Stream is not bound, the value of dl_addr_offset is
set to 0 as required by DLPI.
Response
DL_INFO_ACK message sent upstream
Layer
Hardware Independent.
REFERENCES
Hardware Independent Layer Functions called
none
Hardware Dependent Layer Functions Called
none
Copyright 1994 Novell, Inc. Page 1