Print this page
3910 t_look(3NSL) should never return T_ERROR

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/tiuser.h
          +++ new/usr/src/uts/common/sys/tiuser.h
↓ open down ↓ 20 lines elided ↑ open up ↑
  21   21   */
  22   22  /*
  23   23   * Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
  24   24   * All Rights Reserved
  25   25   *
  26   26   */
  27   27  
  28   28  /*
  29   29   * Copyright 2002 Sun Microsystems, Inc.  All rights reserved.
  30   30   * Use is subject to license terms.
       31 + * Copyright 2014 Gary Mills
  31   32   */
  32   33  
  33   34  #ifndef _SYS_TIUSER_H
  34   35  #define _SYS_TIUSER_H
  35   36  
  36      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  37      -
  38   37  #include <sys/types.h>
  39   38  /*
  40   39   * The following include file has declarations needed by both the kernel
  41   40   * level transport providers and the user level library.
  42   41   */
  43   42  #include <sys/tpicommon.h>
  44   43  
  45   44  #ifdef  __cplusplus
  46   45  extern "C" {
  47   46  #endif
  48   47  
  49   48  
  50   49  /*
  51   50   * The following are the events returned by t_look
  52   51   */
  53   52  #define T_LISTEN        0x0001  /* connection indication received       */
  54   53  #define T_CONNECT       0x0002  /* connect confirmation received        */
  55   54  #define T_DATA          0x0004  /* normal data received                 */
  56   55  #define T_EXDATA        0x0008  /* expedited data received              */
  57   56  #define T_DISCONNECT    0x0010  /* disconnect received                  */
  58      -#define T_ERROR         0x0020  /* fatal error occurred                 */
  59   57  #define T_UDERR         0x0040  /* data gram error indication           */
  60   58  #define T_ORDREL        0x0080  /* orderly release indication           */
  61   59  #define T_EVENTS        0x00ff  /* event mask                           */
  62   60  
  63   61  /*
  64   62   * Flags for data primitives.
  65   63   */
  66   64  #define T_MORE          0x001   /* more data            */
  67   65  #define T_EXPEDITED     0x002   /* expedited data       */
  68   66  
↓ open down ↓ 173 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX