Searched refs:SSH_MESSAGE_LENGTH (Results 1 – 4 of 4) sorted by relevance
135 if (unlikely(source->len < SSH_MESSAGE_LENGTH(0))) { in sshp_parse_frame()152 if (unlikely(SSH_MESSAGE_LENGTH(sp.len) > maxlen)) { in sshp_parse_frame()154 SSH_MESSAGE_LENGTH(sp.len)); in sshp_parse_frame()162 if (source->len < SSH_MESSAGE_LENGTH(sp.len)) { in sshp_parse_frame()
455 if (frame->len < SSH_MESSAGE_LENGTH(0)) in ssh_ptl_rx_inject_invalid_data()460 message_len = SSH_MESSAGE_LENGTH(payload_len); in ssh_ptl_rx_inject_invalid_data()1791 return aligned.ptr - source->ptr + SSH_MESSAGE_LENGTH(payload.len); in ssh_ptl_rx_eval()
131 if (!p->data.ptr || p->data.len < SSH_MESSAGE_LENGTH(0)) in ssam_trace_get_packet_seq()
141 #define SSH_MESSAGE_LENGTH(payload_size) (SSH_MSG_LEN_BASE + (payload_size)) macro151 SSH_MESSAGE_LENGTH(sizeof(struct ssh_command) + (payload_size))