/**
* \brief This function is used to match TCPMSS rule option on a packet with those passed via tcpmss:
*
- * \param t pointer to thread vars
* \param det_ctx pointer to the pattern matcher thread
* \param p pointer to the current packet
- * \param m pointer to the sigmatch that we will cast into DetectTcpmssData
+ * \param ctx pointer to the sigmatch that we will cast into DetectTcpmssData
*
* \retval 0 no match
* \retval 1 match
}
/**
- * \brief this function is used to atcpmssd the parsed tcpmss data into the current signature
+ * \brief this function is used to attach the parsed tcpmss data into the current signature
*
* \param de_ctx pointer to the Detection Engine Context
* \param s pointer to the Current Signature
if (v.u8[0] == a->mode &&
v.u16[1] == a->arg1 &&
v.u16[2] == a->arg2)
- return TRUE;
- return FALSE;
+ return true;
+ return false;
}
static int PrefilterSetupTcpmss(DetectEngineCtx *de_ctx, SigGroupHead *sgh)
for (sm = s->init_data->smlists[DETECT_SM_LIST_MATCH] ; sm != NULL; sm = sm->next) {
switch (sm->type) {
case DETECT_TCPMSS:
- return TRUE;
+ return true;
}
}
- return FALSE;
+ return false;
}
#ifdef UNITTESTS