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