HP rp4440 HP DLPI Programmer's Guide - Page 85
Dl_promiscon_req, Dl_promisc_phys
View all HP rp4440 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 85 highlights
NOTE DLPI Primitives Local Management Primitives Primitive is known, but not supported by the DLS Provider. DL_SYSERR A system error has occurred as invalid events are requested. The UNIX error returned may be set to (not limited to) the errors listed in Table 2-2 on page 71. DL_PROMISCON_REQ This primitive requests the DLS Provider to enable promiscuous mode on a per Stream basis, either at the physical level or at the SAP level. The DL Provider will route all received messages on the media to the DLS User until either a DL_DETACH_REQ or a DL_PROMISCOFF_REQ is received or the Stream is closed. A DLS user cannot enable multiple promiscuous modes at the same time. Therefore, the DLS user must disable the existing promiscuous mode before enabling a new promiscuous mode. Format The message consists of one M_PROTO message block, which contains the following structure. typedef struct { ulong dl_primitive; ulong dl_level; } dl_promiscon_req_t; Parameters dl_primitive DL_PROMISCON_REQ dl_level indicates promiscuous mode at the physical or SAP level. DL_PROMISC_PHYS Chapter 2 85