xrootd
YProtocol.hh
Go to the documentation of this file.
1 #ifndef __YPROTOCOL_H
2 #define __YPROTOCOL_H
3 /******************************************************************************/
4 /* */
5 /* Y 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 /* XRootD is distributed in the hope that it will be useful, but WITHOUT */
20 /* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or */
21 /* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public */
22 /* License for more details. */
23 /* */
24 /* The XRootD protocol definition, documented in this file, is distributed */
25 /* under a modified BSD license and may be freely used to reimplement it. */
26 /* Any references to "source" in this license refers to this file or any */
27 /* other file that specifically contains the following license. */
28 /* */
29 /* Redistribution and use in source and binary forms, with or without */
30 /* modification, are permitted provided that the following conditions */
31 /* are met: */
32 /* */
33 /* 1. Redistributions of source code must retain the above copyright notice, */
34 /* this list of conditions and the following disclaimer. */
35 /* */
36 /* 2. Redistributions in binary form must reproduce the above copyright */
37 /* notice, this list of conditions and the following disclaimer in the */
38 /* documentation and/or other materials provided with the distribution. */
39 /* */
40 /* 3. Neither the name of the copyright holder nor the names of its */
41 /* contributors may be used to endorse or promote products derived from */
42 /* this software without specific prior written permission. */
43 /* */
44 /* 4. Derived software may not use the name XRootD or cmsd (regardless of */
45 /* capitilization) in association with the derived work if the protocol */
46 /* documented in this file is changed in any way. */
47 /* */
48 /* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS */
49 /* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT */
50 /* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR */
51 /* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT */
52 /* HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, */
53 /* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT */
54 /* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, */
55 /* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY */
56 /* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT */
57 /* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE */
58 /******************************************************************************/
59 
60 #ifdef __CINT__
61 #define __attribute__(x)
62 #endif
63 
64 #include "XProtocol/XPtypes.hh"
65 
66 // We need to pack structures sent all over the net!
67 // __attribute__((packed)) assures no padding bytes.
68 //
69 // Note all binary values shall be in network byte order.
70 //
71 // Data is serialized as explained in XrdOucPup.
72 
73 /******************************************************************************/
74 /* C o m m o n R e q u e s t S e c t i o n */
75 /******************************************************************************/
76 
77 namespace XrdCms
78 {
79 
80 static const unsigned char kYR_Version = 3;
81 
82 struct CmsRRHdr
83 { kXR_unt32 streamid; // Essentially opaque
84  kXR_char rrCode; // Request or Response code
85  kXR_char modifier; // RR dependent
87 };
88 
89 enum CmsReqCode // Request Codes
90 { kYR_login = 0, // Same as kYR_data
91  kYR_chmod = 1,
93  kYR_mkdir = 3,
95  kYR_mv = 5,
98  kYR_rm = 8,
99  kYR_rmdir = 9,
101  kYR_stats = 11,
102  kYR_avail = 12,
103  kYR_disc = 13,
104  kYR_gone = 14,
105  kYR_have = 15,
106  kYR_load = 16,
107  kYR_ping = 17,
108  kYR_pong = 18,
109  kYR_space = 19,
110  kYR_state = 20,
113  kYR_trunc = 23,
114  kYR_try = 24,
116  kYR_usage = 26,
117  kYR_xauth = 27,
118  kYR_MaxReq // Count of request numbers (highest + 1)
119 };
120 
121 // The hopcount is used for forwarded requests. It is incremented upon each
122 // forwarding until it wraps to zero. At this point the forward is not done.
123 // Forwarding applies to: chmod, have, mkdir, mkpath, mv, prepdel, rm, and
124 // rmdir. Any other modifiers must be encoded in the low order 6 bits.
125 //
127 { kYR_hopcount = 0xc0,
128  kYR_hopincr = 0x40
129 };
130 
132 { kYR_raw = 0x20, // Modifier: Unmarshalled data
133  kYR_dnf = 0x10 // Modifier: mv, rm, rmdir (do not forward)
134 };
135 
136 /******************************************************************************/
137 /* C o m m o n R e s p o n s e S e c t i o n */
138 /******************************************************************************/
139 
140 enum CmsRspCode // Response codes
141 { kYR_data = 0, // Same as kYR_login
144  kYR_wait = 3,
146  kYR_yauth = 5
147 };
148 
150 { kYR_ENOENT = 1, // -> ENOENT
151  kYR_EPERM, // -> ENOENT
152  kYR_EACCES, // -> EACCES
153  kYR_EINVAL, // -> EINVALO
154  kYR_EIO, // -> EIO
155  kYR_ENOMEM, // -> ENOMEM
156  kYR_ENOSPC, // -> ENOSPC
157  kYR_ENAMETOOLONG, // -> ENAMETOOLONG
158  kYR_ENETUNREACH, // -> ENETUNREACH
159  kYR_ENOTBLK, // -> ENOTBLK
160  kYR_EISDIR, // -> EISDIR
161  kYR_FSError, // -> ENODEV
162  kYR_SrvError, // -> EFAULT
163  kYR_RWConflict, // -> EEXIST
164  kYR_noReplicas // -> EADDRNOTAVAIL
165 };
166 
169 
170 enum {kYR_async = 128 // Modifier: Reply to prev waitresp
171  };
172 
173  kXR_unt32 Val; // Port, Wait val, rc, asyncid
174 // kXR_char Data[Hdr.datalen-4];// Target host, more data, or emessage
175 };
176 
177 /******************************************************************************/
178 /* a v a i l R e q u e s t */
179 /******************************************************************************/
180 
181 // Request: avail <diskFree> <diskUtil>
182 // Respond: n/a
183 //
186 // kXR_int32 diskFree;
187 // kXR_int32 diskUtil;
188 };
189 
190 /******************************************************************************/
191 /* c h m o d R e q u e s t */
192 /******************************************************************************/
193 
194 // Request: chmod <ident> <mode> <path>
195 // Respond: n/a
196 //
199 // kXR_string Ident;
200 // kXR_string Mode;
201 // kXR_string Path;
202 };
203 
204 /******************************************************************************/
205 /* d i s c R e q u e s t */
206 /******************************************************************************/
207 
208 // Request: disc
209 // Respond: n/a
210 //
213 };
214 
215 /******************************************************************************/
216 /* g o n e R e q u e s t */
217 /******************************************************************************/
218 
219 // Request: gone <path>
220 // Respond: n/a
221 //
224 // kXR_string Path;
225 };
226 
227 /******************************************************************************/
228 /* h a v e R e q u e s t */
229 /******************************************************************************/
230 
231 // Request: have <path>
232 // Respond: n/a
233 //
236  enum {Online = 1, Pending = 2}; // Modifiers
237 // kXR_string Path;
238 };
239 
240 /******************************************************************************/
241 /* l o c a t e R e q u e s t */
242 /******************************************************************************/
243 
246 // kXR_string Ident;
247 // kXR_unt32 Opts;
248 
249 enum {kYR_refresh = 0x0001,
250  kYR_retname = 0x0002,
251  kYR_retuniq = 0x0004,
252  kYR_asap = 0x0080,
253  kYR_retipv4 = 0x0000, // Client is only IPv4
254  kYR_retipv46= 0x1000, // Client is IPv4 IPv6
255  kYR_retipv6 = 0x2000, // Client is only IPv6
256  kYR_retipv64= 0x3000, // Client is IPv6 IPv4
257  kYR_retipmsk= 0x3000, // Mask to isolate retipcxx bits
258  kYR_retipsft= 12, // Shift to convert retipcxx bits
259  kYR_listall = 0x4000, // List everything regardless of other settings
260  kYR_prvtnet = 0x8000 // Client is using a private address
261  };
262 // kXR_string Path;
263 
264 static const int RHLen =266; // Max length of each host response item
265 };
266 
267 /******************************************************************************/
268 /* l o g i n R e q u e s t */
269 /******************************************************************************/
270 
271 // Request: login <login_data>
272 // Respond: xauth <auth_data>
273 // login <login_data>
274 //
275 
277 { kXR_unt16 Size; // Temp area for packing purposes
279  kXR_unt32 Mode; // From LoginMode
280  kXR_int32 HoldTime; // Hold time in ms(managers)
281  kXR_unt32 tSpace; // Tot Space GB (servers)
282  kXR_unt32 fSpace; // Free Space MB (servers)
283  kXR_unt32 mSpace; // Minf Space MB (servers)
284  kXR_unt16 fsNum; // File Systems (servers /supervisors)
285  kXR_unt16 fsUtil; // FS Utilization (servers /supervisors)
286  kXR_unt16 dPort; // Data port (servers /supervisors)
287  kXR_unt16 sPort; // Subs port (managers/supervisors)
288  kXR_char *SID; // Server ID (servers/ supervisors)
289  kXR_char *Paths; // Exported paths (servers/ supervisors)
290  kXR_char *ifList; // Exported interfaces
291  kXR_char *envCGI; // Exported environment
292 
294  {kYR_director= 0x00000001,
295  kYR_manager = 0x00000002,
296  kYR_peer = 0x00000004,
297  kYR_server = 0x00000008,
298  kYR_proxy = 0x00000010,
299  kYR_subman = 0x00000020,
300  kYR_blredir = 0x00000040, // Supports or is bl redir
301  kYR_suspend = 0x00000100, // Suspended login
302  kYR_nostage = 0x00000200, // Staging unavailable
303  kYR_trying = 0x00000400, // Extensive login retries
304  kYR_debug = 0x80000000,
305  kYR_share = 0x7f000000, // Mask to isolate share
306  kYR_shift = 24, // Share shift position
307  kYR_tzone = 0x00f80000, // Mask to isolate time zone
308  kYR_shifttz = 19 // TZone shift position
309  };
310 };
311 
315 };
316 
320 };
321 
322 /******************************************************************************/
323 /* l o a d R e q u e s t */
324 /******************************************************************************/
325 
326 // Request: load <cpu> <io> <load> <mem> <pag> <util> <dskfree>
327 // Respond: n/a
328 //
333 // kXR_char theLoad[numload];
334 // kXR_int dskFree;
335 };
336 
337 /******************************************************************************/
338 /* m k d i r R e q u e s t */
339 /******************************************************************************/
340 
341 // Request: mkdir <ident> <mode> <path>
342 // Respond: n/a
343 //
346 // kXR_string Ident;
347 // kXR_string Mode;
348 // kXR_string Path;
349 };
350 
351 /******************************************************************************/
352 /* m k p a t h R e q u e s t */
353 /******************************************************************************/
354 
355 // Request: <id> mkpath <mode> <path>
356 // Respond: n/a
357 //
360 // kXR_string Ident;
361 // kXR_string Mode;
362 // kXR_string Path;
363 };
364 
365 /******************************************************************************/
366 /* m v R e q u e s t */
367 /******************************************************************************/
368 
369 // Request: <id> mv <old_name> <new_name>
370 // Respond: n/a
371 //
372 struct CmsMvRequest {
373  CmsRRHdr Hdr; // Subject to kYR_dnf modifier!
374 // kXR_string Ident;
375 // kXR_string Old_Path;
376 // kXR_string New_Path;
377 };
378 
379 /******************************************************************************/
380 /* p i n g R e q u e s t */
381 /******************************************************************************/
382 
383 // Request: ping
384 // Respond: n/a
385 //
388 };
389 
390 /******************************************************************************/
391 /* p o n g R e q u e s t */
392 /******************************************************************************/
393 
394 // Request: pong
395 // Respond: n/a
396 //
399 };
400 
401 /******************************************************************************/
402 /* p r e p a d d R e q u e s t */
403 /******************************************************************************/
404 
405 // Request: <id> prepadd <reqid> <usr> <prty> <mode> <path>\n
406 // Respond: No response.
407 //
409 { CmsRRHdr Hdr; // Modifier used with following options
410 
411 enum {kYR_stage = 0x0001, // Stage the data
412  kYR_write = 0x0002, // Prepare for writing
413  kYR_coloc = 0x0004, // Prepare for co-location
414  kYR_fresh = 0x0008, // Prepare by time refresh
415  kYR_metaman = 0x0010 // Prepare via meta-manager
416  };
417 // kXR_string Ident;
418 // kXR_string reqid;
419 // kXR_string user;
420 // kXR_string prty;
421 // kXR_string mode;
422 // kXR_string Path;
423 // kXR_string Opaque; // Optional
424 };
425 
426 /******************************************************************************/
427 /* p r e p d e l R e q u e s t */
428 /******************************************************************************/
429 
430 // Request: <id> prepdel <reqid>
431 // Respond: No response.
432 //
435 // kXR_string Ident;
436 // kXR_string reqid;
437 };
438 
439 /******************************************************************************/
440 /* r m R e q u e s t */
441 /******************************************************************************/
442 
443 // Request: <id> rm <path>
444 // Respond: n/a
445 //
447 { CmsRRHdr Hdr; // Subject to kYR_dnf modifier!
448 // kXR_string Ident;
449 // kXR_string Path;
450 };
451 
452 /******************************************************************************/
453 /* r m d i r R e q u e s t */
454 /******************************************************************************/
455 
456 // Request: <id> rmdir <path>
457 // Respond: n/a
458 //
460 { CmsRRHdr Hdr; // Subject to kYR_dnf modifier!
461 // kXR_string Ident;
462 // kXR_string Path;
463 };
464 
465 /******************************************************************************/
466 /* s e l e c t R e q u e s t */
467 /******************************************************************************/
468 
469 // Request: <id> select[s] {c | d | m | r | w | s | t | x} <path> [-host]
470 
471 // Note: selects - requests a cache refresh for <path>
472 // kYR_refresh - refresh file location cache
473 // kYR_create c - file will be created
474 // kYR_delete d - file will be created or truncated
475 // kYR_metaop m - inod will only be modified
476 // kYR_read r - file will only be read
477 // kYR_replica - file will replicated
478 // kYR_write w - file will be read and writen
479 // kYR_stats s - only stat information will be obtained
480 // kYR_online x - consider only online files
481 // may be combined with kYR_stats (file must be resident)
482 // - - the host failed to deliver the file.
483 
484 
487 // kXR_string Ident;
488 // kXR_unt32 Opts;
489 
490 enum {kYR_refresh = 0x00000001,
491  kYR_create = 0x00000002, // May combine with trunc -> delete
492  kYR_online = 0x00000004,
493  kYR_read = 0x00000008, // Default
494  kYR_trunc = 0x00000010, // -> write
495  kYR_write = 0x00000020,
496  kYR_stat = 0x00000040, // Exclsuive
497  kYR_metaop = 0x00000080,
498  kYR_replica = 0x00000100, // Only in combination with create
499  kYR_mwfiles = 0x00000200, // Multiple writables files are OK
500  kYR_retipv4 = 0x00000000, // Client is only IPv4
501  kYR_retipv46= 0x00001000, // Client is IPv4 IPv6
502  kYR_retipv6 = 0x00002000, // Client is only IPv6
503  kYR_retipv64= 0x00003000, // Client is IPv6 IPv4
504  kYR_retipmsk= 0x00003000, // Mask to isolate retipcxx bits
505  kYR_retipsft= 12, // Shift to convert retipcxx bits
506  kYR_prvtnet = 0x00008000, // Client is using a private address
507 
508  kYR_tryMISS = 0x00000000, // Retry due to missing file (triedrc=enoent)
509  kYR_tryIOER = 0x00010000, // Retry due to I/O error (triedrc=ioerr)
510  kYR_tryFSER = 0x00020000, // Retry due to FS error (triedrc=fserr)
511  kYR_trySVER = 0x00030000, // Retry due to server error (triedrc=srverr)
512  kYR_tryMASK = 0x00030000, // Mask to isolate retry reason
513  kYR_trySHFT = 16, // Amount to shift right
514  kYR_tryRSEL = 0x00040000, // Retry for reselection LCL (triedrc=resel)
515  kYR_tryRSEG = 0x00080000, // Retry for reselection GBL (triedrc=resel)
516  kYR_tryMSRC = 0x000C0000, // Retry for multisource operation
517  kYR_aWeak = 0x00100000, // Affinity: weak
518  kYR_aStrong = 0x00200000, // Affinity: strong
519  kYR_aStrict = 0x00300000, // Affinity: strict
520  kYR_aNone = 0x00400000, // Affinity: none
521  kYR_aSpec = 0x00700000, // Mask to test if any affinity specified
522  kYR_aPack = 0x00300000, // Mask to test if the affinity packs choice
523  kYR_aWait = 0x00200000 // Mask to test if the affinity must wait
524  };
525 // kXR_string Path;
526 // kXR_string Opaque; // Optional
527 // kXR_string Host; // Optional
528 };
529 
530 /******************************************************************************/
531 /* s p a c e R e q u e s t */
532 /******************************************************************************/
533 
534 // Request: space
535 //
536 
539 };
540 
541 /******************************************************************************/
542 /* s t a t e R e q u e s t */
543 /******************************************************************************/
544 
545 // Request: state <path>
546 //
547 
550 // kXR_string Path;
551 
552 enum {kYR_refresh = 0x01, // Modifier
553  kYR_noresp = 0x02,
554  kYR_metaman = 0x08
555  };
556 };
557 
558 /******************************************************************************/
559 /* s t a t f s R e q u e s t */
560 /******************************************************************************/
561 
562 // Request: statfs <path>
563 //
564 
566 { CmsRRHdr Hdr; // Modifier used with following options
567 // kXR_string Path;
568 
569 enum {kYR_qvfs = 0x0001 // Virtual file system query
570  };
571 };
572 
573 /******************************************************************************/
574 /* s t a t s R e q u e s t */
575 /******************************************************************************/
576 
577 // Request: stats or statsz (determined by modifier)
578 //
579 
582 
583 enum {kYR_size = 1 // Modifier
584  };
585 };
586 
587 /******************************************************************************/
588 /* s t a t u s R e q u e s t */
589 /******************************************************************************/
590 
591 // Request: status
592 //
595 
596 enum {kYR_Stage = 0x01, kYR_noStage = 0x02, // Modifier
597  kYR_Resume = 0x04, kYR_Suspend = 0x08,
598  kYR_Reset = 0x10 // Exclusive
599  };
600 };
601 
602 /******************************************************************************/
603 /* t r u n c R e q u e s t */
604 /******************************************************************************/
605 
606 // Request: <id> trunc <path>
607 // Respond: n/a
608 //
611 // kXR_string Ident;
612 // kXR_string Size;
613 // kXR_string Path;
614 };
615 
616 /******************************************************************************/
617 /* t r y R e q u e s t */
618 /******************************************************************************/
619 
620 // Request: try
621 //
624  kXR_unt16 sLen; // This is the string length in PUP format
625 
626 // kYR_string {ipaddr:port}[up to STMax];
627 
628 enum {kYR_permtop = 0x01 // Modifier Permanent redirect to top level
629  };
630 };
631 
632 /******************************************************************************/
633 /* u p d a t e R e q u e s t */
634 /******************************************************************************/
635 
636 // Request: update
637 //
640 };
641 
642 /******************************************************************************/
643 /* u s a g e R e q u e s t */
644 /******************************************************************************/
645 
646 // Request: usage
647 //
650 };
651 
652 }; // namespace XrdCms
653 #endif
XrdCms::CmsLoginResponse::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:318
XrdCms::kYR_raw
@ kYR_raw
Definition: YProtocol.hh:132
XrdCms::CmsHaveRequest
Definition: YProtocol.hh:235
XrdCms::CmsPongRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:398
kXR_int32
int kXR_int32
Definition: XPtypes.hh:89
XrdCms::CmsPrepAddRequest
Definition: YProtocol.hh:409
XrdCms::CmsRmRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:447
XrdCms::kYR_Version
static const unsigned char kYR_Version
Definition: YProtocol.hh:80
XrdCms::CmsSelectRequest::kYR_retipv64
@ kYR_retipv64
Definition: YProtocol.hh:503
XrdCms::CmsSpaceRequest
Definition: YProtocol.hh:538
XrdCms::CmsLoginRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:313
XrdCms::CmsLoginData::kYR_trying
@ kYR_trying
Definition: YProtocol.hh:303
XrdCms::CmsStatusRequest
Definition: YProtocol.hh:594
XrdCms::CmsPrepAddRequest::kYR_stage
@ kYR_stage
Definition: YProtocol.hh:411
XrdCms::CmsUpdateRequest
Definition: YProtocol.hh:639
XrdCms::CmsSelectRequest::kYR_prvtnet
@ kYR_prvtnet
Definition: YProtocol.hh:506
XrdCms::kYR_xauth
@ kYR_xauth
Definition: YProtocol.hh:117
XrdCms::CmsStatfsRequest
Definition: YProtocol.hh:566
XrdCms::CmsTryRequest::sLen
kXR_unt16 sLen
Definition: YProtocol.hh:624
XrdCms::CmsMkdirRequest
Definition: YProtocol.hh:345
XrdCms::kYR_prepdel
@ kYR_prepdel
Definition: YProtocol.hh:97
XrdCms::CmsLoginData::Mode
kXR_unt32 Mode
Definition: YProtocol.hh:279
XrdCms::kYR_load
@ kYR_load
Definition: YProtocol.hh:106
XrdCms::CmsPrepAddRequest::kYR_write
@ kYR_write
Definition: YProtocol.hh:412
XrdCms::CmsSelectRequest::kYR_tryMISS
@ kYR_tryMISS
Definition: YProtocol.hh:508
XrdCms::kYR_EISDIR
@ kYR_EISDIR
Definition: YProtocol.hh:160
XrdCms::CmsLoginRequest::Data
CmsLoginData Data
Definition: YProtocol.hh:314
XrdCms::kYR_wait
@ kYR_wait
Definition: YProtocol.hh:144
XrdCms::CmsSelectRequest::kYR_retipv6
@ kYR_retipv6
Definition: YProtocol.hh:502
XrdCms::CmsRRHdr::streamid
kXR_unt32 streamid
Definition: YProtocol.hh:83
XrdCms::kYR_gone
@ kYR_gone
Definition: YProtocol.hh:104
XrdCms::kYR_statfs
@ kYR_statfs
Definition: YProtocol.hh:111
XrdCms::CmsStateRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:549
XrdCms::CmsMvRequest
Definition: YProtocol.hh:372
XrdCms::CmsMkpathRequest
Definition: YProtocol.hh:359
XrdCms::kYR_hopincr
@ kYR_hopincr
Definition: YProtocol.hh:128
XrdCms::kYR_EPERM
@ kYR_EPERM
Definition: YProtocol.hh:151
XrdCms::CmsLocateRequest::kYR_retipmsk
@ kYR_retipmsk
Definition: YProtocol.hh:257
XrdCms::CmsSelectRequest::kYR_stat
@ kYR_stat
Definition: YProtocol.hh:496
XrdCms::CmsSelectRequest::kYR_retipsft
@ kYR_retipsft
Definition: YProtocol.hh:505
XrdCms::CmsLoginData::HoldTime
kXR_int32 HoldTime
Definition: YProtocol.hh:280
XrdCms::CmsLoginData::tSpace
kXR_unt32 tSpace
Definition: YProtocol.hh:281
XrdCms::CmsLoginData::kYR_manager
@ kYR_manager
Definition: YProtocol.hh:295
XrdCms::kYR_avail
@ kYR_avail
Definition: YProtocol.hh:102
XrdCms::CmsReqCode
CmsReqCode
Definition: YProtocol.hh:90
XrdCms::CmsLocateRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:245
XrdCms::CmsLocateRequest::kYR_retname
@ kYR_retname
Definition: YProtocol.hh:250
XrdCms::CmsHaveRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:235
XrdCms::CmsSelectRequest::kYR_tryIOER
@ kYR_tryIOER
Definition: YProtocol.hh:509
XrdCms::CmsLocateRequest::kYR_listall
@ kYR_listall
Definition: YProtocol.hh:259
XrdCms::CmsPrepAddRequest::kYR_fresh
@ kYR_fresh
Definition: YProtocol.hh:414
kXR_char
unsigned char kXR_char
Definition: XPtypes.hh:65
XrdCms::CmsSelectRequest::kYR_aWait
@ kYR_aWait
Definition: YProtocol.hh:523
XrdCms::CmsLoginData::kYR_peer
@ kYR_peer
Definition: YProtocol.hh:296
XrdCms::CmsStatsRequest
Definition: YProtocol.hh:581
XrdCms::CmsStatusRequest::kYR_Suspend
@ kYR_Suspend
Definition: YProtocol.hh:597
XrdCms::YErrorCode
YErrorCode
Definition: YProtocol.hh:150
XrdCms::CmsPingRequest
Definition: YProtocol.hh:386
XrdCms::CmsSelectRequest::kYR_replica
@ kYR_replica
Definition: YProtocol.hh:498
XrdCms::CmsUsageRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:649
XrdCms::CmsLoadRequest::cpuLoad
@ cpuLoad
Definition: YProtocol.hh:331
XrdCms::kYR_rmdir
@ kYR_rmdir
Definition: YProtocol.hh:99
XrdCms::CmsHaveRequest::Pending
@ Pending
Definition: YProtocol.hh:236
XrdCms::CmsSelectRequest::kYR_create
@ kYR_create
Definition: YProtocol.hh:491
XrdCms::kYR_prepadd
@ kYR_prepadd
Definition: YProtocol.hh:96
XrdCms::CmsTruncRequest
Definition: YProtocol.hh:610
XrdCms::CmsLoginResponse::Data
CmsLoginData Data
Definition: YProtocol.hh:319
XrdCms::CmsLoginData::mSpace
kXR_unt32 mSpace
Definition: YProtocol.hh:283
XrdCms::CmsGoneRequest
Definition: YProtocol.hh:223
XrdCms::CmsLoadRequest::memLoad
@ memLoad
Definition: YProtocol.hh:331
XrdCms::kYR_select
@ kYR_select
Definition: YProtocol.hh:100
XrdCms::CmsSpaceRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:538
XrdCms::CmsLocateRequest
Definition: YProtocol.hh:245
XrdCms::kYR_pong
@ kYR_pong
Definition: YProtocol.hh:108
XrdCms::CmsLoginData::kYR_nostage
@ kYR_nostage
Definition: YProtocol.hh:302
XrdCms::CmsStateRequest
Definition: YProtocol.hh:549
XrdCms::CmsPrepDelRequest
Definition: YProtocol.hh:434
XrdCms::CmsLoginData::fsUtil
kXR_unt16 fsUtil
Definition: YProtocol.hh:285
XrdCms::CmsLoadRequest::dskLoad
@ dskLoad
Definition: YProtocol.hh:331
XrdCms::CmsFwdModifier
CmsFwdModifier
Definition: YProtocol.hh:127
XrdCms::CmsLocateRequest::kYR_retipv46
@ kYR_retipv46
Definition: YProtocol.hh:254
XrdCms::kYR_try
@ kYR_try
Definition: YProtocol.hh:114
XrdCms::kYR_usage
@ kYR_usage
Definition: YProtocol.hh:116
XrdCms::CmsLoadRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:330
kXR_unt32
unsigned int kXR_unt32
Definition: XPtypes.hh:90
XrdCms::CmsLoginData::sPort
kXR_unt16 sPort
Definition: YProtocol.hh:287
kXR_unt16
unsigned short kXR_unt16
Definition: XPtypes.hh:67
XrdCms::CmsSelectRequest::kYR_mwfiles
@ kYR_mwfiles
Definition: YProtocol.hh:499
XrdCms::kYR_MaxReq
@ kYR_MaxReq
Definition: YProtocol.hh:118
XrdCms::CmsLoginData::Paths
kXR_char * Paths
Definition: YProtocol.hh:289
XrdCms::kYR_EACCES
@ kYR_EACCES
Definition: YProtocol.hh:152
XrdCms::kYR_ENOSPC
@ kYR_ENOSPC
Definition: YProtocol.hh:156
XrdCms::CmsSelectRequest::kYR_aNone
@ kYR_aNone
Definition: YProtocol.hh:520
XrdCms::CmsLoginData::Size
kXR_unt16 Size
Definition: YProtocol.hh:277
XrdCms::CmsReqModifier
CmsReqModifier
Definition: YProtocol.hh:132
XrdCms::CmsPingRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:387
XrdCms::CmsLoginData::fSpace
kXR_unt32 fSpace
Definition: YProtocol.hh:282
XrdCms::kYR_waitresp
@ kYR_waitresp
Definition: YProtocol.hh:145
XrdCms::kYR_ENOENT
@ kYR_ENOENT
Definition: YProtocol.hh:150
XrdCms::kYR_stats
@ kYR_stats
Definition: YProtocol.hh:101
XrdCms::CmsSelectRequest::kYR_tryMSRC
@ kYR_tryMSRC
Definition: YProtocol.hh:516
XrdCms::CmsSelectRequest::kYR_read
@ kYR_read
Definition: YProtocol.hh:493
XrdCms::CmsRmRequest
Definition: YProtocol.hh:447
XrdCms::CmsLoginData::kYR_tzone
@ kYR_tzone
Definition: YProtocol.hh:307
XrdCms::CmsUpdateRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:639
XrdCms::CmsSelectRequest::kYR_aStrong
@ kYR_aStrong
Definition: YProtocol.hh:518
XrdCms::CmsPrepAddRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:409
XrdCms::kYR_trunc
@ kYR_trunc
Definition: YProtocol.hh:113
XrdCms::CmsStatusRequest::kYR_Reset
@ kYR_Reset
Definition: YProtocol.hh:598
XrdCms::CmsRRHdr
Definition: YProtocol.hh:83
XrdCms::kYR_space
@ kYR_space
Definition: YProtocol.hh:109
XrdCms::CmsLocateRequest::kYR_asap
@ kYR_asap
Definition: YProtocol.hh:252
XrdCms::CmsUsageRequest
Definition: YProtocol.hh:649
XrdCms::kYR_ENAMETOOLONG
@ kYR_ENAMETOOLONG
Definition: YProtocol.hh:157
XrdCms::CmsMkdirRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:345
XrdCms::CmsSelectRequest::kYR_retipv46
@ kYR_retipv46
Definition: YProtocol.hh:501
XrdCms::CmsStateRequest::kYR_noresp
@ kYR_noresp
Definition: YProtocol.hh:553
XrdCms::CmsMvRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:373
XrdCms
Definition: YProtocol.hh:78
XrdCms::CmsAvailRequest
Definition: YProtocol.hh:185
XrdCms::CmsSelectRequest::kYR_tryMASK
@ kYR_tryMASK
Definition: YProtocol.hh:512
XrdCms::CmsTryRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:623
XrdCms::CmsPrepAddRequest::kYR_metaman
@ kYR_metaman
Definition: YProtocol.hh:415
XrdCms::CmsSelectRequest::kYR_aSpec
@ kYR_aSpec
Definition: YProtocol.hh:521
XrdCms::CmsLoginData::kYR_suspend
@ kYR_suspend
Definition: YProtocol.hh:301
XrdCms::CmsStatusRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:594
XrdCms::CmsLocateRequest::kYR_refresh
@ kYR_refresh
Definition: YProtocol.hh:249
XrdCms::CmsLoginData::kYR_shift
@ kYR_shift
Definition: YProtocol.hh:306
XrdCms::CmsSelectRequest::kYR_tryFSER
@ kYR_tryFSER
Definition: YProtocol.hh:510
XrdCms::kYR_redirect
@ kYR_redirect
Definition: YProtocol.hh:143
XrdCms::kYR_update
@ kYR_update
Definition: YProtocol.hh:115
XrdCms::kYR_ENETUNREACH
@ kYR_ENETUNREACH
Definition: YProtocol.hh:158
XrdCms::kYR_yauth
@ kYR_yauth
Definition: YProtocol.hh:146
XrdCms::CmsLoadRequest
Definition: YProtocol.hh:330
XrdCms::CmsStateRequest::kYR_metaman
@ kYR_metaman
Definition: YProtocol.hh:554
XrdCms::CmsLoginData::SID
kXR_char * SID
Definition: YProtocol.hh:288
XrdCms::CmsStatusRequest::kYR_Stage
@ kYR_Stage
Definition: YProtocol.hh:596
XrdCms::CmsLocateRequest::kYR_retipsft
@ kYR_retipsft
Definition: YProtocol.hh:258
XrdCms::CmsSelectRequest::kYR_trySVER
@ kYR_trySVER
Definition: YProtocol.hh:511
XrdCms::CmsChmodRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:198
XrdCms::kYR_ping
@ kYR_ping
Definition: YProtocol.hh:107
XrdCms::CmsGoneRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:223
XrdCms::CmsMkpathRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:359
XrdCms::CmsLoginData::envCGI
kXR_char * envCGI
Definition: YProtocol.hh:291
XrdCms::kYR_mkdir
@ kYR_mkdir
Definition: YProtocol.hh:93
XrdCms::CmsStatusRequest::kYR_noStage
@ kYR_noStage
Definition: YProtocol.hh:596
XrdCms::CmsSelectRequest::kYR_write
@ kYR_write
Definition: YProtocol.hh:495
XrdCms::kYR_have
@ kYR_have
Definition: YProtocol.hh:105
XrdCms::kYR_dnf
@ kYR_dnf
Definition: YProtocol.hh:133
XrdCms::CmsLoginData::kYR_debug
@ kYR_debug
Definition: YProtocol.hh:304
XrdCms::CmsStatfsRequest::kYR_qvfs
@ kYR_qvfs
Definition: YProtocol.hh:569
XrdCms::CmsSelectRequest::kYR_trySHFT
@ kYR_trySHFT
Definition: YProtocol.hh:513
XrdCms::CmsLocateRequest::kYR_retipv64
@ kYR_retipv64
Definition: YProtocol.hh:256
XrdCms::CmsLoadRequest::xeqLoad
@ xeqLoad
Definition: YProtocol.hh:331
XrdCms::CmsLocateRequest::kYR_prvtnet
@ kYR_prvtnet
Definition: YProtocol.hh:260
XrdCms::CmsTruncRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:610
XrdCms::kYR_FSError
@ kYR_FSError
Definition: YProtocol.hh:161
XrdCms::CmsDiscRequest
Definition: YProtocol.hh:212
XrdCms::CmsHaveRequest::Online
@ Online
Definition: YProtocol.hh:236
XrdCms::CmsLocateRequest::kYR_retipv4
@ kYR_retipv4
Definition: YProtocol.hh:253
XrdCms::kYR_login
@ kYR_login
Definition: YProtocol.hh:90
XrdCms::CmsLoginResponse
Definition: YProtocol.hh:318
XrdCms::CmsPongRequest
Definition: YProtocol.hh:397
XrdCms::CmsTryRequest
Definition: YProtocol.hh:623
XrdCms::kYR_ENOMEM
@ kYR_ENOMEM
Definition: YProtocol.hh:155
XrdCms::kYR_data
@ kYR_data
Definition: YProtocol.hh:141
XrdCms::CmsRspCode
CmsRspCode
Definition: YProtocol.hh:141
XrdCms::kYR_mv
@ kYR_mv
Definition: YProtocol.hh:95
XrdCms::CmsSelectRequest::kYR_tryRSEL
@ kYR_tryRSEL
Definition: YProtocol.hh:514
XrdCms::CmsSelectRequest::kYR_retipmsk
@ kYR_retipmsk
Definition: YProtocol.hh:504
XrdCms::CmsSelectRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:486
XrdCms::CmsPrepDelRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:434
XrdCms::CmsResponse::Val
kXR_unt32 Val
Definition: YProtocol.hh:173
XrdCms::CmsLocateRequest::kYR_retuniq
@ kYR_retuniq
Definition: YProtocol.hh:251
XrdCms::CmsResponse
Definition: YProtocol.hh:168
XrdCms::CmsResponse::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:168
XrdCms::kYR_state
@ kYR_state
Definition: YProtocol.hh:110
XrdCms::CmsStatsRequest::kYR_size
@ kYR_size
Definition: YProtocol.hh:583
XrdCms::CmsRRHdr::rrCode
kXR_char rrCode
Definition: YProtocol.hh:84
XrdCms::CmsStatusRequest::kYR_Resume
@ kYR_Resume
Definition: YProtocol.hh:597
XrdCms::CmsSelectRequest::kYR_metaop
@ kYR_metaop
Definition: YProtocol.hh:497
XrdCms::kYR_RWConflict
@ kYR_RWConflict
Definition: YProtocol.hh:163
XrdCms::CmsLoadRequest::numLoad
@ numLoad
Definition: YProtocol.hh:332
XrdCms::CmsLoadRequest::netLoad
@ netLoad
Definition: YProtocol.hh:331
XrdCms::CmsLoginData::kYR_director
@ kYR_director
Definition: YProtocol.hh:294
XrdCms::kYR_EIO
@ kYR_EIO
Definition: YProtocol.hh:154
XrdCms::CmsRmdirRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:460
XrdCms::CmsSelectRequest
Definition: YProtocol.hh:486
XrdCms::CmsStatsRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:581
XrdCms::CmsLoginData::ifList
kXR_char * ifList
Definition: YProtocol.hh:290
XrdCms::CmsSelectRequest::kYR_aStrict
@ kYR_aStrict
Definition: YProtocol.hh:519
XrdCms::kYR_status
@ kYR_status
Definition: YProtocol.hh:112
XrdCms::kYR_mkpath
@ kYR_mkpath
Definition: YProtocol.hh:94
XrdCms::kYR_noReplicas
@ kYR_noReplicas
Definition: YProtocol.hh:164
XrdCms::kYR_chmod
@ kYR_chmod
Definition: YProtocol.hh:91
XrdCms::kYR_SrvError
@ kYR_SrvError
Definition: YProtocol.hh:162
XrdCms::kYR_error
@ kYR_error
Definition: YProtocol.hh:142
XrdCms::CmsLoginData::kYR_server
@ kYR_server
Definition: YProtocol.hh:297
XrdCms::CmsSelectRequest::kYR_trunc
@ kYR_trunc
Definition: YProtocol.hh:494
XrdCms::CmsLoginData::LoginMode
LoginMode
Definition: YProtocol.hh:294
XrdCms::kYR_locate
@ kYR_locate
Definition: YProtocol.hh:92
XrdCms::CmsLoginData::fsNum
kXR_unt16 fsNum
Definition: YProtocol.hh:284
XrdCms::CmsLocateRequest::RHLen
static const int RHLen
Definition: YProtocol.hh:264
XrdCms::kYR_rm
@ kYR_rm
Definition: YProtocol.hh:98
XrdCms::CmsSelectRequest::kYR_retipv4
@ kYR_retipv4
Definition: YProtocol.hh:500
XrdCms::CmsChmodRequest
Definition: YProtocol.hh:198
XrdCms::CmsLoginData::kYR_proxy
@ kYR_proxy
Definition: YProtocol.hh:298
XrdCms::CmsLoginData::kYR_share
@ kYR_share
Definition: YProtocol.hh:305
XrdCms::CmsLoginData
Definition: YProtocol.hh:277
XrdCms::CmsLoginRequest
Definition: YProtocol.hh:313
XrdCms::CmsTryRequest::kYR_permtop
@ kYR_permtop
Definition: YProtocol.hh:628
XrdCms::CmsLoginData::kYR_blredir
@ kYR_blredir
Definition: YProtocol.hh:300
XrdCms::CmsStateRequest::kYR_refresh
@ kYR_refresh
Definition: YProtocol.hh:552
XrdCms::CmsRRHdr::modifier
kXR_char modifier
Definition: YProtocol.hh:85
XrdCms::CmsRmdirRequest
Definition: YProtocol.hh:460
XrdCms::CmsLoginData::Version
kXR_unt16 Version
Definition: YProtocol.hh:278
XrdCms::CmsLoginData::kYR_subman
@ kYR_subman
Definition: YProtocol.hh:299
XrdCms::CmsLoginData::kYR_shifttz
@ kYR_shifttz
Definition: YProtocol.hh:308
XrdCms::CmsDiscRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:212
XrdCms::CmsStatfsRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:566
XrdCms::CmsSelectRequest::kYR_aPack
@ kYR_aPack
Definition: YProtocol.hh:522
XrdCms::kYR_disc
@ kYR_disc
Definition: YProtocol.hh:103
XrdCms::kYR_hopcount
@ kYR_hopcount
Definition: YProtocol.hh:127
XrdCms::CmsLoadRequest::pagLoad
@ pagLoad
Definition: YProtocol.hh:331
XrdCms::CmsRRHdr::datalen
kXR_unt16 datalen
Definition: YProtocol.hh:86
XrdCms::CmsAvailRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:185
XrdCms::CmsSelectRequest::kYR_tryRSEG
@ kYR_tryRSEG
Definition: YProtocol.hh:515
XrdCms::CmsLoginData::dPort
kXR_unt16 dPort
Definition: YProtocol.hh:286
XrdCms::CmsSelectRequest::kYR_refresh
@ kYR_refresh
Definition: YProtocol.hh:490
XrdCms::kYR_ENOTBLK
@ kYR_ENOTBLK
Definition: YProtocol.hh:159
XrdCms::CmsPrepAddRequest::kYR_coloc
@ kYR_coloc
Definition: YProtocol.hh:413
XrdCms::CmsLocateRequest::kYR_retipv6
@ kYR_retipv6
Definition: YProtocol.hh:255
XrdCms::CmsResponse::kYR_async
@ kYR_async
Definition: YProtocol.hh:170
XrdCms::CmsSelectRequest::kYR_aWeak
@ kYR_aWeak
Definition: YProtocol.hh:517
XPtypes.hh
XrdCms::kYR_EINVAL
@ kYR_EINVAL
Definition: YProtocol.hh:153
XrdCms::CmsSelectRequest::kYR_online
@ kYR_online
Definition: YProtocol.hh:492