xrootd
XProtocol.hh
Go to the documentation of this file.
1 #ifndef __XPROTOCOL_H
2 #define __XPROTOCOL_H
3 /******************************************************************************/
4 /* */
5 /* X P r o t o c o l . h h */
6 /* */
7 /* (c) 2012 by the Board of Trustees of the Leland Stanford, Jr., University */
8 /* All Rights Reserved */
9 /* Produced by Andrew Hanushevsky for Stanford University under contract */
10 /* DE-AC02-76-SFO0515 with the Department of Energy */
11 /* */
12 /* This file is part of the XRootD software suite. */
13 /* */
14 /* XRootD is free software: you can redistribute it and/or modify it under */
15 /* the terms of the GNU Lesser General Public License as published by the */
16 /* Free Software Foundation, either version 3 of the License, or (at your */
17 /* option) any later version. */
18 /* */
19 /* The XRootD protocol definition, documented in this file, is distributed */
20 /* under a modified BSD license and may be freely used to reimplement it. */
21 /* Any references to "source" in this license refers to this file or any */
22 /* other file that specifically contains the following license. */
23 /* */
24 /* Redistribution and use in source and binary forms, with or without */
25 /* modification, are permitted provided that the following conditions */
26 /* are met: */
27 /* */
28 /* 1. Redistributions of source code must retain the above copyright notice, */
29 /* this list of conditions and the following disclaimer. */
30 /* */
31 /* 2. Redistributions in binary form must reproduce the above copyright */
32 /* notice, this list of conditions and the following disclaimer in the */
33 /* documentation and/or other materials provided with the distribution. */
34 /* */
35 /* 3. Neither the name of the copyright holder nor the names of its */
36 /* contributors may be used to endorse or promote products derived from */
37 /* this software without specific prior written permission. */
38 /* */
39 /* 4. Derived software may not use the name XRootD or cmsd (regardless of */
40 /* capitilization) in association with the derived work if the protocol */
41 /* documented in this file is changed in any way. */
42 /* */
43 /* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS */
44 /* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT */
45 /* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR */
46 /* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT */
47 /* HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, */
48 /* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT */
49 /* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, */
50 /* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY */
51 /* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT */
52 /* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE */
53 /******************************************************************************/
54 
55 //#ifndef __GNUC__
56 //#define __attribute__(x)
57 //#ifdef SUNCC
58 //#pragma pack(4)
59 //#endif
60 //#endif
61 
62 #ifdef __CINT__
63 #define __attribute__(x)
64 #endif
65 
66 // The following is the binary representation of the protocol version here.
67 // Protocol version is repesented as three base10 digits x.y.z with x having no
68 // upper limit (i.e. n.9.9 + 1 -> n+1.0.0). The kXR_PROTSIGNVERSION defines the
69 // protocol version where request signing became available.
70 //
71 #define kXR_PROTOCOLVERSION 0x00000400
72 #define kXR_PROTSIGNVERSION 0x00000310
73 #define kXR_PROTOCOLVSTRING "4.0.0"
74 
75 #include "XProtocol/XPtypes.hh"
76 
77 // KINDS of SERVERS
78 //
79 //
80 #define kXR_DataServer 1
81 #define kXR_LBalServer 0
82 
83 // The below are defined for protocol version 2.9.7 or higher
84 // These are the flag value in the kXR_protool response
85 //
86 #define kXR_isManager 0x00000002
87 #define kXR_isServer 0x00000001
88 #define kXR_attrMeta 0x00000100
89 #define kXR_attrProxy 0x00000200
90 #define kXR_attrSuper 0x00000400
91 
92 #define kXR_maxReqRetry 10
93 
94 // Kind of error inside a XTNetFile's routine (temporary)
95 //
97  kGENERICERR = 0, // Generic error
98  kREAD, // Error while reading from stream
99  kWRITE, // Error while writing to stream
100  kREDIRCONNECT, // Error redirecting to a given host
101  kOK, // Everything seems ok
102  kNOMORESTREAMS // No more available stream IDs for
103  // async processing
104 };
105 
106 //______________________________________________
107 // PROTOCOL DEFINITION: CLIENT'S REQUESTS TYPES
108 //______________________________________________
109 //
111  kXR_auth = 3000,
112  kXR_query, // 3001
113  kXR_chmod, // 3002
114  kXR_close, // 3003
115  kXR_dirlist, // 3004
116  kXR_getfile, // 3005
117  kXR_protocol,// 3006
118  kXR_login, // 3007
119  kXR_mkdir, // 3008
120  kXR_mv, // 3009
121  kXR_open, // 3010
122  kXR_ping, // 3011
123  kXR_putfile, // 3012
124  kXR_read, // 3013
125  kXR_rm, // 3014
126  kXR_rmdir, // 3015
127  kXR_sync, // 3016
128  kXR_stat, // 3017
129  kXR_set, // 3018
130  kXR_write, // 3019
131  kXR_admin, // 3020
132  kXR_prepare, // 3021
133  kXR_statx, // 3022
134  kXR_endsess, // 3023
135  kXR_bind, // 3024
136  kXR_readv, // 3025
137  kXR_verifyw, // 3026
138  kXR_locate, // 3027
139  kXR_truncate,// 3028
140  kXR_sigver, // 3029
141  kXR_decrypt, // 3030
142  kXR_writev, // 3031
143  kXR_REQFENCE // Always last valid request code +1
144 };
145 
146 // OPEN MODE FOR A REMOTE FILE
148  kXR_ur = 0x100,
149  kXR_uw = 0x080,
150  kXR_ux = 0x040,
151  kXR_gr = 0x020,
152  kXR_gw = 0x010,
153  kXR_gx = 0x008,
154  kXR_or = 0x004,
155  kXR_ow = 0x002,
156  kXR_ox = 0x001
157 };
158 
162 };
163 
164 // this is a bitmask
174 };
175 
176 // this is a bitmask
181 };
182 
183 // this is a single number that goes into capver as the version
184 //
186  kXR_ver000 = 0, // Old clients predating history
187  kXR_ver001 = 1, // Generally implemented 2005 protocol
188  kXR_ver002 = 2, // Same as 1 but adds asyncresp recognition
189  kXR_ver003 = 3, // The 2011-2012 rewritten client
190  kXR_ver004 = 4 // The 2016 sign-capable client
191 };
192 
195 };
196 
198  kXR_file = 0,
199  kXR_xset = 1,
207 };
208 
212 };
213 
215  kXR_compress = 1, // also locate (return unique hosts)
218  kXR_new = 8,
221  kXR_async = 64,
222  kXR_refresh = 128, // also locate
223  kXR_mkpath = 256,
224  kXR_prefname = 256, // only locate
226  kXR_retstat = 1024,
227  kXR_replica = 2048,
228  kXR_posc = 4096,
229  kXR_nowait = 8192, // also locate
230  kXR_seqio =16384,
232 };
233 
235  kXR_secreqs = 1 // Return security requirements
236 };
237 
250 };
251 
255 };
256 
260 };
261 
267  kXR_wmode = 16,
268  kXR_coloc = 32,
269  kXR_fresh = 64,
270  kXR_usetcp = 128,
271 
272  kXR_evict = 0x0001 // optionsX: file no longer useful
273 };
274 
275 // Version used for kXR_decrypt and kXR_sigver and is set in
276 // Set in SigverRequest::version, DecryptRequest::version and
277 // ServerResponseReqs_Protocol::secver
278 #define kXR_secver_0 0
279 
280 // Flags for kXR_decrypt and kXR_sigver
281 enum XSecFlags {
282  kXR_nodata = 1 // Request payload was not hashed or encrypted
283 };
284 
285 // Cryptography used for kXR_sigver SigverRequest::crypto
287  kXR_SHA256 = 0x01, // Hash used
288  kXR_HashMask = 0x0f, // Mak to extract the hash type
289  kXR_rsaKey = 0x80 // The rsa key was used
290 };
291 
292 //_______________________________________________
293 // PROTOCOL DEFINITION: SERVER'S RESPONSES TYPES
294 //_______________________________________________
295 //
297  kXR_ok = 0,
298  kXR_oksofar = 4000,
306 };
307 
308 //_______________________________________________
309 // PROTOCOL DEFINITION: SERVER"S ATTN CODES
310 //_______________________________________________
311 
313  kXR_asyncab = 5000,
322 };
323 
324 //_______________________________________________
325 // PROTOCOL DEFINITION: SERVER'S ERROR CODES
326 //_______________________________________________
327 //
354  kXR_ERRFENCE, // Always last valid errcode + 1
356 };
357 
358 
359 //______________________________________________
360 // PROTOCOL DEFINITION: CLIENT'S REQUESTS STRUCTS
361 //______________________________________________
362 //
363 // We need to pack structures sent all over the net!
364 // __attribute__((packed)) assures no padding bytes.
365 //
366 // Nice bodies of the headers for the client requests.
367 // Note that the protocol specifies these values to be in network
368 // byte order when sent
369 //
370 // G.Ganis: use of flat structures to avoid packing options
371 
377 };
384 };
390 };
397 };
405 };
409  kXR_unt16 expectrid; // Request code of subsequent request
410  kXR_char version; // Security version being used (see enum XSecVersion)
411  kXR_char flags; // One or more flags defined in enum XSecFlags
414 };
421 };
427 };
435 };
442 };
449  kXR_char ability; // See XLoginAbility enum flags
450  kXR_char capver[1]; // See XLoginCapVer enum flags
453 };
461 };
468 };
476 };
477 
483 };
487  kXR_int32 clientpv; // 2.9.7 or higher
488  kXR_char flags; // 3.1.0 or higher
491 };
497  kXR_unt16 port; // 2.9.9 or higher
498  kXR_unt16 optionX; // Extended options
501 };
509 };
518 };
526 };
533 };
539 };
545 };
550  kXR_char modifier; // For security purposes, should be zero
552 };
556  kXR_unt16 expectrid; // Request code of subsequent request
557  kXR_char version; // Security version being used (see XSecVersion)
558  kXR_char flags; // One or more flags defined in enum (see XSecFlags)
559  kXR_unt64 seqno; // Monotonically increasing number (part of hash)
560  kXR_char crypto; // Cryptography used (see XSecCrypto)
563 };
571 };
578 };
586 };
595 };
599  kXR_char options; // See static const ints below
602 
603  static const kXR_int32 doSync = 0x01;
604 };
611  kXR_char vertype; // One of XVerifyType
613  kXR_int32 dlen; // Includes crc length
614 };
615 
621 };
622 
623 typedef union {
624  struct ClientRequestHdr header;
625  struct ClientAdminRequest admin;
626  struct ClientAuthRequest auth;
627  struct ClientBindRequest bind;
628  struct ClientChmodRequest chmod;
630  struct ClientDecryptRequest decrypt;
631  struct ClientDirlistRequest dirlist;
632  struct ClientEndsessRequest endsess;
633  struct ClientGetfileRequest getfile;
634  struct ClientLocateRequest locate;
635  struct ClientLoginRequest login;
637  struct ClientMvRequest mv;
639  struct ClientPingRequest ping;
640  struct ClientPrepareRequest prepare;
641  struct ClientProtocolRequest protocol;
642  struct ClientPutfileRequest putfile;
643  struct ClientQueryRequest query;
646  struct ClientRmRequest rm;
648  struct ClientSetRequest set;
649  struct ClientSigverRequest sigver;
651  struct ClientSyncRequest sync;
655 } ClientRequest;
656 
657 typedef union {
658  struct ClientRequestHdr header;
659  struct ClientDecryptRequest decrypt;
660  struct ClientSigverRequest sigver;
662 
667 };
668 
669 struct read_args {
672  // his struct is followed by an array of readahead_list
673 };
674 
675 // New additions are placed in a specia namespace to avoid conflicts
676 //
677 namespace XrdProto
678 {
679 struct read_list {
683 };
684 
685 struct write_list {
689 };
690 }
691 
692 //_____________________________________________________________________
693 // PROTOCOL DEFINITION: SERVER'S RESPONSE
694 //_____________________________________________________________________
695 //
696 
697 // Nice header for the server response.
698 // Note that the protocol specifies these values to be in network
699 // byte order when sent
700 //
701 // G.Ganis: The following structures never need padding bytes:
702 // no need of packing options
703 
708 };
709 
710 // Body for the kXR_bind response... useful
713 };
714 
715 // Body for the kXR_open response... useful
718  kXR_int32 cpsize; // cpsize & cptype returned if kXR_compress *or*
719  kXR_char cptype[4]; // kXR_retstat is specified
720 }; // info will follow if kXR_retstat is specified
721 
722 // The following information is returned in the response body when kXR_secreqs
723 // is set in ClientProtocolRequest::flags. Note that the size of secvec is
724 // defined by secvsz and will not be present when secvsz == 0.
726  kXR_char reqindx; // Request index
727  kXR_char reqsreq; // Request signing requirement
728 };
729 
731  kXR_char theTag; // Always the character 'S' to identify struct
732  kXR_char rsvd; // Reserved for the future (always 0 for now)
733  kXR_char secver; // Security version
734  kXR_char secopt; // Security options
735  kXR_char seclvl; // Security level when secvsz == 0
736  kXR_char secvsz; // Number of items in secvec (i.e. its length/2)
738 };
739 
740 // Options reflected in protocol response ServerResponseReqs_Protocol::secopt
741 //
742 #define kXR_secOData 0x01
743 #define kXR_secOFrce 0x02
744 
745 // Security level definitions (these are predefined but can be over-ridden)
746 //
747 #define kXR_secNone 0
748 #define kXR_secCompatible 1
749 #define kXR_secStandard 2
750 #define kXR_secIntense 3
751 #define kXR_secPedantic 4
752 
753 // Requirements one of which set in each ServerResponseReqs_Protocol::secvec
754 //
755 #define kXR_signIgnore 0
756 #define kXR_signLikely 1
757 #define kXR_signNeeded 2
758 
759 // Body for the kXR_protocol response... useful
763  ServerResponseReqs_Protocol secreq; // Only for V3.1.0+ && if requested
764 };
765 
766 // Handy definition of the size of the protocol response when the security
767 // information is not present.
768 //
769 #define kXR_ShortProtRespLen sizeof(ServerResponseBody_Protocol)-\
770  sizeof(ServerResponseReqs_Protocol)
771 
774  kXR_char sec[4096]; // Should be sufficient for every use
775 };
776 
779  char host[4096]; // Should be sufficient for every use
780 };
781 
784  char errmsg[4096]; // Should be sufficient for every use
785 };
786 
789  char infomsg[4096]; // Should be sufficient for every use
790 };
791 
794 };
795 
798  char parms[4096]; // Should be sufficient for every use
799 };
800 
804  char host[4092];
805 };
806 
809  char reserved[4];
811  char respdata[4096];
812 };
813 
817 };
818 
823 };
824 
826  char data[4096];
827 };
828 
830  char data[4096];
831 };
832 
834 {
836  union
837  {
848  } body;
849 };
850 
852 
853 // The fields to be sent as initial handshake
860 };
861 
862 // The body received after the first handshake's header
867 };
868 
869 
870 
872 
873 struct ALIGN_CHECK {char chkszreq[25-sizeof(ClientRequest)];
874  char chkszrsp[ 9-sizeof(ServerResponseHeader)];
875 };
876 
877 /******************************************************************************/
878 /* X P r o t o c o l U t i l i t i e s */
879 /******************************************************************************/
880 
881 #include <errno.h>
882 #if defined(WIN32)
883 #if !defined(ENOTBLK)
884 # define ENOTBLK 15
885 #endif
886 #if !defined(ETXTBSY)
887 #define ETXTBSY 26
888 #endif
889 #if !defined(ENOBUFS)
890 #define ENOBUFS 105
891 #endif
892 #if !defined(ENETUNREACH)
893 #define ENETUNREACH 114
894 #endif
895 #endif
896 
898 {
899 public:
900 
901 // mapError() is the occicial mapping from errno to xrootd protocol error.
902 //
903 static int mapError(int rc)
904  {if (rc < 0) rc = -rc;
905  switch(rc)
906  {case ENOENT: return kXR_NotFound;
907  case EPERM: return kXR_NotAuthorized;
908  case EACCES: return kXR_NotAuthorized;
909  case EIO: return kXR_IOError;
910  case ENOMEM: return kXR_NoMemory;
911  case ENOBUFS: return kXR_NoMemory;
912  case ENOSPC: return kXR_NoSpace;
913  case ENAMETOOLONG: return kXR_ArgTooLong;
914  case ENETUNREACH: return kXR_noserver;
915  case ENOTBLK: return kXR_NotFile;
916  case EISDIR: return kXR_isDirectory;
917  case EEXIST: return kXR_InvalidRequest;
918  case ETXTBSY: return kXR_inProgress;
919  case ENODEV: return kXR_FSError;
920  case EFAULT: return kXR_ServerError;
921  case EDOM: return kXR_ChkSumErr;
922  case EDQUOT: return kXR_overQuota;
923  case EILSEQ: return kXR_SigVerErr;
924  case ERANGE: return kXR_DecryptErr;
925  case EUSERS: return kXR_Overloaded;
926  default: return kXR_FSError;
927  }
928  }
929 
930 static int toErrno( int xerr )
931 {
932  switch(xerr)
933  {case kXR_ArgInvalid: return EINVAL;
934  case kXR_ArgMissing: return EINVAL;
935  case kXR_ArgTooLong: return ENAMETOOLONG;
936  case kXR_FileLocked: return EDEADLK;
937  case kXR_FileNotOpen: return EBADF;
938  case kXR_FSError: return EIO;
939  case kXR_InvalidRequest:return EEXIST;
940  case kXR_IOError: return EIO;
941  case kXR_NoMemory: return ENOMEM;
942  case kXR_NoSpace: return ENOSPC;
943  case kXR_NotAuthorized: return EACCES;
944  case kXR_NotFound: return ENOENT;
945  case kXR_ServerError: return ENOMSG;
946  case kXR_Unsupported: return ENOSYS;
947  case kXR_noserver: return EHOSTUNREACH;
948  case kXR_NotFile: return ENOTBLK;
949  case kXR_isDirectory: return EISDIR;
950  case kXR_Cancelled: return ECANCELED;
951  case kXR_ChkLenErr: return EDOM;
952  case kXR_ChkSumErr: return EDOM;
953  case kXR_inProgress: return EINPROGRESS;
954  case kXR_overQuota: return EDQUOT;
955  case kXR_SigVerErr: return EILSEQ;
956  case kXR_DecryptErr: return ERANGE;
957  case kXR_Overloaded: return EUSERS;
958  default: return ENOMSG;
959  }
960 }
961 
962 static const char *errName(kXR_int32 errCode);
963 
964 static const char *reqName(kXR_unt16 reqCode);
965 };
966 #endif
kXR_evict
Definition: XProtocol.hh:272
ServerResponse::waitresp
ServerResponseBody_Waitresp waitresp
Definition: XProtocol.hh:841
kNOMORESTREAMS
Definition: XProtocol.hh:102
ServerResponseBody_Attn_asyncrd::actnum
kXR_int32 actnum
Definition: XProtocol.hh:802
kXR_int32
int kXR_int32
Definition: XPtypes.hh:89
kXR_NotAuthorized
Definition: XProtocol.hh:339
kXR_onlyprv4
Definition: XProtocol.hh:171
kXR_NoMemory
Definition: XProtocol.hh:337
kXR_mv
Definition: XProtocol.hh:120
ServerResponseType
kXR_int32 ServerResponseType
Definition: XProtocol.hh:871
readv
#define readv(a, b, c)
Definition: XrdPosix.hh:79
kXR_open
Definition: XProtocol.hh:121
kXR_Qvisa
Definition: XProtocol.hh:246
XOpenRequestOption
XOpenRequestOption
Definition: XProtocol.hh:214
ClientVerifywRequest::requestid
kXR_unt16 requestid
Definition: XProtocol.hh:607
ClientRequestHdr
Definition: XProtocol.hh:616
ALIGN_CHECK::chkszreq
char chkszreq[25-sizeof(ClientRequest)]
Definition: XProtocol.hh:873
ClientWriteVRequest::options
kXR_char options
Definition: XProtocol.hh:599
kXR_write
Definition: XProtocol.hh:130
ClientLocateRequest::streamid
kXR_char streamid[2]
Definition: XProtocol.hh:437
kXR_vermask
Definition: XProtocol.hh:179
ClientMvRequest
Definition: XProtocol.hh:462
kXR_wmode
Definition: XProtocol.hh:267
ClientOpenRequest::mode
kXR_unt16 mode
Definition: XProtocol.hh:472
XProtocol::errName
static const char * errName(kXR_int32 errCode)
kXR_waitresp
Definition: XProtocol.hh:304
kXR_refresh
Definition: XProtocol.hh:222
ServerResponseBody_Attn_asynresp
Definition: XProtocol.hh:807
kXR_sigver
Definition: XProtocol.hh:140
ClientTruncateRequest
Definition: XProtocol.hh:579
ClientStatRequest::dlen
kXR_int32 dlen
Definition: XProtocol.hh:570
ClientGetfileRequest::buffsz
kXR_int32 buffsz
Definition: XProtocol.hh:433
kXR_vfs
Definition: XProtocol.hh:194
ClientQueryRequest::reserved2
kXR_char reserved2[8]
Definition: XProtocol.hh:516
kXR_posc
Definition: XProtocol.hh:228
kXR_ver000
Definition: XProtocol.hh:186
ClientSigverRequest::requestid
kXR_unt16 requestid
Definition: XProtocol.hh:555
kXR_ver004
Definition: XProtocol.hh:190
ServerResponseHeader2NetFmt
void ServerResponseHeader2NetFmt(struct ServerResponseHeader *srh)
ClientAuthRequest::credtype
kXR_char credtype[4]
Definition: XProtocol.hh:382
ServerResponseBody_Attn_asyncdi::actnum
kXR_int32 actnum
Definition: XProtocol.hh:820
XMkdirOptions
XMkdirOptions
Definition: XProtocol.hh:159
kXR_QStats
Definition: XProtocol.hh:239
ServerResponseBody_Redirect::port
kXR_int32 port
Definition: XProtocol.hh:778
ClientTruncateRequest::offset
kXR_int64 offset
Definition: XProtocol.hh:583
kXR_DecryptErr
Definition: XProtocol.hh:352
ClientInitHandShake
Definition: XProtocol.hh:854
ClientStatRequest::fhandle
kXR_char fhandle[4]
Definition: XProtocol.hh:569
ClientBindRequest::dlen
kXR_int32 dlen
Definition: XProtocol.hh:389
ClientDecryptRequest::streamid
kXR_char streamid[2]
Definition: XProtocol.hh:407
ClientLoginRequest::role
kXR_char role[1]
Definition: XProtocol.hh:451
ClientPrepareRequest::prty
kXR_char prty
Definition: XProtocol.hh:496
ClientSetRequest::streamid
kXR_char streamid[2]
Definition: XProtocol.hh:547
ClientPrepareRequest::port
kXR_unt16 port
Definition: XProtocol.hh:497
ClientWriteVRequest::doSync
static const kXR_int32 doSync
Definition: XProtocol.hh:603
ServerResponseBody_Bind
Definition: XProtocol.hh:711
kXR_ChkSumErr
Definition: XProtocol.hh:348
kXR_NoSpace
Definition: XProtocol.hh:338
kXR_isDirectory
Definition: XProtocol.hh:345
ClientSigverRequest
Definition: XProtocol.hh:553
XVerifyType
XVerifyType
Definition: XProtocol.hh:252
ClientPutfileRequest::requestid
kXR_unt16 requestid
Definition: XProtocol.hh:504
ClientRmdirRequest
Definition: XProtocol.hh:540
ClientPrepareRequest
Definition: XProtocol.hh:492
ServerResponseBody_Error::errmsg
char errmsg[4096]
Definition: XProtocol.hh:784
XrdProto::read_list
Definition: XProtocol.hh:679
ServerResponseReqs_Protocol::rsvd
kXR_char rsvd
Definition: XProtocol.hh:732
kXR_int64
long long kXR_int64
Definition: XPtypes.hh:98
ClientPingRequest
Definition: XProtocol.hh:478
kXR_int16
short kXR_int16
Definition: XPtypes.hh:66
ClientQueryRequest::requestid
kXR_unt16 requestid
Definition: XProtocol.hh:512
ServerResponseBody_Authmore::data
char data[4096]
Definition: XProtocol.hh:826
kXR_auth
Definition: XProtocol.hh:111
kXR_truncate
Definition: XProtocol.hh:139
ServerResponseBody_Protocol
Definition: XProtocol.hh:760
kXR_gr
Definition: XProtocol.hh:151
ClientLocateRequest::requestid
kXR_unt16 requestid
Definition: XProtocol.hh:438
kXR_rmdir
Definition: XProtocol.hh:126
ClientOpenRequest::dlen
kXR_int32 dlen
Definition: XProtocol.hh:475
kXR_useruser
Definition: XProtocol.hh:258
kXR_noResponsesYet
Definition: XProtocol.hh:305
ServerResponseBody_Attn_asynresp::reserved
char reserved[4]
Definition: XProtocol.hh:809
ClientReadRequest::dlen
kXR_int32 dlen
Definition: XProtocol.hh:525
ClientCloseRequest::streamid
kXR_char streamid[2]
Definition: XProtocol.hh:399
XQueryType
XQueryType
Definition: XProtocol.hh:238
ClientOpenRequest::options
kXR_unt16 options
Definition: XProtocol.hh:473
kXR_readv
Definition: XProtocol.hh:136
ClientRmRequest
Definition: XProtocol.hh:534
kXR_asyncap
Definition: XProtocol.hh:180
ClientReadVRequest::dlen
kXR_int32 dlen
Definition: XProtocol.hh:532
ClientInitHandShake::fifth
kXR_int32 fifth
Definition: XProtocol.hh:859
ClientCloseRequest
Definition: XProtocol.hh:398
ClientWriteRequest::pathid
kXR_char pathid
Definition: XProtocol.hh:592
ClientSigverRequest::seqno
kXR_unt64 seqno
Definition: XProtocol.hh:559
ClientStatRequest::reserved
kXR_char reserved[11]
Definition: XProtocol.hh:568
kXR_Qckscan
Definition: XProtocol.hh:244
ClientOpenRequest::streamid
kXR_char streamid[2]
Definition: XProtocol.hh:470
ClientProtocolRequest::flags
kXR_char flags
Definition: XProtocol.hh:488
kXR_writable
Definition: XProtocol.hh:204
ClientDecryptRequest::flags
kXR_char flags
Definition: XProtocol.hh:411
ClientOpenRequest::reserved
kXR_char reserved[12]
Definition: XProtocol.hh:474
kXR_Overloaded
Definition: XProtocol.hh:353
ServerResponseBody_Login::sessid
kXR_char sessid[16]
Definition: XProtocol.hh:773
ClientEndsessRequest::dlen
kXR_int32 dlen
Definition: XProtocol.hh:426
kXR_isDir
Definition: XProtocol.hh:200
kXR_nowait
Definition: XProtocol.hh:229
ServerResponseBody_Attn_asyncdi
Definition: XProtocol.hh:819
kXR_char
unsigned char kXR_char
Definition: XPtypes.hh:65
ClientSigverRequest::flags
kXR_char flags
Definition: XProtocol.hh:558
kXR_admin
Definition: XProtocol.hh:131
ServerInitHandShake::protover
kXR_int32 protover
Definition: XProtocol.hh:865
kXR_other
Definition: XProtocol.hh:201
kXR_SHA256
Definition: XProtocol.hh:287
kXR_asyncwt
Definition: XProtocol.hh:317
readahead_list
Definition: XProtocol.hh:663
ClientSigverRequest::crypto
kXR_char crypto
Definition: XProtocol.hh:560
ClientRmdirRequest::streamid
kXR_char streamid[2]
Definition: XProtocol.hh:541
ClientVerifywRequest::streamid
kXR_char streamid[2]
Definition: XProtocol.hh:606
ServerResponseReqs_Protocol::secopt
kXR_char secopt
Definition: XProtocol.hh:734
ClientCloseRequest::fsize
kXR_int64 fsize
Definition: XProtocol.hh:402
XLoginCapVer
XLoginCapVer
Definition: XProtocol.hh:177
ClientTruncateRequest::dlen
kXR_int32 dlen
Definition: XProtocol.hh:585
ClientMvRequest::reserved
kXR_char reserved[14]
Definition: XProtocol.hh:465
ClientChmodRequest::reserved
kXR_char reserved[14]
Definition: XProtocol.hh:394
kXR_readrdok
Definition: XProtocol.hh:169
XErrorCode
XErrorCode
Definition: XProtocol.hh:328
ClientPrepareRequest::optionX
kXR_unt16 optionX
Definition: XProtocol.hh:498
kXR_useradmin
Definition: XProtocol.hh:259
ServerResponseSVec_Protocol
Definition: XProtocol.hh:725
ClientReadRequest::streamid
kXR_char streamid[2]
Definition: XProtocol.hh:520
kXR_putfile
Definition: XProtocol.hh:123
ClientVerifywRequest
Definition: XProtocol.hh:605
writev
#define writev(a, b, c)
Definition: XrdPosix.hh:112
ClientMkdirRequest::mode
kXR_unt16 mode
Definition: XProtocol.hh:459
kXR_verifyw
Definition: XProtocol.hh:137
kXR_ver003
Definition: XProtocol.hh:189
ClientMvRequest::dlen
kXR_int32 dlen
Definition: XProtocol.hh:467
ClientSigverRequest::streamid
kXR_char streamid[2]
Definition: XProtocol.hh:554
ClientInitHandShake::first
kXR_int32 first
Definition: XProtocol.hh:855
ServerResponseBody_Attn
Definition: XProtocol.hh:796
kXR_asynresp
Definition: XProtocol.hh:321
ClientDirlistRequest::requestid
kXR_unt16 requestid
Definition: XProtocol.hh:417
ClientReadVRequest
Definition: XProtocol.hh:527
XrdProto::write_list::offset
kXR_int64 offset
Definition: XProtocol.hh:688
ServerResponseBody_Attn::parms
char parms[4096]
Definition: XProtocol.hh:798
kXR_gx
Definition: XProtocol.hh:153
kXR_stage
Definition: XProtocol.hh:266
XProtocol::mapError
static int mapError(int rc)
Definition: XProtocol.hh:903
ServerResponseBody_Open::fhandle
kXR_char fhandle[4]
Definition: XProtocol.hh:717
kXR_login
Definition: XProtocol.hh:118
ServerResponseBody_Buffer
Definition: XProtocol.hh:829
XLogonType
XLogonType
Definition: XProtocol.hh:257
ClientQueryRequest
Definition: XProtocol.hh:510
kXR_nothing
Definition: XProtocol.hh:166
ClientMkdirRequest
Definition: XProtocol.hh:454
kXR_FSError
Definition: XProtocol.hh:334
ClientAdminRequest::streamid
kXR_char streamid[2]
Definition: XProtocol.hh:373
ClientRequestHdr::requestid
kXR_unt16 requestid
Definition: XProtocol.hh:618
kXR_rsaKey
Definition: XProtocol.hh:289
kWRITE
Definition: XProtocol.hh:99
ClientVerifywRequest::vertype
kXR_char vertype
Definition: XProtocol.hh:611
ClientQueryRequest::dlen
kXR_int32 dlen
Definition: XProtocol.hh:517
kXR_open_read
Definition: XProtocol.hh:219
ServerInitHandShake
Definition: XProtocol.hh:863
ServerResponseBody_Wait
Definition: XProtocol.hh:787
kXR_file
Definition: XProtocol.hh:198
ServerResponseBody_Login::sec
kXR_char sec[4096]
Definition: XProtocol.hh:774
XOpenRequestMode
XOpenRequestMode
Definition: XProtocol.hh:147
ServerResponseBody_Error::errnum
kXR_int32 errnum
Definition: XProtocol.hh:783
kXR_Qopaque
Definition: XProtocol.hh:247
kXR_ArgMissing
Definition: XProtocol.hh:330
kXR_nodata
Definition: XProtocol.hh:282
kXR_ERRFENCE
Definition: XProtocol.hh:354
ClientLoginRequest::dlen
kXR_int32 dlen
Definition: XProtocol.hh:452
rmdir
#define rmdir(a)
Definition: XrdPosix.hh:92
kXR_fullurl
Definition: XProtocol.hh:167
ClientEndsessRequest::streamid
kXR_char streamid[2]
Definition: XProtocol.hh:423
read_args::pathid
kXR_char pathid
Definition: XProtocol.hh:670
ClientEndsessRequest::requestid
kXR_unt16 requestid
Definition: XProtocol.hh:424
ClientMkdirRequest::streamid
kXR_char streamid[2]
Definition: XProtocol.hh:455
kXR_ChkLenErr
Definition: XProtocol.hh:347
ClientSyncRequest::reserved
kXR_char reserved[12]
Definition: XProtocol.hh:576
kREAD
Definition: XProtocol.hh:98
ClientProtocolRequest::clientpv
kXR_int32 clientpv
Definition: XProtocol.hh:487
ClientVerifywRequest::reserved
kXR_char reserved[2]
Definition: XProtocol.hh:612
write
#define write(a, b, c)
Definition: XrdPosix.hh:110
kXR_Qopaquf
Definition: XProtocol.hh:248
kXR_multipr
Definition: XProtocol.hh:168
kXR_Qconfig
Definition: XProtocol.hh:245
ServerResponseHeader::dlen
kXR_int32 dlen
Definition: XProtocol.hh:707
readahead_list::offset
kXR_int64 offset
Definition: XProtocol.hh:666
ClientCloseRequest::dlen
kXR_int32 dlen
Definition: XProtocol.hh:404
XProtocolRequestFlags
XProtocolRequestFlags
Definition: XProtocol.hh:234
XrdProto::read_list::rlen
kXR_int32 rlen
Definition: XProtocol.hh:681
ClientLoginRequest::username
kXR_char username[8]
Definition: XProtocol.hh:447
ClientLoginRequest::capver
kXR_char capver[1]
Definition: XProtocol.hh:450
XrdProto::read_list::offset
kXR_int64 offset
Definition: XProtocol.hh:682
kXR_rm
Definition: XProtocol.hh:125
ClientInitHandShake::fourth
kXR_int32 fourth
Definition: XProtocol.hh:858
ServerResponseReqs_Protocol::seclvl
kXR_char seclvl
Definition: XProtocol.hh:735
ServerResponse::bind
ServerResponseBody_Bind bind
Definition: XProtocol.hh:847
truncate
#define truncate(a, b)
Definition: XrdPosix.hh:106
ClientRequestHdr::dlen
kXR_int32 dlen
Definition: XProtocol.hh:620
kXR_unt16
unsigned short kXR_unt16
Definition: XPtypes.hh:67
kXR_or
Definition: XProtocol.hh:154
kXR_IOError
Definition: XProtocol.hh:336
ServerResponseBody_Attn_asyncwt::actnum
kXR_int32 actnum
Definition: XProtocol.hh:815
ClientSigverRequest::expectrid
kXR_unt16 expectrid
Definition: XProtocol.hh:556
kXR_authmore
Definition: XProtocol.hh:300
kXR_overQuota
Definition: XProtocol.hh:350
XProtocol
Definition: XProtocol.hh:897
kXR_chmod
Definition: XProtocol.hh:113
ClientReadRequest::fhandle
kXR_char fhandle[4]
Definition: XProtocol.hh:522
open
#define open
Definition: XrdPosix.hh:71
XSecCrypto
XSecCrypto
Definition: XProtocol.hh:286
ClientSetRequest::dlen
kXR_int32 dlen
Definition: XProtocol.hh:551
ClientMkdirRequest::options
kXR_char options[1]
Definition: XProtocol.hh:457
ClientProtocolRequest::streamid
kXR_char streamid[2]
Definition: XProtocol.hh:485
ServerResponseSVec_Protocol::reqindx
kXR_char reqindx
Definition: XProtocol.hh:726
ClientBindRequest
Definition: XProtocol.hh:385
ClientDirlistRequest
Definition: XProtocol.hh:415
kXR_REQFENCE
Definition: XProtocol.hh:143
kXR_mkdir
Definition: XProtocol.hh:119
ClientSyncRequest::streamid
kXR_char streamid[2]
Definition: XProtocol.hh:573
ServerResponseBody_Bind::substreamid
kXR_char substreamid
Definition: XProtocol.hh:712
ServerResponseBody_Login
Definition: XProtocol.hh:772
kXR_offline
Definition: XProtocol.hh:202
kXR_NotFile
Definition: XProtocol.hh:344
ClientVerifywRequest::fhandle
kXR_char fhandle[4]
Definition: XProtocol.hh:608
kXR_set
Definition: XProtocol.hh:129
kXR_mknone
Definition: XProtocol.hh:160
ClientChmodRequest::streamid
kXR_char streamid[2]
Definition: XProtocol.hh:392
kXR_async
Definition: XProtocol.hh:221
ClientPutfileRequest::dlen
kXR_int32 dlen
Definition: XProtocol.hh:508
kXR_delete
Definition: XProtocol.hh:216
kGENERICERR
Definition: XProtocol.hh:97
ClientSigverRequest::rsvd2
kXR_char rsvd2[3]
Definition: XProtocol.hh:561
ServerResponseBody_Buffer::data
char data[4096]
Definition: XProtocol.hh:830
ClientAdminRequest::requestid
kXR_unt16 requestid
Definition: XProtocol.hh:374
kXR_sync
Definition: XProtocol.hh:127
ClientTruncateRequest::fhandle
kXR_char fhandle[4]
Definition: XProtocol.hh:582
ClientGetfileRequest::reserved
kXR_char reserved[8]
Definition: XProtocol.hh:432
ClientWriteRequest::fhandle
kXR_char fhandle[4]
Definition: XProtocol.hh:590
readahead_list::fhandle
kXR_char fhandle[4]
Definition: XProtocol.hh:664
kXR_ArgTooLong
Definition: XProtocol.hh:331
ClientWriteVRequest::streamid
kXR_char streamid[2]
Definition: XProtocol.hh:597
ServerResponseBody_Authmore
Definition: XProtocol.hh:825
kXR_asyncgo
Definition: XProtocol.hh:320
ServerResponse::body
union ServerResponse::@0 body
ServerResponse::error
ServerResponseBody_Error error
Definition: XProtocol.hh:838
ClientLoginRequest::streamid
kXR_char streamid[2]
Definition: XProtocol.hh:444
ClientPrepareRequest::dlen
kXR_int32 dlen
Definition: XProtocol.hh:500
kXR_asyncav
Definition: XProtocol.hh:318
kXR_hasipv64
Definition: XProtocol.hh:170
ClientRequestHdr::body
kXR_char body[16]
Definition: XProtocol.hh:619
ALIGN_CHECK
Definition: XProtocol.hh:873
kXR_onlyprv6
Definition: XProtocol.hh:172
kXR_asyncdi
Definition: XProtocol.hh:314
kXR_oksofar
Definition: XProtocol.hh:298
kXR_asyncms
Definition: XProtocol.hh:315
ClientBindRequest::requestid
kXR_unt16 requestid
Definition: XProtocol.hh:387
ServerResponseBody_Error
Definition: XProtocol.hh:782
kXR_lclfile
Definition: XProtocol.hh:173
kXR_noErrorYet
Definition: XProtocol.hh:355
XPrepRequestOption
XPrepRequestOption
Definition: XProtocol.hh:262
ClientDirlistRequest::streamid
kXR_char streamid[2]
Definition: XProtocol.hh:416
ClientProtocolRequest::requestid
kXR_unt16 requestid
Definition: XProtocol.hh:486
kXR_ServerError
Definition: XProtocol.hh:341
ServerResponse::authmore
ServerResponseBody_Authmore authmore
Definition: XProtocol.hh:839
ServerResponse::protocol
ServerResponseBody_Protocol protocol
Definition: XProtocol.hh:844
ClientRequest
Definition: XProtocol.hh:623
ClientGetfileRequest::options
kXR_int32 options
Definition: XProtocol.hh:431
ClientDirlistRequest::options
kXR_char options[1]
Definition: XProtocol.hh:419
ServerResponseReqs_Protocol::secvec
ServerResponseSVec_Protocol secvec
Definition: XProtocol.hh:737
ClientWriteRequest::dlen
kXR_int32 dlen
Definition: XProtocol.hh:594
kXR_retstat
Definition: XProtocol.hh:226
XLoginAbility
XLoginAbility
Definition: XProtocol.hh:165
ServerResponse::buffer
ServerResponseBody_Buffer buffer
Definition: XProtocol.hh:846
kXR_query
Definition: XProtocol.hh:112
ServerResponseBody_Attn_asyncdi::msec
kXR_int32 msec
Definition: XProtocol.hh:822
readahead_list::rlen
kXR_int32 rlen
Definition: XProtocol.hh:665
XReqErrorType
XReqErrorType
Definition: XProtocol.hh:96
ClientLoginRequest
Definition: XProtocol.hh:443
ClientLocateRequest::reserved
kXR_char reserved[14]
Definition: XProtocol.hh:440
ClientAuthRequest
Definition: XProtocol.hh:378
ServerResponseBody_Redirect::host
char host[4096]
Definition: XProtocol.hh:779
ClientRmRequest::requestid
kXR_unt16 requestid
Definition: XProtocol.hh:536
kXR_statx
Definition: XProtocol.hh:133
kXR_cancel
Definition: XProtocol.hh:263
ClientReadVRequest::streamid
kXR_char streamid[2]
Definition: XProtocol.hh:528
kXR_dirlist
Definition: XProtocol.hh:115
ClientCloseRequest::requestid
kXR_unt16 requestid
Definition: XProtocol.hh:400
ServerResponse::login
ServerResponseBody_Login login
Definition: XProtocol.hh:845
ClientPrepareRequest::requestid
kXR_unt16 requestid
Definition: XProtocol.hh:494
ClientWriteVRequest
Definition: XProtocol.hh:596
kXR_QPrep
Definition: XProtocol.hh:240
ClientAuthRequest::streamid
kXR_char streamid[2]
Definition: XProtocol.hh:379
ClientRmRequest::streamid
kXR_char streamid[2]
Definition: XProtocol.hh:535
ClientPutfileRequest::buffsz
kXR_int32 buffsz
Definition: XProtocol.hh:507
ClientChmodRequest::mode
kXR_unt16 mode
Definition: XProtocol.hh:395
kXR_stat
Definition: XProtocol.hh:128
kXR_InvalidRequest
Definition: XProtocol.hh:335
ServerResponse
Definition: XProtocol.hh:833
ServerResponseBody_Attn_asyncrd::host
char host[4092]
Definition: XProtocol.hh:804
ServerResponseReqs_Protocol::secver
kXR_char secver
Definition: XProtocol.hh:733
SecurityRequest
Definition: XProtocol.hh:657
kXR_asyncab
Definition: XProtocol.hh:313
ALIGN_CHECK::chkszrsp
char chkszrsp[9-sizeof(ServerResponseHeader)]
Definition: XProtocol.hh:874
ClientSyncRequest::dlen
kXR_int32 dlen
Definition: XProtocol.hh:577
kXR_ping
Definition: XProtocol.hh:122
ServerResponseBody_Protocol::flags
kXR_int32 flags
Definition: XProtocol.hh:762
ClientDirlistRequest::dlen
kXR_int32 dlen
Definition: XProtocol.hh:420
kXR_ver002
Definition: XProtocol.hh:188
kXR_Qxattr
Definition: XProtocol.hh:242
ClientSyncRequest
Definition: XProtocol.hh:572
ClientPutfileRequest
Definition: XProtocol.hh:502
ServerResponseBody_Attn_asynresp::respdata
char respdata[4096]
Definition: XProtocol.hh:811
ClientMkdirRequest::dlen
kXR_int32 dlen
Definition: XProtocol.hh:460
kXR_secreqs
Definition: XProtocol.hh:235
ServerResponseBody_Wait::seconds
kXR_int32 seconds
Definition: XProtocol.hh:788
kXR_writev
Definition: XProtocol.hh:142
ClientSetRequest
Definition: XProtocol.hh:546
kXR_Unsupported
Definition: XProtocol.hh:342
ServerInitHandShake::msgval
kXR_int32 msgval
Definition: XProtocol.hh:866
kREDIRCONNECT
Definition: XProtocol.hh:100
ClientReadVRequest::requestid
kXR_unt16 requestid
Definition: XProtocol.hh:529
ClientQueryRequest::streamid
kXR_char streamid[2]
Definition: XProtocol.hh:511
kXR_unt64
unsigned long long kXR_unt64
Definition: XPtypes.hh:99
ClientSetRequest::reserved
kXR_char reserved[15]
Definition: XProtocol.hh:549
kXR_protocol
Definition: XProtocol.hh:117
ClientRmRequest::dlen
kXR_int32 dlen
Definition: XProtocol.hh:538
kXR_Cancelled
Definition: XProtocol.hh:346
close
#define close(a)
Definition: XrdPosix.hh:43
XLoginVersion
XLoginVersion
Definition: XProtocol.hh:185
ServerResponseBody_Wait::infomsg
char infomsg[4096]
Definition: XProtocol.hh:789
ClientGetfileRequest::requestid
kXR_unt16 requestid
Definition: XProtocol.hh:430
ClientProtocolRequest::dlen
kXR_int32 dlen
Definition: XProtocol.hh:490
ClientSetRequest::requestid
kXR_unt16 requestid
Definition: XProtocol.hh:548
kXR_close
Definition: XProtocol.hh:114
ServerResponseBody_Protocol::pval
kXR_int32 pval
Definition: XProtocol.hh:761
ClientWriteRequest::streamid
kXR_char streamid[2]
Definition: XProtocol.hh:588
ClientMvRequest::arg1len
kXR_int16 arg1len
Definition: XProtocol.hh:466
ClientPingRequest::streamid
kXR_char streamid[2]
Definition: XProtocol.hh:479
ClientPutfileRequest::streamid
kXR_char streamid[2]
Definition: XProtocol.hh:503
kXR_gw
Definition: XProtocol.hh:152
ServerResponseBody_Attn_asyncwt::wsec
kXR_int32 wsec
Definition: XProtocol.hh:816
ServerResponseReqs_Protocol::secvsz
kXR_char secvsz
Definition: XProtocol.hh:736
ServerResponseBody_Open
Definition: XProtocol.hh:716
ClientReadRequest::requestid
kXR_unt16 requestid
Definition: XProtocol.hh:521
XrdProto::read_list::fhandle
kXR_char fhandle[4]
Definition: XProtocol.hh:680
kXR_error
Definition: XProtocol.hh:301
ClientStatRequest::requestid
kXR_unt16 requestid
Definition: XProtocol.hh:566
ClientWriteVRequest::reserved
kXR_char reserved[15]
Definition: XProtocol.hh:600
kXR_dstat
Definition: XProtocol.hh:211
ServerResponseBody_Attn_asyncwt
Definition: XProtocol.hh:814
ServerResponseHeader::status
kXR_unt16 status
Definition: XProtocol.hh:706
ServerResponse::hdr
ServerResponseHeader hdr
Definition: XProtocol.hh:835
ClientQueryRequest::reserved1
kXR_char reserved1[2]
Definition: XProtocol.hh:514
ClientAuthRequest::dlen
kXR_int32 dlen
Definition: XProtocol.hh:383
ClientCloseRequest::fhandle
kXR_char fhandle[4]
Definition: XProtocol.hh:401
kXR_xset
Definition: XProtocol.hh:199
ServerResponseBody_Waitresp::seconds
kXR_int32 seconds
Definition: XProtocol.hh:793
kXR_attn
Definition: XProtocol.hh:299
kXR_open_wrto
Definition: XProtocol.hh:231
ClientPutfileRequest::reserved
kXR_char reserved[8]
Definition: XProtocol.hh:506
ClientPrepareRequest::options
kXR_char options
Definition: XProtocol.hh:495
kXR_Qopaqug
Definition: XProtocol.hh:249
kXR_Qcksum
Definition: XProtocol.hh:241
ClientAdminRequest
Definition: XProtocol.hh:372
ClientDecryptRequest::expectrid
kXR_unt16 expectrid
Definition: XProtocol.hh:409
ClientGetfileRequest::streamid
kXR_char streamid[2]
Definition: XProtocol.hh:429
ClientLocateRequest
Definition: XProtocol.hh:436
kXR_ux
Definition: XProtocol.hh:150
ClientRmRequest::reserved
kXR_char reserved[16]
Definition: XProtocol.hh:537
kXR_prefname
Definition: XProtocol.hh:224
ServerResponseReqs_Protocol
Definition: XProtocol.hh:730
kXR_open_apnd
Definition: XProtocol.hh:225
ServerResponseHeader
Definition: XProtocol.hh:704
ServerResponseBody_Attn_asyncdi::wsec
kXR_int32 wsec
Definition: XProtocol.hh:821
kXR_ur
Definition: XProtocol.hh:148
ClientWriteRequest::offset
kXR_int64 offset
Definition: XProtocol.hh:591
kXR_seqio
Definition: XProtocol.hh:230
XProtocol::reqName
static const char * reqName(kXR_unt16 reqCode)
ClientAdminRequest::reserved
kXR_char reserved[16]
Definition: XProtocol.hh:375
ClientStatRequest::streamid
kXR_char streamid[2]
Definition: XProtocol.hh:565
ClientChmodRequest::dlen
kXR_int32 dlen
Definition: XProtocol.hh:396
ServerResponse::attn
ServerResponseBody_Attn attn
Definition: XProtocol.hh:843
ServerResponseBody_Open::cptype
kXR_char cptype[4]
Definition: XProtocol.hh:719
kXR_endsess
Definition: XProtocol.hh:134
kXR_force
Definition: XProtocol.hh:217
read_args
Definition: XProtocol.hh:669
ServerResponseSVec_Protocol::reqsreq
kXR_char reqsreq
Definition: XProtocol.hh:727
ClientAuthRequest::reserved
kXR_char reserved[12]
Definition: XProtocol.hh:381
ClientWriteVRequest::dlen
kXR_int32 dlen
Definition: XProtocol.hh:601
XResponseType
XResponseType
Definition: XProtocol.hh:296
kXR_ver001
Definition: XProtocol.hh:187
ClientDecryptRequest::reserved
kXR_char reserved[12]
Definition: XProtocol.hh:412
ClientAdminRequest::dlen
kXR_int32 dlen
Definition: XProtocol.hh:376
XProtocol::toErrno
static int toErrno(int xerr)
Definition: XProtocol.hh:930
kXR_wait
Definition: XProtocol.hh:303
kXR_online
Definition: XProtocol.hh:210
ClientSyncRequest::fhandle
kXR_char fhandle[4]
Definition: XProtocol.hh:575
kXR_read
Definition: XProtocol.hh:124
ServerResponseBody_Attn_asynresp::resphdr
ServerResponseHeader resphdr
Definition: XProtocol.hh:810
kXR_bind
Definition: XProtocol.hh:135
ServerResponseBody_Attn_asyncrd
Definition: XProtocol.hh:801
ServerResponseBody_Protocol::secreq
ServerResponseReqs_Protocol secreq
Definition: XProtocol.hh:763
kXR_inProgress
Definition: XProtocol.hh:349
ServerResponseBody_Waitresp
Definition: XProtocol.hh:792
mkdir
#define mkdir(a, b)
Definition: XrdPosix.hh:69
ClientWriteRequest::reserved
kXR_char reserved[3]
Definition: XProtocol.hh:593
ClientBindRequest::sessid
kXR_char sessid[16]
Definition: XProtocol.hh:388
ClientPrepareRequest::reserved
kXR_char reserved[10]
Definition: XProtocol.hh:499
ClientBindRequest::streamid
kXR_char streamid[2]
Definition: XProtocol.hh:386
kXR_Qspace
Definition: XProtocol.hh:243
ClientQueryRequest::infotype
kXR_unt16 infotype
Definition: XProtocol.hh:513
ClientEndsessRequest
Definition: XProtocol.hh:422
ClientLocateRequest::dlen
kXR_int32 dlen
Definition: XProtocol.hh:441
ClientChmodRequest::requestid
kXR_unt16 requestid
Definition: XProtocol.hh:393
kXR_nocrc
Definition: XProtocol.hh:253
ClientVerifywRequest::offset
kXR_int64 offset
Definition: XProtocol.hh:609
ClientReadRequest
Definition: XProtocol.hh:519
ClientSetRequest::modifier
kXR_char modifier
Definition: XProtocol.hh:550
XrdProto::write_list::fhandle
kXR_char fhandle[4]
Definition: XProtocol.hh:686
ClientProtocolRequest
Definition: XProtocol.hh:484
read
#define read(a, b, c)
Definition: XrdPosix.hh:77
ClientRequestHdr::streamid
kXR_char streamid[2]
Definition: XProtocol.hh:617
ServerResponseBody_Attn_asynresp::actnum
kXR_int32 actnum
Definition: XProtocol.hh:808
ServerInitHandShake::msglen
kXR_int32 msglen
Definition: XProtocol.hh:864
XStatRequestOption
XStatRequestOption
Definition: XProtocol.hh:193
ClientDirlistRequest::reserved
kXR_char reserved[15]
Definition: XProtocol.hh:418
kXR_locate
Definition: XProtocol.hh:138
ClientInitHandShake::third
kXR_int32 third
Definition: XProtocol.hh:857
ClientPrepareRequest::streamid
kXR_char streamid[2]
Definition: XProtocol.hh:493
ClientMvRequest::requestid
kXR_unt16 requestid
Definition: XProtocol.hh:464
ServerResponseReqs_Protocol::theTag
kXR_char theTag
Definition: XProtocol.hh:731
kXR_SigVerErr
Definition: XProtocol.hh:351
ClientTruncateRequest::requestid
kXR_unt16 requestid
Definition: XProtocol.hh:581
ServerResponseBody_Attn_asyncrd::port
kXR_int32 port
Definition: XProtocol.hh:803
ClientCloseRequest::reserved
kXR_char reserved[4]
Definition: XProtocol.hh:403
kXR_coloc
Definition: XProtocol.hh:268
kXR_readable
Definition: XProtocol.hh:203
kXR_getfile
Definition: XProtocol.hh:116
ServerResponseHeader::streamid
kXR_char streamid[2]
Definition: XProtocol.hh:705
stat
#define stat(a, b)
Definition: XrdPosix.hh:96
ClientReadVRequest::reserved
kXR_char reserved[15]
Definition: XProtocol.hh:530
kXR_redirect
Definition: XProtocol.hh:302
ClientDecryptRequest::requestid
kXR_unt16 requestid
Definition: XProtocol.hh:408
ClientWriteRequest::requestid
kXR_unt16 requestid
Definition: XProtocol.hh:589
ClientLoginRequest::reserved
kXR_char reserved
Definition: XProtocol.hh:448
kOK
Definition: XProtocol.hh:101
kXR_ox
Definition: XProtocol.hh:156
kXR_mkdirpath
Definition: XProtocol.hh:161
ServerResponse::redirect
ServerResponseBody_Redirect redirect
Definition: XProtocol.hh:842
kXR_open_updt
Definition: XProtocol.hh:220
ClientSyncRequest::requestid
kXR_unt16 requestid
Definition: XProtocol.hh:574
ClientVerifywRequest::pathid
kXR_char pathid
Definition: XProtocol.hh:610
ClientGetfileRequest::dlen
kXR_int32 dlen
Definition: XProtocol.hh:434
kXR_mkpath
Definition: XProtocol.hh:223
XRequestTypes
XRequestTypes
Definition: XProtocol.hh:110
XrdProto::write_list::wlen
kXR_int32 wlen
Definition: XProtocol.hh:687
kXR_uw
Definition: XProtocol.hh:149
ClientRmdirRequest::dlen
kXR_int32 dlen
Definition: XProtocol.hh:544
ClientStatRequest::options
kXR_char options
Definition: XProtocol.hh:567
ClientOpenRequest
Definition: XProtocol.hh:469
ClientOpenRequest::requestid
kXR_unt16 requestid
Definition: XProtocol.hh:471
ClientRmdirRequest::requestid
kXR_unt16 requestid
Definition: XProtocol.hh:542
ClientQueryRequest::fhandle
kXR_char fhandle[4]
Definition: XProtocol.hh:515
kXR_noserver
Definition: XProtocol.hh:343
ClientReadVRequest::pathid
kXR_char pathid
Definition: XProtocol.hh:531
ClientTruncateRequest::reserved
kXR_char reserved[4]
Definition: XProtocol.hh:584
ClientGetfileRequest
Definition: XProtocol.hh:428
ClientChmodRequest
Definition: XProtocol.hh:391
ClientReadRequest::offset
kXR_int64 offset
Definition: XProtocol.hh:523
ClientTruncateRequest::streamid
kXR_char streamid[2]
Definition: XProtocol.hh:580
ClientProtocolRequest::reserved
kXR_char reserved[11]
Definition: XProtocol.hh:489
kXR_poscpend
Definition: XProtocol.hh:205
kXR_ArgInvalid
Definition: XProtocol.hh:329
ClientWriteRequest
Definition: XProtocol.hh:587
ServerResponseBody_Attn::actnum
kXR_int32 actnum
Definition: XProtocol.hh:797
ClientReadRequest::rlen
kXR_int32 rlen
Definition: XProtocol.hh:524
ClientWriteVRequest::requestid
kXR_unt16 requestid
Definition: XProtocol.hh:598
XActionCode
XActionCode
Definition: XProtocol.hh:312
ClientPingRequest::requestid
kXR_unt16 requestid
Definition: XProtocol.hh:480
kXR_ok
Definition: XProtocol.hh:297
read_args::reserved
kXR_char reserved[7]
Definition: XProtocol.hh:671
kXR_new
Definition: XProtocol.hh:218
XSecFlags
XSecFlags
Definition: XProtocol.hh:281
ClientMvRequest::streamid
kXR_char streamid[2]
Definition: XProtocol.hh:463
kXR_ow
Definition: XProtocol.hh:155
XDirlistRequestOption
XDirlistRequestOption
Definition: XProtocol.hh:209
XrdProto
Definition: XProtocol.hh:677
kXR_FileLocked
Definition: XProtocol.hh:332
XrdProto::write_list
Definition: XProtocol.hh:685
ClientStatRequest
Definition: XProtocol.hh:564
ClientEndsessRequest::sessid
kXR_char sessid[16]
Definition: XProtocol.hh:425
kXR_usetcp
Definition: XProtocol.hh:270
ClientMkdirRequest::reserved
kXR_char reserved[13]
Definition: XProtocol.hh:458
kXR_lcvnone
Definition: XProtocol.hh:178
ClientDecryptRequest::dlen
kXR_int32 dlen
Definition: XProtocol.hh:413
kXR_prepare
Definition: XProtocol.hh:132
ClientLoginRequest::requestid
kXR_unt16 requestid
Definition: XProtocol.hh:445
kXR_bkpexist
Definition: XProtocol.hh:206
ClientSigverRequest::dlen
kXR_int32 dlen
Definition: XProtocol.hh:562
kXR_NotFound
Definition: XProtocol.hh:340
ClientAuthRequest::requestid
kXR_unt16 requestid
Definition: XProtocol.hh:380
ClientPutfileRequest::options
kXR_int32 options
Definition: XProtocol.hh:505
kXR_FileNotOpen
Definition: XProtocol.hh:333
kXR_fresh
Definition: XProtocol.hh:269
kXR_decrypt
Definition: XProtocol.hh:141
ClientPingRequest::dlen
kXR_int32 dlen
Definition: XProtocol.hh:482
ServerResponseBody_Open::cpsize
kXR_int32 cpsize
Definition: XProtocol.hh:718
ClientPingRequest::reserved
kXR_char reserved[16]
Definition: XProtocol.hh:481
ClientLoginRequest::ability
kXR_char ability
Definition: XProtocol.hh:449
ClientLocateRequest::options
kXR_unt16 options
Definition: XProtocol.hh:439
kXR_notify
Definition: XProtocol.hh:264
kXR_replica
Definition: XProtocol.hh:227
kXR_noerrs
Definition: XProtocol.hh:265
kXR_asyncrd
Definition: XProtocol.hh:316
ClientDecryptRequest
Definition: XProtocol.hh:406
ServerResponse::wait
ServerResponseBody_Wait wait
Definition: XProtocol.hh:840
ClientSigverRequest::version
kXR_char version
Definition: XProtocol.hh:557
ClientMkdirRequest::requestid
kXR_unt16 requestid
Definition: XProtocol.hh:456
ClientInitHandShake::second
kXR_int32 second
Definition: XProtocol.hh:856
kXR_asynunav
Definition: XProtocol.hh:319
kXR_crc32
Definition: XProtocol.hh:254
ServerResponseBody_Redirect
Definition: XProtocol.hh:777
XStatRespFlags
XStatRespFlags
Definition: XProtocol.hh:197
ClientVerifywRequest::dlen
kXR_int32 dlen
Definition: XProtocol.hh:613
XPtypes.hh
kXR_HashMask
Definition: XProtocol.hh:288
ClientLoginRequest::pid
kXR_int32 pid
Definition: XProtocol.hh:446
ClientDecryptRequest::version
kXR_char version
Definition: XProtocol.hh:410
kXR_compress
Definition: XProtocol.hh:215
ClientRmdirRequest::reserved
kXR_char reserved[16]
Definition: XProtocol.hh:543