#include <P_ClusterCacheInternal.h>
Inherits ClusterMessageHeader.
Public Types | |
enum | { MIN_VERSION = 1, MAX_VERSION = 1, CACHE_OP_LONG_MESSAGE_VERSION = MAX_VERSION } |
Public Member Functions | |
CacheOpMsg_long (uint16_t vers=CACHE_OP_LONG_MESSAGE_VERSION) | |
void | init (uint16_t vers=CACHE_OP_LONG_MESSAGE_VERSION) |
void | SwapBytes () |
Static Public Member Functions | |
static int | protoToVersion (int protoMajor) |
static int | sizeof_fixedlen_msg () |
Data Fields | |
uint8_t | opcode |
uint8_t | frag_type |
uint16_t | cfl_flags |
INK_MD5 | url_md5 |
uint32_t | seq_number |
uint32_t | nbytes |
uint32_t | data |
int32_t | channel |
ClusterVCToken | token |
int32_t | buffer_size |
Alias32 | moi |
Definition at line 437 of file P_ClusterCacheInternal.h.
anonymous enum |
Definition at line 450 of file P_ClusterCacheInternal.h.
CacheOpMsg_long::CacheOpMsg_long | ( | uint16_t | vers = CACHE_OP_LONG_MESSAGE_VERSION |
) | [inline] |
Definition at line 456 of file P_ClusterCacheInternal.h.
References moi, and Alias32::u32.
void CacheOpMsg_long::init | ( | uint16_t | vers = CACHE_OP_LONG_MESSAGE_VERSION |
) | [inline] |
Definition at line 472 of file P_ClusterCacheInternal.h.
References ClusterMessageHeader::_init().
Referenced by CacheContinuation::do_op().
static int CacheOpMsg_long::protoToVersion | ( | int | protoMajor | ) | [inline, static] |
Definition at line 463 of file P_ClusterCacheInternal.h.
Referenced by Cluster_read(), and Cluster_write().
static int CacheOpMsg_long::sizeof_fixedlen_msg | ( | ) | [inline, static] |
Definition at line 468 of file P_ClusterCacheInternal.h.
References ALIGN_DOUBLE, and moi.
Referenced by cache_op_ClusterFunction(), and op_to_sizeof_fixedlen_msg().
void CacheOpMsg_long::SwapBytes | ( | ) | [inline] |
Definition at line 475 of file P_ClusterCacheInternal.h.
References ats_swap16(), ats_swap32(), buffer_size, cfl_flags, channel, data, frag_type, ink_release_assert, nbytes, ClusterMessageHeader::NeedByteSwap(), seq_number, ClusterVCToken::SwapBytes(), and token.
Referenced by unmarshal_CacheOpMsg_long().
int32_t CacheOpMsg_long::buffer_size |
Definition at line 448 of file P_ClusterCacheInternal.h.
Referenced by cache_op_ClusterFunction(), CacheContinuation::do_op(), init_from_long(), and SwapBytes().
uint16_t CacheOpMsg_long::cfl_flags |
Definition at line 441 of file P_ClusterCacheInternal.h.
Referenced by CacheContinuation::do_op(), init_from_long(), and SwapBytes().
int32_t CacheOpMsg_long::channel |
Definition at line 446 of file P_ClusterCacheInternal.h.
Referenced by cache_op_ClusterFunction(), init_from_long(), CacheContinuation::localVCsetupEvent(), CacheContinuation::setup_local_vc(), and SwapBytes().
uint32_t CacheOpMsg_long::data |
Definition at line 445 of file P_ClusterCacheInternal.h.
Referenced by CacheContinuation::do_op(), init_from_long(), and SwapBytes().
uint8_t CacheOpMsg_long::frag_type |
Definition at line 440 of file P_ClusterCacheInternal.h.
Referenced by CacheContinuation::do_op(), init_from_long(), and SwapBytes().
Definition at line 449 of file P_ClusterCacheInternal.h.
Referenced by CacheOpMsg_long(), and sizeof_fixedlen_msg().
uint32_t CacheOpMsg_long::nbytes |
Definition at line 444 of file P_ClusterCacheInternal.h.
Referenced by CacheContinuation::do_op(), init_from_long(), and SwapBytes().
uint8_t CacheOpMsg_long::opcode |
Definition at line 439 of file P_ClusterCacheInternal.h.
Referenced by CacheContinuation::do_op().
uint32_t CacheOpMsg_long::seq_number |
Definition at line 443 of file P_ClusterCacheInternal.h.
Referenced by cache_op_ClusterFunction(), CacheContinuation::do_op(), init_from_long(), CacheContinuation::localVCsetupEvent(), CacheContinuation::setup_local_vc(), and SwapBytes().
Definition at line 447 of file P_ClusterCacheInternal.h.
Referenced by cache_op_ClusterFunction(), init_from_long(), CacheContinuation::localVCsetupEvent(), CacheContinuation::setup_local_vc(), and SwapBytes().
Definition at line 442 of file P_ClusterCacheInternal.h.
Referenced by cache_op_ClusterFunction(), CacheContinuation::do_op(), init_from_long(), and CacheContinuation::lookupOpenWriteVC().