DLxmit_packet(3dlpi) DLxmit_packet(3dlpi)
NAME
DLxmit_packet - entry point to hardware-dependent layer for
outbound-packets
SYNOPSIS
DLxmit_packet (DL_bdconfig_t *bd, mblk_t *mp, DL_sap_t *sap)
Parameters
bd pointer to the board configuration structure
mp pointer to a STREAMS message containing the completely
formatted frame
sap pointer to the SAP structure corresponding to the input
STREAMS message queue
DESCRIPTION
This routine acts as the entry point to the hardware dependent
layer for all outbound packets.
The input STREAMS message is of type M_DATA and will contain a
packet in one of the supported frame formats. The
DLxmit_packet() routine should set the TX_BUSY bit of the flag
field in the board configuration structure if it runs out of
resources needed to transmit packets. Finally all STREAMS
message blocks should be freed following successful
transmission of packets.
Response
returns
0 if there is no error, 1 otherwise.
Layer
Hardware Dependent.
Copyright 1994 Novell, Inc. Page 1