Print this page
4142 truss should expand connect() arguments

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/truss/print.h
          +++ new/usr/src/cmd/truss/print.h
↓ open down ↓ 100 lines elided ↑ open up ↑
 101  101  #define CPC     60              /* print cpc() subcode */
 102  102  #define SQC     61              /* print sigqueue() si_code argument */
 103  103  #define PC4     62              /* print priocntlsys() (fourth) argument */
 104  104  #define PC5     63              /* print priocntlsys() (key-value) pairs */
 105  105  #define PST     64              /* print processor set id */
 106  106  #define MIF     65              /* print meminfo() argument */
 107  107  #define PFM     66              /* print so_socket() proto-family (1st) arg */
 108  108  #define SKT     67              /* print so_socket() socket type (2nd) arg */
 109  109  #define SKP     68              /* print so_socket() protocol (3rd) arg */
 110  110  #define SKV     69              /* print so_socket() version (5th) arg */
 111      -#define SOL     70              /* print [sg]etsockopt() level (2nd) arg */
 112      -#define SON     71              /* print [sg]etsockopt() name (3rd) arg */
 113      -#define UTT     72              /* print utrap type */
 114      -#define UTH     73              /* print utrap handler */
 115      -#define ACC     74              /* print access flags */
 116      -#define SHT     75              /* print shutdown() "how" (2nd) arg */
 117      -#define FFG     76              /* print fcntl() flags (3rd) arg */
 118      -#define PRS     77              /* privilege set */
 119      -#define PRO     78              /* privilege set operation */
 120      -#define PRN     79              /* privilege set name */
 121      -#define PFL     80              /* privilege/process flag name */
 122      -#define LAF     81              /* print lgrp_affinity arguments */
 123      -#define KEY     82              /* print key_t 0 as IPC_PRIVATE */
 124      -#define ZGA     83              /* print zone_getattr attribute types */
 125      -#define ATC     84              /* print AT_FDCWD or file descriptor */
 126      -#define LIO     85              /* print LIO_XX flags */
 127      -#define DFL     86              /* print door_create() flags */
 128      -#define DPM     87              /* print DOOR_PARAM_XX flags */
 129      -#define TND     88              /* print trusted network data base opcode */
 130      -#define RSC     89              /* print rctlsys subcode */
 131      -#define RGF     90              /* print rctlsys_get flags */
 132      -#define RSF     91              /* print rctlsys_set flags */
 133      -#define RCF     92              /* print rctlsys_ctl flags */
 134      -#define FXF     93              /* print forkx flags */
 135      -#define SPF     94              /* print rctlsys_projset flags */
 136      -#define UN1     95              /* unsigned except for -1 */
 137      -#define MOB     96              /* print mmapobj() flags */
 138      -#define SNF     97              /* print AT_SYMLINK_[NO]FOLLOW flag */
 139      -#define SKC     98              /* print sockconfig subcode */
 140      -#define ACF     99              /* accept4 flags */
 141      -#define PFD     100             /* pipe fds[2] */
 142      -#define HID     101             /* hidden argument, don't print */
      111 +#define SAD     70              /* print sockaddr and len for connect() */
      112 +#define SOL     71              /* print [sg]etsockopt() level (2nd) arg */
      113 +#define SON     72              /* print [sg]etsockopt() name (3rd) arg */
      114 +#define UTT     73              /* print utrap type */
      115 +#define UTH     74              /* print utrap handler */
      116 +#define ACC     75              /* print access flags */
      117 +#define SHT     76              /* print shutdown() "how" (2nd) arg */
      118 +#define FFG     77              /* print fcntl() flags (3rd) arg */
      119 +#define PRS     78              /* privilege set */
      120 +#define PRO     79              /* privilege set operation */
      121 +#define PRN     80              /* privilege set name */
      122 +#define PFL     81              /* privilege/process flag name */
      123 +#define LAF     82              /* print lgrp_affinity arguments */
      124 +#define KEY     83              /* print key_t 0 as IPC_PRIVATE */
      125 +#define ZGA     84              /* print zone_getattr attribute types */
      126 +#define ATC     85              /* print AT_FDCWD or file descriptor */
      127 +#define LIO     86              /* print LIO_XX flags */
      128 +#define DFL     87              /* print door_create() flags */
      129 +#define DPM     88              /* print DOOR_PARAM_XX flags */
      130 +#define TND     89              /* print trusted network data base opcode */
      131 +#define RSC     90              /* print rctlsys subcode */
      132 +#define RGF     91              /* print rctlsys_get flags */
      133 +#define RSF     92              /* print rctlsys_set flags */
      134 +#define RCF     93              /* print rctlsys_ctl flags */
      135 +#define FXF     94              /* print forkx flags */
      136 +#define SPF     95              /* print rctlsys_projset flags */
      137 +#define UN1     96              /* unsigned except for -1 */
      138 +#define MOB     97              /* print mmapobj() flags */
      139 +#define SNF     98              /* print AT_SYMLINK_[NO]FOLLOW flag */
      140 +#define SKC     99              /* print sockconfig subcode */
      141 +#define ACF     100             /* accept4 flags */
      142 +#define PFD     101             /* pipe fds[2] */
      143 +#define HID     102             /* hidden argument, don't print */
 143  144                                  /* make sure HID is always the last member */
 144  145  
 145  146  /*
 146  147   * Print routines, indexed by print codes.
 147  148   */
 148  149  extern void (* const Print[])();
 149  150  
 150  151  #ifdef  __cplusplus
 151  152  }
 152  153  #endif
 153  154  
 154  155  #endif  /* _TRUSS_PRINT_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX