/**
* \internal
* \brief Function to Check the reassembly depth valuer against the
- * allowed max depth of the stream reassmbly for TCP streams.
+ * allowed max depth of the stream reassembly for TCP streams.
*
* \param stream stream direction
* \param seq sequence number where "size" starts
// more trailing data than we need
if (before >= (chunk_size - p->payload_len) / 2) {
- // also more heading data, devide evenly
+ // also more heading data, divide evenly
before = after = (chunk_size - p->payload_len) / 2;
} else {
// heading data is less than requested, give the
StreamReassembleRawFunc Callback, void *cb_data,
uint64_t *progress_out, bool respect_inspect_depth)
{
- /* handle inline seperately as the logic is very different */
+ /* handle inline separately as the logic is very different */
if (StreamTcpInlineMode() == TRUE) {
return StreamReassembleRawInline(ssn, p, Callback, cb_data, progress_out);
}
if (TCP_GET_SACKOK(p) == 1) {
ssn->flags |= STREAMTCP_FLAG_CLIENT_SACKOK;
- SCLogDebug("ssn %p: SACK permited on SYN packet", ssn);
+ SCLogDebug("ssn %p: SACK permitted on SYN packet", ssn);
}
if (TCP_HAS_TFO(p)) {