![](/images/new-backgrounds/1319792/319792149x1.webp)
DLPI Primitives
Local Management Primitives
Reasons for Failure
DL_OUTSTATE
Primitive was issued from an invalid state.
DL_SYSERR
A system error has occurred and the UNIX system error is indicated in the DL_ERROR_ACK.
DL_NOTSUPPORTED
Primitive is known but not supported by the DLS Provider.
DL_UNSUPPORTED
Requested service is not supplied by the provider.
DL_PROMISCOFF_REQ
This primitive requests the DLS Provider to disable promiscuous mode on a per Stream basis, either at the physical level or at the SAP level.
Format
The message consists of one M_PROTO message block, which contains the following structure.
typedef struct | { |
ulong | dl_primitive; |
ulong | dl_level; |
}dl_promiscoff_req_t;
Parameters
dl_primitive
DL_PROMISCOFF_REQ
dl_level
indicates promiscuous mode at the physical or SAP level.
DL_PROMISC_PHYS
Before or after the STREAM has been bound, the DLPI user receives all traffic on the wire regardless of protocol or physical address.
DL_PROMISC_SAP
Chapter 2 | 75 |