suricata
app-layer-nfs-udp.c File Reference
#include "suricata-common.h"
#include "stream.h"
#include "conf.h"
#include "util-unittest.h"
#include "app-layer-detect-proto.h"
#include "app-layer-parser.h"
#include "app-layer-nfs-udp.h"
#include "rust.h"
Include dependency graph for app-layer-nfs-udp.c:

Go to the source code of this file.

Macros

#define NFS_DEFAULT_PORT   "2049"
 
#define NFS_MIN_FRAME_LEN   32
 

Enumerations

enum  { NFS_DECODER_EVENT_EMPTY_MESSAGE }
 

Functions

void RegisterNFSUDPParsers (void)
 
void NFSUDPParserRegisterTests (void)
 

Variables

SCEnumCharMap nfs_udp_decoder_event_table []
 

Detailed Description

Author
Victor Julien victo.nosp@m.r@in.nosp@m.linia.nosp@m.c.ne.nosp@m.t

NFS application layer detector and parser

Definition in file app-layer-nfs-udp.c.

Macro Definition Documentation

◆ NFS_DEFAULT_PORT

#define NFS_DEFAULT_PORT   "2049"

Definition at line 41 of file app-layer-nfs-udp.c.

◆ NFS_MIN_FRAME_LEN

#define NFS_MIN_FRAME_LEN   32

Definition at line 45 of file app-layer-nfs-udp.c.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
NFS_DECODER_EVENT_EMPTY_MESSAGE 

Definition at line 57 of file app-layer-nfs-udp.c.

Function Documentation

◆ NFSUDPParserRegisterTests()

void NFSUDPParserRegisterTests ( void  )

Definition at line 369 of file app-layer-nfs-udp.c.

◆ RegisterNFSUDPParsers()

void RegisterNFSUDPParsers ( void  )

Definition at line 253 of file app-layer-nfs-udp.c.

References AppLayerProtoDetectConfProtoDetectionEnabled().

Referenced by AppLayerParserRegisterProtocolParsers().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ nfs_udp_decoder_event_table

SCEnumCharMap nfs_udp_decoder_event_table[]
Initial value:
= {
{"EMPTY_MESSAGE", NFS_DECODER_EVENT_EMPTY_MESSAGE},
{ NULL, 0 }
}

Definition at line 61 of file app-layer-nfs-udp.c.

NFS_DECODER_EVENT_EMPTY_MESSAGE
@ NFS_DECODER_EVENT_EMPTY_MESSAGE
Definition: app-layer-nfs-udp.c:58