1*7836SJohn.Forte@Sun.COM %/* 2*7836SJohn.Forte@Sun.COM % * CDDL HEADER START 3*7836SJohn.Forte@Sun.COM % * 4*7836SJohn.Forte@Sun.COM % * The contents of this file are subject to the terms of the 5*7836SJohn.Forte@Sun.COM % * Common Development and Distribution License (the "License"). 6*7836SJohn.Forte@Sun.COM % * You may not use this file except in compliance with the License. 7*7836SJohn.Forte@Sun.COM % * 8*7836SJohn.Forte@Sun.COM % * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*7836SJohn.Forte@Sun.COM % * or http://www.opensolaris.org/os/licensing. 10*7836SJohn.Forte@Sun.COM % * See the License for the specific language governing permissions 11*7836SJohn.Forte@Sun.COM % * and limitations under the License. 12*7836SJohn.Forte@Sun.COM % * 13*7836SJohn.Forte@Sun.COM % * When distributing Covered Code, include this CDDL HEADER in each 14*7836SJohn.Forte@Sun.COM % * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*7836SJohn.Forte@Sun.COM % * If applicable, add the following below this CDDL HEADER, with the 16*7836SJohn.Forte@Sun.COM % * fields enclosed by brackets "[]" replaced with your own identifying 17*7836SJohn.Forte@Sun.COM % * information: Portions Copyright [yyyy] [name of copyright owner] 18*7836SJohn.Forte@Sun.COM % * 19*7836SJohn.Forte@Sun.COM % * CDDL HEADER END 20*7836SJohn.Forte@Sun.COM % */ 21*7836SJohn.Forte@Sun.COM % 22*7836SJohn.Forte@Sun.COM % 23*7836SJohn.Forte@Sun.COM %/* 24*7836SJohn.Forte@Sun.COM % * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 25*7836SJohn.Forte@Sun.COM % * Use is subject to license terms. 26*7836SJohn.Forte@Sun.COM % */ 27*7836SJohn.Forte@Sun.COM % 28*7836SJohn.Forte@Sun.COM %/* 29*7836SJohn.Forte@Sun.COM % * Auto generated from rdc_prot.x 30*7836SJohn.Forte@Sun.COM % */ 31*7836SJohn.Forte@Sun.COM % 32*7836SJohn.Forte@Sun.COM %/* 33*7836SJohn.Forte@Sun.COM % * Network Replicator RPC spec 34*7836SJohn.Forte@Sun.COM % */ 35*7836SJohn.Forte@Sun.COM 36*7836SJohn.Forte@Sun.COM % 37*7836SJohn.Forte@Sun.COM %/* 38*7836SJohn.Forte@Sun.COM % * We don't define netbuf in RPCL, since it would contain structure member 39*7836SJohn.Forte@Sun.COM % * names that would conflict with the definition of struct netbuf in 40*7836SJohn.Forte@Sun.COM % * <tiuser.h>. Instead we merely declare the XDR routine xdr_netbuf() here, 41*7836SJohn.Forte@Sun.COM % * and implement it ourselves in rpc/rpcb_prot.c. 42*7836SJohn.Forte@Sun.COM % */ 43*7836SJohn.Forte@Sun.COM %#define xdr_netbuf rdc_xdr_netbuf 44*7836SJohn.Forte@Sun.COM %#ifdef __cplusplus 45*7836SJohn.Forte@Sun.COM %extern "C" bool_t xdr_netbuf(XDR *, struct netbuf *); 46*7836SJohn.Forte@Sun.COM % 47*7836SJohn.Forte@Sun.COM %#elif __STDC__ 48*7836SJohn.Forte@Sun.COM %extern bool_t xdr_netbuf(XDR *, struct netbuf *); 49*7836SJohn.Forte@Sun.COM % 50*7836SJohn.Forte@Sun.COM %#else /* K&R C */ 51*7836SJohn.Forte@Sun.COM %bool_t xdr_netbuf(); 52*7836SJohn.Forte@Sun.COM % 53*7836SJohn.Forte@Sun.COM %#endif /* K&R C */ 54*7836SJohn.Forte@Sun.COM const RDC_PORT = 121; 55*7836SJohn.Forte@Sun.COM const RDC_MAXDATA = 32768; 56*7836SJohn.Forte@Sun.COM const RDC_MAXNAMLEN = 64; 57*7836SJohn.Forte@Sun.COM const RDC_BMAPBLKSIZE = 1024; 58*7836SJohn.Forte@Sun.COM const RDC_MAXADDR = 32; 59*7836SJohn.Forte@Sun.COM const RDC_MAXPENDQ = 64; 60*7836SJohn.Forte@Sun.COM 61*7836SJohn.Forte@Sun.COM %/* 62*7836SJohn.Forte@Sun.COM % * Use this to limit the size of the net_pendvec_t array 63*7836SJohn.Forte@Sun.COM % * to ~ 32k 64*7836SJohn.Forte@Sun.COM % */ 65*7836SJohn.Forte@Sun.COM const RDC_PENDQLIM = 1365; 66*7836SJohn.Forte@Sun.COM % 67*7836SJohn.Forte@Sun.COM %/* 68*7836SJohn.Forte@Sun.COM % * Error status 69*7836SJohn.Forte@Sun.COM % */ 70*7836SJohn.Forte@Sun.COM enum rdcstat { 71*7836SJohn.Forte@Sun.COM RDC_OK = 0, 72*7836SJohn.Forte@Sun.COM RDCERR_PERM = 1, 73*7836SJohn.Forte@Sun.COM RDCERR_NOENT = 2, 74*7836SJohn.Forte@Sun.COM RDCERR_NOMEM = 3 75*7836SJohn.Forte@Sun.COM }; 76*7836SJohn.Forte@Sun.COM 77*7836SJohn.Forte@Sun.COM % 78*7836SJohn.Forte@Sun.COM %/* 79*7836SJohn.Forte@Sun.COM %* Set state (V4) 80*7836SJohn.Forte@Sun.COM %*/ 81*7836SJohn.Forte@Sun.COM 82*7836SJohn.Forte@Sun.COM struct set_state4 { 83*7836SJohn.Forte@Sun.COM opaque netaddr[RDC_MAXADDR]; 84*7836SJohn.Forte@Sun.COM opaque rnetaddr[RDC_MAXADDR]; 85*7836SJohn.Forte@Sun.COM int netaddrlen; 86*7836SJohn.Forte@Sun.COM int rnetaddrlen; 87*7836SJohn.Forte@Sun.COM unsigned flag; 88*7836SJohn.Forte@Sun.COM opaque pfile[RDC_MAXNAMLEN]; 89*7836SJohn.Forte@Sun.COM opaque sfile[RDC_MAXNAMLEN]; 90*7836SJohn.Forte@Sun.COM }; 91*7836SJohn.Forte@Sun.COM 92*7836SJohn.Forte@Sun.COM const RDC_XDR_MAXNAMLEN = RDC_MAXNAMLEN; 93*7836SJohn.Forte@Sun.COM 94*7836SJohn.Forte@Sun.COM struct set_state { 95*7836SJohn.Forte@Sun.COM struct netbuf netaddr; 96*7836SJohn.Forte@Sun.COM struct netbuf rnetaddr; 97*7836SJohn.Forte@Sun.COM int netaddrlen; 98*7836SJohn.Forte@Sun.COM int rnetaddrlen; 99*7836SJohn.Forte@Sun.COM unsigned flag; 100*7836SJohn.Forte@Sun.COM string pfile<RDC_XDR_MAXNAMLEN>; 101*7836SJohn.Forte@Sun.COM string sfile<RDC_XDR_MAXNAMLEN>; 102*7836SJohn.Forte@Sun.COM }; 103*7836SJohn.Forte@Sun.COM 104*7836SJohn.Forte@Sun.COM % 105*7836SJohn.Forte@Sun.COM %/* 106*7836SJohn.Forte@Sun.COM % * Get size of volume 107*7836SJohn.Forte@Sun.COM % */ 108*7836SJohn.Forte@Sun.COM struct getsize { 109*7836SJohn.Forte@Sun.COM int cd; 110*7836SJohn.Forte@Sun.COM }; 111*7836SJohn.Forte@Sun.COM 112*7836SJohn.Forte@Sun.COM % 113*7836SJohn.Forte@Sun.COM %/* 114*7836SJohn.Forte@Sun.COM % * Remote read (v5) 115*7836SJohn.Forte@Sun.COM % */ 116*7836SJohn.Forte@Sun.COM struct rread { 117*7836SJohn.Forte@Sun.COM int cd; 118*7836SJohn.Forte@Sun.COM int len; 119*7836SJohn.Forte@Sun.COM int pos; 120*7836SJohn.Forte@Sun.COM int idx; 121*7836SJohn.Forte@Sun.COM int flag; 122*7836SJohn.Forte@Sun.COM }; 123*7836SJohn.Forte@Sun.COM 124*7836SJohn.Forte@Sun.COM % 125*7836SJohn.Forte@Sun.COM %/* 126*7836SJohn.Forte@Sun.COM % * Remote read (v6) 127*7836SJohn.Forte@Sun.COM % */ 128*7836SJohn.Forte@Sun.COM struct rread6 { 129*7836SJohn.Forte@Sun.COM int cd; 130*7836SJohn.Forte@Sun.COM int len; 131*7836SJohn.Forte@Sun.COM u_longlong_t pos; 132*7836SJohn.Forte@Sun.COM int idx; 133*7836SJohn.Forte@Sun.COM int flag; 134*7836SJohn.Forte@Sun.COM }; 135*7836SJohn.Forte@Sun.COM 136*7836SJohn.Forte@Sun.COM % 137*7836SJohn.Forte@Sun.COM %/* 138*7836SJohn.Forte@Sun.COM % * status OK from remote read 139*7836SJohn.Forte@Sun.COM % */ 140*7836SJohn.Forte@Sun.COM struct readok { 141*7836SJohn.Forte@Sun.COM opaque data<RDC_MAXDATA>; 142*7836SJohn.Forte@Sun.COM }; 143*7836SJohn.Forte@Sun.COM union readres switch (rdcstat status) { 144*7836SJohn.Forte@Sun.COM case RDC_OK: 145*7836SJohn.Forte@Sun.COM readok reply; 146*7836SJohn.Forte@Sun.COM default: 147*7836SJohn.Forte@Sun.COM void; 148*7836SJohn.Forte@Sun.COM }; 149*7836SJohn.Forte@Sun.COM 150*7836SJohn.Forte@Sun.COM % 151*7836SJohn.Forte@Sun.COM %/* 152*7836SJohn.Forte@Sun.COM % * Initiate bit map scoreboard transfer (v5) 153*7836SJohn.Forte@Sun.COM % */ 154*7836SJohn.Forte@Sun.COM struct bmap { 155*7836SJohn.Forte@Sun.COM int cd; 156*7836SJohn.Forte@Sun.COM int dual; 157*7836SJohn.Forte@Sun.COM int size; 158*7836SJohn.Forte@Sun.COM }; 159*7836SJohn.Forte@Sun.COM 160*7836SJohn.Forte@Sun.COM % 161*7836SJohn.Forte@Sun.COM %/* 162*7836SJohn.Forte@Sun.COM % * Initiate bit map scoreboard transfer (v6) 163*7836SJohn.Forte@Sun.COM % */ 164*7836SJohn.Forte@Sun.COM struct bmap6 { 165*7836SJohn.Forte@Sun.COM int cd; 166*7836SJohn.Forte@Sun.COM int dual; 167*7836SJohn.Forte@Sun.COM u_longlong_t size; 168*7836SJohn.Forte@Sun.COM }; 169*7836SJohn.Forte@Sun.COM 170*7836SJohn.Forte@Sun.COM % 171*7836SJohn.Forte@Sun.COM %/* 172*7836SJohn.Forte@Sun.COM % * Scoreboard bitmap data (v5) 173*7836SJohn.Forte@Sun.COM % */ 174*7836SJohn.Forte@Sun.COM struct net_bdata { 175*7836SJohn.Forte@Sun.COM int cd; 176*7836SJohn.Forte@Sun.COM int offset; 177*7836SJohn.Forte@Sun.COM int size; 178*7836SJohn.Forte@Sun.COM opaque data<RDC_BMAPBLKSIZE>; 179*7836SJohn.Forte@Sun.COM }; 180*7836SJohn.Forte@Sun.COM 181*7836SJohn.Forte@Sun.COM % 182*7836SJohn.Forte@Sun.COM %/* 183*7836SJohn.Forte@Sun.COM % * Scoreboard bitmap data (v6) 184*7836SJohn.Forte@Sun.COM % */ 185*7836SJohn.Forte@Sun.COM struct net_bdata6 { 186*7836SJohn.Forte@Sun.COM u_longlong_t offset; 187*7836SJohn.Forte@Sun.COM int size; 188*7836SJohn.Forte@Sun.COM int cd; 189*7836SJohn.Forte@Sun.COM int endoblk; 190*7836SJohn.Forte@Sun.COM opaque data<RDC_BMAPBLKSIZE>; 191*7836SJohn.Forte@Sun.COM }; 192*7836SJohn.Forte@Sun.COM 193*7836SJohn.Forte@Sun.COM % 194*7836SJohn.Forte@Sun.COM %/* 195*7836SJohn.Forte@Sun.COM % * Data transfer and allocation (v5) 196*7836SJohn.Forte@Sun.COM % */ 197*7836SJohn.Forte@Sun.COM struct net_data5 { 198*7836SJohn.Forte@Sun.COM int local_cd; 199*7836SJohn.Forte@Sun.COM int cd; 200*7836SJohn.Forte@Sun.COM int pos; 201*7836SJohn.Forte@Sun.COM int len; 202*7836SJohn.Forte@Sun.COM int flag; 203*7836SJohn.Forte@Sun.COM int idx; 204*7836SJohn.Forte@Sun.COM int seq; 205*7836SJohn.Forte@Sun.COM int sfba; 206*7836SJohn.Forte@Sun.COM int endoblk; 207*7836SJohn.Forte@Sun.COM int nfba; 208*7836SJohn.Forte@Sun.COM opaque data<RDC_MAXDATA>; 209*7836SJohn.Forte@Sun.COM }; 210*7836SJohn.Forte@Sun.COM 211*7836SJohn.Forte@Sun.COM % 212*7836SJohn.Forte@Sun.COM %/* 213*7836SJohn.Forte@Sun.COM % * Data transfer and allocation (v6) 214*7836SJohn.Forte@Sun.COM % */ 215*7836SJohn.Forte@Sun.COM struct net_data6 { 216*7836SJohn.Forte@Sun.COM int local_cd; 217*7836SJohn.Forte@Sun.COM int cd; 218*7836SJohn.Forte@Sun.COM u_longlong_t pos; 219*7836SJohn.Forte@Sun.COM u_longlong_t qpos; 220*7836SJohn.Forte@Sun.COM u_longlong_t sfba; 221*7836SJohn.Forte@Sun.COM int nfba; 222*7836SJohn.Forte@Sun.COM int len; 223*7836SJohn.Forte@Sun.COM int flag; 224*7836SJohn.Forte@Sun.COM int idx; 225*7836SJohn.Forte@Sun.COM unsigned int seq; 226*7836SJohn.Forte@Sun.COM int endoblk; 227*7836SJohn.Forte@Sun.COM opaque data<RDC_MAXDATA>; 228*7836SJohn.Forte@Sun.COM }; 229*7836SJohn.Forte@Sun.COM 230*7836SJohn.Forte@Sun.COM 231*7836SJohn.Forte@Sun.COM struct net_pendvec { 232*7836SJohn.Forte@Sun.COM u_longlong_t apos; 233*7836SJohn.Forte@Sun.COM u_longlong_t qpos; 234*7836SJohn.Forte@Sun.COM int alen; 235*7836SJohn.Forte@Sun.COM unsigned int seq; 236*7836SJohn.Forte@Sun.COM int pindex; 237*7836SJohn.Forte@Sun.COM }; 238*7836SJohn.Forte@Sun.COM typedef net_pendvec net_pendvec_t; 239*7836SJohn.Forte@Sun.COM 240*7836SJohn.Forte@Sun.COM 241*7836SJohn.Forte@Sun.COM 242*7836SJohn.Forte@Sun.COM %/* 243*7836SJohn.Forte@Sun.COM % * results returned from a netwrite request. (v6) 244*7836SJohn.Forte@Sun.COM % * index = index number of request assigned by server when 245*7836SJohn.Forte@Sun.COM % * requests is broken down into smaller chunks. 246*7836SJohn.Forte@Sun.COM % * result = 0 request ok. 247*7836SJohn.Forte@Sun.COM % * result = 1 request is pending. 248*7836SJohn.Forte@Sun.COM % * result < 0 failure, set with -errno. 249*7836SJohn.Forte@Sun.COM % * If the vecdata array is not empty, then it contains 250*7836SJohn.Forte@Sun.COM % * a list of apos and alen 251*7836SJohn.Forte@Sun.COM % * pairs of previously pending requests that have been written. 252*7836SJohn.Forte@Sun.COM % */ 253*7836SJohn.Forte@Sun.COM struct netwriteres { 254*7836SJohn.Forte@Sun.COM int index; 255*7836SJohn.Forte@Sun.COM int result; 256*7836SJohn.Forte@Sun.COM unsigned int seq; 257*7836SJohn.Forte@Sun.COM net_pendvec_t vecdata<RDC_PENDQLIM>; 258*7836SJohn.Forte@Sun.COM }; 259*7836SJohn.Forte@Sun.COM 260*7836SJohn.Forte@Sun.COM 261*7836SJohn.Forte@Sun.COM 262*7836SJohn.Forte@Sun.COM % 263*7836SJohn.Forte@Sun.COM %/* 264*7836SJohn.Forte@Sun.COM % * Ping 265*7836SJohn.Forte@Sun.COM % */ 266*7836SJohn.Forte@Sun.COM struct rdc_ping6 { 267*7836SJohn.Forte@Sun.COM opaque p_ifaddr[RDC_MAXADDR]; 268*7836SJohn.Forte@Sun.COM opaque s_ifaddr[RDC_MAXADDR]; 269*7836SJohn.Forte@Sun.COM }; 270*7836SJohn.Forte@Sun.COM 271*7836SJohn.Forte@Sun.COM struct rdc_ping { 272*7836SJohn.Forte@Sun.COM struct netbuf p_ifaddr; 273*7836SJohn.Forte@Sun.COM struct netbuf s_ifaddr; 274*7836SJohn.Forte@Sun.COM }; 275*7836SJohn.Forte@Sun.COM 276*7836SJohn.Forte@Sun.COM 277*7836SJohn.Forte@Sun.COM /* 278*7836SJohn.Forte@Sun.COM * Remote file service routines 279*7836SJohn.Forte@Sun.COM */ 280*7836SJohn.Forte@Sun.COM 281*7836SJohn.Forte@Sun.COM program RDC_PROGRAM { 282*7836SJohn.Forte@Sun.COM 283*7836SJohn.Forte@Sun.COM /* 284*7836SJohn.Forte@Sun.COM * This is protocol version 5 that shipped with SNDR 3.1 285*7836SJohn.Forte@Sun.COM * We must support this protocol until (protocol 286*7836SJohn.Forte@Sun.COM * version 7) is released. 287*7836SJohn.Forte@Sun.COM * I.e. N-1 protocol support. 288*7836SJohn.Forte@Sun.COM */ 289*7836SJohn.Forte@Sun.COM 290*7836SJohn.Forte@Sun.COM version RDC_VERSION5 { 291*7836SJohn.Forte@Sun.COM 292*7836SJohn.Forte@Sun.COM void 293*7836SJohn.Forte@Sun.COM RDCPROC_NULL(void) = 0; 294*7836SJohn.Forte@Sun.COM 295*7836SJohn.Forte@Sun.COM int 296*7836SJohn.Forte@Sun.COM RDCPROC_GETSIZE(int) = 2; 297*7836SJohn.Forte@Sun.COM 298*7836SJohn.Forte@Sun.COM int 299*7836SJohn.Forte@Sun.COM RDCPROC_WRITE5(net_data5) = 4; 300*7836SJohn.Forte@Sun.COM 301*7836SJohn.Forte@Sun.COM readres 302*7836SJohn.Forte@Sun.COM RDCPROC_READ5(rread) = 5; 303*7836SJohn.Forte@Sun.COM 304*7836SJohn.Forte@Sun.COM int 305*7836SJohn.Forte@Sun.COM RDCPROC_STATE(set_state4) = 7; 306*7836SJohn.Forte@Sun.COM 307*7836SJohn.Forte@Sun.COM int 308*7836SJohn.Forte@Sun.COM RDCPROC_PING4(rdc_ping6) = 8; 309*7836SJohn.Forte@Sun.COM 310*7836SJohn.Forte@Sun.COM int 311*7836SJohn.Forte@Sun.COM RDCPROC_BMAP(net_bmap) = 9; 312*7836SJohn.Forte@Sun.COM 313*7836SJohn.Forte@Sun.COM int 314*7836SJohn.Forte@Sun.COM RDCPROC_BDATA(net_bdata) = 10; 315*7836SJohn.Forte@Sun.COM 316*7836SJohn.Forte@Sun.COM int 317*7836SJohn.Forte@Sun.COM RDCPROC_GETSTATE4(set_state4) = 12; 318*7836SJohn.Forte@Sun.COM } = 5; 319*7836SJohn.Forte@Sun.COM 320*7836SJohn.Forte@Sun.COM /* 321*7836SJohn.Forte@Sun.COM * This is protocol version 6 that shipped with SNDR 3.2 322*7836SJohn.Forte@Sun.COM * We must support this protocol until (protocol 323*7836SJohn.Forte@Sun.COM * version 8) is released. 324*7836SJohn.Forte@Sun.COM * I.e. N-1 protocol support. 325*7836SJohn.Forte@Sun.COM * 326*7836SJohn.Forte@Sun.COM * Changed to support multiple transmitting async threads 327*7836SJohn.Forte@Sun.COM * (sequence numbers and write reply structure) 328*7836SJohn.Forte@Sun.COM * and 64bit datapath. 329*7836SJohn.Forte@Sun.COM */ 330*7836SJohn.Forte@Sun.COM 331*7836SJohn.Forte@Sun.COM version RDC_VERSION6 { 332*7836SJohn.Forte@Sun.COM 333*7836SJohn.Forte@Sun.COM void 334*7836SJohn.Forte@Sun.COM RDCPROC_NULL(void) = 0; 335*7836SJohn.Forte@Sun.COM 336*7836SJohn.Forte@Sun.COM u_longlong_t 337*7836SJohn.Forte@Sun.COM RDCPROC_GETSIZE6(int) = 2; 338*7836SJohn.Forte@Sun.COM 339*7836SJohn.Forte@Sun.COM netwriteres 340*7836SJohn.Forte@Sun.COM RDCPROC_WRITE6(net_data6) = 4; 341*7836SJohn.Forte@Sun.COM 342*7836SJohn.Forte@Sun.COM readres 343*7836SJohn.Forte@Sun.COM RDCPROC_READ6(rread6) = 5; 344*7836SJohn.Forte@Sun.COM 345*7836SJohn.Forte@Sun.COM int 346*7836SJohn.Forte@Sun.COM RDCPROC_STATE(set_state4) = 7; 347*7836SJohn.Forte@Sun.COM 348*7836SJohn.Forte@Sun.COM int 349*7836SJohn.Forte@Sun.COM RDCPROC_PING4(rdc_ping6) = 8; 350*7836SJohn.Forte@Sun.COM 351*7836SJohn.Forte@Sun.COM int 352*7836SJohn.Forte@Sun.COM RDCPROC_BMAP6(net_bmap6) = 9; 353*7836SJohn.Forte@Sun.COM 354*7836SJohn.Forte@Sun.COM int 355*7836SJohn.Forte@Sun.COM RDCPROC_BDATA6(net_bdata6) = 10; 356*7836SJohn.Forte@Sun.COM 357*7836SJohn.Forte@Sun.COM int 358*7836SJohn.Forte@Sun.COM RDCPROC_GETSTATE4(set_state4) = 12; 359*7836SJohn.Forte@Sun.COM } = 6; 360*7836SJohn.Forte@Sun.COM 361*7836SJohn.Forte@Sun.COM version RDC_VERSION7 { 362*7836SJohn.Forte@Sun.COM 363*7836SJohn.Forte@Sun.COM void 364*7836SJohn.Forte@Sun.COM RDCPROC_NULL(void) = 0; 365*7836SJohn.Forte@Sun.COM 366*7836SJohn.Forte@Sun.COM u_longlong_t 367*7836SJohn.Forte@Sun.COM RDCPROC_GETSIZE6(int) = 2; 368*7836SJohn.Forte@Sun.COM 369*7836SJohn.Forte@Sun.COM netwriteres 370*7836SJohn.Forte@Sun.COM RDCPROC_WRITE6(net_data6) = 4; 371*7836SJohn.Forte@Sun.COM 372*7836SJohn.Forte@Sun.COM readres 373*7836SJohn.Forte@Sun.COM RDCPROC_READ6(rread6) = 5; 374*7836SJohn.Forte@Sun.COM 375*7836SJohn.Forte@Sun.COM int 376*7836SJohn.Forte@Sun.COM RDCPROC_STATE(set_state) = 7; 377*7836SJohn.Forte@Sun.COM 378*7836SJohn.Forte@Sun.COM int 379*7836SJohn.Forte@Sun.COM RDCPROC_PING4(rdc_ping) = 8; 380*7836SJohn.Forte@Sun.COM 381*7836SJohn.Forte@Sun.COM int 382*7836SJohn.Forte@Sun.COM RDCPROC_BMAP6(net_bmap6) = 9; 383*7836SJohn.Forte@Sun.COM 384*7836SJohn.Forte@Sun.COM int 385*7836SJohn.Forte@Sun.COM RDCPROC_BDATA6(net_bdata6) = 10; 386*7836SJohn.Forte@Sun.COM 387*7836SJohn.Forte@Sun.COM int 388*7836SJohn.Forte@Sun.COM RDCPROC_GETSTATE4(set_state) = 12; 389*7836SJohn.Forte@Sun.COM } = 7; 390*7836SJohn.Forte@Sun.COM 391*7836SJohn.Forte@Sun.COM } = 100143; 392