HP UX 11i v2 Networking Software manual Connectionless-mode Service Primitives, Dlunitdatareq

Page 86

DLPI Primitives

Connectionless-mode Service Primitives

Connectionless-mode Service Primitives

This section describes the connectionless-mode service primitives.

DL_UNITDATA_REQ

Conveys one DLSDU from the DLS user to the DLS provider for transmission to a peer DLS user.

Because connectionless data transfer is an unacknowledged service, the DLS provider makes no guarantees of delivery of connectionless DLSDUs. It is the responsibility of the DLS user to do any necessary sequencing or retransmission of DLSDUs in the event of a presumed loss.

Priority messages are currently only supported over 100VG. To send a priority message over 100VG, a user must have superuser capabilities and set the dl_priority fields in the DL_UNITDATA_REQ primitive to the following values:

dl_min must be set to 0.

dl_max must be set to 1.

The dl_priority field will be ignored on interfaces which do not support priority messages.

Format

The message consists of one M_PROTO message block containing the structure shown below, followed by one or more M_DATA blocks containing at least one byte of data. The amount of user data that may be transferred in a single DLSDU is limited. This limit is conveyed by the parameter dl_max_sdu in the DL_INFO_ACK primitive.

typedef struct {

 

ulong

dl_primitive;

ulong

dl_dest_addr_length;

ulong

dl_dest_addr_offset;

dl_priority_t

dl_priority;

}dl_unitdata_req_t;

Parameters

dl_primitive

DL_UNITDATA_REQ

86

Chapter 2

Image 86
Contents Dlpi Programmer’s Guide EditionLegal Notices Page Page Contents Contents Contents Sample Programs Printing History Page Preface Appendix a Sample ProgramsPage Introduction to Dlpi Introduction to Dlpi HP Dlpi Features Device File Format Header FilesService Interface Data Link LayerDlpi Connection-mode Service Modes of CommunicationData Link Layer Physical Attachment Identification Connectionless-mode ServiceDlpi Addressing HP PPA Format Data Link User Identification HP’s Dlsap Address Format 802.3, Ethernet, Token Ring, FddiHP’s Dlsap Address Format for Fibre Channel Dlsap Promiscuous Mode Clarifications Dlpi Services Dlinfoack DlerrorackDlinforeq DlhpppareqDlresetres DlresetreqDlresetind DlresetconDlhprawdatareq Local Management ServicesInformation Reporting Service DlhprawdataindAttach Service Bind ServiceSnap BindingReserved IEEESAPS/Ethertypes Message Flow Binding a Stream to a Dlsap Message Flow Enabling a Specific Multicast Address on a Connection-mode Services Connection Establishment ServiceConnection Handoff 12 Message Flow Successful Connection Establishment13 Message Flow Token Retrieval 16 Message Flow Both Primitives are Destroyed by Provider Data Transfer Service 19 Message Flow Normal Data TransferConnection Release Service 20 Message Flow DLS User-Invoked Connection ReleaseReset Service 23 Message Flow DLS User-Invoked Connection Reset Connectionless-mode Services Connectionless Data TransferRaw-mode Services Error Reporting ServiceXID and Test Service Raw-mode Data Transfer31 Message Flow XID Service XID and Test Packet Handling32 Message Flow Test Service An Example33 Message Flow a Connection-Mode Example Dlpi Primitives Dlpi Primitives Local Management Primitives PPA Initialization/De-initializationDlhpppareq Dlhpppaack Dlhpppaack Dlinforeq MTUDlinfoack Dltpr DlcsmacdDltpb DlmetroDlfddi DlcharDlctca DlotherDlunknown DlhprawdlsDlacldls DLSTYLE1 DLSTYLE2Dlbadppa DlaccessDlattachreq Dlsyserr DldetachreqDloutstate Dlbindreq Dlnotinit DlbadaddrDlinitfailed Dlbindack Dlunbindreq Dlsubsbindreq Dlpeerbind DlhierarchicalbindDlsubsbindack DltoomanyDlsubsunbindreq Dlenabmultireq Dldisabmultireq DlnotsupportedDlpromisconreq DlnotenabDlpromiscmulti DlpromiscphysDlpromiscsap Dlpromiscoffreq Dlokack Dlerrorack Dlphysaddrreq Dlfactphysaddr Dlcurrphysaddr Dlphysaddrack DlphysaddrackDlsetphysaddrreq DlphysaddrreqDlsetphysaddrreq Dlbusy DlgetstatisticsreqDlgetstatisticsack Dlgetstatisticsreq Dlhpmulticastlistreq DlgetstatisticsackDlhpmulticastlistack Dlhpmulticastlistack Connectionless-mode Service Primitives DlunitdatareqDlbaddata Dlunitdataind Dluderrorind Message is valid in state Dlidle Raw Mode Service Primitives DlhprawdatareqDlhprawdataind DlbadprimRaw Mode Service Primitives Dlhpinforeq Connection-mode Service PrimitivesConnection-Oriented Dlpi Extensions Dlhpinfoack DlhpinforeqDlhpinfoack Connection-mode Service Primitives Connection-mode Service Primitives Dlhpsetacktoreq DlhpsetacktoreqDlhpsetptoreq DlhpsetptoreqDlhpsetrejtoreq DlhpsetrejtoreqDlhpsetbusytoreq Dlhpsetsendacktoreq DlhpsetbusytoreqDlhpsetmaxretriesreq DlhpsetmaxretriesreqDlhpsetsendacktoreq Dlhpsetackthreshreq DLOUTCONPENDING, DlinconpendingDlhpsetlocalwinreq Dlhpsetremotewinreq Dlhpclearstatsreq DlhpsetremotewinreqDlhpsetlocalbusyreq DlhpsetlocalbusyreqDlhpclearstatsreq Dlhpclearlocalbusyreq DlhpclearlocalbusyreqDlconnectreq Dlbadqostype DlconnectindDlbadqosparam 112 Dlconnectres 114 Dlbadcorr DlconnectconDlbadtoken Dlpending116 Dltokenreq DltokenackDldatareq Dldataind Dldisconnectreq120 Dldisconnectind Dlresetreq Dlresetind Dlresetres Dlresetcon 126 Primitives to Handle XID and Test Operations DltestreqDltestind DltestautoChapter 129 Dltestres Dltestcon Dlxidreq Dlxidind Dlxidauto134 Dlxidres DlpollfinalDlxidcon Chapter 137 Dlpi States Dlresetres Resetres User Reset DluserresetDlresetcon Prov Reset Dlprovreset Udqos Pend DludqosDlinconpending DLDISCON9Pend Pending DLDISCON11Chapter 141 142 Sample Programs Connection Mode LongareasizeAppendix a 145 146 Appendix a 147 148 Appendix a 149 150 Appendix a 151 152 Appendix a 153 154 Appendix a 155 Connectionless Mode Snap SAPAppendix 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 Glossary Connection establishment174 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