app-layer-protos.c File Reference
#include "suricata-common.h"
#include "app-layer-protos.h"
Include dependency graph for app-layer-protos.c:

Go to the source code of this file.


#define CASE_CODE(E)   case E: return #E


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...

Detailed Description

Macro Definition Documentation


#define CASE_CODE (   E)    case E: return #E

Definition at line 29 of file app-layer-protos.c.

Function Documentation

◆ AppProtoToString()

◆ StringToAppProto()

AppProto StringToAppProto ( const char *  proto_name)