/**
* \internal
- * \brief Function to Check the reassembly depth valuer against the
+ * \brief Function to check the reassembly depth value against the
* allowed max depth of the stream reassembly for TCP streams.
*
* \param stream stream direction
seg_depth = STREAM_BASE_OFFSET(stream) + ((seq + size) - stream->base_seq);
}
- /* if the base_seq has moved passed the depth window we stop
+ /* if the base_seq has moved past the depth window we stop
* checking and just reject the rest of the packets including
* retransmissions. Saves us the hassle of dealing with sequence
* wraps as well */
}
/**
- * \brief Insert a packets TCP data into the stream reassembly engine.
+ * \brief Insert a TCP packet data into the stream reassembly engine.
*
* \retval 0 good segment, as far as we checked.
* \retval -1 insert failure due to memcap