#include <P_ClusterCacheInternal.h>
Inherits ClusterMessageHeader.
Public Types | |
enum | { MIN_VERSION = 1, MAX_VERSION = 1, CACHE_OP_SHORT_MESSAGE_VERSION = MAX_VERSION } |
Public Member Functions | |
CacheOpMsg_short (uint16_t vers=CACHE_OP_SHORT_MESSAGE_VERSION) | |
void | init (uint16_t vers=CACHE_OP_SHORT_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 | 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 492 of file P_ClusterCacheInternal.h.
anonymous enum |
Definition at line 507 of file P_ClusterCacheInternal.h.
CacheOpMsg_short::CacheOpMsg_short | ( | uint16_t | vers = CACHE_OP_SHORT_MESSAGE_VERSION |
) | [inline] |
Definition at line 513 of file P_ClusterCacheInternal.h.
References moi, and Alias32::u32.
void CacheOpMsg_short::init | ( | uint16_t | vers = CACHE_OP_SHORT_MESSAGE_VERSION |
) | [inline] |
Definition at line 529 of file P_ClusterCacheInternal.h.
References ClusterMessageHeader::_init().
Referenced by CacheContinuation::do_op().
static int CacheOpMsg_short::protoToVersion | ( | int | protoMajor | ) | [inline, static] |
Definition at line 520 of file P_ClusterCacheInternal.h.
Referenced by Cluster_deref(), and Cluster_remove().
static int CacheOpMsg_short::sizeof_fixedlen_msg | ( | ) | [inline, static] |
Definition at line 525 of file P_ClusterCacheInternal.h.
References ALIGN_DOUBLE, and moi.
Referenced by op_to_sizeof_fixedlen_msg().
void CacheOpMsg_short::SwapBytes | ( | ) | [inline] |
Definition at line 532 of file P_ClusterCacheInternal.h.
References ats_swap16(), ats_swap32(), buffer_size, CACHE_OPEN_READ, cfl_flags, channel, data, ink_release_assert, nbytes, ClusterMessageHeader::NeedByteSwap(), opcode, seq_number, ClusterVCToken::SwapBytes(), and token.
Referenced by unmarshal_CacheOpMsg_short().
int32_t CacheOpMsg_short::buffer_size |
Definition at line 503 of file P_ClusterCacheInternal.h.
Referenced by cache_op_ClusterFunction(), CacheContinuation::do_op(), init_from_short(), and SwapBytes().
uint16_t CacheOpMsg_short::cfl_flags |
Definition at line 496 of file P_ClusterCacheInternal.h.
Referenced by CacheContinuation::do_op(), init_from_short(), and SwapBytes().
int32_t CacheOpMsg_short::channel |
Definition at line 501 of file P_ClusterCacheInternal.h.
Referenced by cache_op_ClusterFunction(), init_from_short(), CacheContinuation::localVCsetupEvent(), CacheContinuation::setup_local_vc(), and SwapBytes().
uint32_t CacheOpMsg_short::data |
Definition at line 500 of file P_ClusterCacheInternal.h.
Referenced by CacheContinuation::do_op(), init_from_short(), and SwapBytes().
uint8_t CacheOpMsg_short::frag_type |
Definition at line 495 of file P_ClusterCacheInternal.h.
Referenced by CacheContinuation::do_op(), and init_from_short().
Definition at line 497 of file P_ClusterCacheInternal.h.
Referenced by cache_op_ClusterFunction(), CacheContinuation::do_op(), and init_from_short().
Definition at line 506 of file P_ClusterCacheInternal.h.
Referenced by cache_op_ClusterFunction(), CacheOpMsg_short(), and sizeof_fixedlen_msg().
uint32_t CacheOpMsg_short::nbytes |
Definition at line 499 of file P_ClusterCacheInternal.h.
Referenced by CacheContinuation::do_op(), init_from_short(), and SwapBytes().
uint8_t CacheOpMsg_short::opcode |
Definition at line 494 of file P_ClusterCacheInternal.h.
Referenced by CacheContinuation::do_op(), and SwapBytes().
uint32_t CacheOpMsg_short::seq_number |
Definition at line 498 of file P_ClusterCacheInternal.h.
Referenced by cache_op_ClusterFunction(), CacheContinuation::do_op(), init_from_short(), CacheContinuation::localVCsetupEvent(), CacheContinuation::setup_local_vc(), and SwapBytes().
Definition at line 502 of file P_ClusterCacheInternal.h.
Referenced by cache_op_ClusterFunction(), init_from_short(), CacheContinuation::localVCsetupEvent(), CacheContinuation::setup_local_vc(), and SwapBytes().