ssh_frame
if (WARN_ON(msgb->ptr + sizeof(struct ssh_frame) > msgb->end))
static bool ssh_ptl_rx_retransmit_check(struct ssh_ptl *ptl, const struct ssh_frame *frame)
const struct ssh_frame *frame,
struct ssh_frame *frame;
struct ssh_frame *sshf;
sshf = (struct ssh_frame *)&frame->ptr[SSH_MSGOFFSET_FRAME(type)];
struct ssh_frame **frame, struct ssam_span *payload,
sf.len = sizeof(struct ssh_frame);
sp.len = get_unaligned_le16(&((struct ssh_frame *)sf.ptr)->len);
*frame = (struct ssh_frame *)sf.ptr;
struct ssh_frame **frame, struct ssam_span *payload,
TP_PROTO(const struct ssh_frame *frame),
TP_PROTO(const struct ssh_frame *frame), \
#define SSH_MSG_LEN_BASE (sizeof(struct ssh_frame) + 3ull * sizeof(u16))
(sizeof(u16) + offsetof(struct ssh_frame, field))
(2ull * sizeof(u16) + sizeof(struct ssh_frame) \
static_assert(sizeof(struct ssh_frame) == 4);