Lines Matching defs:rem
49 * @rem: The span (output) indicating the remaining data, starting with SSH
52 * Search for SSH SYN bytes in the given source span. If found, set the @rem
58 * If no SSH SYN bytes could be found, set the @rem span to the zero-length
62 * the @rem span to cover these partial SYN bytes, capped by the end of the
69 bool sshp_find_syn(const struct ssam_span *src, struct ssam_span *rem)
75 rem->ptr = src->ptr + i;
76 rem->len = src->len - i;
82 rem->ptr = src->ptr + src->len - 1;
83 rem->len = 1;
87 rem->ptr = src->ptr + src->len;
88 rem->len = 0;