|
suricata
|
#include "app-layer-protos.h"

Go to the source code of this file.
Data Structures | |
| struct | DetectAppLayerProtocolData_ |
Per-rule keyword data for app-layer-protocol:. More... | |
Typedefs | |
| typedef struct DetectAppLayerProtocolData_ | DetectAppLayerProtocolData |
Per-rule keyword data for app-layer-protocol:. More... | |
Functions | |
| void | DetectAppLayerProtocolRegister (void) |
| const char * | DetectAppLayerProtocolModeName (uint8_t mode) |
| Map a DETECT_ALPROTO_* mode value to its textual qualifier. More... | |
| uint16_t | DetectAppLayerProtocolGetValues (const struct DetectAppLayerProtocolData_ *data, AppProto *out, uint16_t max) |
Definition in file detect-app-layer-protocol.h.
| typedef struct DetectAppLayerProtocolData_ DetectAppLayerProtocolData |
Per-rule keyword data for app-layer-protocol:.
alprotos is the effective match set: a bitmask (one bit per AppProto, sized g_alproto_max) holding every flow protocol that should match, with the AppProtoEquals() equivalences (or, with the exact option, only the exact values) already expanded in at rule load. The per-packet match is then a single bitmask test. alproto is the first configured value, used as the prefilter bucket key for single-value (prefilterable) rules.
| uint16_t DetectAppLayerProtocolGetValues | ( | const struct DetectAppLayerProtocolData_ * | data, |
| AppProto * | out, | ||
| uint16_t | max | ||
| ) |
| const char* DetectAppLayerProtocolModeName | ( | uint8_t | mode | ) |
Map a DETECT_ALPROTO_* mode value to its textual qualifier.
Definition at line 196 of file detect-app-layer-protocol.c.
References DETECT_ALPROTO_DIRECTION, DETECT_ALPROTO_EITHER, DETECT_ALPROTO_FINAL, DETECT_ALPROTO_ORIG, DETECT_ALPROTO_TOCLIENT, and DETECT_ALPROTO_TOSERVER.
| void DetectAppLayerProtocolRegister | ( | void | ) |
Definition at line 663 of file detect-app-layer-protocol.c.
References SigTableElmt_::desc, DETECT_APP_LAYER_PROTOCOL, SigTableElmt_::Match, SigTableElmt_::name, sigmatch_table, and SigTableElmt_::url.
Referenced by SigTableSetup().
