suricata
|
Go to the source code of this file.
Macros | |
#define | CASE_CODE(E) case E: return #E |
Functions | |
const char * | AppProtoToString (AppProto alproto) |
Maps the ALPROTO_*, to its string equivalent. More... | |
AppProto | StringToAppProto (const char *proto_name) |
Maps a string to its ALPROTO_* equivalent. More... | |
Definition in file app-layer-protos.c.
#define CASE_CODE | ( | E | ) | case E: return #E |
Definition at line 29 of file app-layer-protos.c.
const char* AppProtoToString | ( | AppProto | alproto | ) |
Maps the ALPROTO_*, to its string equivalent.
alproto | App layer protocol id. |
String | equivalent for the alproto. |
Definition at line 30 of file app-layer-protos.c.
References ALPROTO_BITTORRENT_DHT, ALPROTO_DCERPC, ALPROTO_DHCP, ALPROTO_DNP3, ALPROTO_DNS, ALPROTO_ENIP, ALPROTO_FAILED, ALPROTO_FTP, ALPROTO_FTPDATA, ALPROTO_HTTP, ALPROTO_HTTP1, ALPROTO_HTTP2, ALPROTO_IKE, ALPROTO_IMAP, ALPROTO_IRC, ALPROTO_JABBER, ALPROTO_KRB5, ALPROTO_MAX, ALPROTO_MODBUS, ALPROTO_MQTT, ALPROTO_NFS, ALPROTO_NTP, ALPROTO_PGSQL, ALPROTO_QUIC, ALPROTO_RDP, ALPROTO_RFB, ALPROTO_SIP, ALPROTO_SMB, ALPROTO_SMTP, ALPROTO_SNMP, ALPROTO_SSH, ALPROTO_TELNET, ALPROTO_TEMPLATE, ALPROTO_TEST, ALPROTO_TFTP, ALPROTO_TLS, ALPROTO_UNKNOWN, and proto.
Referenced by AppLayerRegisterParser(), AppLayerRegisterProtocolDetection(), DetectEngineFrameMpmRegister(), DetectFrameMpmRegister(), DetectSignatureSetAppProto(), EngineAnalysisRules2(), EveAddAppProto(), LLVMFuzzerInitialize(), LLVMFuzzerTestOneInput(), OutputRegisterTxLogger(), RulesDumpMatchArray(), and RulesDumpTxMatchArray().
AppProto StringToAppProto | ( | const char * | proto_name | ) |
Maps a string to its ALPROTO_* equivalent.
String | equivalent for the alproto. |
alproto | App layer protocol id, or ALPROTO_UNKNOWN. |
Definition at line 149 of file app-layer-protos.c.
References ALPROTO_BITTORRENT_DHT, ALPROTO_DCERPC, ALPROTO_DHCP, ALPROTO_DNP3, ALPROTO_DNS, ALPROTO_ENIP, ALPROTO_FAILED, ALPROTO_FTP, ALPROTO_FTPDATA, ALPROTO_HTTP, ALPROTO_HTTP1, ALPROTO_HTTP2, ALPROTO_IKE, ALPROTO_IMAP, ALPROTO_IRC, ALPROTO_JABBER, ALPROTO_KRB5, ALPROTO_MODBUS, ALPROTO_MQTT, ALPROTO_NFS, ALPROTO_NTP, ALPROTO_PGSQL, ALPROTO_QUIC, ALPROTO_RDP, ALPROTO_RFB, ALPROTO_SIP, ALPROTO_SMB, ALPROTO_SMTP, ALPROTO_SNMP, ALPROTO_SSH, ALPROTO_TELNET, ALPROTO_TEMPLATE, ALPROTO_TFTP, ALPROTO_TLS, and ALPROTO_UNKNOWN.
Referenced by AppLayerRegisterProtocolDetection(), and LLVMFuzzerInitialize().