56 #define __attribute__(x)
70 #define kXR_PROTOCOLVERSION 0x00000500
71 #define kXR_PROTXATTVERSION 0x00000500
72 #define kXR_PROTTLSVERSION 0x00000500
73 #define kXR_PROTSIGNVERSION 0x00000310
74 #define kXR_PROTOCOLVSTRING "5.0.0"
307 static char*
NVecRead(
char* buffer,
char *&name );
1070 #define kXR_secOData 0x01
1071 #define kXR_secOFrce 0x02
1075 #define kXR_secNone 0
1076 #define kXR_secCompatible 1
1077 #define kXR_secStandard 2
1078 #define kXR_secIntense 3
1079 #define kXR_secPedantic 4
1083 #define kXR_signIgnore 0
1084 #define kXR_signLikely 1
1085 #define kXR_signNeeded 2
1090 #define kXR_secver_0 0
1094 #define kXR_DataServer 1
1095 #define kXR_LBalServer 0
1100 #define kXR_isManager 0x00000002
1101 #define kXR_isServer 0x00000001
1102 #define kXR_attrMeta 0x00000100
1103 #define kXR_attrProxy 0x00000200
1104 #define kXR_attrSuper 0x00000400
1105 #define kXR_attrVirtRdr 0x00000800
1109 #define kXR_recoverWrts 0x00001000
1110 #define kXR_collapseRedir 0x00002000
1114 #define kXR_anongpf 0x00800000
1115 #define kXR_supgpf 0x00400000
1116 #define kXR_suppgrw 0x00200000
1117 #define kXR_supposc 0x00100000
1121 #define kXR_haveTLS 0x80000000
1122 #define kXR_gotoTLS 0x40000000
1123 #define kXR_tlsAny 0x1f000000
1124 #define kXR_tlsData 0x01000000
1125 #define kXR_tlsGPF 0x02000000
1126 #define kXR_tlsLogin 0x04000000
1127 #define kXR_tlsSess 0x08000000
1128 #define kXR_tlsTPC 0x10000000
1129 #define kXR_tlsGPFA 0x20000000
1142 #define kXR_ShortProtRespLen sizeof(ServerResponseBody_Protocol)-\
1143 sizeof(ServerResponseReqs_Protocol)
1269 #if !defined(ENOTBLK)
1272 #if !defined(ETXTBSY)
1275 #if !defined(ENOBUFS)
1278 #if !defined(ENETUNREACH)
1279 #define ENETUNREACH 114
1284 #define ENOATTR ENODATA
1288 #define EBADRQC EBADRPC
1304 {
if (rc < 0) rc = -rc;
1376 default:
return ENOMSG;
1419 #define kXR_maxReqRetry 10
static const int kXR_ckpRollback
Definition: XProtocol.hh:208
XActionCode
Definition: XProtocol.hh:905
@ kXR_asyncgo
Definition: XProtocol.hh:913
@ kXR_asyncwt
Definition: XProtocol.hh:910
@ kXR_asynunav
Definition: XProtocol.hh:912
@ kXR_asynresp
Definition: XProtocol.hh:914
@ kXR_asyncav
Definition: XProtocol.hh:911
@ kXR_asyncms
Definition: XProtocol.hh:908
@ kXR_asyncab
Definition: XProtocol.hh:906
@ kXR_asyncrd
Definition: XProtocol.hh:909
@ kXR_asyncdi
Definition: XProtocol.hh:907
XErrorCode
Definition: XProtocol.hh:965
@ kXR_ArgInvalid
Definition: XProtocol.hh:966
@ kXR_InvalidRequest
Definition: XProtocol.hh:972
@ kXR_ArgMissing
Definition: XProtocol.hh:967
@ kXR_fsReadOnly
Definition: XProtocol.hh:991
@ kXR_Impossible
Definition: XProtocol.hh:997
@ kXR_TLSRequired
Definition: XProtocol.hh:994
@ kXR_SigVerErr
Definition: XProtocol.hh:988
@ kXR_AttrNotFound
Definition: XProtocol.hh:993
@ kXR_ItExists
Definition: XProtocol.hh:984
@ kXR_AuthFailed
Definition: XProtocol.hh:996
@ kXR_NotAuthorized
Definition: XProtocol.hh:976
@ kXR_NotFound
Definition: XProtocol.hh:977
@ kXR_FileLocked
Definition: XProtocol.hh:969
@ kXR_ERRFENCE
Definition: XProtocol.hh:999
@ kXR_noErrorYet
Definition: XProtocol.hh:1000
@ kXR_ChkSumErr
Definition: XProtocol.hh:985
@ kXR_DecryptErr
Definition: XProtocol.hh:989
@ kXR_overQuota
Definition: XProtocol.hh:987
@ kXR_BadPayload
Definition: XProtocol.hh:992
@ kXR_NoSpace
Definition: XProtocol.hh:975
@ kXR_FileNotOpen
Definition: XProtocol.hh:970
@ kXR_isDirectory
Definition: XProtocol.hh:982
@ kXR_noReplicas
Definition: XProtocol.hh:995
@ kXR_inProgress
Definition: XProtocol.hh:986
@ kXR_NotFile
Definition: XProtocol.hh:981
@ kXR_Unsupported
Definition: XProtocol.hh:979
@ kXR_Cancelled
Definition: XProtocol.hh:983
@ kXR_Conflict
Definition: XProtocol.hh:998
@ kXR_ServerError
Definition: XProtocol.hh:978
@ kXR_Overloaded
Definition: XProtocol.hh:990
@ kXR_ArgTooLong
Definition: XProtocol.hh:968
@ kXR_noserver
Definition: XProtocol.hh:980
@ kXR_IOError
Definition: XProtocol.hh:973
@ kXR_FSError
Definition: XProtocol.hh:971
@ kXR_NoMemory
Definition: XProtocol.hh:974
xfaSubCode
Definition: XProtocol.hh:262
@ kXR_fattrDel
Definition: XProtocol.hh:263
@ kXR_fattrSet
Definition: XProtocol.hh:266
@ kXR_fattrList
Definition: XProtocol.hh:265
@ kXR_fattrGet
Definition: XProtocol.hh:264
@ kXR_fatrrMaxSC
Definition: XProtocol.hh:267
static const int kXR_ckpMinMax
Definition: XProtocol.hh:213
#define EAUTH
Definition: XProtocol.hh:1292
static const int kXR_ckpXeq
Definition: XProtocol.hh:209
#define ENOATTR
Definition: XProtocol.hh:1284
XOpenRequestOption
Definition: XProtocol.hh:438
@ kXR_open_wrto
Definition: XProtocol.hh:456
@ kXR_compress
Definition: XProtocol.hh:439
@ kXR_async
Definition: XProtocol.hh:445
@ kXR_delete
Definition: XProtocol.hh:440
@ kXR_prefname
Definition: XProtocol.hh:448
@ kXR_nowait
Definition: XProtocol.hh:454
@ kXR_open_read
Definition: XProtocol.hh:443
@ kXR_open_updt
Definition: XProtocol.hh:444
@ kXR_mkpath
Definition: XProtocol.hh:447
@ kXR_seqio
Definition: XProtocol.hh:455
@ kXR_replica
Definition: XProtocol.hh:452
@ kXR_posc
Definition: XProtocol.hh:453
@ kXR_refresh
Definition: XProtocol.hh:446
@ kXR_new
Definition: XProtocol.hh:442
@ kXR_force
Definition: XProtocol.hh:441
@ kXR_4dirlist
Definition: XProtocol.hh:451
@ kXR_open_apnd
Definition: XProtocol.hh:449
@ kXR_retstat
Definition: XProtocol.hh:450
XResponseType
Definition: XProtocol.hh:874
@ kXR_noResponsesYet
Definition: XProtocol.hh:884
@ kXR_waitresp
Definition: XProtocol.hh:882
@ kXR_redirect
Definition: XProtocol.hh:880
@ kXR_oksofar
Definition: XProtocol.hh:876
@ kXR_status
Definition: XProtocol.hh:883
@ kXR_ok
Definition: XProtocol.hh:875
@ kXR_authmore
Definition: XProtocol.hh:878
@ kXR_attn
Definition: XProtocol.hh:877
@ kXR_wait
Definition: XProtocol.hh:881
@ kXR_error
Definition: XProtocol.hh:879
XDirlistRequestOption
Definition: XProtocol.hh:231
@ kXR_dstat
Definition: XProtocol.hh:233
@ kXR_dcksm
Definition: XProtocol.hh:234
@ kXR_online
Definition: XProtocol.hh:232
XRequestTypes
Definition: XProtocol.hh:109
@ kXR_read
Definition: XProtocol.hh:124
@ kXR_open
Definition: XProtocol.hh:121
@ kXR_writev
Definition: XProtocol.hh:142
@ kXR_readv
Definition: XProtocol.hh:136
@ kXR_mkdir
Definition: XProtocol.hh:119
@ kXR_sync
Definition: XProtocol.hh:127
@ kXR_REQFENCE
Definition: XProtocol.hh:143
@ kXR_chmod
Definition: XProtocol.hh:113
@ kXR_bind
Definition: XProtocol.hh:135
@ kXR_dirlist
Definition: XProtocol.hh:115
@ kXR_sigver
Definition: XProtocol.hh:140
@ kXR_fattr
Definition: XProtocol.hh:131
@ kXR_rm
Definition: XProtocol.hh:125
@ kXR_query
Definition: XProtocol.hh:112
@ kXR_write
Definition: XProtocol.hh:130
@ kXR_gpfile
Definition: XProtocol.hh:116
@ kXR_login
Definition: XProtocol.hh:118
@ kXR_auth
Definition: XProtocol.hh:111
@ kXR_endsess
Definition: XProtocol.hh:134
@ kXR_set
Definition: XProtocol.hh:129
@ kXR_rmdir
Definition: XProtocol.hh:126
@ kXR_1stRequest
Definition: XProtocol.hh:110
@ kXR_statx
Definition: XProtocol.hh:133
@ kXR_truncate
Definition: XProtocol.hh:139
@ kXR_protocol
Definition: XProtocol.hh:117
@ kXR_mv
Definition: XProtocol.hh:120
@ kXR_ping
Definition: XProtocol.hh:122
@ kXR_stat
Definition: XProtocol.hh:128
@ kXR_pgread
Definition: XProtocol.hh:141
@ kXR_chkpoint
Definition: XProtocol.hh:123
@ kXR_locate
Definition: XProtocol.hh:138
@ kXR_close
Definition: XProtocol.hh:114
@ kXR_pgwrite
Definition: XProtocol.hh:137
@ kXR_prepare
Definition: XProtocol.hh:132
XSecVersion
Definition: XProtocol.hh:718
@ kXR_Ver_00
Definition: XProtocol.hh:719
xfaLimits
Definition: XProtocol.hh:272
@ kXR_faMaxVars
Definition: XProtocol.hh:273
@ kXR_faMaxVlen
Definition: XProtocol.hh:275
@ kXR_faMaxNlen
Definition: XProtocol.hh:274
XLoginCapVer
Definition: XProtocol.hh:362
@ kXR_vermask
Definition: XProtocol.hh:364
@ kXR_asyncap
Definition: XProtocol.hh:365
@ kXR_lcvnone
Definition: XProtocol.hh:363
static const int kXR_ckpCommit
Definition: XProtocol.hh:206
XStatRequestOption
Definition: XProtocol.hh:738
@ kXR_vfs
Definition: XProtocol.hh:739
XMkdirOptions
Definition: XProtocol.hh:395
@ kXR_mkdirpath
Definition: XProtocol.hh:397
@ kXR_mknone
Definition: XProtocol.hh:396
XPrepRequestOption
Definition: XProtocol.hh:564
@ kXR_wmode
Definition: XProtocol.hh:569
@ kXR_evict
Definition: XProtocol.hh:574
@ kXR_usetcp
Definition: XProtocol.hh:572
@ kXR_cancel
Definition: XProtocol.hh:565
@ kXR_fresh
Definition: XProtocol.hh:571
@ kXR_notify
Definition: XProtocol.hh:566
@ kXR_coloc
Definition: XProtocol.hh:570
@ kXR_stage
Definition: XProtocol.hh:568
@ kXR_noerrs
Definition: XProtocol.hh:567
static const int kXR_ckpQuery
Definition: XProtocol.hh:207
#define EBADRQC
Definition: XProtocol.hh:1288
XSecFlags
Definition: XProtocol.hh:713
@ kXR_nodata
Definition: XProtocol.hh:714
XOpenRequestMode
Definition: XProtocol.hh:426
@ kXR_gw
Definition: XProtocol.hh:431
@ kXR_ur
Definition: XProtocol.hh:427
@ kXR_uw
Definition: XProtocol.hh:428
@ kXR_gr
Definition: XProtocol.hh:430
@ kXR_ow
Definition: XProtocol.hh:434
@ kXR_gx
Definition: XProtocol.hh:432
@ kXR_or
Definition: XProtocol.hh:433
@ kXR_ox
Definition: XProtocol.hh:435
@ kXR_ux
Definition: XProtocol.hh:429
XStatRespFlags
Definition: XProtocol.hh:1160
@ kXR_readable
Definition: XProtocol.hh:1166
@ kXR_file
Definition: XProtocol.hh:1161
@ kXR_isDir
Definition: XProtocol.hh:1163
@ kXR_offline
Definition: XProtocol.hh:1165
@ kXR_bkpexist
Definition: XProtocol.hh:1169
@ kXR_other
Definition: XProtocol.hh:1164
@ kXR_poscpend
Definition: XProtocol.hh:1168
@ kXR_writable
Definition: XProtocol.hh:1167
@ kXR_xset
Definition: XProtocol.hh:1162
XQueryType
Definition: XProtocol.hh:592
@ kXR_QPrep
Definition: XProtocol.hh:594
@ kXR_Qopaqug
Definition: XProtocol.hh:603
@ kXR_Qconfig
Definition: XProtocol.hh:599
@ kXR_Qopaquf
Definition: XProtocol.hh:602
@ kXR_Qckscan
Definition: XProtocol.hh:598
@ kXR_Qxattr
Definition: XProtocol.hh:596
@ kXR_Qspace
Definition: XProtocol.hh:597
@ kXR_Qvisa
Definition: XProtocol.hh:600
@ kXR_QStats
Definition: XProtocol.hh:593
@ kXR_Qcksum
Definition: XProtocol.hh:595
@ kXR_Qopaque
Definition: XProtocol.hh:601
XLoginVersion
Definition: XProtocol.hh:370
@ kXR_ver005
Definition: XProtocol.hh:376
@ kXR_ver001
Definition: XProtocol.hh:372
@ kXR_ver003
Definition: XProtocol.hh:374
@ kXR_ver000
Definition: XProtocol.hh:371
@ kXR_ver004
Definition: XProtocol.hh:375
@ kXR_ver002
Definition: XProtocol.hh:373
XLoginAbility
Definition: XProtocol.hh:349
@ kXR_readrdok
Definition: XProtocol.hh:353
@ kXR_fullurl
Definition: XProtocol.hh:351
@ kXR_onlyprv4
Definition: XProtocol.hh:355
@ kXR_lclfile
Definition: XProtocol.hh:357
@ kXR_multipr
Definition: XProtocol.hh:352
@ kXR_nothing
Definition: XProtocol.hh:350
@ kXR_redirflags
Definition: XProtocol.hh:358
@ kXR_hasipv64
Definition: XProtocol.hh:354
@ kXR_onlyprv6
Definition: XProtocol.hh:356
XSecCrypto
Definition: XProtocol.hh:706
@ kXR_SHA256
Definition: XProtocol.hh:707
@ kXR_HashMask
Definition: XProtocol.hh:708
@ kXR_rsaKey
Definition: XProtocol.hh:709
static const int kXR_ckpBegin
Definition: XProtocol.hh:205
unsigned long long kXR_unt64
Definition: XPtypes.hh:99
long long kXR_int64
Definition: XPtypes.hh:98
int kXR_int32
Definition: XPtypes.hh:89
unsigned int kXR_unt32
Definition: XPtypes.hh:90
short kXR_int16
Definition: XPtypes.hh:66
unsigned short kXR_unt16
Definition: XPtypes.hh:67
unsigned char kXR_char
Definition: XPtypes.hh:65
#define close(a)
Definition: XrdPosix.hh:43
#define rmdir(a)
Definition: XrdPosix.hh:92
#define write(a, b, c)
Definition: XrdPosix.hh:110
#define mkdir(a, b)
Definition: XrdPosix.hh:69
#define open
Definition: XrdPosix.hh:71
#define writev(a, b, c)
Definition: XrdPosix.hh:112
#define readv(a, b, c)
Definition: XrdPosix.hh:79
#define stat(a, b)
Definition: XrdPosix.hh:96
#define truncate(a, b)
Definition: XrdPosix.hh:106
#define read(a, b, c)
Definition: XrdPosix.hh:77
Definition: XProtocol.hh:1298
static int toErrno(int xerr)
Definition: XProtocol.hh:1340
static const char * errName(kXR_int32 errCode)
XReqErrorType
Definition: XProtocol.hh:1407
@ kGENERICERR
Definition: XProtocol.hh:1408
@ kWRITE
Definition: XProtocol.hh:1410
@ kREAD
Definition: XProtocol.hh:1409
@ kREDIRCONNECT
Definition: XProtocol.hh:1411
@ kOK
Definition: XProtocol.hh:1412
@ kNOMORESTREAMS
Definition: XProtocol.hh:1413
kXR_int32 ServerResponseType
Definition: XProtocol.hh:1417
static int mapError(int rc)
Definition: XProtocol.hh:1303
static const char * reqName(kXR_unt16 reqCode)
Definition: XProtocol.hh:475
static const int kXR_pgUnitSZ
Definition: XProtocol.hh:477
static const int kXR_statusBodyLen
Definition: XProtocol.hh:1198
static const int kXR_pgPageSZ
Definition: XProtocol.hh:476
static const int wlItemLen
Definition: XProtocol.hh:812
RespType
Definition: XProtocol.hh:1189
@ kXR_ProgressInfo
Definition: XProtocol.hh:1193
@ kXR_PartialResult
Definition: XProtocol.hh:1192
@ kXR_FinalResult
Definition: XProtocol.hh:1191
static const int maxRvecln
Definition: XProtocol.hh:663
static const int maxRvecsz
Definition: XProtocol.hh:664
static const kXR_char kXR_AnyPath
Definition: XProtocol.hh:481
static const int maxWvecsz
Definition: XProtocol.hh:814
static const int maxWvecln
Definition: XProtocol.hh:813
static const int rlItemLen
Definition: XProtocol.hh:662
static const int kXR_pgRetry
Definition: XProtocol.hh:482
Definition: XProtocol.hh:1259
char chkszreq[25-sizeof(ClientRequest)]
Definition: XProtocol.hh:1259
char chkszrsp[9-sizeof(ServerResponseHeader)]
Definition: XProtocol.hh:1260
Definition: XProtocol.hh:159
kXR_int32 dlen
Definition: XProtocol.hh:164
kXR_char streamid[2]
Definition: XProtocol.hh:160
kXR_char credtype[4]
Definition: XProtocol.hh:163
kXR_char reserved[12]
Definition: XProtocol.hh:162
kXR_unt16 requestid
Definition: XProtocol.hh:161
Definition: XProtocol.hh:171
kXR_int32 dlen
Definition: XProtocol.hh:175
kXR_char streamid[2]
Definition: XProtocol.hh:172
kXR_char sessid[16]
Definition: XProtocol.hh:174
kXR_unt16 requestid
Definition: XProtocol.hh:173
Definition: XProtocol.hh:194
kXR_unt16 requestid
Definition: XProtocol.hh:196
kXR_char streamid[2]
Definition: XProtocol.hh:195
kXR_char opcode
Definition: XProtocol.hh:199
kXR_int32 dlen
Definition: XProtocol.hh:200
kXR_char fhandle[4]
Definition: XProtocol.hh:197
kXR_char reserved[11]
Definition: XProtocol.hh:198
Definition: XProtocol.hh:182
kXR_unt16 mode
Definition: XProtocol.hh:186
kXR_char reserved[14]
Definition: XProtocol.hh:185
kXR_int32 dlen
Definition: XProtocol.hh:187
kXR_unt16 requestid
Definition: XProtocol.hh:184
kXR_char streamid[2]
Definition: XProtocol.hh:183
Definition: XProtocol.hh:219
kXR_char reserved[12]
Definition: XProtocol.hh:223
kXR_unt16 requestid
Definition: XProtocol.hh:221
kXR_char streamid[2]
Definition: XProtocol.hh:220
kXR_int32 dlen
Definition: XProtocol.hh:224
kXR_char fhandle[4]
Definition: XProtocol.hh:222
Definition: XProtocol.hh:237
kXR_char options[1]
Definition: XProtocol.hh:241
kXR_unt16 requestid
Definition: XProtocol.hh:239
kXR_char streamid[2]
Definition: XProtocol.hh:238
kXR_char reserved[15]
Definition: XProtocol.hh:240
kXR_int32 dlen
Definition: XProtocol.hh:242
Definition: XProtocol.hh:249
kXR_unt16 requestid
Definition: XProtocol.hh:251
kXR_char sessid[16]
Definition: XProtocol.hh:252
kXR_int32 dlen
Definition: XProtocol.hh:253
kXR_char streamid[2]
Definition: XProtocol.hh:250
Definition: XProtocol.hh:278
static char * VVecInsert(const char *value, char *buffer)
kXR_char numattr
Definition: XProtocol.hh:283
static char * VVecRead(char *buffer, kXR_int32 &len)
static const int aData
Definition: XProtocol.hh:291
static const int isNew
Definition: XProtocol.hh:290
static char * NVecInsert(const char *name, char *buffer)
kXR_char fhandle[4]
Definition: XProtocol.hh:281
static char * NVecRead(char *buffer, char *&name)
kXR_char reserved[9]
Definition: XProtocol.hh:285
kXR_char subcode
Definition: XProtocol.hh:282
kXR_char streamid[2]
Definition: XProtocol.hh:279
kXR_unt16 requestid
Definition: XProtocol.hh:280
static char * NVecRead(char *buffer, kXR_unt16 &rc)
static char * VVecRead(char *buffer, kXR_int32 len, char *&value)
kXR_int32 dlen
Definition: XProtocol.hh:286
kXR_char options
Definition: XProtocol.hh:284
Definition: XProtocol.hh:323
kXR_char reserved[8]
Definition: XProtocol.hh:327
kXR_unt16 requestid
Definition: XProtocol.hh:325
kXR_char streamid[2]
Definition: XProtocol.hh:324
kXR_int32 options
Definition: XProtocol.hh:326
kXR_int32 buffsz
Definition: XProtocol.hh:328
kXR_int32 dlen
Definition: XProtocol.hh:329
Definition: XProtocol.hh:82
kXR_int32 fourth
Definition: XProtocol.hh:86
kXR_int32 first
Definition: XProtocol.hh:83
kXR_int32 fifth
Definition: XProtocol.hh:87
kXR_int32 third
Definition: XProtocol.hh:85
kXR_int32 second
Definition: XProtocol.hh:84
Definition: XProtocol.hh:336
kXR_char streamid[2]
Definition: XProtocol.hh:337
kXR_unt16 requestid
Definition: XProtocol.hh:338
kXR_char reserved[14]
Definition: XProtocol.hh:340
kXR_int32 dlen
Definition: XProtocol.hh:341
kXR_unt16 options
Definition: XProtocol.hh:339
Definition: XProtocol.hh:379
kXR_int32 pid
Definition: XProtocol.hh:382
kXR_unt16 requestid
Definition: XProtocol.hh:381
kXR_char streamid[2]
Definition: XProtocol.hh:380
kXR_char reserved2
Definition: XProtocol.hh:387
kXR_char username[8]
Definition: XProtocol.hh:383
kXR_char ability
Definition: XProtocol.hh:385
kXR_char reserved
Definition: XProtocol.hh:384
kXR_int32 dlen
Definition: XProtocol.hh:388
kXR_char capver[1]
Definition: XProtocol.hh:386
Definition: XProtocol.hh:400
kXR_unt16 mode
Definition: XProtocol.hh:405
kXR_char streamid[2]
Definition: XProtocol.hh:401
kXR_unt16 requestid
Definition: XProtocol.hh:402
kXR_char options[1]
Definition: XProtocol.hh:403
kXR_char reserved[13]
Definition: XProtocol.hh:404
kXR_int32 dlen
Definition: XProtocol.hh:406
Definition: XProtocol.hh:413
kXR_int16 arg1len
Definition: XProtocol.hh:417
kXR_char streamid[2]
Definition: XProtocol.hh:414
kXR_int32 dlen
Definition: XProtocol.hh:418
kXR_unt16 requestid
Definition: XProtocol.hh:415
kXR_char reserved[14]
Definition: XProtocol.hh:416
Definition: XProtocol.hh:459
kXR_unt16 requestid
Definition: XProtocol.hh:461
kXR_unt16 options
Definition: XProtocol.hh:463
kXR_int32 dlen
Definition: XProtocol.hh:465
kXR_unt16 mode
Definition: XProtocol.hh:462
kXR_char reserved[12]
Definition: XProtocol.hh:464
kXR_char streamid[2]
Definition: XProtocol.hh:460
Definition: XProtocol.hh:494
kXR_char pathid
Definition: XProtocol.hh:495
kXR_char reqflags
Definition: XProtocol.hh:496
Definition: XProtocol.hh:485
kXR_int32 dlen
Definition: XProtocol.hh:491
kXR_char streamid[2]
Definition: XProtocol.hh:486
kXR_int32 rlen
Definition: XProtocol.hh:490
kXR_char fhandle[4]
Definition: XProtocol.hh:488
kXR_int64 offset
Definition: XProtocol.hh:489
kXR_unt16 requestid
Definition: XProtocol.hh:487
Definition: XProtocol.hh:507
kXR_char fhandle[4]
Definition: XProtocol.hh:510
kXR_char streamid[2]
Definition: XProtocol.hh:508
kXR_char reserved[2]
Definition: XProtocol.hh:514
kXR_int64 offset
Definition: XProtocol.hh:511
kXR_char pathid
Definition: XProtocol.hh:512
kXR_unt16 requestid
Definition: XProtocol.hh:509
kXR_char reqflags
Definition: XProtocol.hh:513
kXR_int32 dlen
Definition: XProtocol.hh:515
Definition: XProtocol.hh:523
kXR_unt16 requestid
Definition: XProtocol.hh:525
kXR_char streamid[2]
Definition: XProtocol.hh:524
kXR_int32 dlen
Definition: XProtocol.hh:527
kXR_char reserved[16]
Definition: XProtocol.hh:526
Definition: XProtocol.hh:577
kXR_unt16 requestid
Definition: XProtocol.hh:579
kXR_int32 dlen
Definition: XProtocol.hh:585
kXR_char reserved[10]
Definition: XProtocol.hh:584
kXR_unt16 optionX
Definition: XProtocol.hh:583
kXR_char options
Definition: XProtocol.hh:580
kXR_unt16 port
Definition: XProtocol.hh:582
kXR_char streamid[2]
Definition: XProtocol.hh:578
kXR_char prty
Definition: XProtocol.hh:581
Definition: XProtocol.hh:534
RequestFlags
Definition: XProtocol.hh:543
@ kXR_secreqs
Definition: XProtocol.hh:544
@ kXR_wantTLS
Definition: XProtocol.hh:546
@ kXR_ableTLS
Definition: XProtocol.hh:545
kXR_char expect
Definition: XProtocol.hh:539
kXR_char reserved[10]
Definition: XProtocol.hh:540
kXR_int32 clientpv
Definition: XProtocol.hh:537
kXR_unt16 requestid
Definition: XProtocol.hh:536
ExpectFlags
Definition: XProtocol.hh:549
@ kXR_ExpGPF
Definition: XProtocol.hh:553
@ kXR_ExpTPC
Definition: XProtocol.hh:555
@ kXR_ExpNone
Definition: XProtocol.hh:551
@ kXR_ExpMask
Definition: XProtocol.hh:550
@ kXR_ExpLogin
Definition: XProtocol.hh:554
@ kXR_ExpBind
Definition: XProtocol.hh:552
@ kXR_ExpGPFA
Definition: XProtocol.hh:556
kXR_char flags
Definition: XProtocol.hh:538
kXR_int32 dlen
Definition: XProtocol.hh:541
kXR_char streamid[2]
Definition: XProtocol.hh:535
Definition: XProtocol.hh:606
kXR_unt16 requestid
Definition: XProtocol.hh:608
kXR_int32 dlen
Definition: XProtocol.hh:613
kXR_char reserved1[2]
Definition: XProtocol.hh:610
kXR_unt16 infotype
Definition: XProtocol.hh:609
kXR_char reserved2[8]
Definition: XProtocol.hh:612
kXR_char fhandle[4]
Definition: XProtocol.hh:611
kXR_char streamid[2]
Definition: XProtocol.hh:607
Definition: XProtocol.hh:620
kXR_int64 offset
Definition: XProtocol.hh:624
kXR_unt16 requestid
Definition: XProtocol.hh:622
kXR_char streamid[2]
Definition: XProtocol.hh:621
kXR_char fhandle[4]
Definition: XProtocol.hh:623
kXR_int32 dlen
Definition: XProtocol.hh:626
kXR_int32 rlen
Definition: XProtocol.hh:625
Definition: XProtocol.hh:646
kXR_char reserved[15]
Definition: XProtocol.hh:649
kXR_unt16 requestid
Definition: XProtocol.hh:648
kXR_char streamid[2]
Definition: XProtocol.hh:647
kXR_int32 dlen
Definition: XProtocol.hh:651
kXR_char pathid
Definition: XProtocol.hh:650
Definition: XProtocol.hh:148
kXR_char body[16]
Definition: XProtocol.hh:151
kXR_char streamid[2]
Definition: XProtocol.hh:149
kXR_unt16 requestid
Definition: XProtocol.hh:150
kXR_int32 dlen
Definition: XProtocol.hh:152
Definition: XProtocol.hh:671
kXR_char reserved[16]
Definition: XProtocol.hh:674
kXR_int32 dlen
Definition: XProtocol.hh:675
kXR_char streamid[2]
Definition: XProtocol.hh:672
kXR_unt16 requestid
Definition: XProtocol.hh:673
Definition: XProtocol.hh:682
kXR_int32 dlen
Definition: XProtocol.hh:686
kXR_char streamid[2]
Definition: XProtocol.hh:683
kXR_unt16 requestid
Definition: XProtocol.hh:684
kXR_char reserved[16]
Definition: XProtocol.hh:685
Definition: XProtocol.hh:693
kXR_char streamid[2]
Definition: XProtocol.hh:694
kXR_unt16 requestid
Definition: XProtocol.hh:695
kXR_int32 dlen
Definition: XProtocol.hh:698
kXR_char modifier
Definition: XProtocol.hh:697
kXR_char reserved[15]
Definition: XProtocol.hh:696
Definition: XProtocol.hh:722
kXR_char streamid[2]
Definition: XProtocol.hh:723
kXR_unt16 requestid
Definition: XProtocol.hh:724
kXR_char crypto
Definition: XProtocol.hh:729
kXR_char rsvd2[3]
Definition: XProtocol.hh:730
kXR_unt16 expectrid
Definition: XProtocol.hh:725
kXR_unt64 seqno
Definition: XProtocol.hh:728
kXR_char flags
Definition: XProtocol.hh:727
kXR_int32 dlen
Definition: XProtocol.hh:731
kXR_char version
Definition: XProtocol.hh:726
Definition: XProtocol.hh:742
kXR_char streamid[2]
Definition: XProtocol.hh:743
kXR_char fhandle[4]
Definition: XProtocol.hh:747
kXR_char reserved[11]
Definition: XProtocol.hh:746
kXR_unt16 requestid
Definition: XProtocol.hh:744
kXR_int32 dlen
Definition: XProtocol.hh:748
kXR_char options
Definition: XProtocol.hh:745
Definition: XProtocol.hh:755
kXR_char reserved[12]
Definition: XProtocol.hh:759
kXR_char fhandle[4]
Definition: XProtocol.hh:758
kXR_char streamid[2]
Definition: XProtocol.hh:756
kXR_int32 dlen
Definition: XProtocol.hh:760
kXR_unt16 requestid
Definition: XProtocol.hh:757
Definition: XProtocol.hh:767
kXR_unt16 requestid
Definition: XProtocol.hh:769
kXR_int64 offset
Definition: XProtocol.hh:771
kXR_char fhandle[4]
Definition: XProtocol.hh:770
kXR_int32 dlen
Definition: XProtocol.hh:773
kXR_char reserved[4]
Definition: XProtocol.hh:772
kXR_char streamid[2]
Definition: XProtocol.hh:768
Definition: XProtocol.hh:780
kXR_unt16 requestid
Definition: XProtocol.hh:782
kXR_char reserved[3]
Definition: XProtocol.hh:786
kXR_char fhandle[4]
Definition: XProtocol.hh:783
kXR_char streamid[2]
Definition: XProtocol.hh:781
kXR_char pathid
Definition: XProtocol.hh:785
kXR_int32 dlen
Definition: XProtocol.hh:787
kXR_int64 offset
Definition: XProtocol.hh:784
Definition: XProtocol.hh:794
kXR_char streamid[2]
Definition: XProtocol.hh:795
kXR_int32 dlen
Definition: XProtocol.hh:799
kXR_char reserved[15]
Definition: XProtocol.hh:798
kXR_unt16 requestid
Definition: XProtocol.hh:796
static const kXR_int32 doSync
Definition: XProtocol.hh:802
kXR_char options
Definition: XProtocol.hh:797
Definition: XProtocol.hh:92
kXR_int32 msglen
Definition: XProtocol.hh:93
kXR_int32 protover
Definition: XProtocol.hh:94
kXR_int32 msgval
Definition: XProtocol.hh:95
Definition: XProtocol.hh:922
char respdata[4096]
Definition: XProtocol.hh:926
ServerResponseHeader resphdr
Definition: XProtocol.hh:925
char reserved[4]
Definition: XProtocol.hh:924
kXR_int32 actnum
Definition: XProtocol.hh:923
Definition: XProtocol.hh:929
char reserved[4]
Definition: XProtocol.hh:931
char respdata[4096]
Definition: XProtocol.hh:933
kXR_int32 actnum
Definition: XProtocol.hh:930
ServerResponseHeader resphdr
Definition: XProtocol.hh:932
Definition: XProtocol.hh:917
char parms[4096]
Definition: XProtocol.hh:919
kXR_int32 actnum
Definition: XProtocol.hh:918
Definition: XProtocol.hh:940
char data[4096]
Definition: XProtocol.hh:941
Definition: XProtocol.hh:948
kXR_char substreamid
Definition: XProtocol.hh:949
Definition: XProtocol.hh:897
char data[4096]
Definition: XProtocol.hh:898
Definition: XProtocol.hh:956
kXR_unt32 useCkpSize
Definition: XProtocol.hh:958
kXR_unt32 maxCkpSize
Definition: XProtocol.hh:957
Definition: XProtocol.hh:1003
char errmsg[4096]
Definition: XProtocol.hh:1005
kXR_int32 errnum
Definition: XProtocol.hh:1004
Definition: XProtocol.hh:1012
kXR_char sec[4096]
Definition: XProtocol.hh:1014
kXR_char sessid[16]
Definition: XProtocol.hh:1013
Definition: XProtocol.hh:1021
kXR_int32 cpsize
Definition: XProtocol.hh:1023
kXR_char cptype[4]
Definition: XProtocol.hh:1024
kXR_char fhandle[4]
Definition: XProtocol.hh:1022
Definition: XProtocol.hh:1133
kXR_int32 pval
Definition: XProtocol.hh:1134
kXR_int32 flags
Definition: XProtocol.hh:1135
ServerResponseReqs_Protocol secreq
Definition: XProtocol.hh:1136
Definition: XProtocol.hh:1149
char host[4096]
Definition: XProtocol.hh:1151
kXR_int32 port
Definition: XProtocol.hh:1150
Definition: XProtocol.hh:1176
kXR_unt32 crc32c
Definition: XProtocol.hh:1177
kXR_int32 dlen
Definition: XProtocol.hh:1182
kXR_char requestid
Definition: XProtocol.hh:1179
kXR_char streamID[2]
Definition: XProtocol.hh:1178
kXR_char resptype
Definition: XProtocol.hh:1180
kXR_char reserved[4]
Definition: XProtocol.hh:1181
Definition: XProtocol.hh:1210
kXR_int32 seconds
Definition: XProtocol.hh:1211
char infomsg[4096]
Definition: XProtocol.hh:1212
Definition: XProtocol.hh:1219
kXR_int32 seconds
Definition: XProtocol.hh:1220
Definition: XProtocol.hh:1031
kXR_int64 offset
Definition: XProtocol.hh:1032
Definition: XProtocol.hh:1040
kXR_int64 offset
Definition: XProtocol.hh:1041
Definition: XProtocol.hh:1058
kXR_char secopt
Definition: XProtocol.hh:1062
ServerResponseSVec_Protocol secvec
Definition: XProtocol.hh:1065
kXR_char secvsz
Definition: XProtocol.hh:1064
kXR_char theTag
Definition: XProtocol.hh:1059
kXR_char rsvd
Definition: XProtocol.hh:1060
kXR_char seclvl
Definition: XProtocol.hh:1063
kXR_char secver
Definition: XProtocol.hh:1061
Definition: XProtocol.hh:1053
kXR_char reqsreq
Definition: XProtocol.hh:1055
kXR_char reqindx
Definition: XProtocol.hh:1054
Definition: XProtocol.hh:1201
struct ServerResponseBody_Status bdy
Definition: XProtocol.hh:1203
struct ServerResponseHeader hdr
Definition: XProtocol.hh:1202
Definition: XProtocol.hh:1250
ServerResponseStatus status
Definition: XProtocol.hh:1251
ServerResponseBody_pgWrite pgwrite
Definition: XProtocol.hh:1255
union ServerResponseV2::@1 body
ServerResponseBody_pgRead pgread
Definition: XProtocol.hh:1254
Definition: XProtocol.hh:1228
union ServerResponse::@0 body
ServerResponseBody_Error error
Definition: XProtocol.hh:1236
ServerResponseBody_Redirect redirect
Definition: XProtocol.hh:1239
ServerResponseBody_Wait wait
Definition: XProtocol.hh:1241
ServerResponseBody_Attn attn
Definition: XProtocol.hh:1232
ServerResponseBody_Waitresp waitresp
Definition: XProtocol.hh:1242
ServerResponseBody_Login login
Definition: XProtocol.hh:1237
ServerResponseBody_Status status
Definition: XProtocol.hh:1240
ServerResponseBody_Buffer buffer
Definition: XProtocol.hh:1235
ServerResponseBody_Authmore authmore
Definition: XProtocol.hh:1233
ServerResponseBody_Bind bind
Definition: XProtocol.hh:1234
ServerResponseBody_Protocol protocol
Definition: XProtocol.hh:1238
ServerResponseHeader hdr
Definition: XProtocol.hh:1229
Definition: XProtocol.hh:1388
kXR_int32 msec
Definition: XProtocol.hh:1391
kXR_int32 wsec
Definition: XProtocol.hh:1390
kXR_int32 actnum
Definition: XProtocol.hh:1389
Definition: XProtocol.hh:1394
kXR_int32 port
Definition: XProtocol.hh:1396
char host[4092]
Definition: XProtocol.hh:1397
kXR_int32 actnum
Definition: XProtocol.hh:1395
Definition: XProtocol.hh:1400
kXR_int32 wsec
Definition: XProtocol.hh:1402
kXR_int32 actnum
Definition: XProtocol.hh:1401
Definition: XProtocol.hh:657
kXR_int32 rlen
Definition: XProtocol.hh:659
kXR_char fhandle[4]
Definition: XProtocol.hh:658
kXR_int64 offset
Definition: XProtocol.hh:660
Definition: XProtocol.hh:807
kXR_char fhandle[4]
Definition: XProtocol.hh:808
kXR_int64 offset
Definition: XProtocol.hh:810
kXR_int32 wlen
Definition: XProtocol.hh:809
Definition: XProtocol.hh:630
kXR_char pathid
Definition: XProtocol.hh:631
kXR_char reserved[7]
Definition: XProtocol.hh:632
Definition: XProtocol.hh:636
kXR_char fhandle[4]
Definition: XProtocol.hh:637
kXR_int32 rlen
Definition: XProtocol.hh:638
kXR_int64 offset
Definition: XProtocol.hh:639
Definition: XProtocol.hh:821
Definition: XProtocol.hh:856