2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License, Version 1.0 only 2N/A * (the "License"). You may not use this file except in compliance 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright 2005 Sun Microsystems, Inc. All rights reserved. 2N/A * Use is subject to license terms. 2N/A#
pragma ident "%Z%%M% %I% %E% SMI" 2N/A * Any changes to either of them should be reviewed to see whether they 2N/A * are applicable to the other file. 2N/A * This ensures preference to T_DISCON_IND which is 2N/A * the design model for TPI 2N/A * Someday there could be transport providers that support T_ORDRELDATA 2N/A * Until then this function behaves the same as t_rcvrel() 2N/A * Note: Currently only mOSI ("minimal OSI") provider is specified 2N/A * to use T_ORDRELDATA so probability of needing it is minimal. 2N/A /* LINTED pointer cast */ 2N/A * Current look buffer event is T_ORDREL_IND. 2N/A * Remove it from look buffer event list. 2N/A "t_rcvreldata: invalid state event T_RCVREL");
2N/A * get ordrel off read queue. 2N/A * use ctl and rcv buffers 2N/A * Since we have verified above that an orderly release event 2N/A * is pending on this endpoint, we assume that this getmsg() 2N/A * cannot block forever. 2N/A * did I get entire message? 2N/A /* LINTED pointer cast */ 2N/A * T_DISCON_IND gets priority following 2N/A * TPI design philosphy. 2N/A * Add it to the events in the "look buffer" 2N/A * list of events. This routine may defer signals. 2N/A "t_rcvreldata: invalid state event T_RCVREL");