1*0Sstevel@tonic-gate /* 2*0Sstevel@tonic-gate * opnames.h 3*0Sstevel@tonic-gate * 4*0Sstevel@tonic-gate * Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, by Larry Wall and others 5*0Sstevel@tonic-gate * 6*0Sstevel@tonic-gate * You may distribute under the terms of either the GNU General Public 7*0Sstevel@tonic-gate * License or the Artistic License, as specified in the README file. 8*0Sstevel@tonic-gate * 9*0Sstevel@tonic-gate * 10*0Sstevel@tonic-gate * !!!!!!! DO NOT EDIT THIS FILE !!!!!!! 11*0Sstevel@tonic-gate * This file is built by opcode.pl from its data. Any changes made here 12*0Sstevel@tonic-gate * will be lost! 13*0Sstevel@tonic-gate */ 14*0Sstevel@tonic-gate 15*0Sstevel@tonic-gate typedef enum opcode { 16*0Sstevel@tonic-gate OP_NULL, /* 0 */ 17*0Sstevel@tonic-gate OP_STUB, /* 1 */ 18*0Sstevel@tonic-gate OP_SCALAR, /* 2 */ 19*0Sstevel@tonic-gate OP_PUSHMARK, /* 3 */ 20*0Sstevel@tonic-gate OP_WANTARRAY, /* 4 */ 21*0Sstevel@tonic-gate OP_CONST, /* 5 */ 22*0Sstevel@tonic-gate OP_GVSV, /* 6 */ 23*0Sstevel@tonic-gate OP_GV, /* 7 */ 24*0Sstevel@tonic-gate OP_GELEM, /* 8 */ 25*0Sstevel@tonic-gate OP_PADSV, /* 9 */ 26*0Sstevel@tonic-gate OP_PADAV, /* 10 */ 27*0Sstevel@tonic-gate OP_PADHV, /* 11 */ 28*0Sstevel@tonic-gate OP_PADANY, /* 12 */ 29*0Sstevel@tonic-gate OP_PUSHRE, /* 13 */ 30*0Sstevel@tonic-gate OP_RV2GV, /* 14 */ 31*0Sstevel@tonic-gate OP_RV2SV, /* 15 */ 32*0Sstevel@tonic-gate OP_AV2ARYLEN, /* 16 */ 33*0Sstevel@tonic-gate OP_RV2CV, /* 17 */ 34*0Sstevel@tonic-gate OP_ANONCODE, /* 18 */ 35*0Sstevel@tonic-gate OP_PROTOTYPE, /* 19 */ 36*0Sstevel@tonic-gate OP_REFGEN, /* 20 */ 37*0Sstevel@tonic-gate OP_SREFGEN, /* 21 */ 38*0Sstevel@tonic-gate OP_REF, /* 22 */ 39*0Sstevel@tonic-gate OP_BLESS, /* 23 */ 40*0Sstevel@tonic-gate OP_BACKTICK, /* 24 */ 41*0Sstevel@tonic-gate OP_GLOB, /* 25 */ 42*0Sstevel@tonic-gate OP_READLINE, /* 26 */ 43*0Sstevel@tonic-gate OP_RCATLINE, /* 27 */ 44*0Sstevel@tonic-gate OP_REGCMAYBE, /* 28 */ 45*0Sstevel@tonic-gate OP_REGCRESET, /* 29 */ 46*0Sstevel@tonic-gate OP_REGCOMP, /* 30 */ 47*0Sstevel@tonic-gate OP_MATCH, /* 31 */ 48*0Sstevel@tonic-gate OP_QR, /* 32 */ 49*0Sstevel@tonic-gate OP_SUBST, /* 33 */ 50*0Sstevel@tonic-gate OP_SUBSTCONT, /* 34 */ 51*0Sstevel@tonic-gate OP_TRANS, /* 35 */ 52*0Sstevel@tonic-gate OP_SASSIGN, /* 36 */ 53*0Sstevel@tonic-gate OP_AASSIGN, /* 37 */ 54*0Sstevel@tonic-gate OP_CHOP, /* 38 */ 55*0Sstevel@tonic-gate OP_SCHOP, /* 39 */ 56*0Sstevel@tonic-gate OP_CHOMP, /* 40 */ 57*0Sstevel@tonic-gate OP_SCHOMP, /* 41 */ 58*0Sstevel@tonic-gate OP_DEFINED, /* 42 */ 59*0Sstevel@tonic-gate OP_UNDEF, /* 43 */ 60*0Sstevel@tonic-gate OP_STUDY, /* 44 */ 61*0Sstevel@tonic-gate OP_POS, /* 45 */ 62*0Sstevel@tonic-gate OP_PREINC, /* 46 */ 63*0Sstevel@tonic-gate OP_I_PREINC, /* 47 */ 64*0Sstevel@tonic-gate OP_PREDEC, /* 48 */ 65*0Sstevel@tonic-gate OP_I_PREDEC, /* 49 */ 66*0Sstevel@tonic-gate OP_POSTINC, /* 50 */ 67*0Sstevel@tonic-gate OP_I_POSTINC, /* 51 */ 68*0Sstevel@tonic-gate OP_POSTDEC, /* 52 */ 69*0Sstevel@tonic-gate OP_I_POSTDEC, /* 53 */ 70*0Sstevel@tonic-gate OP_POW, /* 54 */ 71*0Sstevel@tonic-gate OP_MULTIPLY, /* 55 */ 72*0Sstevel@tonic-gate OP_I_MULTIPLY, /* 56 */ 73*0Sstevel@tonic-gate OP_DIVIDE, /* 57 */ 74*0Sstevel@tonic-gate OP_I_DIVIDE, /* 58 */ 75*0Sstevel@tonic-gate OP_MODULO, /* 59 */ 76*0Sstevel@tonic-gate OP_I_MODULO, /* 60 */ 77*0Sstevel@tonic-gate OP_REPEAT, /* 61 */ 78*0Sstevel@tonic-gate OP_ADD, /* 62 */ 79*0Sstevel@tonic-gate OP_I_ADD, /* 63 */ 80*0Sstevel@tonic-gate OP_SUBTRACT, /* 64 */ 81*0Sstevel@tonic-gate OP_I_SUBTRACT, /* 65 */ 82*0Sstevel@tonic-gate OP_CONCAT, /* 66 */ 83*0Sstevel@tonic-gate OP_STRINGIFY, /* 67 */ 84*0Sstevel@tonic-gate OP_LEFT_SHIFT, /* 68 */ 85*0Sstevel@tonic-gate OP_RIGHT_SHIFT, /* 69 */ 86*0Sstevel@tonic-gate OP_LT, /* 70 */ 87*0Sstevel@tonic-gate OP_I_LT, /* 71 */ 88*0Sstevel@tonic-gate OP_GT, /* 72 */ 89*0Sstevel@tonic-gate OP_I_GT, /* 73 */ 90*0Sstevel@tonic-gate OP_LE, /* 74 */ 91*0Sstevel@tonic-gate OP_I_LE, /* 75 */ 92*0Sstevel@tonic-gate OP_GE, /* 76 */ 93*0Sstevel@tonic-gate OP_I_GE, /* 77 */ 94*0Sstevel@tonic-gate OP_EQ, /* 78 */ 95*0Sstevel@tonic-gate OP_I_EQ, /* 79 */ 96*0Sstevel@tonic-gate OP_NE, /* 80 */ 97*0Sstevel@tonic-gate OP_I_NE, /* 81 */ 98*0Sstevel@tonic-gate OP_NCMP, /* 82 */ 99*0Sstevel@tonic-gate OP_I_NCMP, /* 83 */ 100*0Sstevel@tonic-gate OP_SLT, /* 84 */ 101*0Sstevel@tonic-gate OP_SGT, /* 85 */ 102*0Sstevel@tonic-gate OP_SLE, /* 86 */ 103*0Sstevel@tonic-gate OP_SGE, /* 87 */ 104*0Sstevel@tonic-gate OP_SEQ, /* 88 */ 105*0Sstevel@tonic-gate OP_SNE, /* 89 */ 106*0Sstevel@tonic-gate OP_SCMP, /* 90 */ 107*0Sstevel@tonic-gate OP_BIT_AND, /* 91 */ 108*0Sstevel@tonic-gate OP_BIT_XOR, /* 92 */ 109*0Sstevel@tonic-gate OP_BIT_OR, /* 93 */ 110*0Sstevel@tonic-gate OP_NEGATE, /* 94 */ 111*0Sstevel@tonic-gate OP_I_NEGATE, /* 95 */ 112*0Sstevel@tonic-gate OP_NOT, /* 96 */ 113*0Sstevel@tonic-gate OP_COMPLEMENT, /* 97 */ 114*0Sstevel@tonic-gate OP_ATAN2, /* 98 */ 115*0Sstevel@tonic-gate OP_SIN, /* 99 */ 116*0Sstevel@tonic-gate OP_COS, /* 100 */ 117*0Sstevel@tonic-gate OP_RAND, /* 101 */ 118*0Sstevel@tonic-gate OP_SRAND, /* 102 */ 119*0Sstevel@tonic-gate OP_EXP, /* 103 */ 120*0Sstevel@tonic-gate OP_LOG, /* 104 */ 121*0Sstevel@tonic-gate OP_SQRT, /* 105 */ 122*0Sstevel@tonic-gate OP_INT, /* 106 */ 123*0Sstevel@tonic-gate OP_HEX, /* 107 */ 124*0Sstevel@tonic-gate OP_OCT, /* 108 */ 125*0Sstevel@tonic-gate OP_ABS, /* 109 */ 126*0Sstevel@tonic-gate OP_LENGTH, /* 110 */ 127*0Sstevel@tonic-gate OP_SUBSTR, /* 111 */ 128*0Sstevel@tonic-gate OP_VEC, /* 112 */ 129*0Sstevel@tonic-gate OP_INDEX, /* 113 */ 130*0Sstevel@tonic-gate OP_RINDEX, /* 114 */ 131*0Sstevel@tonic-gate OP_SPRINTF, /* 115 */ 132*0Sstevel@tonic-gate OP_FORMLINE, /* 116 */ 133*0Sstevel@tonic-gate OP_ORD, /* 117 */ 134*0Sstevel@tonic-gate OP_CHR, /* 118 */ 135*0Sstevel@tonic-gate OP_CRYPT, /* 119 */ 136*0Sstevel@tonic-gate OP_UCFIRST, /* 120 */ 137*0Sstevel@tonic-gate OP_LCFIRST, /* 121 */ 138*0Sstevel@tonic-gate OP_UC, /* 122 */ 139*0Sstevel@tonic-gate OP_LC, /* 123 */ 140*0Sstevel@tonic-gate OP_QUOTEMETA, /* 124 */ 141*0Sstevel@tonic-gate OP_RV2AV, /* 125 */ 142*0Sstevel@tonic-gate OP_AELEMFAST, /* 126 */ 143*0Sstevel@tonic-gate OP_AELEM, /* 127 */ 144*0Sstevel@tonic-gate OP_ASLICE, /* 128 */ 145*0Sstevel@tonic-gate OP_EACH, /* 129 */ 146*0Sstevel@tonic-gate OP_VALUES, /* 130 */ 147*0Sstevel@tonic-gate OP_KEYS, /* 131 */ 148*0Sstevel@tonic-gate OP_DELETE, /* 132 */ 149*0Sstevel@tonic-gate OP_EXISTS, /* 133 */ 150*0Sstevel@tonic-gate OP_RV2HV, /* 134 */ 151*0Sstevel@tonic-gate OP_HELEM, /* 135 */ 152*0Sstevel@tonic-gate OP_HSLICE, /* 136 */ 153*0Sstevel@tonic-gate OP_UNPACK, /* 137 */ 154*0Sstevel@tonic-gate OP_PACK, /* 138 */ 155*0Sstevel@tonic-gate OP_SPLIT, /* 139 */ 156*0Sstevel@tonic-gate OP_JOIN, /* 140 */ 157*0Sstevel@tonic-gate OP_LIST, /* 141 */ 158*0Sstevel@tonic-gate OP_LSLICE, /* 142 */ 159*0Sstevel@tonic-gate OP_ANONLIST, /* 143 */ 160*0Sstevel@tonic-gate OP_ANONHASH, /* 144 */ 161*0Sstevel@tonic-gate OP_SPLICE, /* 145 */ 162*0Sstevel@tonic-gate OP_PUSH, /* 146 */ 163*0Sstevel@tonic-gate OP_POP, /* 147 */ 164*0Sstevel@tonic-gate OP_SHIFT, /* 148 */ 165*0Sstevel@tonic-gate OP_UNSHIFT, /* 149 */ 166*0Sstevel@tonic-gate OP_SORT, /* 150 */ 167*0Sstevel@tonic-gate OP_REVERSE, /* 151 */ 168*0Sstevel@tonic-gate OP_GREPSTART, /* 152 */ 169*0Sstevel@tonic-gate OP_GREPWHILE, /* 153 */ 170*0Sstevel@tonic-gate OP_MAPSTART, /* 154 */ 171*0Sstevel@tonic-gate OP_MAPWHILE, /* 155 */ 172*0Sstevel@tonic-gate OP_RANGE, /* 156 */ 173*0Sstevel@tonic-gate OP_FLIP, /* 157 */ 174*0Sstevel@tonic-gate OP_FLOP, /* 158 */ 175*0Sstevel@tonic-gate OP_AND, /* 159 */ 176*0Sstevel@tonic-gate OP_OR, /* 160 */ 177*0Sstevel@tonic-gate OP_XOR, /* 161 */ 178*0Sstevel@tonic-gate OP_COND_EXPR, /* 162 */ 179*0Sstevel@tonic-gate OP_ANDASSIGN, /* 163 */ 180*0Sstevel@tonic-gate OP_ORASSIGN, /* 164 */ 181*0Sstevel@tonic-gate OP_METHOD, /* 165 */ 182*0Sstevel@tonic-gate OP_ENTERSUB, /* 166 */ 183*0Sstevel@tonic-gate OP_LEAVESUB, /* 167 */ 184*0Sstevel@tonic-gate OP_LEAVESUBLV, /* 168 */ 185*0Sstevel@tonic-gate OP_CALLER, /* 169 */ 186*0Sstevel@tonic-gate OP_WARN, /* 170 */ 187*0Sstevel@tonic-gate OP_DIE, /* 171 */ 188*0Sstevel@tonic-gate OP_RESET, /* 172 */ 189*0Sstevel@tonic-gate OP_LINESEQ, /* 173 */ 190*0Sstevel@tonic-gate OP_NEXTSTATE, /* 174 */ 191*0Sstevel@tonic-gate OP_DBSTATE, /* 175 */ 192*0Sstevel@tonic-gate OP_UNSTACK, /* 176 */ 193*0Sstevel@tonic-gate OP_ENTER, /* 177 */ 194*0Sstevel@tonic-gate OP_LEAVE, /* 178 */ 195*0Sstevel@tonic-gate OP_SCOPE, /* 179 */ 196*0Sstevel@tonic-gate OP_ENTERITER, /* 180 */ 197*0Sstevel@tonic-gate OP_ITER, /* 181 */ 198*0Sstevel@tonic-gate OP_ENTERLOOP, /* 182 */ 199*0Sstevel@tonic-gate OP_LEAVELOOP, /* 183 */ 200*0Sstevel@tonic-gate OP_RETURN, /* 184 */ 201*0Sstevel@tonic-gate OP_LAST, /* 185 */ 202*0Sstevel@tonic-gate OP_NEXT, /* 186 */ 203*0Sstevel@tonic-gate OP_REDO, /* 187 */ 204*0Sstevel@tonic-gate OP_DUMP, /* 188 */ 205*0Sstevel@tonic-gate OP_GOTO, /* 189 */ 206*0Sstevel@tonic-gate OP_EXIT, /* 190 */ 207*0Sstevel@tonic-gate OP_OPEN, /* 191 */ 208*0Sstevel@tonic-gate OP_CLOSE, /* 192 */ 209*0Sstevel@tonic-gate OP_PIPE_OP, /* 193 */ 210*0Sstevel@tonic-gate OP_FILENO, /* 194 */ 211*0Sstevel@tonic-gate OP_UMASK, /* 195 */ 212*0Sstevel@tonic-gate OP_BINMODE, /* 196 */ 213*0Sstevel@tonic-gate OP_TIE, /* 197 */ 214*0Sstevel@tonic-gate OP_UNTIE, /* 198 */ 215*0Sstevel@tonic-gate OP_TIED, /* 199 */ 216*0Sstevel@tonic-gate OP_DBMOPEN, /* 200 */ 217*0Sstevel@tonic-gate OP_DBMCLOSE, /* 201 */ 218*0Sstevel@tonic-gate OP_SSELECT, /* 202 */ 219*0Sstevel@tonic-gate OP_SELECT, /* 203 */ 220*0Sstevel@tonic-gate OP_GETC, /* 204 */ 221*0Sstevel@tonic-gate OP_READ, /* 205 */ 222*0Sstevel@tonic-gate OP_ENTERWRITE, /* 206 */ 223*0Sstevel@tonic-gate OP_LEAVEWRITE, /* 207 */ 224*0Sstevel@tonic-gate OP_PRTF, /* 208 */ 225*0Sstevel@tonic-gate OP_PRINT, /* 209 */ 226*0Sstevel@tonic-gate OP_SYSOPEN, /* 210 */ 227*0Sstevel@tonic-gate OP_SYSSEEK, /* 211 */ 228*0Sstevel@tonic-gate OP_SYSREAD, /* 212 */ 229*0Sstevel@tonic-gate OP_SYSWRITE, /* 213 */ 230*0Sstevel@tonic-gate OP_SEND, /* 214 */ 231*0Sstevel@tonic-gate OP_RECV, /* 215 */ 232*0Sstevel@tonic-gate OP_EOF, /* 216 */ 233*0Sstevel@tonic-gate OP_TELL, /* 217 */ 234*0Sstevel@tonic-gate OP_SEEK, /* 218 */ 235*0Sstevel@tonic-gate OP_TRUNCATE, /* 219 */ 236*0Sstevel@tonic-gate OP_FCNTL, /* 220 */ 237*0Sstevel@tonic-gate OP_IOCTL, /* 221 */ 238*0Sstevel@tonic-gate OP_FLOCK, /* 222 */ 239*0Sstevel@tonic-gate OP_SOCKET, /* 223 */ 240*0Sstevel@tonic-gate OP_SOCKPAIR, /* 224 */ 241*0Sstevel@tonic-gate OP_BIND, /* 225 */ 242*0Sstevel@tonic-gate OP_CONNECT, /* 226 */ 243*0Sstevel@tonic-gate OP_LISTEN, /* 227 */ 244*0Sstevel@tonic-gate OP_ACCEPT, /* 228 */ 245*0Sstevel@tonic-gate OP_SHUTDOWN, /* 229 */ 246*0Sstevel@tonic-gate OP_GSOCKOPT, /* 230 */ 247*0Sstevel@tonic-gate OP_SSOCKOPT, /* 231 */ 248*0Sstevel@tonic-gate OP_GETSOCKNAME, /* 232 */ 249*0Sstevel@tonic-gate OP_GETPEERNAME, /* 233 */ 250*0Sstevel@tonic-gate OP_LSTAT, /* 234 */ 251*0Sstevel@tonic-gate OP_STAT, /* 235 */ 252*0Sstevel@tonic-gate OP_FTRREAD, /* 236 */ 253*0Sstevel@tonic-gate OP_FTRWRITE, /* 237 */ 254*0Sstevel@tonic-gate OP_FTREXEC, /* 238 */ 255*0Sstevel@tonic-gate OP_FTEREAD, /* 239 */ 256*0Sstevel@tonic-gate OP_FTEWRITE, /* 240 */ 257*0Sstevel@tonic-gate OP_FTEEXEC, /* 241 */ 258*0Sstevel@tonic-gate OP_FTIS, /* 242 */ 259*0Sstevel@tonic-gate OP_FTEOWNED, /* 243 */ 260*0Sstevel@tonic-gate OP_FTROWNED, /* 244 */ 261*0Sstevel@tonic-gate OP_FTZERO, /* 245 */ 262*0Sstevel@tonic-gate OP_FTSIZE, /* 246 */ 263*0Sstevel@tonic-gate OP_FTMTIME, /* 247 */ 264*0Sstevel@tonic-gate OP_FTATIME, /* 248 */ 265*0Sstevel@tonic-gate OP_FTCTIME, /* 249 */ 266*0Sstevel@tonic-gate OP_FTSOCK, /* 250 */ 267*0Sstevel@tonic-gate OP_FTCHR, /* 251 */ 268*0Sstevel@tonic-gate OP_FTBLK, /* 252 */ 269*0Sstevel@tonic-gate OP_FTFILE, /* 253 */ 270*0Sstevel@tonic-gate OP_FTDIR, /* 254 */ 271*0Sstevel@tonic-gate OP_FTPIPE, /* 255 */ 272*0Sstevel@tonic-gate OP_FTLINK, /* 256 */ 273*0Sstevel@tonic-gate OP_FTSUID, /* 257 */ 274*0Sstevel@tonic-gate OP_FTSGID, /* 258 */ 275*0Sstevel@tonic-gate OP_FTSVTX, /* 259 */ 276*0Sstevel@tonic-gate OP_FTTTY, /* 260 */ 277*0Sstevel@tonic-gate OP_FTTEXT, /* 261 */ 278*0Sstevel@tonic-gate OP_FTBINARY, /* 262 */ 279*0Sstevel@tonic-gate OP_CHDIR, /* 263 */ 280*0Sstevel@tonic-gate OP_CHOWN, /* 264 */ 281*0Sstevel@tonic-gate OP_CHROOT, /* 265 */ 282*0Sstevel@tonic-gate OP_UNLINK, /* 266 */ 283*0Sstevel@tonic-gate OP_CHMOD, /* 267 */ 284*0Sstevel@tonic-gate OP_UTIME, /* 268 */ 285*0Sstevel@tonic-gate OP_RENAME, /* 269 */ 286*0Sstevel@tonic-gate OP_LINK, /* 270 */ 287*0Sstevel@tonic-gate OP_SYMLINK, /* 271 */ 288*0Sstevel@tonic-gate OP_READLINK, /* 272 */ 289*0Sstevel@tonic-gate OP_MKDIR, /* 273 */ 290*0Sstevel@tonic-gate OP_RMDIR, /* 274 */ 291*0Sstevel@tonic-gate OP_OPEN_DIR, /* 275 */ 292*0Sstevel@tonic-gate OP_READDIR, /* 276 */ 293*0Sstevel@tonic-gate OP_TELLDIR, /* 277 */ 294*0Sstevel@tonic-gate OP_SEEKDIR, /* 278 */ 295*0Sstevel@tonic-gate OP_REWINDDIR, /* 279 */ 296*0Sstevel@tonic-gate OP_CLOSEDIR, /* 280 */ 297*0Sstevel@tonic-gate OP_FORK, /* 281 */ 298*0Sstevel@tonic-gate OP_WAIT, /* 282 */ 299*0Sstevel@tonic-gate OP_WAITPID, /* 283 */ 300*0Sstevel@tonic-gate OP_SYSTEM, /* 284 */ 301*0Sstevel@tonic-gate OP_EXEC, /* 285 */ 302*0Sstevel@tonic-gate OP_KILL, /* 286 */ 303*0Sstevel@tonic-gate OP_GETPPID, /* 287 */ 304*0Sstevel@tonic-gate OP_GETPGRP, /* 288 */ 305*0Sstevel@tonic-gate OP_SETPGRP, /* 289 */ 306*0Sstevel@tonic-gate OP_GETPRIORITY, /* 290 */ 307*0Sstevel@tonic-gate OP_SETPRIORITY, /* 291 */ 308*0Sstevel@tonic-gate OP_TIME, /* 292 */ 309*0Sstevel@tonic-gate OP_TMS, /* 293 */ 310*0Sstevel@tonic-gate OP_LOCALTIME, /* 294 */ 311*0Sstevel@tonic-gate OP_GMTIME, /* 295 */ 312*0Sstevel@tonic-gate OP_ALARM, /* 296 */ 313*0Sstevel@tonic-gate OP_SLEEP, /* 297 */ 314*0Sstevel@tonic-gate OP_SHMGET, /* 298 */ 315*0Sstevel@tonic-gate OP_SHMCTL, /* 299 */ 316*0Sstevel@tonic-gate OP_SHMREAD, /* 300 */ 317*0Sstevel@tonic-gate OP_SHMWRITE, /* 301 */ 318*0Sstevel@tonic-gate OP_MSGGET, /* 302 */ 319*0Sstevel@tonic-gate OP_MSGCTL, /* 303 */ 320*0Sstevel@tonic-gate OP_MSGSND, /* 304 */ 321*0Sstevel@tonic-gate OP_MSGRCV, /* 305 */ 322*0Sstevel@tonic-gate OP_SEMGET, /* 306 */ 323*0Sstevel@tonic-gate OP_SEMCTL, /* 307 */ 324*0Sstevel@tonic-gate OP_SEMOP, /* 308 */ 325*0Sstevel@tonic-gate OP_REQUIRE, /* 309 */ 326*0Sstevel@tonic-gate OP_DOFILE, /* 310 */ 327*0Sstevel@tonic-gate OP_ENTEREVAL, /* 311 */ 328*0Sstevel@tonic-gate OP_LEAVEEVAL, /* 312 */ 329*0Sstevel@tonic-gate OP_ENTERTRY, /* 313 */ 330*0Sstevel@tonic-gate OP_LEAVETRY, /* 314 */ 331*0Sstevel@tonic-gate OP_GHBYNAME, /* 315 */ 332*0Sstevel@tonic-gate OP_GHBYADDR, /* 316 */ 333*0Sstevel@tonic-gate OP_GHOSTENT, /* 317 */ 334*0Sstevel@tonic-gate OP_GNBYNAME, /* 318 */ 335*0Sstevel@tonic-gate OP_GNBYADDR, /* 319 */ 336*0Sstevel@tonic-gate OP_GNETENT, /* 320 */ 337*0Sstevel@tonic-gate OP_GPBYNAME, /* 321 */ 338*0Sstevel@tonic-gate OP_GPBYNUMBER, /* 322 */ 339*0Sstevel@tonic-gate OP_GPROTOENT, /* 323 */ 340*0Sstevel@tonic-gate OP_GSBYNAME, /* 324 */ 341*0Sstevel@tonic-gate OP_GSBYPORT, /* 325 */ 342*0Sstevel@tonic-gate OP_GSERVENT, /* 326 */ 343*0Sstevel@tonic-gate OP_SHOSTENT, /* 327 */ 344*0Sstevel@tonic-gate OP_SNETENT, /* 328 */ 345*0Sstevel@tonic-gate OP_SPROTOENT, /* 329 */ 346*0Sstevel@tonic-gate OP_SSERVENT, /* 330 */ 347*0Sstevel@tonic-gate OP_EHOSTENT, /* 331 */ 348*0Sstevel@tonic-gate OP_ENETENT, /* 332 */ 349*0Sstevel@tonic-gate OP_EPROTOENT, /* 333 */ 350*0Sstevel@tonic-gate OP_ESERVENT, /* 334 */ 351*0Sstevel@tonic-gate OP_GPWNAM, /* 335 */ 352*0Sstevel@tonic-gate OP_GPWUID, /* 336 */ 353*0Sstevel@tonic-gate OP_GPWENT, /* 337 */ 354*0Sstevel@tonic-gate OP_SPWENT, /* 338 */ 355*0Sstevel@tonic-gate OP_EPWENT, /* 339 */ 356*0Sstevel@tonic-gate OP_GGRNAM, /* 340 */ 357*0Sstevel@tonic-gate OP_GGRGID, /* 341 */ 358*0Sstevel@tonic-gate OP_GGRENT, /* 342 */ 359*0Sstevel@tonic-gate OP_SGRENT, /* 343 */ 360*0Sstevel@tonic-gate OP_EGRENT, /* 344 */ 361*0Sstevel@tonic-gate OP_GETLOGIN, /* 345 */ 362*0Sstevel@tonic-gate OP_SYSCALL, /* 346 */ 363*0Sstevel@tonic-gate OP_LOCK, /* 347 */ 364*0Sstevel@tonic-gate OP_THREADSV, /* 348 */ 365*0Sstevel@tonic-gate OP_SETSTATE, /* 349 */ 366*0Sstevel@tonic-gate OP_METHOD_NAMED,/* 350 */ 367*0Sstevel@tonic-gate OP_CUSTOM, /* 351 */ 368*0Sstevel@tonic-gate OP_max 369*0Sstevel@tonic-gate } opcode; 370*0Sstevel@tonic-gate 371*0Sstevel@tonic-gate #define MAXO 352 372*0Sstevel@tonic-gate #define OP_phoney_INPUT_ONLY -1 373*0Sstevel@tonic-gate #define OP_phoney_OUTPUT_ONLY -2 374*0Sstevel@tonic-gate 375*0Sstevel@tonic-gate 376*0Sstevel@tonic-gate #define OP_IS_SOCKET(op) \ 377*0Sstevel@tonic-gate ((op) == OP_ACCEPT || \ 378*0Sstevel@tonic-gate (op) == OP_BIND || \ 379*0Sstevel@tonic-gate (op) == OP_CONNECT || \ 380*0Sstevel@tonic-gate (op) == OP_GETPEERNAME || \ 381*0Sstevel@tonic-gate (op) == OP_GETSOCKNAME || \ 382*0Sstevel@tonic-gate (op) == OP_GSOCKOPT || \ 383*0Sstevel@tonic-gate (op) == OP_LISTEN || \ 384*0Sstevel@tonic-gate (op) == OP_RECV || \ 385*0Sstevel@tonic-gate (op) == OP_SEND || \ 386*0Sstevel@tonic-gate (op) == OP_SHUTDOWN || \ 387*0Sstevel@tonic-gate (op) == OP_SOCKET || \ 388*0Sstevel@tonic-gate (op) == OP_SOCKPAIR || \ 389*0Sstevel@tonic-gate (op) == OP_SSOCKOPT) 390*0Sstevel@tonic-gate 391*0Sstevel@tonic-gate 392*0Sstevel@tonic-gate #define OP_IS_FILETEST(op) \ 393*0Sstevel@tonic-gate ((op) == OP_FTATIME || \ 394*0Sstevel@tonic-gate (op) == OP_FTBINARY || \ 395*0Sstevel@tonic-gate (op) == OP_FTBLK || \ 396*0Sstevel@tonic-gate (op) == OP_FTCHR || \ 397*0Sstevel@tonic-gate (op) == OP_FTCTIME || \ 398*0Sstevel@tonic-gate (op) == OP_FTDIR || \ 399*0Sstevel@tonic-gate (op) == OP_FTEEXEC || \ 400*0Sstevel@tonic-gate (op) == OP_FTEOWNED || \ 401*0Sstevel@tonic-gate (op) == OP_FTEREAD || \ 402*0Sstevel@tonic-gate (op) == OP_FTEWRITE || \ 403*0Sstevel@tonic-gate (op) == OP_FTFILE || \ 404*0Sstevel@tonic-gate (op) == OP_FTIS || \ 405*0Sstevel@tonic-gate (op) == OP_FTLINK || \ 406*0Sstevel@tonic-gate (op) == OP_FTMTIME || \ 407*0Sstevel@tonic-gate (op) == OP_FTPIPE || \ 408*0Sstevel@tonic-gate (op) == OP_FTREXEC || \ 409*0Sstevel@tonic-gate (op) == OP_FTROWNED || \ 410*0Sstevel@tonic-gate (op) == OP_FTRREAD || \ 411*0Sstevel@tonic-gate (op) == OP_FTRWRITE || \ 412*0Sstevel@tonic-gate (op) == OP_FTSGID || \ 413*0Sstevel@tonic-gate (op) == OP_FTSIZE || \ 414*0Sstevel@tonic-gate (op) == OP_FTSOCK || \ 415*0Sstevel@tonic-gate (op) == OP_FTSUID || \ 416*0Sstevel@tonic-gate (op) == OP_FTSVTX || \ 417*0Sstevel@tonic-gate (op) == OP_FTTEXT || \ 418*0Sstevel@tonic-gate (op) == OP_FTTTY || \ 419*0Sstevel@tonic-gate (op) == OP_FTZERO) 420*0Sstevel@tonic-gate 421