uint16_t pm_matches = AppLayerDetectGetProtoPMParser(ctx, tctx, f, buf, buflen, flags, ipproto, pm_results);
uint8_t dir = (flags & STREAM_TOSERVER) ? 0 : 1;
for (uint16_t i = 0; i < pm_matches; i++) {
- if (al_proto_table[pm_results[i]].pp_alproto_map[dir] != NULL) {
- if (pm_results[i] != al_proto_table[pm_results[i]].pp_alproto_map[dir](buf, buflen, NULL)) {
+ if (al_proto_table[pm_results[i]].PPAlprotoMap[dir] != NULL) {
+ if (pm_results[i] != al_proto_table[pm_results[i]].PPAlprotoMap[dir](buf, buflen, NULL)) {
/* \todo set event - Needs some deliberation */
continue;
}
uint8_t flags,
ProbingParserFPtr ProbingParser)
{
- al_proto_table[al_proto].pp_alproto_map[(flags & STREAM_TOSERVER) ? 0 : 1] = ProbingParser;
+ al_proto_table[al_proto].PPAlprotoMap[(flags & STREAM_TOSERVER) ? 0 : 1] = ProbingParser;
return;
}
int (*StateGetEventInfo)(const char *event_name,
int *event_id, AppLayerEventType *event_type);
- ProbingParserFPtr pp_alproto_map[2];
+ ProbingParserFPtr PPAlprotoMap[2];
/* The current values taken are STREAM_TOSERVER, STREAM_TOCLIENT */
uint8_t flags;