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 
163 };
164 
167 
168 enum {kYR_async = 128 // Modifier: Reply to prev waitresp
169  };
170 
171  kXR_unt32 Val; // Port, Wait val, rc, asyncid
172 // kXR_char Data[Hdr.datalen-4];// Target host, more data, or emessage
173 };
174 
175 /******************************************************************************/
176 /* a v a i l R e q u e s t */
177 /******************************************************************************/
178 
179 // Request: avail <diskFree> <diskUtil>
180 // Respond: n/a
181 //
184 // kXR_int32 diskFree;
185 // kXR_int32 diskUtil;
186 };
187 
188 /******************************************************************************/
189 /* c h m o d R e q u e s t */
190 /******************************************************************************/
191 
192 // Request: chmod <ident> <mode> <path>
193 // Respond: n/a
194 //
197 // kXR_string Ident;
198 // kXR_string Mode;
199 // kXR_string Path;
200 };
201 
202 /******************************************************************************/
203 /* d i s c R e q u e s t */
204 /******************************************************************************/
205 
206 // Request: disc
207 // Respond: n/a
208 //
211 };
212 
213 /******************************************************************************/
214 /* g o n e R e q u e s t */
215 /******************************************************************************/
216 
217 // Request: gone <path>
218 // Respond: n/a
219 //
222 // kXR_string Path;
223 };
224 
225 /******************************************************************************/
226 /* h a v e R e q u e s t */
227 /******************************************************************************/
228 
229 // Request: have <path>
230 // Respond: n/a
231 //
234  enum {Online = 1, Pending = 2}; // Modifiers
235 // kXR_string Path;
236 };
237 
238 /******************************************************************************/
239 /* l o c a t e R e q u e s t */
240 /******************************************************************************/
241 
244 // kXR_string Ident;
245 // kXR_unt32 Opts;
246 
247 enum {kYR_refresh = 0x0001,
248  kYR_retname = 0x0002,
249  kYR_retuniq = 0x0004,
250  kYR_asap = 0x0080,
251  kYR_retipv4 = 0x0000, // Client is only IPv4
252  kYR_retipv46= 0x1000, // Client is IPv4 IPv6
253  kYR_retipv6 = 0x2000, // Client is only IPv6
254  kYR_retipv64= 0x3000, // Client is IPv6 IPv4
255  kYR_retipmsk= 0x3000, // Mask to isolate retipcxx bits
256  kYR_retipsft= 12, // Shift to convert retipcxx bits
257  kYR_listall = 0x4000, // List everything regardless of other settings
258  kYR_prvtnet = 0x8000 // Client is using a private address
259  };
260 // kXR_string Path;
261 
262 static const int RHLen =266; // Max length of each host response item
263 };
264 
265 /******************************************************************************/
266 /* l o g i n R e q u e s t */
267 /******************************************************************************/
268 
269 // Request: login <login_data>
270 // Respond: xauth <auth_data>
271 // login <login_data>
272 //
273 
275 { kXR_unt16 Size; // Temp area for packing purposes
277  kXR_unt32 Mode; // From LoginMode
278  kXR_int32 HoldTime; // Hold time in ms(managers)
279  kXR_unt32 tSpace; // Tot Space GB (servers)
280  kXR_unt32 fSpace; // Free Space MB (servers)
281  kXR_unt32 mSpace; // Minf Space MB (servers)
282  kXR_unt16 fsNum; // File Systems (servers /supervisors)
283  kXR_unt16 fsUtil; // FS Utilization (servers /supervisors)
284  kXR_unt16 dPort; // Data port (servers /supervisors)
285  kXR_unt16 sPort; // Subs port (managers/supervisors)
286  kXR_char *SID; // Server ID (servers/ supervisors)
287  kXR_char *Paths; // Exported paths (servers/ supervisors)
288  kXR_char *ifList; // Exported interfaces
289  kXR_char *envCGI; // Exported environment
290 
292  {kYR_director= 0x00000001,
293  kYR_manager = 0x00000002,
294  kYR_peer = 0x00000004,
295  kYR_server = 0x00000008,
296  kYR_proxy = 0x00000010,
297  kYR_subman = 0x00000020,
298  kYR_blredir = 0x00000040, // Supports or is bl redir
299  kYR_suspend = 0x00000100, // Suspended login
300  kYR_nostage = 0x00000200, // Staging unavailable
301  kYR_trying = 0x00000400, // Extensive login retries
302  kYR_debug = 0x80000000,
303  kYR_share = 0x7f000000, // Mask to isolate share
304  kYR_shift = 24, // Share shift position
305  kYR_tzone = 0x00f80000, // Mask to isolate time zone
306  kYR_shifttz = 19 // TZone shift position
307  };
308 };
309 
313 };
314 
318 };
319 
320 /******************************************************************************/
321 /* l o a d R e q u e s t */
322 /******************************************************************************/
323 
324 // Request: load <cpu> <io> <load> <mem> <pag> <util> <dskfree>
325 // Respond: n/a
326 //
331 // kXR_char theLoad[numload];
332 // kXR_int dskFree;
333 };
334 
335 /******************************************************************************/
336 /* m k d i r R e q u e s t */
337 /******************************************************************************/
338 
339 // Request: mkdir <ident> <mode> <path>
340 // Respond: n/a
341 //
344 // kXR_string Ident;
345 // kXR_string Mode;
346 // kXR_string Path;
347 };
348 
349 /******************************************************************************/
350 /* m k p a t h R e q u e s t */
351 /******************************************************************************/
352 
353 // Request: <id> mkpath <mode> <path>
354 // Respond: n/a
355 //
358 // kXR_string Ident;
359 // kXR_string Mode;
360 // kXR_string Path;
361 };
362 
363 /******************************************************************************/
364 /* m v R e q u e s t */
365 /******************************************************************************/
366 
367 // Request: <id> mv <old_name> <new_name>
368 // Respond: n/a
369 //
370 struct CmsMvRequest {
371  CmsRRHdr Hdr; // Subject to kYR_dnf modifier!
372 // kXR_string Ident;
373 // kXR_string Old_Path;
374 // kXR_string New_Path;
375 };
376 
377 /******************************************************************************/
378 /* p i n g R e q u e s t */
379 /******************************************************************************/
380 
381 // Request: ping
382 // Respond: n/a
383 //
386 };
387 
388 /******************************************************************************/
389 /* p o n g R e q u e s t */
390 /******************************************************************************/
391 
392 // Request: pong
393 // Respond: n/a
394 //
397 };
398 
399 /******************************************************************************/
400 /* p r e p a d d R e q u e s t */
401 /******************************************************************************/
402 
403 // Request: <id> prepadd <reqid> <usr> <prty> <mode> <path>\n
404 // Respond: No response.
405 //
407 { CmsRRHdr Hdr; // Modifier used with following options
408 
409 enum {kYR_stage = 0x0001, // Stage the data
410  kYR_write = 0x0002, // Prepare for writing
411  kYR_coloc = 0x0004, // Prepare for co-location
412  kYR_fresh = 0x0008, // Prepare by time refresh
413  kYR_metaman = 0x0010 // Prepare via meta-manager
414  };
415 // kXR_string Ident;
416 // kXR_string reqid;
417 // kXR_string user;
418 // kXR_string prty;
419 // kXR_string mode;
420 // kXR_string Path;
421 // kXR_string Opaque; // Optional
422 };
423 
424 /******************************************************************************/
425 /* p r e p d e l R e q u e s t */
426 /******************************************************************************/
427 
428 // Request: <id> prepdel <reqid>
429 // Respond: No response.
430 //
433 // kXR_string Ident;
434 // kXR_string reqid;
435 };
436 
437 /******************************************************************************/
438 /* r m R e q u e s t */
439 /******************************************************************************/
440 
441 // Request: <id> rm <path>
442 // Respond: n/a
443 //
445 { CmsRRHdr Hdr; // Subject to kYR_dnf modifier!
446 // kXR_string Ident;
447 // kXR_string Path;
448 };
449 
450 /******************************************************************************/
451 /* r m d i r R e q u e s t */
452 /******************************************************************************/
453 
454 // Request: <id> rmdir <path>
455 // Respond: n/a
456 //
458 { CmsRRHdr Hdr; // Subject to kYR_dnf modifier!
459 // kXR_string Ident;
460 // kXR_string Path;
461 };
462 
463 /******************************************************************************/
464 /* s e l e c t R e q u e s t */
465 /******************************************************************************/
466 
467 // Request: <id> select[s] {c | d | m | r | w | s | t | x} <path> [-host]
468 
469 // Note: selects - requests a cache refresh for <path>
470 // kYR_refresh - refresh file location cache
471 // kYR_create c - file will be created
472 // kYR_delete d - file will be created or truncated
473 // kYR_metaop m - inod will only be modified
474 // kYR_read r - file will only be read
475 // kYR_replica - file will replicated
476 // kYR_write w - file will be read and writen
477 // kYR_stats s - only stat information will be obtained
478 // kYR_online x - consider only online files
479 // may be combined with kYR_stats (file must be resident)
480 // - - the host failed to deliver the file.
481 
482 
485 // kXR_string Ident;
486 // kXR_unt32 Opts;
487 
488 enum {kYR_refresh = 0x00000001,
489  kYR_create = 0x00000002, // May combine with trunc -> delete
490  kYR_online = 0x00000004,
491  kYR_read = 0x00000008, // Default
492  kYR_trunc = 0x00000010, // -> write
493  kYR_write = 0x00000020,
494  kYR_stat = 0x00000040, // Exclsuive
495  kYR_metaop = 0x00000080,
496  kYR_replica = 0x00000100, // Only in combination with create
497  kYR_mwfiles = 0x00000200, // Multiple writables files are OK
498  kYR_retipv4 = 0x00000000, // Client is only IPv4
499  kYR_retipv46= 0x00001000, // Client is IPv4 IPv6
500  kYR_retipv6 = 0x00002000, // Client is only IPv6
501  kYR_retipv64= 0x00003000, // Client is IPv6 IPv4
502  kYR_retipmsk= 0x00003000, // Mask to isolate retipcxx bits
503  kYR_retipsft= 12, // Shift to convert retipcxx bits
504  kYR_prvtnet = 0x00008000, // Client is using a private address
505 
506  kYR_tryMISS = 0x00000000, // Retry due to missing file (triedrc=enoent)
507  kYR_tryIOER = 0x00010000, // Retry due to I/O error (triedrc=ioerr)
508  kYR_tryFSER = 0x00020000, // Retry due to FS error (triedrc=fserr)
509  kYR_trySVER = 0x00030000, // Retry due to server error (triedrc=srverr)
510  kYR_tryMASK = 0x00030000, // Mask to isolate retry reason
511  kYR_trySHFT = 16, // Amount to shift right
512  kYR_tryRSEL = 0x00040000, // Retry for reselection LCL (triedrc=resel)
513  kYR_tryRSEG = 0x00080000, // Retry for reselection GBL (triedrc=resel)
514  kYR_tryMSRC = 0x000C0000, // Retry for multisource operation
515  kYR_aWeak = 0x00100000, // Affinity: weak
516  kYR_aStrong = 0x00200000, // Affinity: strong
517  kYR_aStrict = 0x00300000, // Affinity: strict
518  kYR_aNone = 0x00400000, // Affinity: none
519  kYR_aSpec = 0x00700000, // Mask to test if any affinity specified
520  kYR_aPack = 0x00300000, // Mask to test if the affinity packs choice
521  kYR_aWait = 0x00200000 // Mask to test if the affinity must wait
522  };
523 // kXR_string Path;
524 // kXR_string Opaque; // Optional
525 // kXR_string Host; // Optional
526 };
527 
528 /******************************************************************************/
529 /* s p a c e R e q u e s t */
530 /******************************************************************************/
531 
532 // Request: space
533 //
534 
537 };
538 
539 /******************************************************************************/
540 /* s t a t e R e q u e s t */
541 /******************************************************************************/
542 
543 // Request: state <path>
544 //
545 
548 // kXR_string Path;
549 
550 enum {kYR_refresh = 0x01, // Modifier
551  kYR_noresp = 0x02,
552  kYR_metaman = 0x08
553  };
554 };
555 
556 /******************************************************************************/
557 /* s t a t f s R e q u e s t */
558 /******************************************************************************/
559 
560 // Request: statfs <path>
561 //
562 
564 { CmsRRHdr Hdr; // Modifier used with following options
565 // kXR_string Path;
566 
567 enum {kYR_qvfs = 0x0001 // Virtual file system query
568  };
569 };
570 
571 /******************************************************************************/
572 /* s t a t s R e q u e s t */
573 /******************************************************************************/
574 
575 // Request: stats or statsz (determined by modifier)
576 //
577 
580 
581 enum {kYR_size = 1 // Modifier
582  };
583 };
584 
585 /******************************************************************************/
586 /* s t a t u s R e q u e s t */
587 /******************************************************************************/
588 
589 // Request: status
590 //
593 
594 enum {kYR_Stage = 0x01, kYR_noStage = 0x02, // Modifier
595  kYR_Resume = 0x04, kYR_Suspend = 0x08,
596  kYR_Reset = 0x10 // Exclusive
597  };
598 };
599 
600 /******************************************************************************/
601 /* t r u n c R e q u e s t */
602 /******************************************************************************/
603 
604 // Request: <id> trunc <path>
605 // Respond: n/a
606 //
609 // kXR_string Ident;
610 // kXR_string Size;
611 // kXR_string Path;
612 };
613 
614 /******************************************************************************/
615 /* t r y R e q u e s t */
616 /******************************************************************************/
617 
618 // Request: try
619 //
622  kXR_unt16 sLen; // This is the string length in PUP format
623 
624 // kYR_string {ipaddr:port}[up to STMax];
625 
626 enum {kYR_permtop = 0x01 // Modifier Permanent redirect to top level
627  };
628 };
629 
630 /******************************************************************************/
631 /* u p d a t e R e q u e s t */
632 /******************************************************************************/
633 
634 // Request: update
635 //
638 };
639 
640 /******************************************************************************/
641 /* u s a g e R e q u e s t */
642 /******************************************************************************/
643 
644 // Request: usage
645 //
648 };
649 
650 }; // namespace XrdCms
651 #endif
XrdCms::CmsLoginResponse::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:316
XrdCms::kYR_raw
@ kYR_raw
Definition: YProtocol.hh:132
XrdCms::CmsLocateRequest::kYR_refresh
@ kYR_refresh
Definition: YProtocol.hh:247
XrdCms::CmsHaveRequest
Definition: YProtocol.hh:233
XrdCms::CmsPongRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:396
kXR_int32
int kXR_int32
Definition: XPtypes.hh:89
XrdCms::CmsPrepAddRequest
Definition: YProtocol.hh:407
XrdCms::CmsRmRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:445
XrdCms::kYR_Version
static const unsigned char kYR_Version
Definition: YProtocol.hh:80
XrdCms::CmsSpaceRequest
Definition: YProtocol.hh:536
XrdCms::CmsLoginRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:311
XrdCms::CmsSelectRequest::kYR_tryMISS
@ kYR_tryMISS
Definition: YProtocol.hh:506
XrdCms::CmsLoginData::kYR_trying
@ kYR_trying
Definition: YProtocol.hh:301
XrdCms::CmsStatusRequest
Definition: YProtocol.hh:592
XrdCms::CmsUpdateRequest
Definition: YProtocol.hh:637
XrdCms::kYR_xauth
@ kYR_xauth
Definition: YProtocol.hh:117
XrdCms::CmsSelectRequest::kYR_tryRSEL
@ kYR_tryRSEL
Definition: YProtocol.hh:512
XrdCms::CmsStatusRequest::kYR_Suspend
@ kYR_Suspend
Definition: YProtocol.hh:595
XrdCms::CmsStatfsRequest
Definition: YProtocol.hh:564
XrdCms::CmsTryRequest::sLen
kXR_unt16 sLen
Definition: YProtocol.hh:622
XrdCms::CmsMkdirRequest
Definition: YProtocol.hh:343
XrdCms::CmsSelectRequest::kYR_mwfiles
@ kYR_mwfiles
Definition: YProtocol.hh:497
XrdCms::kYR_prepdel
@ kYR_prepdel
Definition: YProtocol.hh:97
XrdCms::CmsLoginData::Mode
kXR_unt32 Mode
Definition: YProtocol.hh:277
XrdCms::CmsSelectRequest::kYR_aPack
@ kYR_aPack
Definition: YProtocol.hh:520
XrdCms::kYR_load
@ kYR_load
Definition: YProtocol.hh:106
XrdCms::kYR_EISDIR
@ kYR_EISDIR
Definition: YProtocol.hh:160
XrdCms::CmsLoginRequest::Data
CmsLoginData Data
Definition: YProtocol.hh:312
XrdCms::CmsSelectRequest::kYR_metaop
@ kYR_metaop
Definition: YProtocol.hh:495
XrdCms::kYR_wait
@ kYR_wait
Definition: YProtocol.hh:144
XrdCms::CmsSelectRequest::kYR_aWait
@ kYR_aWait
Definition: YProtocol.hh:521
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::CmsStatsRequest::kYR_size
@ kYR_size
Definition: YProtocol.hh:581
XrdCms::CmsStateRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:547
XrdCms::CmsMvRequest
Definition: YProtocol.hh:370
XrdCms::CmsMkpathRequest
Definition: YProtocol.hh:357
XrdCms::kYR_hopincr
@ kYR_hopincr
Definition: YProtocol.hh:128
XrdCms::kYR_EPERM
@ kYR_EPERM
Definition: YProtocol.hh:151
XrdCms::CmsHaveRequest::Online
@ Online
Definition: YProtocol.hh:234
XrdCms::CmsLocateRequest::kYR_retipsft
@ kYR_retipsft
Definition: YProtocol.hh:256
XrdCms::CmsLoginData::HoldTime
kXR_int32 HoldTime
Definition: YProtocol.hh:278
XrdCms::CmsLoginData::tSpace
kXR_unt32 tSpace
Definition: YProtocol.hh:279
XrdCms::CmsLoginData::kYR_manager
@ kYR_manager
Definition: YProtocol.hh:293
XrdCms::CmsStateRequest::kYR_noresp
@ kYR_noresp
Definition: YProtocol.hh:551
XrdCms::CmsSelectRequest::kYR_prvtnet
@ kYR_prvtnet
Definition: YProtocol.hh:504
XrdCms::kYR_avail
@ kYR_avail
Definition: YProtocol.hh:102
XrdCms::CmsReqCode
CmsReqCode
Definition: YProtocol.hh:90
XrdCms::CmsLocateRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:243
XrdCms::CmsHaveRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:233
XrdCms::CmsStatusRequest::kYR_noStage
@ kYR_noStage
Definition: YProtocol.hh:594
XrdCms::CmsSelectRequest::kYR_aWeak
@ kYR_aWeak
Definition: YProtocol.hh:515
kXR_char
unsigned char kXR_char
Definition: XPtypes.hh:65
XrdCms::CmsSelectRequest::kYR_trySHFT
@ kYR_trySHFT
Definition: YProtocol.hh:511
XrdCms::CmsSelectRequest::kYR_trySVER
@ kYR_trySVER
Definition: YProtocol.hh:509
XrdCms::CmsLoginData::kYR_peer
@ kYR_peer
Definition: YProtocol.hh:294
XrdCms::CmsStatsRequest
Definition: YProtocol.hh:579
XrdCms::CmsStateRequest::kYR_metaman
@ kYR_metaman
Definition: YProtocol.hh:552
XrdCms::YErrorCode
YErrorCode
Definition: YProtocol.hh:150
XrdCms::CmsPingRequest
Definition: YProtocol.hh:384
XrdCms::CmsUsageRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:647
XrdCms::CmsSelectRequest::kYR_aStrict
@ kYR_aStrict
Definition: YProtocol.hh:517
XrdCms::CmsSelectRequest::kYR_aNone
@ kYR_aNone
Definition: YProtocol.hh:518
XrdCms::CmsPrepAddRequest::kYR_write
@ kYR_write
Definition: YProtocol.hh:410
XrdCms::kYR_rmdir
@ kYR_rmdir
Definition: YProtocol.hh:99
XrdCms::kYR_prepadd
@ kYR_prepadd
Definition: YProtocol.hh:96
XrdCms::CmsTruncRequest
Definition: YProtocol.hh:608
XrdCms::CmsLoginResponse::Data
CmsLoginData Data
Definition: YProtocol.hh:317
XrdCms::CmsLoginData::mSpace
kXR_unt32 mSpace
Definition: YProtocol.hh:281
XrdCms::CmsResponse::kYR_async
@ kYR_async
Definition: YProtocol.hh:168
XrdCms::CmsStatusRequest::kYR_Reset
@ kYR_Reset
Definition: YProtocol.hh:596
XrdCms::CmsGoneRequest
Definition: YProtocol.hh:221
XrdCms::kYR_select
@ kYR_select
Definition: YProtocol.hh:100
XrdCms::CmsSelectRequest::kYR_trunc
@ kYR_trunc
Definition: YProtocol.hh:492
XrdCms::CmsLocateRequest::kYR_retipv6
@ kYR_retipv6
Definition: YProtocol.hh:253
XrdCms::CmsSpaceRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:536
XrdCms::CmsSelectRequest::kYR_write
@ kYR_write
Definition: YProtocol.hh:493
XrdCms::CmsLocateRequest
Definition: YProtocol.hh:243
XrdCms::kYR_pong
@ kYR_pong
Definition: YProtocol.hh:108
XrdCms::CmsLoginData::kYR_nostage
@ kYR_nostage
Definition: YProtocol.hh:300
XrdCms::CmsStateRequest
Definition: YProtocol.hh:547
XrdCms::CmsPrepDelRequest
Definition: YProtocol.hh:432
XrdCms::CmsLoginData::fsUtil
kXR_unt16 fsUtil
Definition: YProtocol.hh:283
XrdCms::CmsFwdModifier
CmsFwdModifier
Definition: YProtocol.hh:127
XrdCms::kYR_try
@ kYR_try
Definition: YProtocol.hh:114
XrdCms::CmsLocateRequest::kYR_retipmsk
@ kYR_retipmsk
Definition: YProtocol.hh:255
XrdCms::CmsSelectRequest::kYR_online
@ kYR_online
Definition: YProtocol.hh:490
XrdCms::kYR_usage
@ kYR_usage
Definition: YProtocol.hh:116
XrdCms::CmsLoadRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:328
XrdCms::CmsSelectRequest::kYR_refresh
@ kYR_refresh
Definition: YProtocol.hh:488
XrdCms::CmsSelectRequest::kYR_retipmsk
@ kYR_retipmsk
Definition: YProtocol.hh:502
kXR_unt32
unsigned int kXR_unt32
Definition: XPtypes.hh:90
XrdCms::CmsLoginData::sPort
kXR_unt16 sPort
Definition: YProtocol.hh:285
kXR_unt16
unsigned short kXR_unt16
Definition: XPtypes.hh:67
XrdCms::kYR_MaxReq
@ kYR_MaxReq
Definition: YProtocol.hh:118
XrdCms::CmsLoginData::Paths
kXR_char * Paths
Definition: YProtocol.hh:287
XrdCms::kYR_EACCES
@ kYR_EACCES
Definition: YProtocol.hh:152
XrdCms::kYR_ENOSPC
@ kYR_ENOSPC
Definition: YProtocol.hh:156
XrdCms::CmsLoginData::Size
kXR_unt16 Size
Definition: YProtocol.hh:275
XrdCms::CmsReqModifier
CmsReqModifier
Definition: YProtocol.hh:132
XrdCms::CmsPingRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:385
XrdCms::CmsLoginData::fSpace
kXR_unt32 fSpace
Definition: YProtocol.hh:280
XrdCms::kYR_waitresp
@ kYR_waitresp
Definition: YProtocol.hh:145
XrdCms::CmsSelectRequest::kYR_retipsft
@ kYR_retipsft
Definition: YProtocol.hh:503
XrdCms::kYR_ENOENT
@ kYR_ENOENT
Definition: YProtocol.hh:150
XrdCms::CmsLocateRequest::kYR_listall
@ kYR_listall
Definition: YProtocol.hh:257
XrdCms::kYR_stats
@ kYR_stats
Definition: YProtocol.hh:101
XrdCms::CmsPrepAddRequest::kYR_metaman
@ kYR_metaman
Definition: YProtocol.hh:413
XrdCms::CmsRmRequest
Definition: YProtocol.hh:445
XrdCms::CmsLoginData::kYR_tzone
@ kYR_tzone
Definition: YProtocol.hh:305
XrdCms::CmsUpdateRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:637
XrdCms::CmsPrepAddRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:407
XrdCms::kYR_trunc
@ kYR_trunc
Definition: YProtocol.hh:113
XrdCms::CmsRRHdr
Definition: YProtocol.hh:83
XrdCms::kYR_space
@ kYR_space
Definition: YProtocol.hh:109
XrdCms::CmsSelectRequest::kYR_retipv46
@ kYR_retipv46
Definition: YProtocol.hh:499
XrdCms::CmsUsageRequest
Definition: YProtocol.hh:647
XrdCms::kYR_ENAMETOOLONG
@ kYR_ENAMETOOLONG
Definition: YProtocol.hh:157
XrdCms::CmsMkdirRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:343
XrdCms::CmsStatusRequest::kYR_Stage
@ kYR_Stage
Definition: YProtocol.hh:594
XrdCms::CmsMvRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:371
XrdCms
Definition: YProtocol.hh:78
XrdCms::CmsAvailRequest
Definition: YProtocol.hh:183
XrdCms::CmsLocateRequest::kYR_prvtnet
@ kYR_prvtnet
Definition: YProtocol.hh:258
XrdCms::CmsTryRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:621
XrdCms::CmsLoginData::kYR_suspend
@ kYR_suspend
Definition: YProtocol.hh:299
XrdCms::CmsStatusRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:592
XrdCms::CmsLoginData::kYR_shift
@ kYR_shift
Definition: YProtocol.hh:304
XrdCms::CmsLoadRequest::pagLoad
@ pagLoad
Definition: YProtocol.hh:329
XrdCms::CmsPrepAddRequest::kYR_coloc
@ kYR_coloc
Definition: YProtocol.hh:411
XrdCms::CmsLocateRequest::kYR_asap
@ kYR_asap
Definition: YProtocol.hh:250
XrdCms::kYR_redirect
@ kYR_redirect
Definition: YProtocol.hh:143
XrdCms::CmsLoadRequest::netLoad
@ netLoad
Definition: YProtocol.hh:329
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:328
XrdCms::CmsLoginData::SID
kXR_char * SID
Definition: YProtocol.hh:286
XrdCms::CmsPrepAddRequest::kYR_stage
@ kYR_stage
Definition: YProtocol.hh:409
XrdCms::CmsSelectRequest::kYR_read
@ kYR_read
Definition: YProtocol.hh:491
XrdCms::CmsSelectRequest::kYR_aStrong
@ kYR_aStrong
Definition: YProtocol.hh:516
XrdCms::CmsChmodRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:196
XrdCms::kYR_ping
@ kYR_ping
Definition: YProtocol.hh:107
XrdCms::CmsGoneRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:221
XrdCms::CmsMkpathRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:357
XrdCms::CmsLoginData::envCGI
kXR_char * envCGI
Definition: YProtocol.hh:289
XrdCms::kYR_mkdir
@ kYR_mkdir
Definition: YProtocol.hh:93
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:302
XrdCms::CmsSelectRequest::kYR_tryMSRC
@ kYR_tryMSRC
Definition: YProtocol.hh:514
XrdCms::CmsTruncRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:608
XrdCms::kYR_FSError
@ kYR_FSError
Definition: YProtocol.hh:161
XrdCms::CmsDiscRequest
Definition: YProtocol.hh:210
XrdCms::CmsStatusRequest::kYR_Resume
@ kYR_Resume
Definition: YProtocol.hh:595
XrdCms::CmsSelectRequest::kYR_aSpec
@ kYR_aSpec
Definition: YProtocol.hh:519
XrdCms::kYR_login
@ kYR_login
Definition: YProtocol.hh:90
XrdCms::CmsLoginResponse
Definition: YProtocol.hh:316
XrdCms::CmsPongRequest
Definition: YProtocol.hh:395
XrdCms::CmsTryRequest
Definition: YProtocol.hh:621
XrdCms::CmsLoadRequest::cpuLoad
@ cpuLoad
Definition: YProtocol.hh:329
XrdCms::CmsTryRequest::kYR_permtop
@ kYR_permtop
Definition: YProtocol.hh:626
XrdCms::CmsSelectRequest::kYR_retipv4
@ kYR_retipv4
Definition: YProtocol.hh:498
XrdCms::CmsLoadRequest::memLoad
@ memLoad
Definition: YProtocol.hh:329
XrdCms::kYR_ENOMEM
@ kYR_ENOMEM
Definition: YProtocol.hh:155
XrdCms::kYR_data
@ kYR_data
Definition: YProtocol.hh:141
XrdCms::CmsLoadRequest::xeqLoad
@ xeqLoad
Definition: YProtocol.hh:329
XrdCms::CmsRspCode
CmsRspCode
Definition: YProtocol.hh:141
XrdCms::kYR_mv
@ kYR_mv
Definition: YProtocol.hh:95
XrdCms::CmsSelectRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:484
XrdCms::CmsPrepDelRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:432
XrdCms::CmsResponse::Val
kXR_unt32 Val
Definition: YProtocol.hh:171
XrdCms::CmsLocateRequest::kYR_retuniq
@ kYR_retuniq
Definition: YProtocol.hh:249
XrdCms::CmsResponse
Definition: YProtocol.hh:166
XrdCms::CmsResponse::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:166
XrdCms::kYR_state
@ kYR_state
Definition: YProtocol.hh:110
XrdCms::CmsSelectRequest::kYR_replica
@ kYR_replica
Definition: YProtocol.hh:496
XrdCms::CmsRRHdr::rrCode
kXR_char rrCode
Definition: YProtocol.hh:84
XrdCms::CmsLoadRequest::numLoad
@ numLoad
Definition: YProtocol.hh:330
XrdCms::CmsLoginData::kYR_director
@ kYR_director
Definition: YProtocol.hh:292
XrdCms::kYR_EIO
@ kYR_EIO
Definition: YProtocol.hh:154
XrdCms::CmsRmdirRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:458
XrdCms::CmsLoadRequest::dskLoad
@ dskLoad
Definition: YProtocol.hh:329
XrdCms::CmsSelectRequest
Definition: YProtocol.hh:484
XrdCms::CmsStatsRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:579
XrdCms::CmsLoginData::ifList
kXR_char * ifList
Definition: YProtocol.hh:288
XrdCms::kYR_status
@ kYR_status
Definition: YProtocol.hh:112
XrdCms::kYR_mkpath
@ kYR_mkpath
Definition: YProtocol.hh:94
XrdCms::CmsLocateRequest::kYR_retipv46
@ kYR_retipv46
Definition: YProtocol.hh:252
XrdCms::kYR_chmod
@ kYR_chmod
Definition: YProtocol.hh:91
XrdCms::CmsSelectRequest::kYR_stat
@ kYR_stat
Definition: YProtocol.hh:494
XrdCms::kYR_SrvError
@ kYR_SrvError
Definition: YProtocol.hh:162
XrdCms::CmsPrepAddRequest::kYR_fresh
@ kYR_fresh
Definition: YProtocol.hh:412
XrdCms::kYR_error
@ kYR_error
Definition: YProtocol.hh:142
XrdCms::CmsLoginData::kYR_server
@ kYR_server
Definition: YProtocol.hh:295
XrdCms::CmsSelectRequest::kYR_tryRSEG
@ kYR_tryRSEG
Definition: YProtocol.hh:513
XrdCms::CmsLoginData::LoginMode
LoginMode
Definition: YProtocol.hh:292
XrdCms::kYR_locate
@ kYR_locate
Definition: YProtocol.hh:92
XrdCms::CmsLoginData::fsNum
kXR_unt16 fsNum
Definition: YProtocol.hh:282
XrdCms::CmsLocateRequest::RHLen
static const int RHLen
Definition: YProtocol.hh:262
XrdCms::CmsSelectRequest::kYR_tryFSER
@ kYR_tryFSER
Definition: YProtocol.hh:508
XrdCms::CmsHaveRequest::Pending
@ Pending
Definition: YProtocol.hh:234
XrdCms::kYR_rm
@ kYR_rm
Definition: YProtocol.hh:98
XrdCms::CmsChmodRequest
Definition: YProtocol.hh:196
XrdCms::CmsLoginData::kYR_proxy
@ kYR_proxy
Definition: YProtocol.hh:296
XrdCms::CmsLoginData::kYR_share
@ kYR_share
Definition: YProtocol.hh:303
XrdCms::CmsLoginData
Definition: YProtocol.hh:275
XrdCms::CmsLoginRequest
Definition: YProtocol.hh:311
XrdCms::CmsSelectRequest::kYR_tryIOER
@ kYR_tryIOER
Definition: YProtocol.hh:507
XrdCms::CmsLocateRequest::kYR_retname
@ kYR_retname
Definition: YProtocol.hh:248
XrdCms::CmsLoginData::kYR_blredir
@ kYR_blredir
Definition: YProtocol.hh:298
XrdCms::CmsRRHdr::modifier
kXR_char modifier
Definition: YProtocol.hh:85
XrdCms::CmsRmdirRequest
Definition: YProtocol.hh:458
XrdCms::CmsLoginData::Version
kXR_unt16 Version
Definition: YProtocol.hh:276
XrdCms::CmsSelectRequest::kYR_retipv6
@ kYR_retipv6
Definition: YProtocol.hh:500
XrdCms::CmsLoginData::kYR_subman
@ kYR_subman
Definition: YProtocol.hh:297
XrdCms::CmsLoginData::kYR_shifttz
@ kYR_shifttz
Definition: YProtocol.hh:306
XrdCms::CmsSelectRequest::kYR_tryMASK
@ kYR_tryMASK
Definition: YProtocol.hh:510
XrdCms::CmsDiscRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:210
XrdCms::CmsStatfsRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:564
XrdCms::CmsStatfsRequest::kYR_qvfs
@ kYR_qvfs
Definition: YProtocol.hh:567
XrdCms::kYR_disc
@ kYR_disc
Definition: YProtocol.hh:103
XrdCms::kYR_hopcount
@ kYR_hopcount
Definition: YProtocol.hh:127
XrdCms::CmsRRHdr::datalen
kXR_unt16 datalen
Definition: YProtocol.hh:86
XrdCms::CmsAvailRequest::Hdr
CmsRRHdr Hdr
Definition: YProtocol.hh:183
XrdCms::CmsLocateRequest::kYR_retipv4
@ kYR_retipv4
Definition: YProtocol.hh:251
XrdCms::CmsSelectRequest::kYR_retipv64
@ kYR_retipv64
Definition: YProtocol.hh:501
XrdCms::CmsLoginData::dPort
kXR_unt16 dPort
Definition: YProtocol.hh:284
XrdCms::kYR_ENOTBLK
@ kYR_ENOTBLK
Definition: YProtocol.hh:159
XrdCms::CmsLocateRequest::kYR_retipv64
@ kYR_retipv64
Definition: YProtocol.hh:254
XrdCms::CmsStateRequest::kYR_refresh
@ kYR_refresh
Definition: YProtocol.hh:550
XrdCms::CmsSelectRequest::kYR_create
@ kYR_create
Definition: YProtocol.hh:489
XPtypes.hh
XrdCms::kYR_EINVAL
@ kYR_EINVAL
Definition: YProtocol.hh:153