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