HP UX 11i v2 Networking Software manual Dlconnectcon, Dlbadtoken, Dlbadcorr, Dlpending

Page 115

DLPI Primitives

Connection-mode Service Primitives

If the request fails, DL_ERROR_ACK is returned on the stream where the DL_CONNECT_RES primitive was received, and the resulting state of that stream and the responding stream is unchanged.

Reasons for Failure

DL_BADTOKEN

The token for the responding stream was not associated with a currently open stream.

DL_BADQOSPARAM

The quality of service parameters contained invalid values.

DL_BADQOSTYPE

The quality of service structure type was not supported by the DLS provider.

DL_BADCORR

The correlation number specified in this primitive did not correspond to a pending connect indication.

DL_ACCESS

The DLS user did not have proper permission to use the responding stream.

DL_OUTSTATE

The primitive was issued from an invalid state, or the responding stream was not in a valid state for establishing a connection.

DL_SYSERR

A system error has occurred and the UNIX system error is indicated in the DL_ERROR_ACK.

DL_PENDING

Current stream and responding stream is the same and there is more than one outstanding connect indication.

DL_CONNECT_CON

Informs the local DLS user that the requested data link connection has been established.

Chapter 2

115

Image 115
Contents Edition Dlpi Programmer’s GuideLegal Notices Page Page Contents Contents Contents Sample Programs Printing History Page Appendix a Sample Programs PrefacePage Introduction to Dlpi Introduction to Dlpi HP Dlpi Features Header Files Device File FormatData Link Layer Service InterfaceDlpi Modes of Communication Connection-mode ServiceData Link Layer Dlpi Addressing Connectionless-mode ServicePhysical Attachment Identification HP PPA Format HP’s Dlsap Address Format 802.3, Ethernet, Token Ring, Fddi Data Link User IdentificationHP’s Dlsap Address Format for Fibre Channel Dlsap Promiscuous Mode Clarifications Dlpi Services Dlhpppareq DlerrorackDlinforeq DlinfoackDlresetcon DlresetreqDlresetind DlresetresDlhprawdataind Local Management ServicesInformation Reporting Service DlhprawdatareqBind Service Attach ServiceReserved IEEESAPS/Ethertypes BindingSnap Message Flow Binding a Stream to a Dlsap Message Flow Enabling a Specific Multicast Address on a Connection Establishment Service Connection-mode Services12 Message Flow Successful Connection Establishment Connection Handoff13 Message Flow Token Retrieval 16 Message Flow Both Primitives are Destroyed by Provider 19 Message Flow Normal Data Transfer Data Transfer Service20 Message Flow DLS User-Invoked Connection Release Connection Release ServiceReset Service 23 Message Flow DLS User-Invoked Connection Reset Connectionless Data Transfer Connectionless-mode ServicesError Reporting Service Raw-mode ServicesRaw-mode Data Transfer XID and Test ServiceXID and Test Packet Handling 31 Message Flow XID ServiceAn Example 32 Message Flow Test Service33 Message Flow a Connection-Mode Example Dlpi Primitives Dlpi Primitives PPA Initialization/De-initialization Local Management PrimitivesDlhpppareq Dlhpppaack Dlhpppaack MTU DlinforeqDlinfoack Dlmetro DlcsmacdDltpb DltprDlother DlcharDlctca DlfddiDlacldls DlhprawdlsDlunknown DLSTYLE2 DLSTYLE1Dlattachreq DlaccessDlbadppa Dloutstate DldetachreqDlsyserr Dlbindreq Dlinitfailed DlbadaddrDlnotinit Dlbindack Dlunbindreq Dlsubsbindreq Dlhierarchicalbind DlpeerbindDltoomany DlsubsbindackDlsubsunbindreq Dlenabmultireq Dlnotsupported DldisabmultireqDlnotenab DlpromisconreqDlpromiscsap DlpromiscphysDlpromiscmulti Dlpromiscoffreq Dlokack Dlerrorack Dlphysaddrreq Dlfactphysaddr Dlcurrphysaddr Dlphysaddrreq DlphysaddrackDlsetphysaddrreq DlphysaddrackDlsetphysaddrreq Dlgetstatisticsreq DlgetstatisticsreqDlgetstatisticsack DlbusyDlgetstatisticsack DlhpmulticastlistreqDlhpmulticastlistack Dlhpmulticastlistack Dlunitdatareq Connectionless-mode Service PrimitivesDlbaddata Dlunitdataind Dluderrorind Message is valid in state Dlidle Dlhprawdatareq Raw Mode Service PrimitivesDlbadprim DlhprawdataindRaw Mode Service Primitives Connection-Oriented Dlpi Extensions Connection-mode Service PrimitivesDlhpinforeq Dlhpinforeq DlhpinfoackDlhpinfoack Connection-mode Service Primitives Connection-mode Service Primitives Dlhpsetacktoreq DlhpsetacktoreqDlhpsetptoreq DlhpsetptoreqDlhpsetbusytoreq DlhpsetrejtoreqDlhpsetrejtoreq Dlhpsetbusytoreq DlhpsetsendacktoreqDlhpsetsendacktoreq DlhpsetmaxretriesreqDlhpsetmaxretriesreq DLOUTCONPENDING, Dlinconpending DlhpsetackthreshreqDlhpsetlocalwinreq Dlhpsetremotewinreq Dlhpsetremotewinreq DlhpclearstatsreqDlhpclearstatsreq DlhpsetlocalbusyreqDlhpsetlocalbusyreq Dlhpclearlocalbusyreq DlhpclearlocalbusyreqDlconnectreq Dlbadqosparam DlconnectindDlbadqostype 112 Dlconnectres 114 Dlpending DlconnectconDlbadtoken Dlbadcorr116 Dltokenack DltokenreqDldatareq Dldisconnectreq Dldataind120 Dldisconnectind Dlresetreq Dlresetind Dlresetres Dlresetcon 126 Dltestreq Primitives to Handle XID and Test OperationsDltestauto DltestindChapter 129 Dltestres Dltestcon Dlxidreq Dlxidauto Dlxidind134 Dlpollfinal DlxidresDlxidcon Chapter 137 Dlpi States Udqos Pend Dludqos User Reset DluserresetDlresetcon Prov Reset Dlprovreset Dlresetres ResetresDLDISCON11 DLDISCON9Pend Pending DlinconpendingChapter 141 142 Sample Programs Longareasize Connection ModeAppendix a 145 146 Appendix a 147 148 Appendix a 149 150 Appendix a 151 152 Appendix a 153 154 Appendix a 155 Snap SAP Connectionless ModeAppendix a 157 158 Appendix a 159 160 Appendix a 161 162 Appendix a 163 164 Appendix a 165 166 Raw Mode 168 Appendix a 169 170 Appendix a 171 Raw Mode 172 Connection establishment Glossary174 Glossary Index
Related manuals
Manual 94 pages 16.8 Kb Manual 74 pages 39 Kb Manual 236 pages 18.16 Kb Manual 12 pages 39.66 Kb Manual 28 pages 49.76 Kb